![]() |
ATLAS Offline Software
|
Enumerations | |
| enum class | ChIndex : int8_t { ChUnknown = -1 , BIS , BIL , BMS , BML , BOS , BOL , BEE , EIS , EIL , EMS , EML , EOS , EOL , EES , EEL , CSS , CSL , ChIndexMax } |
| enum to classify the different chamber layers in the muon spectrometer More... | |
| enum class | StIndex : int8_t { StUnknown = -1 , BI , BM , BO , BE , EI , EM , EO , EE , StIndexMax } |
| enum to classify the different station layers in the muon spectrometer More... | |
| enum class | PhiIndex : int8_t { PhiUnknown = -1 , BI1 , BI2 , BM1 , BM2 , BO1 , BO2 , T1 , T2 , T3 , T4 , CSC , STGC1 , STGC2 , PhiIndexMax } |
| enum to classify the different phi layers in the muon spectrometer More... | |
| enum class | LayerIndex : int8_t { LayerUnknown = -1 , Inner , Middle , Outer , Extended , BarrelExtended , LayerIndexMax } |
| enum to classify the different layers in the muon spectrometer More... | |
| enum class | DetectorRegionIndex : int8_t { DetectorRegionUnknown = -1 , EndcapA , Barrel , EndcapC , DetectorRegionIndexMax } |
| enum to classify the different layers in the muon spectrometer More... | |
| enum class | TechnologyIndex : int8_t { TechnologyUnknown = -1 , MDT , CSC , RPC , TGC , STGC , MM , TechnologyIndexMax } |
| enum to classify the different layers in the muon spectrometer More... | |
Functions | |
| template<typename EnumType> | |
| constexpr int | toInt (const EnumType enumVal) |
| StIndex | toStationIndex (ChIndex index) |
| convert ChIndex into StIndex | |
| LayerIndex | toLayerIndex (ChIndex index) |
| convert ChIndex into LayerIndex | |
| LayerIndex | toLayerIndex (StIndex index) |
| convert StIndex into LayerIndex | |
| StIndex | toStationIndex (DetectorRegionIndex region, LayerIndex layer) |
| convert DetectorRegionIndex + LayerIndex into StIndex | |
| ChIndex | toChamberIndex (DetectorRegionIndex region, LayerIndex layer, bool isSmall) |
| convert DetectorRegionIndex + LayerIndex + isSmall into ChIndex | |
| bool | isBarrel (const ChIndex index) |
| Returns true if the chamber index points to a barrel chamber. | |
| bool | isBarrel (const StIndex index) |
| Returns true if the station index points to a barrel chamber. | |
| bool | isSmall (const ChIndex index) |
| Returns true if the chamber index is in a small sector. | |
| ChIndex | toChamberIndex (StIndex stIndex, bool isSmall) |
| convert StIndex + isSmall into ChIndex | |
| const std::string & | phiName (PhiIndex index) |
| convert PhiIndex into a string | |
| const std::string & | stName (StIndex index) |
| convert StIndex into a string | |
| const std::string & | chName (ChIndex index) |
| convert ChIndex into a string | |
| const std::string & | regionName (DetectorRegionIndex index) |
| convert DetectorRegionIndex into a string | |
| const std::string & | layerName (LayerIndex index) |
| convert LayerIndex into a string | |
| const std::string & | technologyName (TechnologyIndex index) |
| convert LayerIndex into a string | |
| unsigned int | sectorLayerHash (DetectorRegionIndex detectorRegionIndex, LayerIndex layerIndex) |
| create a hash out of region and layer | |
| constexpr unsigned int | sectorLayerHashMax () |
| maximum create a hash out of region and layer | |
| std::pair< DetectorRegionIndex, LayerIndex > | decomposeSectorLayerHash (unsigned int hash) |
| decompose the hash into Region and Layer | |
| constexpr unsigned | numberOfSectors () |
| return total number of sectors | |
| ChIndex | chIndex (const std::string &index) |
| convert ChIndex name string to enum | |
|
strong |
enum to classify the different chamber layers in the muon spectrometer
| Enumerator | |
|---|---|
| ChUnknown | |
| BIS | |
| BIL | |
| BMS | |
| BML | |
| BOS | |
| BOL | |
| BEE | |
| EIS | |
| EIL | |
| EMS | |
| EML | |
| EOS | |
| EOL | |
| EES | |
| EEL | |
| CSS | |
| CSL | |
| ChIndexMax | |
Definition at line 15 of file MuonStationIndex.h.
|
strong |
enum to classify the different layers in the muon spectrometer
| Enumerator | |
|---|---|
| DetectorRegionUnknown | |
| EndcapA | |
| Barrel | |
| EndcapC | |
| DetectorRegionIndexMax | |
Definition at line 47 of file MuonStationIndex.h.
|
strong |
enum to classify the different layers in the muon spectrometer
| Enumerator | |
|---|---|
| LayerUnknown | |
| Inner | |
| Middle | |
| Outer | |
| Extended | |
| BarrelExtended | EE. |
| LayerIndexMax | BEE. |
Definition at line 38 of file MuonStationIndex.h.
|
strong |
enum to classify the different phi layers in the muon spectrometer
| Enumerator | |
|---|---|
| PhiUnknown | |
| BI1 | |
| BI2 | |
| BM1 | |
| BM2 | |
| BO1 | |
| BO2 | |
| T1 | |
| T2 | |
| T3 | |
| T4 | |
| CSC | |
| STGC1 | |
| STGC2 | |
| PhiIndexMax | |
Definition at line 31 of file MuonStationIndex.h.
|
strong |
enum to classify the different station layers in the muon spectrometer
| Enumerator | |
|---|---|
| StUnknown | |
| BI | |
| BM | |
| BO | |
| BE | |
| EI | |
| EM | |
| EO | |
| EE | |
| StIndexMax | |
Definition at line 23 of file MuonStationIndex.h.
|
strong |
enum to classify the different layers in the muon spectrometer
| Enumerator | |
|---|---|
| TechnologyUnknown | |
| MDT | |
| CSC | |
| RPC | |
| TGC | |
| STGC | |
| MM | |
| TechnologyIndexMax | |
Definition at line 54 of file MuonStationIndex.h.
| ChIndex Muon::MuonStationIndex::chIndex | ( | const std::string & | index | ) |
convert ChIndex name string to enum
Definition at line 11 of file MuonStationIndex.cxx.
| const std::string & Muon::MuonStationIndex::chName | ( | ChIndex | index | ) |
convert ChIndex into a string
Definition at line 119 of file MuonStationIndex.cxx.
| std::pair< DetectorRegionIndex, LayerIndex > Muon::MuonStationIndex::decomposeSectorLayerHash | ( | unsigned int | hash | ) |
decompose the hash into Region and Layer
| bool Muon::MuonStationIndex::isBarrel | ( | const ChIndex | index | ) |
Returns true if the chamber index points to a barrel chamber.
| bool Muon::MuonStationIndex::isBarrel | ( | const StIndex | index | ) |
Returns true if the station index points to a barrel chamber.
| bool Muon::MuonStationIndex::isSmall | ( | const ChIndex | index | ) |
Returns true if the chamber index is in a small sector.
| const std::string & Muon::MuonStationIndex::layerName | ( | LayerIndex | index | ) |
convert LayerIndex into a string
Definition at line 153 of file MuonStationIndex.cxx.
|
constexpr |
| const std::string & Muon::MuonStationIndex::phiName | ( | PhiIndex | index | ) |
convert PhiIndex into a string
Definition at line 87 of file MuonStationIndex.cxx.
| const std::string & Muon::MuonStationIndex::regionName | ( | DetectorRegionIndex | index | ) |
convert DetectorRegionIndex into a string
Definition at line 138 of file MuonStationIndex.cxx.
| unsigned int Muon::MuonStationIndex::sectorLayerHash | ( | DetectorRegionIndex | detectorRegionIndex, |
| LayerIndex | layerIndex ) |
create a hash out of region and layer
|
constexpr |
maximum create a hash out of region and layer
Definition at line 110 of file MuonStationIndex.h.
| const std::string & Muon::MuonStationIndex::stName | ( | StIndex | index | ) |
convert StIndex into a string
Definition at line 104 of file MuonStationIndex.cxx.
| const std::string & Muon::MuonStationIndex::technologyName | ( | TechnologyIndex | index | ) |
convert LayerIndex into a string
Definition at line 169 of file MuonStationIndex.cxx.
| ChIndex Muon::MuonStationIndex::toChamberIndex | ( | DetectorRegionIndex | region, |
| LayerIndex | layer, | ||
| bool | isSmall ) |
convert DetectorRegionIndex + LayerIndex + isSmall into ChIndex
EndCapA hash
Barrel hash column BEE is not counted for the small sectors
EndCapC hash
EndCapA hash
Barrel hash column BEE is not counted for the large sectors
EndCapC hash
Definition at line 63 of file MuonStationIndex.cxx.
|
constexpr |
Definition at line 61 of file MuonStationIndex.h.
| LayerIndex Muon::MuonStationIndex::toLayerIndex | ( | ChIndex | index | ) |
convert ChIndex into LayerIndex
| LayerIndex Muon::MuonStationIndex::toLayerIndex | ( | StIndex | index | ) |
convert StIndex into LayerIndex
| StIndex Muon::MuonStationIndex::toStationIndex | ( | DetectorRegionIndex | region, |
| LayerIndex | layer ) |
convert DetectorRegionIndex + LayerIndex into StIndex
Definition at line 49 of file MuonStationIndex.cxx.