ATLAS Offline Software
TRT_Numerology.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // TRT_Numerology.h
8 // (c) ATLAS Detector software
10 
11 #ifndef INDETREADOUTGEOMETRY_TRTNUMEROLOGY_H
12 #define INDETREADOUTGEOMETRY_TRTNUMEROLOGY_H
13 
14 namespace InDetDD {
15 
23 
24  public:
25 
26  // Constructor:
28 
29  // Destructor:
30  ~TRT_Numerology() = default;
31 
32  // Modifiers:
33  void setNBarrelLayers(unsigned int module, unsigned int nLayers);
34  void setNEndcapLayers(unsigned int wheel, unsigned int nLayers);
35 
36  void setNBarrelRings (unsigned int ring );
37  void setNBarrelPhi (unsigned int phi );
38  void setNEndcapWheels(unsigned int wheel);
39  void setNEndcapPhi (unsigned int phi );
40 
41  // Accessors:
42  inline unsigned int getNBarrelLayers(unsigned int iMod ) const;
43  inline unsigned int getNEndcapLayers(unsigned int iWheel) const;
44 
45  inline unsigned int getNBarrelRings () const;
46  inline unsigned int getNBarrelPhi () const;
47  inline unsigned int getNEndcapWheels() const;
48  inline unsigned int getNEndcapPhi () const;
49 
50  private:
51 
52  unsigned int m_nlayerBarrel[3]{};
53  unsigned int m_nlayerEndcap[18]{};
54 
55  unsigned int m_nringBarrel;
56  unsigned int m_nphiBarrel;
57  unsigned int m_nwheelEndcap;
58  unsigned int m_nphiEndcap;
59  };
60 }
61 #include "TRT_Numerology.icc"
62 #endif
InDetDD::TRT_Numerology::m_nringBarrel
unsigned int m_nringBarrel
Definition: TRT_Numerology.h:55
InDetDD::TRT_Numerology::setNBarrelLayers
void setNBarrelLayers(unsigned int module, unsigned int nLayers)
Definition: TRT_Numerology.cxx:25
InDetDD::TRT_Numerology::setNEndcapLayers
void setNEndcapLayers(unsigned int wheel, unsigned int nLayers)
Definition: TRT_Numerology.cxx:29
InDetDD::TRT_Numerology::setNBarrelRings
void setNBarrelRings(unsigned int ring)
Definition: TRT_Numerology.cxx:33
InDetDD::TRT_Numerology::getNEndcapWheels
unsigned int getNEndcapWheels() const
python.PyAthena.module
module
Definition: PyAthena.py:131
InDetDD::TRT_Numerology
Definition: TRT_Numerology.h:22
InDetDD::TRT_Numerology::TRT_Numerology
TRT_Numerology()
Definition: TRT_Numerology.cxx:8
InDetDD::TRT_Numerology::setNEndcapWheels
void setNEndcapWheels(unsigned int wheel)
Definition: TRT_Numerology.cxx:41
TRT_Numerology.icc
InDetDD::TRT_Numerology::~TRT_Numerology
~TRT_Numerology()=default
InDetDD::TRT_Numerology::m_nwheelEndcap
unsigned int m_nwheelEndcap
Definition: TRT_Numerology.h:57
InDetDD::TRT_Numerology::getNBarrelPhi
unsigned int getNBarrelPhi() const
InDetDD::TRT_Numerology::m_nphiEndcap
unsigned int m_nphiEndcap
Definition: TRT_Numerology.h:58
InDetDD::TRT_Numerology::setNBarrelPhi
void setNBarrelPhi(unsigned int phi)
Definition: TRT_Numerology.cxx:37
InDetDD::TRT_Numerology::getNBarrelLayers
unsigned int getNBarrelLayers(unsigned int iMod) const
InDetDD::TRT_Numerology::m_nlayerEndcap
unsigned int m_nlayerEndcap[18]
Definition: TRT_Numerology.h:53
InDetDD::TRT_Numerology::setNEndcapPhi
void setNEndcapPhi(unsigned int phi)
Definition: TRT_Numerology.cxx:45
InDetDD
Message Stream Member.
Definition: FakeTrackBuilder.h:8
InDetDD::TRT_Numerology::m_nlayerBarrel
unsigned int m_nlayerBarrel[3]
Definition: TRT_Numerology.h:52
InDetDD::TRT_Numerology::m_nphiBarrel
unsigned int m_nphiBarrel
Definition: TRT_Numerology.h:56
InDetDD::TRT_Numerology::getNEndcapPhi
unsigned int getNEndcapPhi() const
InDetDD::TRT_Numerology::getNEndcapLayers
unsigned int getNEndcapLayers(unsigned int iWheel) const
InDetDD::TRT_Numerology::getNBarrelRings
unsigned int getNBarrelRings() const