Project
Loading...
Searching...
No Matches
HalfDetector.h
Go to the documentation of this file.
1// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
11
16
17#ifndef ALICEO2_MFT_HALFDETECTOR_H_
18#define ALICEO2_MFT_HALFDETECTOR_H_
19
20#include "TNamed.h"
21#include "TGeoVolume.h"
22
23namespace o2
24{
25namespace mft
26{
27class HalfSegmentation;
28}
29} // namespace o2
30
31namespace o2
32{
33namespace mft
34{
35
36class HalfDetector : public TNamed
37{
38
39 public:
41 HalfDetector(HalfSegmentation* segmentation);
42
43 ~HalfDetector() override;
44
46 TGeoVolumeAssembly* getVolume() { return mHalfVolume; };
47
48 protected:
49 TGeoVolumeAssembly* mHalfVolume;
50
51 private:
52 HalfSegmentation* mSegmentation;
53
54 void createHalfDisks();
55
56 ClassDefOverride(HalfDetector, 1);
57};
58} // namespace mft
59} // namespace o2
60
61#endif
~HalfDetector() override
TGeoVolumeAssembly * getVolume()
Returns the Volume holding the Half-MFT.
HalfDetector()
Default constructor.
TGeoVolumeAssembly * mHalfVolume
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...