|
ATLAS Offline Software
|
#include <MuonFixedId.h>
Implements fixed identifiers not dependent upon Athena Identifier for internal use in the calibration framework. Fixed identifiers are encoded words which contain some muon generic fields (for the technology, the station, eta and phi) and some technology specific fields for Mdt, Csc, Rpc and Tgc. To each field XXX correspond an offset (a private static constant XXXShift) a minimum and a maximum storable value (derived from private static constantsXXXMin and XXXMask) Encoding or decoding of a value num in a given field proceeds via encoding or decoding and index, which is defined as num-XXXMin.
Definition at line 50 of file MuonFixedId.h.
◆ MuonFixedId() [1/2]
MuonCalib::MuonFixedId::MuonFixedId |
( |
| ) |
|
|
inline |
◆ MuonFixedId() [2/2]
MuonCalib::MuonFixedId::MuonFixedId |
( |
unsigned int |
id | ) |
|
|
inlineexplicit |
◆ clear()
void MuonCalib::MuonFixedId::clear |
( |
| ) |
|
|
inline |
clear the identifier (=set to invalid)
Definition at line 551 of file MuonFixedId.h.
◆ cscChamberLayer()
int MuonCalib::MuonFixedId::cscChamberLayer |
( |
| ) |
const |
|
inline |
Csc specific:
- Returns
- chamber layer
Definition at line 894 of file MuonFixedId.h.
◆ cscChamberLayerIndex()
int MuonCalib::MuonFixedId::cscChamberLayerIndex |
( |
| ) |
const |
|
inline |
Csc specific:
- Returns
- chamber layer index
Definition at line 890 of file MuonFixedId.h.
◆ cscChamberLayerMax()
int MuonCalib::MuonFixedId::cscChamberLayerMax |
( |
| ) |
|
|
inlinestatic |
Csc specific:
- Returns
- the maximum index used to store the chamber layer
Definition at line 969 of file MuonFixedId.h.
◆ cscChamberLayerMin()
int MuonCalib::MuonFixedId::cscChamberLayerMin |
( |
| ) |
|
|
inlinestatic |
Csc specific:
- Returns
- the minimum index used to store the chamber layer
Definition at line 965 of file MuonFixedId.h.
◆ cscMeasuresPhi()
int MuonCalib::MuonFixedId::cscMeasuresPhi |
( |
| ) |
const |
|
inline |
◆ cscMeasuresPhiIndex()
int MuonCalib::MuonFixedId::cscMeasuresPhiIndex |
( |
| ) |
const |
|
inline |
Csc specific:
- Returns
- measures_phi index
Definition at line 935 of file MuonFixedId.h.
◆ cscMeasuresPhiMax()
int MuonCalib::MuonFixedId::cscMeasuresPhiMax |
( |
| ) |
|
|
inlinestatic |
Csc specific:
- Returns
- the maximum index used to store measures_phi
Definition at line 985 of file MuonFixedId.h.
◆ cscMeasuresPhiMin()
int MuonCalib::MuonFixedId::cscMeasuresPhiMin |
( |
| ) |
|
|
inlinestatic |
Csc specific:
- Returns
- the minimum index used to store measures_phi
Definition at line 981 of file MuonFixedId.h.
◆ cscStrip()
int MuonCalib::MuonFixedId::cscStrip |
( |
| ) |
const |
|
inline |
◆ cscStripIndex()
int MuonCalib::MuonFixedId::cscStripIndex |
( |
| ) |
const |
|
inline |
◆ cscStripMax()
int MuonCalib::MuonFixedId::cscStripMax |
( |
| ) |
|
|
inlinestatic |
Csc specific:
- Returns
- the maximum index used to store the strip number
Definition at line 993 of file MuonFixedId.h.
◆ cscStripMin()
int MuonCalib::MuonFixedId::cscStripMin |
( |
| ) |
|
|
inlinestatic |
Csc specific:
- Returns
- the minimum index used to store the strip number
Definition at line 989 of file MuonFixedId.h.
◆ cscWireLayer()
int MuonCalib::MuonFixedId::cscWireLayer |
( |
| ) |
const |
|
inline |
◆ cscWireLayerIndex()
int MuonCalib::MuonFixedId::cscWireLayerIndex |
( |
| ) |
const |
|
inline |
Csc specific:
- Returns
- wire layer index
Definition at line 913 of file MuonFixedId.h.
◆ cscWireLayerMax()
int MuonCalib::MuonFixedId::cscWireLayerMax |
( |
| ) |
|
|
inlinestatic |
Csc specific:
- Returns
- the maximum index used to store the wire layer
Definition at line 977 of file MuonFixedId.h.
◆ cscWireLayerMin()
int MuonCalib::MuonFixedId::cscWireLayerMin |
( |
| ) |
|
|
inlinestatic |
Csc specific:
- Returns
- the minimum index used to store the wire layer
Definition at line 973 of file MuonFixedId.h.
◆ dump()
std::ostream & MuonCalib::MuonFixedId::dump |
( |
std::ostream & |
os | ) |
const |
dump all the information corresponding to the identifier
Definition at line 9 of file MuonFixedId.cxx.
20 os <<
", tgcGasGap " <<
tgcGasGap() <<
", tgcIsStrip "
26 os <<
"Invalid MuonFixedId" ;
◆ eta()
int MuonCalib::MuonFixedId::eta |
( |
| ) |
const |
|
inline |
◆ etaIndex()
int MuonCalib::MuonFixedId::etaIndex |
( |
| ) |
const |
|
inline |
◆ etaMax()
int MuonCalib::MuonFixedId::etaMax |
( |
| ) |
|
|
inlinestatic |
- Returns
- the maximum index used to store station eta
Definition at line 732 of file MuonFixedId.h.
◆ etaMin()
int MuonCalib::MuonFixedId::etaMin |
( |
| ) |
|
|
inlinestatic |
- Returns
- the minimum index used to store station eta
Definition at line 716 of file MuonFixedId.h.
◆ getIdInt()
unsigned int MuonCalib::MuonFixedId::getIdInt |
( |
| ) |
const |
|
inline |
- Returns
- the fixed identifier in integer form
Definition at line 543 of file MuonFixedId.h.
◆ is_csc()
bool MuonCalib::MuonFixedId::is_csc |
( |
| ) |
const |
|
inline |
- Returns
- true if the identifier corresponds to CSC technology
Definition at line 567 of file MuonFixedId.h.
◆ is_mdt()
bool MuonCalib::MuonFixedId::is_mdt |
( |
| ) |
const |
|
inline |
- Returns
- true if the identifier corresponds to MDT technology
Definition at line 559 of file MuonFixedId.h.
◆ is_rpc()
bool MuonCalib::MuonFixedId::is_rpc |
( |
| ) |
const |
|
inline |
- Returns
- true if the identifier corresponds to RPC technology
Definition at line 571 of file MuonFixedId.h.
◆ is_tgc()
bool MuonCalib::MuonFixedId::is_tgc |
( |
| ) |
const |
|
inline |
- Returns
- true if the identifier corresponds to TGC technology
Definition at line 563 of file MuonFixedId.h.
◆ isValid()
bool MuonCalib::MuonFixedId::isValid |
( |
| ) |
const |
|
inline |
check validity of the identifier.
- Returns
- false if invalid
Definition at line 555 of file MuonFixedId.h.
◆ mdtChamberId()
MuonFixedId MuonCalib::MuonFixedId::mdtChamberId |
( |
| ) |
const |
|
inline |
Mdt specific: convert channel ID into MDT Chamber ID.
Definition at line 863 of file MuonFixedId.h.
◆ mdtMezzanine()
int MuonCalib::MuonFixedId::mdtMezzanine |
( |
| ) |
const |
|
inline |
Mdt specific: compute the mezzanine number.
- Returns
- mezzanine number
Definition at line 779 of file MuonFixedId.h.
785 if (Ieta < 0 ) Ieta = -Ieta*10 ;
787 if (Ichamber==1 || Ichamber==2 || Ichamber==8 || Ichamber==13 || Ichamber==7 || Ichamber==15 || Ichamber==24) ImezzTubes=6;
789 if(Ichamber==2 && std::abs(Ieta)==8) ImezzTubes=8;
790 int Imezz = ((Itube-1)/ImezzTubes)*2+(Iml-1) ;
791 Imezz = 9*100000000 + Ichamber*1000000 + Ieta*10000 + Iphi*100 + Imezz ;
◆ mdtMultilayer()
int MuonCalib::MuonFixedId::mdtMultilayer |
( |
| ) |
const |
|
inline |
Mdt specific:
- Returns
- multilayer number
Definition at line 835 of file MuonFixedId.h.
◆ mdtMultilayerId()
MuonFixedId MuonCalib::MuonFixedId::mdtMultilayerId |
( |
| ) |
const |
|
inline |
Mdt specific: convert channel ID into MDT Multilayer ID.
Definition at line 868 of file MuonFixedId.h.
◆ mdtMultilayerIndex()
int MuonCalib::MuonFixedId::mdtMultilayerIndex |
( |
| ) |
const |
|
inline |
Mdt specific:
- Returns
- multilayer index
Definition at line 831 of file MuonFixedId.h.
◆ mdtMultilayerMax()
int MuonCalib::MuonFixedId::mdtMultilayerMax |
( |
| ) |
|
|
inlinestatic |
Mdt specific:
- Returns
- the maximum index used to store the multilayer number
Definition at line 859 of file MuonFixedId.h.
◆ mdtMultilayerMin()
int MuonCalib::MuonFixedId::mdtMultilayerMin |
( |
| ) |
|
|
inlinestatic |
Mdt specific:
- Returns
- the minimum index used to store the multilayer number
Definition at line 855 of file MuonFixedId.h.
◆ mdtTube()
int MuonCalib::MuonFixedId::mdtTube |
( |
| ) |
const |
|
inline |
◆ mdtTubeIndex()
int MuonCalib::MuonFixedId::mdtTubeIndex |
( |
| ) |
const |
|
inline |
◆ mdtTubeLayer()
int MuonCalib::MuonFixedId::mdtTubeLayer |
( |
| ) |
const |
|
inline |
◆ mdtTubeLayerIndex()
int MuonCalib::MuonFixedId::mdtTubeLayerIndex |
( |
| ) |
const |
|
inline |
◆ mdtTubeLayerMax()
int MuonCalib::MuonFixedId::mdtTubeLayerMax |
( |
| ) |
|
|
inlinestatic |
Mdt specific:
- Returns
- the maximum index used to store the layer number
Definition at line 851 of file MuonFixedId.h.
◆ mdtTubeLayerMin()
int MuonCalib::MuonFixedId::mdtTubeLayerMin |
( |
| ) |
|
|
inlinestatic |
Mdt specific:
- Returns
- the minimum index used to store the layer number
Definition at line 847 of file MuonFixedId.h.
◆ mdtTubeMax()
int MuonCalib::MuonFixedId::mdtTubeMax |
( |
| ) |
|
|
inlinestatic |
Mdt specific:
- Returns
- the maximum index used to store the tube number
Definition at line 843 of file MuonFixedId.h.
◆ mdtTubeMin()
int MuonCalib::MuonFixedId::mdtTubeMin |
( |
| ) |
|
|
inlinestatic |
Mdt specific:
- Returns
- the minimum index used to store the tube number
Definition at line 839 of file MuonFixedId.h.
◆ operator!=()
◆ operator<()
◆ operator==()
◆ phi()
int MuonCalib::MuonFixedId::phi |
( |
| ) |
const |
|
inline |
◆ phiIndex()
int MuonCalib::MuonFixedId::phiIndex |
( |
| ) |
const |
|
inline |
◆ phiMax()
int MuonCalib::MuonFixedId::phiMax |
( |
| ) |
|
|
inlinestatic |
- Returns
- the maximum index used to store station phi
Definition at line 736 of file MuonFixedId.h.
◆ phiMin()
int MuonCalib::MuonFixedId::phiMin |
( |
| ) |
|
|
inlinestatic |
- Returns
- the minimum index used to store station phi
Definition at line 720 of file MuonFixedId.h.
◆ rpcDoubletPhi()
int MuonCalib::MuonFixedId::rpcDoubletPhi |
( |
| ) |
const |
|
inline |
◆ rpcDoubletPhiIndex()
int MuonCalib::MuonFixedId::rpcDoubletPhiIndex |
( |
| ) |
const |
|
inline |
Rpc specific:
- Returns
- doublet_Phi index
Definition at line 1056 of file MuonFixedId.h.
◆ rpcDoubletR()
int MuonCalib::MuonFixedId::rpcDoubletR |
( |
| ) |
const |
|
inline |
◆ rpcDoubletRIndex()
int MuonCalib::MuonFixedId::rpcDoubletRIndex |
( |
| ) |
const |
|
inline |
◆ rpcDoubletZ()
int MuonCalib::MuonFixedId::rpcDoubletZ |
( |
| ) |
const |
|
inline |
◆ rpcDoubletZIndex()
int MuonCalib::MuonFixedId::rpcDoubletZIndex |
( |
| ) |
const |
|
inline |
◆ rpcGasGap()
int MuonCalib::MuonFixedId::rpcGasGap |
( |
| ) |
const |
|
inline |
◆ rpcGasGapIndex()
int MuonCalib::MuonFixedId::rpcGasGapIndex |
( |
| ) |
const |
|
inline |
◆ rpcMeasuresPhi()
int MuonCalib::MuonFixedId::rpcMeasuresPhi |
( |
| ) |
const |
|
inline |
◆ rpcMeasuresPhiIndex()
int MuonCalib::MuonFixedId::rpcMeasuresPhiIndex |
( |
| ) |
const |
|
inline |
Rpc specific:
- Returns
- measures_phi index
Definition at line 1100 of file MuonFixedId.h.
◆ rpcStrip()
int MuonCalib::MuonFixedId::rpcStrip |
( |
| ) |
const |
|
inline |
◆ rpcStripIndex()
int MuonCalib::MuonFixedId::rpcStripIndex |
( |
| ) |
const |
|
inline |
◆ set_csc()
void MuonCalib::MuonFixedId::set_csc |
( |
| ) |
|
|
inline |
set identifier to CSC technology type
Definition at line 579 of file MuonFixedId.h.
◆ set_mdt()
void MuonCalib::MuonFixedId::set_mdt |
( |
| ) |
|
|
inline |
set identifier to MDT technology type
Definition at line 575 of file MuonFixedId.h.
◆ set_rpc()
void MuonCalib::MuonFixedId::set_rpc |
( |
| ) |
|
|
inline |
set identifier to RPC technology type
Definition at line 587 of file MuonFixedId.h.
◆ set_tgc()
void MuonCalib::MuonFixedId::set_tgc |
( |
| ) |
|
|
inline |
◆ setCscChamberLayer()
bool MuonCalib::MuonFixedId::setCscChamberLayer |
( |
int |
num | ) |
|
|
inline |
Csc specific: set chamber layer to num.
- Returns
- false if out of range
Definition at line 886 of file MuonFixedId.h.
◆ setCscChamberLayerIndex()
bool MuonCalib::MuonFixedId::setCscChamberLayerIndex |
( |
unsigned int |
idx | ) |
|
|
inline |
Csc specific: set chamber layer index to idx.
- Returns
- false if out of range
Definition at line 876 of file MuonFixedId.h.
◆ setCscMeasuresPhi()
bool MuonCalib::MuonFixedId::setCscMeasuresPhi |
( |
int |
num | ) |
|
|
inline |
Csc specific: set measures_phi to num.
- Returns
- false if out of range
Definition at line 931 of file MuonFixedId.h.
◆ setCscMeasuresPhiIndex()
bool MuonCalib::MuonFixedId::setCscMeasuresPhiIndex |
( |
unsigned int |
idx | ) |
|
|
inline |
Csc specific: set measures_phi index to idx.
- Returns
- false if out of range
Definition at line 921 of file MuonFixedId.h.
◆ setCscStrip()
bool MuonCalib::MuonFixedId::setCscStrip |
( |
int |
num | ) |
|
|
inline |
Csc specific: set strip to num.
- Returns
- false if out of range
Definition at line 953 of file MuonFixedId.h.
◆ setCscStripIndex()
bool MuonCalib::MuonFixedId::setCscStripIndex |
( |
unsigned int |
idx | ) |
|
|
inline |
Csc specific: set strip index to idx.
- Returns
- false if out of range
Definition at line 943 of file MuonFixedId.h.
◆ setCscWireLayer()
bool MuonCalib::MuonFixedId::setCscWireLayer |
( |
int |
num | ) |
|
|
inline |
Csc specific: set wire layer to num.
- Returns
- false if out of range
Definition at line 909 of file MuonFixedId.h.
◆ setCscWireLayerIndex()
bool MuonCalib::MuonFixedId::setCscWireLayerIndex |
( |
unsigned int |
idx | ) |
|
|
inline |
Csc specific: set wire layer index to idx.
- Returns
- false if out of range
Definition at line 899 of file MuonFixedId.h.
◆ setMdtMultilayer()
bool MuonCalib::MuonFixedId::setMdtMultilayer |
( |
int |
num | ) |
|
|
inline |
Mdt specific: set multilayer to num.
- Returns
- false if out of range
Definition at line 827 of file MuonFixedId.h.
◆ setMdtMultilayerIndex()
bool MuonCalib::MuonFixedId::setMdtMultilayerIndex |
( |
unsigned int |
idx | ) |
|
|
inline |
Mdt specific: set index idx for multilayer.
- Returns
- false if out of range
Definition at line 817 of file MuonFixedId.h.
◆ setMdtTube()
bool MuonCalib::MuonFixedId::setMdtTube |
( |
int |
num | ) |
|
|
inline |
Mdt specific: set tube to num.
- Returns
- false if out of range
Definition at line 767 of file MuonFixedId.h.
◆ setMdtTubeIndex()
bool MuonCalib::MuonFixedId::setMdtTubeIndex |
( |
unsigned int |
idx | ) |
|
|
inline |
Mdt specific: set index idx for tube.
- Returns
- false if out of range
Definition at line 757 of file MuonFixedId.h.
◆ setMdtTubeLayer()
bool MuonCalib::MuonFixedId::setMdtTubeLayer |
( |
int |
num | ) |
|
|
inline |
Mdt specific: set layer to num.
- Returns
- false if out of range
Definition at line 805 of file MuonFixedId.h.
◆ setMdtTubeLayerIndex()
bool MuonCalib::MuonFixedId::setMdtTubeLayerIndex |
( |
unsigned int |
idx | ) |
|
|
inline |
Mdt specific: set index idx for layer.
- Returns
- false if out of range
Definition at line 795 of file MuonFixedId.h.
◆ setRpcDoubletPhi()
bool MuonCalib::MuonFixedId::setRpcDoubletPhi |
( |
int |
num | ) |
|
|
inline |
Rpc specific: set doublet_Phi to num.
- Returns
- false if out of range
Definition at line 1052 of file MuonFixedId.h.
◆ setRpcDoubletPhiIndex()
bool MuonCalib::MuonFixedId::setRpcDoubletPhiIndex |
( |
unsigned int |
idx | ) |
|
|
inline |
Rpc specific: set index for doublet_Phi to idx.
- Returns
- false if out of range
Definition at line 1042 of file MuonFixedId.h.
◆ setRpcDoubletR()
bool MuonCalib::MuonFixedId::setRpcDoubletR |
( |
int |
num | ) |
|
|
inline |
Rpc specific: set doublet_R to num.
- Returns
- false if out of range
Definition at line 1008 of file MuonFixedId.h.
◆ setRpcDoubletRIndex()
bool MuonCalib::MuonFixedId::setRpcDoubletRIndex |
( |
unsigned int |
idx | ) |
|
|
inline |
Rpc specific: set index for doublet_R to idx.
- Returns
- false if out of range
Definition at line 998 of file MuonFixedId.h.
◆ setRpcDoubletZ()
bool MuonCalib::MuonFixedId::setRpcDoubletZ |
( |
int |
num | ) |
|
|
inline |
Rpc specific: set doublet_Z to num.
- Returns
- false if out of range
Definition at line 1030 of file MuonFixedId.h.
◆ setRpcDoubletZIndex()
bool MuonCalib::MuonFixedId::setRpcDoubletZIndex |
( |
unsigned int |
idx | ) |
|
|
inline |
Rpc specific: set index for doublet_Z to idx.
- Returns
- false if out of range
Definition at line 1020 of file MuonFixedId.h.
◆ setRpcGasGap()
bool MuonCalib::MuonFixedId::setRpcGasGap |
( |
int |
num | ) |
|
|
inline |
Rpc specific: set gas_gap to num.
- Returns
- false if out of range
Definition at line 1074 of file MuonFixedId.h.
◆ setRpcGasGapIndex()
bool MuonCalib::MuonFixedId::setRpcGasGapIndex |
( |
unsigned int |
idx | ) |
|
|
inline |
Rpc specific: set index for gas_gap to idx.
- Returns
- false if out of range
Definition at line 1064 of file MuonFixedId.h.
◆ setRpcMeasuresPhi()
bool MuonCalib::MuonFixedId::setRpcMeasuresPhi |
( |
int |
num | ) |
|
|
inline |
Rpc specific: set measures_phi to num.
- Returns
- false if out of range
Definition at line 1096 of file MuonFixedId.h.
◆ setRpcMeasuresPhiIndex()
bool MuonCalib::MuonFixedId::setRpcMeasuresPhiIndex |
( |
unsigned int |
idx | ) |
|
|
inline |
Rpc specific: set index for measures_phi to idx.
- Returns
- false if out of range
Definition at line 1086 of file MuonFixedId.h.
◆ setRpcStrip()
bool MuonCalib::MuonFixedId::setRpcStrip |
( |
int |
num | ) |
|
|
inline |
Rpc specific: set strip to num.
- Returns
- false if out of range
Definition at line 1118 of file MuonFixedId.h.
◆ setRpcStripIndex()
bool MuonCalib::MuonFixedId::setRpcStripIndex |
( |
unsigned int |
idx | ) |
|
|
inline |
Rpc specific: set index for strip to idx.
- Returns
- false if out of range
Definition at line 1108 of file MuonFixedId.h.
◆ setStationEta()
bool MuonCalib::MuonFixedId::setStationEta |
( |
int |
num | ) |
|
|
inline |
set station eta to num in the fixed identifier
- Returns
- false if out of range
Definition at line 673 of file MuonFixedId.h.
◆ setStationEtaIndex()
bool MuonCalib::MuonFixedId::setStationEtaIndex |
( |
unsigned int |
idx | ) |
|
|
inline |
set station eta index in the fixed identifier
- Returns
- false if out of range
Definition at line 663 of file MuonFixedId.h.
◆ setStationName()
bool MuonCalib::MuonFixedId::setStationName |
( |
int |
num | ) |
|
|
inline |
set station name to num in the fixed identifier
- Returns
- false if out of range
Definition at line 643 of file MuonFixedId.h.
◆ setStationNameIndex()
bool MuonCalib::MuonFixedId::setStationNameIndex |
( |
unsigned int |
idx | ) |
|
|
inline |
set station name index in the fixed identifier
- Returns
- false if out of range
Definition at line 633 of file MuonFixedId.h.
◆ setStationPhi()
bool MuonCalib::MuonFixedId::setStationPhi |
( |
int |
num | ) |
|
|
inline |
set station phi to num in the fixed identifier
- Returns
- false if out of range
Definition at line 696 of file MuonFixedId.h.
◆ setStationPhiIndex()
bool MuonCalib::MuonFixedId::setStationPhiIndex |
( |
unsigned int |
idx | ) |
|
|
inline |
set station phi index in the fixed identifier
- Returns
- false if out of range
Definition at line 686 of file MuonFixedId.h.
◆ setTechnology()
bool MuonCalib::MuonFixedId::setTechnology |
( |
int |
num | ) |
|
|
inline |
set technology to num in the fixed identifier
- Returns
- false if out of range
Definition at line 613 of file MuonFixedId.h.
◆ setTechnologyIndex()
bool MuonCalib::MuonFixedId::setTechnologyIndex |
( |
unsigned int |
idx | ) |
|
|
inline |
set technology index in the fixed identifier
- Returns
- false if out of range
Definition at line 603 of file MuonFixedId.h.
◆ setTgcChannel()
bool MuonCalib::MuonFixedId::setTgcChannel |
( |
int |
num | ) |
|
|
inline |
Tgc specific: set channel to num.
- Returns
- false if out of range
Definition at line 1187 of file MuonFixedId.h.
◆ setTgcChannelIndex()
bool MuonCalib::MuonFixedId::setTgcChannelIndex |
( |
unsigned int |
idx | ) |
|
|
inline |
Tgc specific: set index for channel to idx.
- Returns
- false if out of range
Definition at line 1177 of file MuonFixedId.h.
◆ setTgcGasGap()
bool MuonCalib::MuonFixedId::setTgcGasGap |
( |
int |
num | ) |
|
|
inline |
Tgc specific: set gas_gap to num.
- Returns
- false if out of range
Definition at line 1142 of file MuonFixedId.h.
◆ setTgcGasGapIndex()
bool MuonCalib::MuonFixedId::setTgcGasGapIndex |
( |
unsigned int |
idx | ) |
|
|
inline |
Tgc specific: set index for gas_gap to idx.
- Returns
- false if out of range
Definition at line 1132 of file MuonFixedId.h.
◆ setTgcIsStrip()
bool MuonCalib::MuonFixedId::setTgcIsStrip |
( |
int |
num | ) |
|
|
inline |
Tgc specific: set is_strip to num.
- Returns
- false if out of range
Definition at line 1164 of file MuonFixedId.h.
◆ setTgcIsStripIndex()
bool MuonCalib::MuonFixedId::setTgcIsStripIndex |
( |
unsigned int |
idx | ) |
|
|
inline |
Tgc specific: set index for is_strip to idx.
- Returns
- false if out of range
Definition at line 1154 of file MuonFixedId.h.
◆ stationName()
int MuonCalib::MuonFixedId::stationName |
( |
| ) |
const |
|
inline |
◆ stationNameIndex()
int MuonCalib::MuonFixedId::stationNameIndex |
( |
| ) |
const |
|
inline |
◆ stationNameMax()
int MuonCalib::MuonFixedId::stationNameMax |
( |
| ) |
|
|
inlinestatic |
- Returns
- the maximum index used to store station name
Definition at line 728 of file MuonFixedId.h.
◆ stationNameMin()
int MuonCalib::MuonFixedId::stationNameMin |
( |
| ) |
|
|
inlinestatic |
- Returns
- the minimum index used to store station name
Definition at line 712 of file MuonFixedId.h.
◆ stationNameString()
std::string MuonCalib::MuonFixedId::stationNameString |
( |
| ) |
const |
|
inline |
◆ stationNumberToFixedStationString()
std::string MuonCalib::MuonFixedId::stationNumberToFixedStationString |
( |
const int |
station | ) |
|
|
inlinestatic |
- Returns
- the station name string given the fixed station number
- Parameters
-
[in] | station | the station integer number |
Definition at line 747 of file MuonFixedId.h.
◆ stationStringToFixedStationNumber()
int MuonCalib::MuonFixedId::stationStringToFixedStationNumber |
( |
const std::string & |
station | ) |
|
|
inlinestatic |
- Returns
- the fixed station number for a station name
- Parameters
-
[in] | station | the station name string |
Definition at line 740 of file MuonFixedId.h.
◆ technology()
int MuonCalib::MuonFixedId::technology |
( |
| ) |
const |
|
inline |
◆ technologyIndex()
int MuonCalib::MuonFixedId::technologyIndex |
( |
| ) |
const |
|
inline |
◆ technologyMax()
int MuonCalib::MuonFixedId::technologyMax |
( |
| ) |
|
|
inlinestatic |
- Returns
- the maximum index used to store technology
Definition at line 724 of file MuonFixedId.h.
◆ technologyMin()
int MuonCalib::MuonFixedId::technologyMin |
( |
| ) |
|
|
inlinestatic |
- Returns
- the minimum index used to store technology
Definition at line 708 of file MuonFixedId.h.
◆ technologyString()
std::string MuonCalib::MuonFixedId::technologyString |
( |
| ) |
const |
|
inline |
◆ tgcChannel()
int MuonCalib::MuonFixedId::tgcChannel |
( |
| ) |
const |
|
inline |
◆ tgcChannelIndex()
int MuonCalib::MuonFixedId::tgcChannelIndex |
( |
| ) |
const |
|
inline |
◆ tgcGasGap()
int MuonCalib::MuonFixedId::tgcGasGap |
( |
| ) |
const |
|
inline |
◆ tgcGasGapIndex()
int MuonCalib::MuonFixedId::tgcGasGapIndex |
( |
| ) |
const |
|
inline |
◆ tgcIsStrip()
int MuonCalib::MuonFixedId::tgcIsStrip |
( |
| ) |
const |
|
inline |
◆ tgcIsStripIndex()
int MuonCalib::MuonFixedId::tgcIsStripIndex |
( |
| ) |
const |
|
inline |
◆ kCscChamberLayerMask
const unsigned int MuonCalib::MuonFixedId::kCscChamberLayerMask = 1 |
|
staticprivate |
◆ kCscChamberLayerMin
const unsigned int MuonCalib::MuonFixedId::kCscChamberLayerMin = 1 |
|
staticprivate |
◆ kCscChamberLayerShift
const unsigned int MuonCalib::MuonFixedId::kCscChamberLayerShift = 11 |
|
staticprivate |
◆ kCscMeasuresPhiMask
const unsigned int MuonCalib::MuonFixedId::kCscMeasuresPhiMask = 1 |
|
staticprivate |
◆ kCscMeasuresPhiMin
const unsigned int MuonCalib::MuonFixedId::kCscMeasuresPhiMin = 0 |
|
staticprivate |
◆ kCscMeasuresPhiShift
const unsigned int MuonCalib::MuonFixedId::kCscMeasuresPhiShift = 8 |
|
staticprivate |
◆ kCscStripMask
const unsigned int MuonCalib::MuonFixedId::kCscStripMask = 255 |
|
staticprivate |
◆ kCscStripMin
const unsigned int MuonCalib::MuonFixedId::kCscStripMin = 1 |
|
staticprivate |
◆ kCscStripShift
const unsigned int MuonCalib::MuonFixedId::kCscStripShift = 0 |
|
staticprivate |
◆ kCscWireLayerMask
const unsigned int MuonCalib::MuonFixedId::kCscWireLayerMask = 3 |
|
staticprivate |
◆ kCscWireLayerMin
const unsigned int MuonCalib::MuonFixedId::kCscWireLayerMin = 1 |
|
staticprivate |
◆ kCscWireLayerShift
const unsigned int MuonCalib::MuonFixedId::kCscWireLayerShift = 9 |
|
staticprivate |
◆ kInvalidData
const unsigned int MuonCalib::MuonFixedId::kInvalidData = 0xFFFFFFFF |
|
staticprivate |
◆ kMdtMultilayerMask
const unsigned int MuonCalib::MuonFixedId::kMdtMultilayerMask = 1 |
|
staticprivate |
◆ kMdtMultilayerMin
const unsigned int MuonCalib::MuonFixedId::kMdtMultilayerMin = 1 |
|
staticprivate |
◆ kMdtMultilayerShift
const unsigned int MuonCalib::MuonFixedId::kMdtMultilayerShift = 9 |
|
staticprivate |
◆ kMdtTubeLayerMask
const unsigned int MuonCalib::MuonFixedId::kMdtTubeLayerMask = 3 |
|
staticprivate |
◆ kMdtTubeLayerMin
const unsigned int MuonCalib::MuonFixedId::kMdtTubeLayerMin = 1 |
|
staticprivate |
◆ kMdtTubeLayerShift
const unsigned int MuonCalib::MuonFixedId::kMdtTubeLayerShift = 7 |
|
staticprivate |
◆ kMdtTubeMask
const unsigned int MuonCalib::MuonFixedId::kMdtTubeMask = 127 |
|
staticprivate |
◆ kMdtTubeMin
const unsigned int MuonCalib::MuonFixedId::kMdtTubeMin = 1 |
|
staticprivate |
◆ kMdtTubeShift
const unsigned int MuonCalib::MuonFixedId::kMdtTubeShift = 0 |
|
staticprivate |
◆ kNumberOfStationNames
const int MuonCalib::MuonFixedId::kNumberOfStationNames = 35 |
|
staticprivate |
◆ kNumberOfTechnologies
const int MuonCalib::MuonFixedId::kNumberOfTechnologies = 4 |
|
staticprivate |
◆ kRpcDoubletPhiMask
const unsigned int MuonCalib::MuonFixedId::kRpcDoubletPhiMask = 1 |
|
staticprivate |
◆ kRpcDoubletPhiMin
const unsigned int MuonCalib::MuonFixedId::kRpcDoubletPhiMin = 1 |
|
staticprivate |
◆ kRpcDoubletPhiShift
const unsigned int MuonCalib::MuonFixedId::kRpcDoubletPhiShift = 9 |
|
staticprivate |
◆ kRpcDoubletRMask
const unsigned int MuonCalib::MuonFixedId::kRpcDoubletRMask = 1 |
|
staticprivate |
◆ kRpcDoubletRMin
const unsigned int MuonCalib::MuonFixedId::kRpcDoubletRMin = 1 |
|
staticprivate |
◆ kRpcDoubletRShift
const unsigned int MuonCalib::MuonFixedId::kRpcDoubletRShift = 12 |
|
staticprivate |
◆ kRpcDoubletZMask
const unsigned int MuonCalib::MuonFixedId::kRpcDoubletZMask = 3 |
|
staticprivate |
◆ kRpcDoubletZMin
const unsigned int MuonCalib::MuonFixedId::kRpcDoubletZMin = 1 |
|
staticprivate |
◆ kRpcDoubletZShift
const unsigned int MuonCalib::MuonFixedId::kRpcDoubletZShift = 10 |
|
staticprivate |
◆ kRpcGasGapMask
const unsigned int MuonCalib::MuonFixedId::kRpcGasGapMask = 1 |
|
staticprivate |
◆ kRpcGasGapMin
const unsigned int MuonCalib::MuonFixedId::kRpcGasGapMin = 1 |
|
staticprivate |
◆ kRpcGasGapShift
const unsigned int MuonCalib::MuonFixedId::kRpcGasGapShift = 8 |
|
staticprivate |
◆ kRpcMeasuresPhiMask
const unsigned int MuonCalib::MuonFixedId::kRpcMeasuresPhiMask = 1 |
|
staticprivate |
◆ kRpcMeasuresPhiMin
const unsigned int MuonCalib::MuonFixedId::kRpcMeasuresPhiMin = 0 |
|
staticprivate |
◆ kRpcMeasuresPhiShift
const unsigned int MuonCalib::MuonFixedId::kRpcMeasuresPhiShift = 7 |
|
staticprivate |
◆ kRpcStripMask
const unsigned int MuonCalib::MuonFixedId::kRpcStripMask = 127 |
|
staticprivate |
◆ kRpcStripMin
const unsigned int MuonCalib::MuonFixedId::kRpcStripMin = 1 |
|
staticprivate |
◆ kRpcStripShift
const unsigned int MuonCalib::MuonFixedId::kRpcStripShift = 0 |
|
staticprivate |
◆ kStationEtaMask
const unsigned int MuonCalib::MuonFixedId::kStationEtaMask = 31 |
|
staticprivate |
◆ kStationEtaMin
const int MuonCalib::MuonFixedId::kStationEtaMin = -8 |
|
staticprivate |
◆ kStationEtaShift
const unsigned int MuonCalib::MuonFixedId::kStationEtaShift = 19 |
|
staticprivate |
◆ kStationMask
const unsigned int MuonCalib::MuonFixedId::kStationMask |
|
staticprivate |
◆ kStationNameMask
const unsigned int MuonCalib::MuonFixedId::kStationNameMask = 63 |
|
staticprivate |
◆ kStationNameMin
const unsigned int MuonCalib::MuonFixedId::kStationNameMin = 1 |
|
staticprivate |
◆ kStationNameShift
const unsigned int MuonCalib::MuonFixedId::kStationNameShift = 24 |
|
staticprivate |
◆ kStationNameStrings
const char MuonCalib::MuonFixedId::kStationNameStrings |
|
staticprivate |
Initial value:= {
"BIL", "BIS", "BML", "BMS", "BOL", "BOS", "BEE", "BIR", "BMF", "BOF", "BOG", "BME", "BIM",
"EIC", "EIL", "EEL", "EES", "EMC", "EML", "EMS", "EOC", "EOL", "EOS", "EIS",
"T1F", "T1E", "T2F", "T2E", "T3F", "T3E", "T4F", "T4E", "CSS", "CSL", "BMG"
}
Definition at line 451 of file MuonFixedId.h.
◆ kStationPhiMask
const unsigned int MuonCalib::MuonFixedId::kStationPhiMask = 63 |
|
staticprivate |
◆ kStationPhiMin
const unsigned int MuonCalib::MuonFixedId::kStationPhiMin = 1 |
|
staticprivate |
◆ kStationPhiShift
const unsigned int MuonCalib::MuonFixedId::kStationPhiShift = 13 |
|
staticprivate |
◆ kStationShift
◆ kTechnologyMask
const unsigned int MuonCalib::MuonFixedId::kTechnologyMask = 3 |
|
staticprivate |
◆ kTechnologyMin
const unsigned int MuonCalib::MuonFixedId::kTechnologyMin = 0 |
|
staticprivate |
◆ kTechnologyShift
const unsigned int MuonCalib::MuonFixedId::kTechnologyShift = 30 |
|
staticprivate |
◆ kTechnologyStrings
const char MuonCalib::MuonFixedId::kTechnologyStrings |
|
staticprivate |
Initial value:= {
"MDT", "CSC", "TGC", "RPC"
}
Definition at line 436 of file MuonFixedId.h.
◆ kTgcChannelMask
const unsigned int MuonCalib::MuonFixedId::kTgcChannelMask = 255 |
|
staticprivate |
◆ kTgcChannelMin
const unsigned int MuonCalib::MuonFixedId::kTgcChannelMin = 1 |
|
staticprivate |
◆ kTgcChannelShift
const unsigned int MuonCalib::MuonFixedId::kTgcChannelShift = 0 |
|
staticprivate |
◆ kTgcGasGapMask
const unsigned int MuonCalib::MuonFixedId::kTgcGasGapMask = 3 |
|
staticprivate |
◆ kTgcGasGapMin
const unsigned int MuonCalib::MuonFixedId::kTgcGasGapMin = 1 |
|
staticprivate |
◆ kTgcGasGapShift
const unsigned int MuonCalib::MuonFixedId::kTgcGasGapShift = 9 |
|
staticprivate |
◆ kTgcIsStripMask
const unsigned int MuonCalib::MuonFixedId::kTgcIsStripMask = 1 |
|
staticprivate |
◆ kTgcIsStripMin
const unsigned int MuonCalib::MuonFixedId::kTgcIsStripMin = 0 |
|
staticprivate |
◆ kTgcIsStripShift
const unsigned int MuonCalib::MuonFixedId::kTgcIsStripShift = 8 |
|
staticprivate |
◆ m_data
unsigned int MuonCalib::MuonFixedId::m_data |
|
private |
◆ technologyCSC
const int MuonCalib::MuonFixedId::technologyCSC = 1 |
|
static |
◆ technologyMDT
const int MuonCalib::MuonFixedId::technologyMDT = 0 |
|
static |
◆ technologyRPC
const int MuonCalib::MuonFixedId::technologyRPC = 3 |
|
static |
◆ technologyTGC
const int MuonCalib::MuonFixedId::technologyTGC = 2 |
|
static |
The documentation for this class was generated from the following files:
static const unsigned int kRpcDoubletPhiMin
bool isValid() const
check validity of the identifier.
int rpcDoubletZIndex() const
Rpc specific:
static const unsigned int kCscWireLayerShift
bool setCscWireLayerIndex(unsigned int idx)
Csc specific: set wire layer index to idx.
bool setTgcIsStripIndex(unsigned int idx)
Tgc specific: set index for is_strip to idx.
int tgcGasGap() const
Tgc specific:
int rpcMeasuresPhiIndex() const
Rpc specific:
static const unsigned int kRpcStripMask
static const unsigned int kInvalidData
static const unsigned int kStationNameMask
int rpcDoubletR() const
Rpc specific:
int tgcChannelIndex() const
Tgc specific:
static const unsigned int kMdtTubeMin
static const int kNumberOfStationNames
static const unsigned int kMdtTubeLayerShift
static const unsigned int kTgcChannelShift
static const int technologyCSC
int stationNameIndex() const
static const unsigned int kMdtMultilayerMin
static const unsigned int kMdtTubeShift
int cscStripIndex() const
Csc specific:
int cscChamberLayerIndex() const
Csc specific:
int mdtMultilayer() const
Mdt specific:
static const unsigned int kCscChamberLayerMin
static const unsigned int kMdtTubeLayerMask
int cscStrip() const
Csc specific:
bool setTechnologyIndex(unsigned int idx)
set technology index in the fixed identifier
int rpcDoubletRIndex() const
Rpc specific:
static const unsigned int kTgcIsStripMin
bool setTechnology(int num)
set technology to num in the fixed identifier
bool setStationPhiIndex(unsigned int idx)
set station phi index in the fixed identifier
static const unsigned int kCscMeasuresPhiShift
MuonFixedId()
default constructor
static const unsigned int kRpcDoubletPhiShift
bool setCscMeasuresPhiIndex(unsigned int idx)
Csc specific: set measures_phi index to idx.
bool setStationEtaIndex(unsigned int idx)
set station eta index in the fixed identifier
static const unsigned int kRpcStripMin
std::string stationNameString() const
static const unsigned int kCscWireLayerMask
int mdtTubeIndex() const
Mdt specific:
static const unsigned int kRpcGasGapShift
bool setStationNameIndex(unsigned int idx)
set station name index in the fixed identifier
static const unsigned int kRpcStripShift
static const unsigned int kRpcDoubletRMin
static const unsigned int kStationNameShift
int cscMeasuresPhiIndex() const
Csc specific:
static const unsigned int kMdtTubeLayerMin
bool setCscChamberLayerIndex(unsigned int idx)
Csc specific: set chamber layer index to idx.
static const unsigned int kRpcDoubletRShift
int mdtMultilayerIndex() const
Mdt specific:
static const unsigned int kTgcChannelMin
int rpcGasGapIndex() const
Rpc specific:
static const unsigned int kCscMeasuresPhiMin
static const unsigned int kCscMeasuresPhiMask
int rpcStripIndex() const
Rpc specific:
int tgcIsStripIndex() const
Tgc specific:
bool setRpcDoubletZIndex(unsigned int idx)
Rpc specific: set index for doublet_Z to idx.
int tgcIsStrip() const
Tgc specific:
static const int technologyTGC
int rpcDoubletZ() const
Rpc specific:
int rpcStrip() const
Rpc specific:
bool setCscStripIndex(unsigned int idx)
Csc specific: set strip index to idx.
int rpcDoubletPhi() const
Rpc specific:
static const unsigned int kRpcMeasuresPhiMask
static const unsigned int kTgcGasGapMask
static const unsigned int kStationMask
bool setTgcChannelIndex(unsigned int idx)
Tgc specific: set index for channel to idx.
static const unsigned int kTgcIsStripMask
static const unsigned int kMdtMultilayerMask
static const int technologyMDT
constants for technology numbers
static const unsigned int kCscChamberLayerMask
static const unsigned int kTgcChannelMask
static const unsigned int kTechnologyMin
static const unsigned int kStationShift
static const unsigned int kRpcMeasuresPhiMin
static const unsigned int kCscStripShift
static const unsigned int kCscStripMask
void clear()
clear the identifier (=set to invalid)
int rpcMeasuresPhi() const
Rpc specific:
static const unsigned int kStationPhiMask
static const unsigned int kStationEtaShift
static const char kTechnologyStrings[kNumberOfTechnologies][4]
static const unsigned int kTgcGasGapShift
int cscWireLayer() const
Csc specific:
bool setMdtTubeIndex(unsigned int idx)
Mdt specific: set index idx for tube.
static const unsigned int kStationEtaMask
static const unsigned int kStationNameMin
static const unsigned int kTgcIsStripShift
static const int kStationEtaMin
int cscWireLayerIndex() const
Csc specific:
static const unsigned int kMdtMultilayerShift
static const int technologyRPC
static const unsigned int kRpcGasGapMin
int cscChamberLayer() const
Csc specific:
static const unsigned int kTgcGasGapMin
static const unsigned int kRpcDoubletRMask
static const unsigned int kMdtTubeMask
int rpcGasGap() const
Rpc specific:
bool setMdtTubeLayerIndex(unsigned int idx)
Mdt specific: set index idx for layer.
static const unsigned int kCscChamberLayerShift
static const unsigned int kRpcDoubletPhiMask
static const unsigned int kTechnologyMask
static const int kNumberOfTechnologies
bool setRpcMeasuresPhiIndex(unsigned int idx)
Rpc specific: set index for measures_phi to idx.
int technologyIndex() const
bool setRpcDoubletPhiIndex(unsigned int idx)
Rpc specific: set index for doublet_Phi to idx.
int tgcGasGapIndex() const
Tgc specific:
int mdtTube() const
Mdt specific:
static const unsigned int kCscStripMin
static const unsigned int kRpcDoubletZShift
int tgcChannel() const
Tgc specific:
bool setRpcDoubletRIndex(unsigned int idx)
Rpc specific: set index for doublet_R to idx.
int mdtTubeLayerIndex() const
Mdt specific:
static const unsigned int kTechnologyShift
static const unsigned int kRpcDoubletZMask
static const unsigned int kStationPhiMin
static const unsigned int kCscWireLayerMin
bool setTgcGasGapIndex(unsigned int idx)
Tgc specific: set index for gas_gap to idx.
bool setMdtMultilayerIndex(unsigned int idx)
Mdt specific: set index idx for multilayer.
static const unsigned int kRpcMeasuresPhiShift
int rpcDoubletPhiIndex() const
Rpc specific:
static const char kStationNameStrings[kNumberOfStationNames][4]
int mdtTubeLayer() const
Mdt specific:
int cscMeasuresPhi() const
Csc specific:
bool setRpcGasGapIndex(unsigned int idx)
Rpc specific: set index for gas_gap to idx.
static const unsigned int kStationPhiShift
bool setRpcStripIndex(unsigned int idx)
Rpc specific: set index for strip to idx.
static const unsigned int kRpcGasGapMask
std::string technologyString() const
static const unsigned int kRpcDoubletZMin