![]() |
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 | |
| DetectorRegionIndex | toDetectorRegionIndex (ChIndex index, int8_t etaSign) |
| convert ChamberIndex + etaSign into DetectorRegionIndex | |
| 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 | |
| unsigned int | regionChambernHash (DetectorRegionIndex regionIdx, ChIndex chamberIdx) |
| create a hash out of chamber index and detector region | |
| constexpr unsigned int | sectorLayerHashMax () |
| maximum create a hash out of region and layer | |
| constexpr unsigned int | regionChamberHashMax () |
| maximum create a hash out of chamber and region index | |
| std::pair< DetectorRegionIndex, LayerIndex > | decomposeSectorLayerHash (unsigned int hash) |
| decompose the hash into Region and Layer | |
| std::pair< DetectorRegionIndex, ChIndex > | decomposeRegionChamberHash (unsigned int hash) |
| decompose the hash into Region and Chamber | |
| constexpr unsigned | numberOfSectors () |
| return total number of sectors | |
| ChIndex | chIndex (const std::string &index) |
| convert ChIndex name string to enum | |
| std::ostream & | operator<< (std::ostream &ostr, const StIndex stIdx) |
| std::ostream & | operator<< (std::ostream &ostr, const ChIndex chIdx) |
| std::ostream & | operator<< (std::ostream &ostr, const PhiIndex phiIdx) |
| std::ostream & | operator<< (std::ostream &ostr, const DetectorRegionIndex detIdx) |
| std::ostream & | operator<< (std::ostream &ostr, const LayerIndex layIdx) |
| std::ostream & | operator<< (std::ostream &ostr, const TechnologyIndex techIdx) |
|
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 16 of file MuonStationIndex.h.
|
strong |
enum to classify the different layers in the muon spectrometer
| Enumerator | |
|---|---|
| DetectorRegionUnknown | |
| EndcapA | |
| Barrel | |
| EndcapC | |
| DetectorRegionIndexMax | |
Definition at line 48 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 39 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 32 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 24 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 55 of file MuonStationIndex.h.
convert ChIndex name string to enum
Definition at line 12 of file MuonStationIndex.cxx.
convert ChIndex into a string
Definition at line 120 of file MuonStationIndex.cxx.
| std::pair< DetectorRegionIndex, ChIndex > Muon::MuonStationIndex::decomposeRegionChamberHash | ( | unsigned int | hash | ) |
decompose the hash into Region and Chamber
| std::pair< DetectorRegionIndex, LayerIndex > Muon::MuonStationIndex::decomposeSectorLayerHash | ( | unsigned int | hash | ) |
decompose the hash into Region and Layer
Returns true if the chamber index points to a barrel chamber.
Returns true if the station index points to a barrel chamber.
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 154 of file MuonStationIndex.cxx.
|
constexpr |
Definition at line 189 of file MuonStationIndex.cxx.
| std::ostream & Muon::MuonStationIndex::operator<< | ( | std::ostream & | ostr, |
| const DetectorRegionIndex | detIdx ) |
Definition at line 195 of file MuonStationIndex.cxx.
| std::ostream & Muon::MuonStationIndex::operator<< | ( | std::ostream & | ostr, |
| const LayerIndex | layIdx ) |
Definition at line 198 of file MuonStationIndex.cxx.
Definition at line 192 of file MuonStationIndex.cxx.
Definition at line 186 of file MuonStationIndex.cxx.
| std::ostream & Muon::MuonStationIndex::operator<< | ( | std::ostream & | ostr, |
| const TechnologyIndex | techIdx ) |
Definition at line 201 of file MuonStationIndex.cxx.
convert PhiIndex into a string
Definition at line 88 of file MuonStationIndex.cxx.
|
constexpr |
maximum create a hash out of chamber and region index
Definition at line 121 of file MuonStationIndex.h.
| unsigned int Muon::MuonStationIndex::regionChambernHash | ( | DetectorRegionIndex | regionIdx, |
| ChIndex | chamberIdx ) |
create a hash out of chamber index and detector region
| const std::string & Muon::MuonStationIndex::regionName | ( | DetectorRegionIndex | index | ) |
convert DetectorRegionIndex into a string
Definition at line 139 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 117 of file MuonStationIndex.h.
convert StIndex into a string
Definition at line 105 of file MuonStationIndex.cxx.
| const std::string & Muon::MuonStationIndex::technologyName | ( | TechnologyIndex | index | ) |
convert LayerIndex into a string
Definition at line 170 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 64 of file MuonStationIndex.cxx.
| DetectorRegionIndex Muon::MuonStationIndex::toDetectorRegionIndex | ( | ChIndex | index, |
| int8_t | etaSign ) |
convert ChamberIndex + etaSign into DetectorRegionIndex
|
constexpr |
Definition at line 62 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 50 of file MuonStationIndex.cxx.