2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
7 inline int SiNumerology::numBarrels() const
9 return m_barrelIds.size();
12 inline int SiNumerology::numEndcaps() const
14 return m_endcapIds.size();
17 inline int SiNumerology::barrelId(int index) const
19 return m_barrelIds[index];
22 inline int SiNumerology::endcapId(int index) const
24 return m_endcapIds[index];
27 inline int SiNumerology::numLayers() const
32 inline int SiNumerology::numDiskLayers() const
34 return m_numDiskLayers;
37 inline int SiNumerology::numDisks() const
42 inline int SiNumerology::numRingsForDisk(int disk) const
44 return m_ringsForDisk[disk];
47 inline int SiNumerology::numPhiModulesForLayer(int layer) const
49 return m_phiModulesForLayer[layer];
52 inline int SiNumerology::numPhiModulesForDiskRing(int disk, int ring) const
54 return m_phiModulesForDiskRing[disk][ring];
57 inline int SiNumerology::numEtaModulesForLayer(int layer) const
59 return m_etaModulesForLayer[layer];
62 inline int SiNumerology::numDisksForLayer(int layer) const
64 return m_disksForLayer[layer];
67 inline int SiNumerology::numPhiModulesForLayerDisk(int layer, int disk) const
69 return m_phiModulesForLayerDisk[layer][disk];
72 inline int SiNumerology::beginEtaModuleForLayer(int layer) const
74 // Assume symmetric about zero.
75 return -m_etaModulesForLayer[layer]/2;
78 inline int SiNumerology::endEtaModuleForLayer(int layer) const
80 // Assume symmetric about zero.
81 return m_etaModulesForLayer[layer]/2+1;
84 inline bool SiNumerology::skipEtaZeroForLayer(int layer) const
86 // If even then no module at eta = 0.
87 return !(m_etaModulesForLayer[layer]%2);
90 inline int SiNumerology::maxNumBarrelEta() const
92 return m_maxNumBarrelEta;
95 inline int SiNumerology::maxNumEndcapRings() const
97 return m_maxNumEndcapRings;
100 inline int SiNumerology::maxNumStrips() const
102 return m_maxPhiCells;
105 inline int SiNumerology::maxNumPhiCells() const
107 return m_maxPhiCells;
110 inline int SiNumerology::maxNumEtaCells() const
112 return m_maxEtaCells;
116 inline bool SiNumerology::useLayer(int layer) const
118 return (m_phiModulesForLayer[layer] != 0);
121 inline bool SiNumerology::useDiskLayer(int layer) const
123 return (m_disksForLayer[layer] != 0);
126 inline bool SiNumerology::useDisk(int disk) const
128 return (m_ringsForDisk[disk] != 0);
131 inline int SiNumerology::numBarrelDBM() const
136 inline int SiNumerology::numDisksDBM() const
138 return m_numDisksDBM;
141 inline bool SiNumerology::useDiskDBM(int disk) const
143 return (disk<numDisksDBM())?1:0;
146 inline int SiNumerology::numRingsForDiskDBM(int /*currentdisk*/) const
151 inline int SiNumerology::numPhiModulesForDiskRingDBM(int disk, int ring) const
153 return m_phiModulesForDiskRingDBM[disk][ring];
156 inline int SiNumerology::numEndcapsDBM() const
158 return m_endcapIdsDBM.size();
161 inline int SiNumerology::endcapIdDBM(int index) const
163 return m_endcapIdsDBM[index];