ATLAS Offline Software
Loading...
Searching...
No Matches
MuonFixedId.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7namespace MuonCalib {
8
9std::ostream& MuonFixedId::dump(std::ostream& os) const {
10 os << technology() << ": stnEta " << eta() << ", stnPhi " << phi() << " "
11 << technologyString() << ": " << stationNameString() ;
12 if( is_mdt() ){
13 os << ", mdtMultiLayer " << mdtMultilayer() << ", mdtTubeLayer "
14 << mdtTubeLayer() << ", mdtTube " << mdtTube() ;
15 } else if( is_rpc() ) {
16 os << ", rpcDoubletR " << rpcDoubletR() << ", rpcDoubletZ "
17 << rpcDoubletZ() << ", rpcDoubletPhi " << rpcDoubletPhi() << ", rpcGasGap " << rpcGasGap() << ", rpcMeasuresPhi "
18 << rpcMeasuresPhi() << ", rpcStrip " << rpcStrip() ;
19 } else if( is_tgc() ) {
20 os << ", tgcGasGap " << tgcGasGap() << ", tgcIsStrip "
21 << tgcIsStrip() << ", tgcChannel " << tgcChannel() ;
22 } else if( is_csc() ) {
23 os << ", cscChamberLayer " << cscChamberLayer() << ", cscWireLayer "
24 << cscWireLayer() << ", cscMeasuresPhi " << cscMeasuresPhi() << ", cscStrip " << cscStrip() ;
25 } else
26 os << "Invalid MuonFixedId" ;
27
28 return os;
29}
30
32 // 1 2 3 4 5 6 7 8 9 10 11 12 13
33 "BIL", "BIS", "BML", "BMS", "BOL", "BOS", "BEE", "BIR", "BMF", "BOF", "BOG", "BME", "BIM",
34 //14 15 16 17 18 19 20 21 22 23 24
35 "EIC", "EIL", "EEL", "EES", "EMC", "EML", "EMS", "EOC", "EOL", "EOS", "EIS",
36 //25 26 27 28 29 30 31 32 33 34 35
37 "T1F", "T1E", "T2F", "T2E", "T3F", "T3E", "T4F", "T4E", "CSS", "CSL", "BMG"
38};
39
41 "MDT", "CSC", "TGC", "RPC"
42};
43
44} // end of namespace MuonCalib
int cscWireLayer() const
Csc specific:
static const char kStationNameStrings[kNumberOfStationNames][4]
int rpcDoubletPhi() const
Rpc specific:
std::string technologyString() const
int tgcIsStrip() const
Tgc specific:
int mdtTubeLayer() const
Mdt specific:
int mdtTube() const
Mdt specific:
int tgcGasGap() const
Tgc specific:
int rpcGasGap() const
Rpc specific:
int cscMeasuresPhi() const
Csc specific:
int rpcMeasuresPhi() const
Rpc specific:
std::ostream & dump(std::ostream &os) const
dump all the information corresponding to the identifier
int cscStrip() const
Csc specific:
int tgcChannel() const
Tgc specific:
int rpcDoubletR() const
Rpc specific:
std::string stationNameString() const
static const int kNumberOfStationNames
static const int kNumberOfTechnologies
static const char kTechnologyStrings[kNumberOfTechnologies][4]
int rpcStrip() const
Rpc specific:
int mdtMultilayer() const
Mdt specific:
int rpcDoubletZ() const
Rpc specific:
int cscChamberLayer() const
Csc specific:
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.