![]() |
ATLAS Offline Software
|
#include <SiNumerology.h>
Public Member Functions | |
| SiNumerology () | |
| Constructor: More... | |
| int | numBarrels () const |
| Number of barrels. More... | |
| int | numEndcaps () const |
| Number of endcaps. More... | |
| int | barrelId (int index) const |
| Barrel/endcap identifier for each barrel. More... | |
| int | endcapId (int index) const |
| Barrel/endcap identifier for each endcap. More... | |
| int | numLayers () const |
| Number of layers. More... | |
| int | numDiskLayers () const |
| Number of disk layers (ITk endcap-specific) More... | |
| int | numDisks () const |
| Number of disks. More... | |
| int | numRingsForDisk (int disk) const |
| Number of rings (ie eta_module) in a disk. More... | |
| int | numPhiModulesForLayer (int layer) const |
| Number of sectors in phi for a layer. More... | |
| int | numPhiModulesForDiskRing (int disk, int ring) const |
| Number of sectors in phi for a ring in a disk. More... | |
| int | numEtaModulesForLayer (int layer) const |
| Number of sectors in eta for a layer. More... | |
| int | numDisksForLayer (int layer) const |
| Number of disks for a layer (ITk endcap-specific) More... | |
| int | numPhiModulesForLayerDisk (int layer, int disk) const |
| Number of sectors in phi for a disk in a layer (ITk endcap-specific) More... | |
| int | beginEtaModuleForLayer (int layer) const |
| First eta_module number for a layer. More... | |
| int | endEtaModuleForLayer (int layer) const |
| Last eta_module number + 1. More... | |
| bool | skipEtaZeroForLayer (int layer) const |
| Check if eta_module=0 exists. More... | |
| bool | useLayer (int layer) const |
| Check if layer exists. More... | |
| bool | useDiskLayer (int layer) const |
| Check if layer exists. More... | |
| bool | useDisk (int disk) const |
| Check if disk exists. More... | |
| int | maxNumBarrelEta () const |
| Maximum number of modules in a barrel stave. More... | |
| int | maxNumEndcapRings () const |
| Maximum number of rings in a disk. More... | |
| int | maxNumStrips () const |
| Maximum number of strips. More... | |
| int | maxNumPhiCells () const |
| Maximum number of cells in phi direction. More... | |
| int | maxNumEtaCells () const |
| Maximum number of cells in eta direction. More... | |
| void | addBarrel (int id) |
| void | addEndcap (int id) |
| void | setNumLayers (int nLayers) |
| void | setNumDiskLayers (int nLayers) |
| void | setNumDisks (int nDisks) |
| void | setNumRingsForDisk (int disk, int nRings) |
| void | setNumPhiModulesForLayer (int layer, int nPhiModules) |
| void | setNumPhiModulesForDiskRing (int disk, int ring, int nPhiModules) |
| void | setNumEtaModulesForLayer (int layer, int nEtaModules) |
| void | setNumDisksForLayer (int layer, int nDisks) |
| void | setNumPhiModulesForLayerDisk (int layer, int disk, int nPhiModules) |
| void | setMaxNumEtaCells (int cells) |
| void | setMaxNumPhiCells (int cells) |
| int | numDisksDBM () const |
| int | numBarrelDBM () const |
| bool | useDiskDBM (int disk) const |
| int | numRingsForDiskDBM (int currentdisk) const |
| int | numPhiModulesForDiskRingDBM (int disk, int ring) const |
| int | numEndcapsDBM () const |
| int | endcapIdDBM (int index) const |
| void | setNumDisksDBM (int nDisks) |
| void | setNumBarrelDBM (int nBarrel) |
| void | setNumPhiModulesForDiskRingDBM (int disk, int ring, int nPhiModules) |
| void | addEndcapDBM (int id) |
Private Attributes | |
| int | m_numLayers |
| int | m_numDiskLayers |
| int | m_numDisks |
| int | m_maxPhiCells |
| int | m_maxEtaCells |
| int | m_maxNumBarrelEta |
| int | m_maxNumEndcapDisks |
| int | m_maxNumEndcapRings |
| int | m_maxNumBarrelPhiModules |
| int | m_maxNumEndcapPhiModules |
| std::vector< int > | m_barrelIds |
| std::vector< int > | m_endcapIds |
| std::vector< int > | m_phiModulesForLayer |
| std::vector< int > | m_ringsForDisk |
| std::vector< std::vector< int > > | m_phiModulesForDiskRing |
| std::vector< int > | m_etaModulesForLayer |
| std::vector< int > | m_disksForLayer |
| std::vector< std::vector< int > > | m_phiModulesForLayerDisk |
| int | m_numDisksDBM |
| int | m_numBarrelDBM |
| std::vector< int > | m_endcapIdsDBM |
| std::vector< std::vector< int > > | m_phiModulesForDiskRingDBM |
| int | m_maxNumEndcapPhiModulesDBM |
Class to extract numerology for Pixel and SCT. For example number of layers, disks, sectors, rings, etc. See InnerDetector/InDetExample/InDetDetDescrExample/src/SiReadSiDetectorElements.cxx for example of usage.
Definition at line 27 of file SiNumerology.h.
| InDetDD::SiNumerology::SiNumerology | ( | ) |
| void InDetDD::SiNumerology::addBarrel | ( | int | id | ) |
Definition at line 97 of file SiNumerology.cxx.
| void InDetDD::SiNumerology::addEndcap | ( | int | id | ) |
Definition at line 102 of file SiNumerology.cxx.
| void InDetDD::SiNumerology::addEndcapDBM | ( | int | id | ) |
Definition at line 136 of file SiNumerology.cxx.
| int InDetDD::SiNumerology::barrelId | ( | int | index | ) | const |
Barrel/endcap identifier for each barrel.
Normally barrelId(0) = 0
| int InDetDD::SiNumerology::beginEtaModuleForLayer | ( | int | layer | ) | const |
First eta_module number for a layer.
| int InDetDD::SiNumerology::endcapId | ( | int | index | ) | const |
Barrel/endcap identifier for each endcap.
Normally endcapId(0) returns 2, endcapId(1) returns -2
| int InDetDD::SiNumerology::endcapIdDBM | ( | int | index | ) | const |
| int InDetDD::SiNumerology::endEtaModuleForLayer | ( | int | layer | ) | const |
Last eta_module number + 1.
| int InDetDD::SiNumerology::maxNumBarrelEta | ( | ) | const |
Maximum number of modules in a barrel stave.
| int InDetDD::SiNumerology::maxNumEndcapRings | ( | ) | const |
Maximum number of rings in a disk.
| int InDetDD::SiNumerology::maxNumEtaCells | ( | ) | const |
Maximum number of cells in eta direction.
0 for SCT.
| int InDetDD::SiNumerology::maxNumPhiCells | ( | ) | const |
Maximum number of cells in phi direction.
Same as maxNumStrips()
| int InDetDD::SiNumerology::maxNumStrips | ( | ) | const |
Maximum number of strips.
Same as maxNumPhiCells()
| int InDetDD::SiNumerology::numBarrelDBM | ( | ) | const |
| int InDetDD::SiNumerology::numBarrels | ( | ) | const |
Number of barrels.
Normally 1.
| int InDetDD::SiNumerology::numDiskLayers | ( | ) | const |
Number of disk layers (ITk endcap-specific)
Used to deal with geometry with multiple layers of disks in endcap
| int InDetDD::SiNumerology::numDisks | ( | ) | const |
Number of disks.
| int InDetDD::SiNumerology::numDisksDBM | ( | ) | const |
| int InDetDD::SiNumerology::numDisksForLayer | ( | int | layer | ) | const |
Number of disks for a layer (ITk endcap-specific)
| int InDetDD::SiNumerology::numEndcaps | ( | ) | const |
Number of endcaps.
Normally 2.
| int InDetDD::SiNumerology::numEndcapsDBM | ( | ) | const |
| int InDetDD::SiNumerology::numEtaModulesForLayer | ( | int | layer | ) | const |
Number of sectors in eta for a layer.
| int InDetDD::SiNumerology::numLayers | ( | ) | const |
Number of layers.
| int InDetDD::SiNumerology::numPhiModulesForDiskRing | ( | int | disk, |
| int | ring | ||
| ) | const |
Number of sectors in phi for a ring in a disk.
| int InDetDD::SiNumerology::numPhiModulesForDiskRingDBM | ( | int | disk, |
| int | ring | ||
| ) | const |
| int InDetDD::SiNumerology::numPhiModulesForLayer | ( | int | layer | ) | const |
Number of sectors in phi for a layer.
| int InDetDD::SiNumerology::numPhiModulesForLayerDisk | ( | int | layer, |
| int | disk | ||
| ) | const |
Number of sectors in phi for a disk in a layer (ITk endcap-specific)
| int InDetDD::SiNumerology::numRingsForDisk | ( | int | disk | ) | const |
Number of rings (ie eta_module) in a disk.
| int InDetDD::SiNumerology::numRingsForDiskDBM | ( | int | currentdisk | ) | const |
| void InDetDD::SiNumerology::setMaxNumEtaCells | ( | int | cells | ) |
Definition at line 91 of file SiNumerology.cxx.
| void InDetDD::SiNumerology::setMaxNumPhiCells | ( | int | cells | ) |
Definition at line 86 of file SiNumerology.cxx.
| void InDetDD::SiNumerology::setNumBarrelDBM | ( | int | nBarrel | ) |
Definition at line 125 of file SiNumerology.cxx.
| void InDetDD::SiNumerology::setNumDiskLayers | ( | int | nLayers | ) |
Definition at line 34 of file SiNumerology.cxx.
| void InDetDD::SiNumerology::setNumDisks | ( | int | nDisks | ) |
Definition at line 41 of file SiNumerology.cxx.
| void InDetDD::SiNumerology::setNumDisksDBM | ( | int | nDisks | ) |
Definition at line 108 of file SiNumerology.cxx.
| void InDetDD::SiNumerology::setNumDisksForLayer | ( | int | layer, |
| int | nDisks | ||
| ) |
Definition at line 73 of file SiNumerology.cxx.
| void InDetDD::SiNumerology::setNumEtaModulesForLayer | ( | int | layer, |
| int | nEtaModules | ||
| ) |
Definition at line 67 of file SiNumerology.cxx.
| void InDetDD::SiNumerology::setNumLayers | ( | int | nLayers | ) |
Definition at line 27 of file SiNumerology.cxx.
| void InDetDD::SiNumerology::setNumPhiModulesForDiskRing | ( | int | disk, |
| int | ring, | ||
| int | nPhiModules | ||
| ) |
Definition at line 55 of file SiNumerology.cxx.
| void InDetDD::SiNumerology::setNumPhiModulesForDiskRingDBM | ( | int | disk, |
| int | ring, | ||
| int | nPhiModules | ||
| ) |
Definition at line 130 of file SiNumerology.cxx.
| void InDetDD::SiNumerology::setNumPhiModulesForLayer | ( | int | layer, |
| int | nPhiModules | ||
| ) |
Definition at line 61 of file SiNumerology.cxx.
| void InDetDD::SiNumerology::setNumPhiModulesForLayerDisk | ( | int | layer, |
| int | disk, | ||
| int | nPhiModules | ||
| ) |
Definition at line 80 of file SiNumerology.cxx.
| void InDetDD::SiNumerology::setNumRingsForDisk | ( | int | disk, |
| int | nRings | ||
| ) |
Definition at line 48 of file SiNumerology.cxx.
| bool InDetDD::SiNumerology::skipEtaZeroForLayer | ( | int | layer | ) | const |
Check if eta_module=0 exists.
| bool InDetDD::SiNumerology::useDisk | ( | int | disk | ) | const |
Check if disk exists.
| bool InDetDD::SiNumerology::useDiskDBM | ( | int | disk | ) | const |
| bool InDetDD::SiNumerology::useDiskLayer | ( | int | layer | ) | const |
Check if layer exists.
| bool InDetDD::SiNumerology::useLayer | ( | int | layer | ) | const |
Check if layer exists.
|
private |
Definition at line 154 of file SiNumerology.h.
|
private |
Definition at line 160 of file SiNumerology.h.
|
private |
Definition at line 155 of file SiNumerology.h.
|
private |
Definition at line 165 of file SiNumerology.h.
|
private |
Definition at line 159 of file SiNumerology.h.
|
private |
Definition at line 147 of file SiNumerology.h.
|
private |
Definition at line 148 of file SiNumerology.h.
|
private |
Definition at line 151 of file SiNumerology.h.
|
private |
Definition at line 149 of file SiNumerology.h.
|
private |
Definition at line 152 of file SiNumerology.h.
|
private |
Definition at line 167 of file SiNumerology.h.
|
private |
Definition at line 150 of file SiNumerology.h.
|
private |
Definition at line 146 of file SiNumerology.h.
|
private |
Definition at line 164 of file SiNumerology.h.
|
private |
Definition at line 144 of file SiNumerology.h.
|
private |
Definition at line 145 of file SiNumerology.h.
|
private |
Definition at line 163 of file SiNumerology.h.
|
private |
Definition at line 143 of file SiNumerology.h.
|
private |
Definition at line 158 of file SiNumerology.h.
|
private |
Definition at line 166 of file SiNumerology.h.
|
private |
Definition at line 156 of file SiNumerology.h.
|
private |
Definition at line 161 of file SiNumerology.h.
|
private |
Definition at line 157 of file SiNumerology.h.
1.8.18