 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef MUONSTATIONINDEX_MUONSTATIONINDEX_H
6 #define MUONSTATIONINDEX_MUONSTATIONINDEX_H
13 namespace MuonStationIndex {
18 EIS,
EIL,
EMS,
EML,
EOS,
EOL,
EES,
EEL,
CSS,
CSL,
33 BI1,
BI2,
BM1,
BM2,
BO1,
BO2,
T1,
T2,
T3,
T4,
CSC,
STGC1,
STGC2,
60 template <
typename EnumType>
61 constexpr
int toInt(
const EnumType enumVal) {
62 return static_cast<int>(enumVal);
LayerIndex
enum to classify the different layers in the muon spectrometer
ChIndex toChamberIndex(DetectorRegionIndex region, LayerIndex layer, bool isSmall)
convert DetectorRegionIndex + LayerIndex + isSmall into ChIndex
constexpr unsigned int sectorLayerHashMax()
maximum create a hash out of region and layer
unsigned int sectorLayerHash(DetectorRegionIndex detectorRegionIndex, LayerIndex layerIndex)
create a hash out of region and layer
const std::string & stName(StIndex index)
convert StIndex into a string
TechnologyIndex
enum to classify the different layers in the muon spectrometer
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
constexpr unsigned numberOfSectors()
return total number of sectors
StIndex toStationIndex(ChIndex index)
convert ChIndex into StIndex
ChIndex chIndex(const std::string &index)
convert ChIndex name string to enum
const std::string & chName(ChIndex index)
convert ChIndex into a string
const std::string & technologyName(TechnologyIndex index)
convert LayerIndex into a string
StIndex
enum to classify the different station layers in the muon spectrometer
const std::string & layerName(LayerIndex index)
convert LayerIndex into a string
bool isBarrel(const ChIndex index)
Returns true if the chamber index points to a barrel chamber.
PhiIndex
enum to classify the different phi layers in the muon spectrometer
const std::string & regionName(DetectorRegionIndex index)
convert DetectorRegionIndex into a string
DetectorRegionIndex
enum to classify the different layers in the muon spectrometer
LayerIndex toLayerIndex(ChIndex index)
convert ChIndex into LayerIndex
ChIndex
enum to classify the different chamber layers in the muon spectrometer
const std::string & phiName(PhiIndex index)
convert PhiIndex into a string
std::pair< DetectorRegionIndex, LayerIndex > decomposeSectorLayerHash(unsigned int hash)
decompose the hash into Region and Layer
bool isSmall(const ChIndex index)
Returns true if the chamber index is in a small sector.
constexpr int toInt(const EnumType enumVal)