ATLAS Offline Software
TRT_Numerology.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 namespace InDetDD {
7 
9  m_nringBarrel(0),
10  m_nphiBarrel(0),
11  m_nwheelEndcap(0),
12  m_nphiEndcap(0)
13 {
14  // Zero out the arrays
15  for (unsigned int & i : m_nlayerBarrel) {
16  i = 0;
17  }
18  for (unsigned int & j : m_nlayerEndcap) {
19  j = 0;
20  }
21 }
22 
23 
24 
25 void TRT_Numerology::setNBarrelLayers(unsigned int module, unsigned int nLayers) {
26  m_nlayerBarrel[module]=nLayers;
27 }
28 
29 void TRT_Numerology::setNEndcapLayers(unsigned int wheel, unsigned int nLayers) {
30  m_nlayerEndcap[wheel]=nLayers;
31 }
32 
33 void TRT_Numerology::setNBarrelRings(unsigned int ring) {
34  m_nringBarrel = ring;
35 }
36 
37 void TRT_Numerology::setNBarrelPhi(unsigned int phi) {
38  m_nphiBarrel = phi;
39 }
40 
41 void TRT_Numerology::setNEndcapWheels(unsigned int wheel) {
42  m_nwheelEndcap = wheel;
43 }
44 
45 void TRT_Numerology::setNEndcapPhi(unsigned int phi) {
46  m_nphiEndcap = phi;
47 }
48 }
49 
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
python.PyAthena.module
module
Definition: PyAthena.py:131
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
lumiFormat.i
int i
Definition: lumiFormat.py:85
InDetDD::TRT_Numerology::m_nwheelEndcap
unsigned int m_nwheelEndcap
Definition: TRT_Numerology.h:57
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::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
TRT_Numerology.h