ATLAS Offline Software
FixedIdDecoder.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
7 
8 
9 namespace MuonCalib {
10 
11 
13  {
14  MuonFixedId mid(id);
15  return mid.eta();
16  }
17 
19  {
20  MuonFixedId mid(id);
21  return mid.phi();
22  }
23 
25  {
26  MuonFixedId mid(id);
27  return mid.stationName();
28  }
29 
31  {
32  MuonFixedId mid(id);
33  return mid.stationNameString();
34  }
35 
36 
38  {
39  MuonFixedId mid(id);
40  return mid.mdtMultilayer();
41  }
42 
44  {
45  MuonFixedId mid(id);
46  return mid.mdtTubeLayer();
47  }
48 
50  {
51  MuonFixedId mid(id);
52  return mid.mdtTube();
53  }
54 
56  {
57  MuonFixedId mid(id);
58  return mid.mdtMezzanine();
59  }
60 
62  {
63  MuonFixedId mid(id);
64  return mid.cscChamberLayer();
65  }
66 
68  {
69  MuonFixedId mid(id);
70  return mid.cscWireLayer();
71  }
72 
74  {
75  MuonFixedId mid(id);
76  return mid.cscMeasuresPhi();
77  }
78 
80  {
81  MuonFixedId mid(id);
82  return mid.cscStrip();
83  }
84 
86  {
87  MuonFixedId mid(id);
88  return mid.rpcDoubletR();
89  }
90 
92  {
93  MuonFixedId mid(id);
94  return mid.rpcDoubletZ();
95  }
96 
98  {
99  MuonFixedId mid(id);
100  return mid.rpcDoubletPhi();
101  }
102 
104  {
105  MuonFixedId mid(id);
106  return mid.rpcGasGap();
107  }
108 
110  {
111  MuonFixedId mid(id);
112  return mid.rpcMeasuresPhi();
113  }
114 
116  {
117  MuonFixedId mid(id);
118  return mid.rpcStrip();
119  }
120 
122  {
123  MuonFixedId mid(id);
124  return mid.tgcGasGap();
125  }
126 
128  {
129  MuonFixedId mid(id);
130  return mid.tgcIsStrip();
131  }
132 
134  {
135  MuonFixedId mid(id);
136  return mid.tgcChannel();
137  }
138 
139 
140 
141 }
142 
MuonCalib::FixedIdDecoder::stationNameStr
static std::string stationNameStr(int id)
Definition: FixedIdDecoder.cxx:30
MuonCalib::MuonFixedId::tgcGasGap
int tgcGasGap() const
Tgc specific:
Definition: MuonFixedId.h:1150
MuonCalib::FixedIdDecoder::rpcMeasuresPhi
static int rpcMeasuresPhi(int id)
Definition: FixedIdDecoder.cxx:109
MuonCalib::MuonFixedId::rpcDoubletR
int rpcDoubletR() const
Rpc specific:
Definition: MuonFixedId.h:1016
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::FixedIdDecoder::rpcGasGap
static int rpcGasGap(int id)
Definition: FixedIdDecoder.cxx:103
MuonCalib::FixedIdDecoder::mdtTube
static int mdtTube(int id)
Definition: FixedIdDecoder.cxx:49
MuonCalib::FixedIdDecoder::mdtTubeLayer
static int mdtTubeLayer(int id)
Definition: FixedIdDecoder.cxx:43
MuonCalib::MuonFixedId::stationNameString
std::string stationNameString() const
Definition: MuonFixedId.h:655
MuonCalib::FixedIdDecoder::stationName
static int stationName(int id)
Definition: FixedIdDecoder.cxx:24
MuonCalib::FixedIdDecoder::tgcGasGap
static int tgcGasGap(int id)
Definition: FixedIdDecoder.cxx:121
MuonCalib::FixedIdDecoder::cscMeasuresPhi
static int cscMeasuresPhi(int id)
Definition: FixedIdDecoder.cxx:73
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::FixedIdDecoder::cscWireLayer
static int cscWireLayer(int id)
Definition: FixedIdDecoder.cxx:67
MuonCalib::FixedIdDecoder::phi
static int phi(int id)
Definition: FixedIdDecoder.cxx:18
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::FixedIdDecoder::tgcIsStrip
static int tgcIsStrip(int id)
Definition: FixedIdDecoder.cxx:127
MuonCalib::FixedIdDecoder::rpcStrip
static int rpcStrip(int id)
Definition: FixedIdDecoder.cxx:115
MuonCalib::FixedIdDecoder::rpcDoubletZ
static int rpcDoubletZ(int id)
Definition: FixedIdDecoder.cxx:91
MuonCalib::MuonFixedId::rpcMeasuresPhi
int rpcMeasuresPhi() const
Rpc specific:
Definition: MuonFixedId.h:1104
MuonCalib::FixedIdDecoder::eta
static int eta(int id)
Definition: FixedIdDecoder.cxx:12
MuonCalib::FixedIdDecoder::rpcDoubletR
static int rpcDoubletR(int id)
Definition: FixedIdDecoder.cxx:85
MuonCalib::MuonFixedId::cscWireLayer
int cscWireLayer() const
Csc specific:
Definition: MuonFixedId.h:917
MuonCalib::FixedIdDecoder::tgcChannel
static int tgcChannel(int id)
Definition: FixedIdDecoder.cxx:133
MuonCalib::MuonFixedId::stationName
int stationName() const
Definition: MuonFixedId.h:651
MuonCalib::MuonFixedId
Definition: MuonFixedId.h:50
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::FixedIdDecoder::mdtMultilayer
static int mdtMultilayer(int id)
Definition: FixedIdDecoder.cxx:37
MuonCalib::FixedIdDecoder::mdtMezzanine
static int mdtMezzanine(int id)
Definition: FixedIdDecoder.cxx:55
MuonCalib::MuonFixedId::mdtMezzanine
int mdtMezzanine() const
Mdt specific: compute the mezzanine number.
Definition: MuonFixedId.h:779
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
MuonCalib::FixedIdDecoder::rpcDoubletPhi
static int rpcDoubletPhi(int id)
Definition: FixedIdDecoder.cxx:97
MuonFixedId.h
FixedIdDecoder.h
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::FixedIdDecoder::cscStrip
static int cscStrip(int id)
Definition: FixedIdDecoder.cxx:79
MuonCalib::FixedIdDecoder::cscChamberLayer
static int cscChamberLayer(int id)
Definition: FixedIdDecoder.cxx:61