ATLAS Offline Software
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 
7 namespace MuonCalib {
8 
9 std::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
MuonCalib::MuonFixedId::tgcGasGap
int tgcGasGap() const
Tgc specific:
Definition: MuonFixedId.h:1150
MuonCalib::MuonFixedId::rpcDoubletR
int rpcDoubletR() const
Rpc specific:
Definition: MuonFixedId.h:1016
MuonCalib::MuonFixedId::kNumberOfStationNames
static const int kNumberOfStationNames
Definition: MuonFixedId.h:450
MuonCalib::MuonFixedId::dump
std::ostream & dump(std::ostream &os) const
dump all the information corresponding to the identifier
Definition: MuonFixedId.cxx:9
MuonCalib::MuonFixedId::is_mdt
bool is_mdt() const
Definition: MuonFixedId.h:559
MuonCalib::MuonFixedId::mdtMultilayer
int mdtMultilayer() const
Mdt specific:
Definition: MuonFixedId.h:835
MuonCalib::MuonFixedId::cscStrip
int cscStrip() const
Csc specific:
Definition: MuonFixedId.h:961
MuonCalib::MuonFixedId::technology
int technology() const
Definition: MuonFixedId.h:621
MuonCalib::MuonFixedId::stationNameString
std::string stationNameString() const
Definition: MuonFixedId.h:655
MuonCalib::MuonFixedId::is_tgc
bool is_tgc() const
Definition: MuonFixedId.h:563
MuonCalib::MuonFixedId::is_rpc
bool is_rpc() const
Definition: MuonFixedId.h:571
MuonCalib::MuonFixedId::tgcIsStrip
int tgcIsStrip() const
Tgc specific:
Definition: MuonFixedId.h:1172
MuonCalib::MuonFixedId::rpcDoubletZ
int rpcDoubletZ() const
Rpc specific:
Definition: MuonFixedId.h:1038
MuonCalib::MuonFixedId::rpcStrip
int rpcStrip() const
Rpc specific:
Definition: MuonFixedId.h:1126
MuonCalib::MuonFixedId::rpcDoubletPhi
int rpcDoubletPhi() const
Rpc specific:
Definition: MuonFixedId.h:1060
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition: CscCalcPed.cxx:22
MuonCalib::MuonFixedId::rpcMeasuresPhi
int rpcMeasuresPhi() const
Rpc specific:
Definition: MuonFixedId.h:1104
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
MuonCalib::MuonFixedId::kTechnologyStrings
static const char kTechnologyStrings[kNumberOfTechnologies][4]
Definition: MuonFixedId.h:436
MuonCalib::MuonFixedId::cscWireLayer
int cscWireLayer() const
Csc specific:
Definition: MuonFixedId.h:917
MuonCalib::MuonFixedId::is_csc
bool is_csc() const
Definition: MuonFixedId.h:567
MuonCalib::MuonFixedId::cscChamberLayer
int cscChamberLayer() const
Csc specific:
Definition: MuonFixedId.h:894
MuonCalib::MuonFixedId::phi
int phi() const
Definition: MuonFixedId.h:704
MuonCalib::MuonFixedId::rpcGasGap
int rpcGasGap() const
Rpc specific:
Definition: MuonFixedId.h:1082
MuonCalib::MuonFixedId::kNumberOfTechnologies
static const int kNumberOfTechnologies
Definition: MuonFixedId.h:435
MuonCalib::MuonFixedId::mdtTube
int mdtTube() const
Mdt specific:
Definition: MuonFixedId.h:775
MuonCalib::MuonFixedId::tgcChannel
int tgcChannel() const
Tgc specific:
Definition: MuonFixedId.h:1195
MuonCalib::MuonFixedId::eta
int eta() const
Definition: MuonFixedId.h:681
MuonFixedId.h
MuonCalib::MuonFixedId::kStationNameStrings
static const char kStationNameStrings[kNumberOfStationNames][4]
Definition: MuonFixedId.h:451
MuonCalib::MuonFixedId::mdtTubeLayer
int mdtTubeLayer() const
Mdt specific:
Definition: MuonFixedId.h:813
MuonCalib::MuonFixedId::cscMeasuresPhi
int cscMeasuresPhi() const
Csc specific:
Definition: MuonFixedId.h:939
MuonCalib::MuonFixedId::technologyString
std::string technologyString() const
Definition: MuonFixedId.h:625