|
ATLAS Offline Software
|
Go to the documentation of this file.
17 #ifndef MUONCALIBIDENTIFIER_MUONFIXEDID_H
18 #define MUONCALIBIDENTIFIER_MUONFIXEDID_H
91 std::ostream&
dump(std::ostream&
os)
const;
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 ;
1201 return id.dump(
os );
1212 #endif // MUONCALIBIDENTIFIER_MUONFIXEDID_H
static const unsigned int kRpcDoubletPhiMin
bool isValid() const
check validity of the identifier.
bool setMdtTubeLayer(int num)
Mdt specific: set layer to num.
bool setMdtMultilayer(int num)
Mdt specific: set multilayer to num.
int rpcDoubletZIndex() const
Rpc specific:
bool operator<(const MuonFixedId &rhs) const
comparison operator
static const unsigned int kCscWireLayerShift
bool setCscWireLayerIndex(unsigned int idx)
Csc specific: set wire layer index to idx.
static int mdtTubeMin()
Mdt specific:
bool setTgcIsStripIndex(unsigned int idx)
Tgc specific: set index for is_strip to idx.
int tgcGasGap() const
Tgc specific:
bool setTgcIsStrip(int num)
Tgc specific: set is_strip to num.
int rpcMeasuresPhiIndex() const
Rpc specific:
static const unsigned int kRpcStripMask
static const unsigned int kInvalidData
bool setMdtTube(int num)
Mdt specific: set tube to num.
bool setCscChamberLayer(int num)
Csc specific: set chamber layer to num.
static const unsigned int kStationNameMask
int rpcDoubletR() const
Rpc specific:
int tgcChannelIndex() const
Tgc specific:
static const unsigned int kMdtTubeMin
bool setTgcChannel(int num)
Tgc specific: set channel to num.
static const int kNumberOfStationNames
static const unsigned int kMdtTubeLayerShift
static int technologyMin()
bool setTgcGasGap(int num)
Tgc specific: set gas_gap to num.
static const unsigned int kTgcChannelShift
static int mdtMultilayerMax()
Mdt specific:
static const int technologyCSC
std::ostream & dump(std::ostream &os) const
dump all the information corresponding to the identifier
int stationNameIndex() const
static int stationNameMax()
static const unsigned int kMdtMultilayerMin
static const unsigned int kMdtTubeShift
int cscStripIndex() const
Csc specific:
MuonFixedId mdtMultilayerId() const
Mdt specific: convert channel ID into MDT Multilayer ID.
void set_csc()
set identifier to CSC technology type
static int stationNameMin()
void set_rpc()
set identifier to RPC technology type
bool setCscWireLayer(int num)
Csc specific: set wire layer to num.
int cscChamberLayerIndex() const
Csc specific:
void set_mdt()
set identifier to MDT technology type
int mdtMultilayer() const
Mdt specific:
static const unsigned int kCscChamberLayerMin
static const unsigned int kMdtTubeLayerMask
static int cscMeasuresPhiMax()
Csc specific:
int cscStrip() const
Csc specific:
bool setTechnologyIndex(unsigned int idx)
set technology index in the fixed identifier
static int cscStripMax()
Csc specific:
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
static int stationStringToFixedStationNumber(const std::string &station)
bool setStationPhi(int num)
set station phi to num in the fixed identifier
int mdtMultilayerIndex() const
Mdt specific:
static const unsigned int kTgcChannelMin
int rpcGasGapIndex() const
Rpc specific:
static const unsigned int kCscMeasuresPhiMin
bool setCscMeasuresPhi(int num)
Csc specific: set measures_phi to num.
static const unsigned int kCscMeasuresPhiMask
void set_tgc()
set identifier to TGC technology type
int rpcStripIndex() const
Rpc specific:
int tgcIsStripIndex() const
Tgc specific:
static int cscStripMin()
Csc specific:
bool setStationName(int num)
set station name to num in the fixed identifier
bool setRpcDoubletZIndex(unsigned int idx)
Rpc specific: set index for doublet_Z to idx.
std::ostream & operator<<(std::ostream &os, const RtFullInfo &data)
int tgcIsStrip() const
Tgc specific:
static const int technologyTGC
int rpcDoubletZ() const
Rpc specific:
unsigned int getIdInt() const
int rpcStrip() const
Rpc specific:
bool setCscStripIndex(unsigned int idx)
Csc specific: set strip index to idx.
static int mdtMultilayerMin()
Mdt specific:
bool setRpcGasGap(int num)
Rpc specific: set gas_gap to num.
int rpcDoubletPhi() const
Rpc specific:
static const unsigned int kRpcMeasuresPhiMask
static const unsigned int kTgcGasGapMask
bool operator==(const MuonFixedId &rhs) const
comparison operator
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
static const unsigned int kStationMask
bool setRpcMeasuresPhi(int num)
Rpc specific: set measures_phi to num.
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
bool setCscStrip(int num)
Csc specific: set strip to num.
static const unsigned int kCscStripShift
static std::string stationNumberToFixedStationString(const int station)
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
static int mdtTubeLayerMin()
Mdt specific:
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 int cscChamberLayerMin()
Csc specific:
static const unsigned int kTgcIsStripShift
static const int kStationEtaMin
int cscWireLayerIndex() const
Csc specific:
static const unsigned int kMdtMultilayerShift
bool setRpcDoubletPhi(int num)
Rpc specific: set doublet_Phi to num.
bool setStationEta(int num)
set station eta to num in the fixed identifier
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
bool setRpcDoubletR(int num)
Rpc specific: set doublet_R to num.
static int cscWireLayerMin()
Csc specific:
int rpcGasGap() const
Rpc specific:
bool setMdtTubeLayerIndex(unsigned int idx)
Mdt specific: set index idx for layer.
bool setRpcDoubletZ(int num)
Rpc specific: set doublet_Z to num.
static const unsigned int kCscChamberLayerShift
static int mdtTubeLayerMax()
Mdt specific:
static int technologyMax()
static int cscMeasuresPhiMin()
Csc specific:
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 mdtMezzanine() const
Mdt specific: compute the mezzanine number.
static int cscChamberLayerMax()
Csc 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
bool setRpcStrip(int num)
Rpc specific: set strip to num.
static int mdtTubeMax()
Mdt specific:
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:
bool operator!=(const MuonFixedId &rhs) const
comparison operator
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
static int cscWireLayerMax()
Csc specific:
bool setRpcStripIndex(unsigned int idx)
Rpc specific: set index for strip to idx.
MuonFixedId mdtChamberId() const
Mdt specific: convert channel ID into MDT Chamber ID.
static const unsigned int kRpcGasGapMask
std::string technologyString() const
static const unsigned int kRpcDoubletZMin