ATLAS Offline Software
TubeVolData.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef InDetGeoModelUtils_TubeVolData_h
6 #define InDetGeoModelUtils_TubeVolData_h
7 
8 class IRDBRecord;
9 #include <string>
10 
11 namespace InDetDD {
12 
13 
15 
17 {
18  public:
20 
21  TubeVolData(const IRDBRecord *);
22  double rmin() const {return m_rmin1;}
23  double rmax() const {return m_rmax1;}
24  double rmin2() const {return m_rmin2;}
25  double rmax2() const {return m_rmax2;}
26  double length() const {return m_length;}
27  double zMid() const {return m_zMid;}
28  double phiStart() const {return m_phiStart;}
29  double phiDelta() const {return m_phiDelta;}
30  double phiStep() const {return m_phiStep;}
31  int nRepeat() const {return m_nRepeat;}
32  int radialDivisions() const {return m_radialDiv;}
33  bool bothZ() const {return m_bothZ;}
34 
35  VolShape shape() const {return m_shape;}
36  std::string material() const;
37 
38  double maxRadius() const;
39 
40  private:
42  bool m_bothZ;
43  int m_nRepeat;
45  double m_phiStart;
46  double m_phiDelta;
47  double m_phiStep;
48  double m_rmin1;
49  double m_rmin2;
50  double m_rmax1;
51  double m_rmax2;
52  double m_length;
53  double m_zMid;
55 };
56 
57 } // end namespace
58 
59 #endif // InDetGeoModelUtils_TubeVolData
InDetDD::TubeVolData::VolShape
VolShape
Definition: TubeVolData.h:19
InDetDD::TubeVolData::m_zMid
double m_zMid
Definition: TubeVolData.h:53
InDetDD::TubeVolData::bothZ
bool bothZ() const
Definition: TubeVolData.h:33
InDetDD::TubeVolData::CONS
@ CONS
Definition: TubeVolData.h:19
InDetDD::TubeVolData::m_rmin1
double m_rmin1
Definition: TubeVolData.h:48
InDetDD::TubeVolData::TUBS
@ TUBS
Definition: TubeVolData.h:19
InDetDD::TubeVolData::m_rmin2
double m_rmin2
Definition: TubeVolData.h:49
InDetDD::TubeVolData::m_radialDiv
int m_radialDiv
Definition: TubeVolData.h:44
InDetDD::TubeVolData::rmax
double rmax() const
Definition: TubeVolData.h:23
InDetDD::TubeVolData::length
double length() const
Definition: TubeVolData.h:26
InDetDD::TubeVolData::m_shape
VolShape m_shape
Definition: TubeVolData.h:54
InDetDD::TubeVolData::rmax2
double rmax2() const
Definition: TubeVolData.h:25
InDetDD::TubeVolData::radialDivisions
int radialDivisions() const
Definition: TubeVolData.h:32
InDetDD::TubeVolData::TubeVolData
TubeVolData(const IRDBRecord *)
Definition: TubeVolData.cxx:24
InDetDD::TubeVolData::TUBE
@ TUBE
Definition: TubeVolData.h:19
InDetDD::TubeVolData::rmin2
double rmin2() const
Definition: TubeVolData.h:24
InDetDD::TubeVolData::m_phiDelta
double m_phiDelta
Definition: TubeVolData.h:46
InDetDD::TubeVolData::phiStep
double phiStep() const
Definition: TubeVolData.h:30
InDetDD::TubeVolData::phiDelta
double phiDelta() const
Definition: TubeVolData.h:29
InDetDD::TubeVolData::m_phiStep
double m_phiStep
Definition: TubeVolData.h:47
InDetDD::TubeVolData::phiStart
double phiStart() const
Definition: TubeVolData.h:28
InDetDD::TubeVolData
Helper class to read in generic TUBE, TUBS, CONS or PCON type volumes.
Definition: TubeVolData.h:17
InDetDD::TubeVolData::m_record
const IRDBRecord * m_record
Definition: TubeVolData.h:41
InDetDD::TubeVolData::m_nRepeat
int m_nRepeat
Definition: TubeVolData.h:43
InDetDD::TubeVolData::RADIAL
@ RADIAL
Definition: TubeVolData.h:19
InDetDD::TubeVolData::shape
VolShape shape() const
Definition: TubeVolData.h:35
InDetDD::TubeVolData::nRepeat
int nRepeat() const
Definition: TubeVolData.h:31
InDetDD::TubeVolData::m_rmax1
double m_rmax1
Definition: TubeVolData.h:50
InDetDD::TubeVolData::m_bothZ
bool m_bothZ
Definition: TubeVolData.h:42
InDetDD
Message Stream Member.
Definition: FakeTrackBuilder.h:8
IRDBRecord
IRDBRecord is one record in the IRDBRecordset object.
Definition: IRDBRecord.h:27
InDetDD::TubeVolData::m_length
double m_length
Definition: TubeVolData.h:52
InDetDD::TubeVolData::m_rmax2
double m_rmax2
Definition: TubeVolData.h:51
InDetDD::TubeVolData::m_phiStart
double m_phiStart
Definition: TubeVolData.h:45
InDetDD::TubeVolData::rmin
double rmin() const
Definition: TubeVolData.h:22
InDetDD::TubeVolData::material
std::string material() const
Definition: TubeVolData.cxx:15
InDetDD::TubeVolData::maxRadius
double maxRadius() const
Definition: TubeVolData.cxx:20
InDetDD::TubeVolData::zMid
double zMid() const
Definition: TubeVolData.h:27