![]() |
ATLAS Offline Software
|
Functions | |
template<typename EnumType > | |
constexpr int | toInt (const EnumType enumVal) |
StIndex | toStationIndex (ChIndex index) |
convert ChIndex into StIndex More... | |
LayerIndex | toLayerIndex (ChIndex index) |
convert ChIndex into LayerIndex More... | |
LayerIndex | toLayerIndex (StIndex index) |
convert StIndex into LayerIndex More... | |
StIndex | toStationIndex (DetectorRegionIndex region, LayerIndex layer) |
convert DetectorRegionIndex + LayerIndex into StIndex More... | |
ChIndex | toChamberIndex (DetectorRegionIndex region, LayerIndex layer, bool isSmall) |
convert DetectorRegionIndex + LayerIndex + isSmall into ChIndex More... | |
bool | isBarrel (const ChIndex index) |
Returns true if the chamber index points to a barrel chamber. More... | |
bool | isBarrel (const StIndex index) |
Returns true if the station index points to a barrel chamber. More... | |
bool | isSmall (const ChIndex index) |
Returns true if the chamber index is in a small sector. More... | |
ChIndex | toChamberIndex (StIndex stIndex, bool isSmall) |
convert StIndex + isSmall into ChIndex More... | |
const std::string & | phiName (PhiIndex index) |
convert PhiIndex into a string More... | |
const std::string & | stName (StIndex index) |
convert StIndex into a string More... | |
const std::string & | chName (ChIndex index) |
convert ChIndex into a string More... | |
const std::string & | regionName (DetectorRegionIndex index) |
convert DetectorRegionIndex into a string More... | |
const std::string & | layerName (LayerIndex index) |
convert LayerIndex into a string More... | |
const std::string & | technologyName (TechnologyIndex index) |
convert LayerIndex into a string More... | |
unsigned int | sectorLayerHash (DetectorRegionIndex detectorRegionIndex, LayerIndex layerIndex) |
create a hash out of region and layer More... | |
constexpr unsigned int | sectorLayerHashMax () |
maximum create a hash out of region and layer More... | |
std::pair< DetectorRegionIndex, LayerIndex > | decomposeSectorLayerHash (unsigned int hash) |
decompose the hash into Region and Layer More... | |
constexpr unsigned | numberOfSectors () |
return total number of sectors More... | |
ChIndex | chIndex (const std::string &index) |
convert ChIndex name string to enum More... | |
|
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 |
|
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.
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 | ) |
|
constexpr |
return total number of sectors
Definition at line 118 of file MuonStationIndex.h.
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::technologyName | ( | TechnologyIndex | index | ) |
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
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.
convert StIndex + isSmall into ChIndex
|
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.