ATLAS Offline Software
MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MuonDetectorManager_H
6 #define MuonDetectorManager_H
7 
10 #include <iostream>
11 #include <map>
12 #include <sstream>
13 #include <vector>
15 #include "GaudiKernel/StatusCode.h"
16 #include "GeoModelKernel/GeoAlignableTransform.h"
17 #include "GeoModelKernel/GeoVDetectorManager.h"
22 
23 
24 #ifndef SIMULATIONBASE
27 #endif
28 
29 namespace MuonGM {
30 
31 
32  class MuonReadoutElement;
33  class CscReadoutElement;
34  class TgcReadoutElement;
35  class RpcReadoutElement;
36  class MdtReadoutElement;
37  class sTgcReadoutElement;
38  class MMReadoutElement;
39  class MuonClusterReadoutElement;
40  class MuonStation;
41 
50  class MuonDetectorManager : public GeoVDetectorManager, public AthMessaging {
51  public:
52  // Constructor:
54 
55  // Destructor:
57 
58  // Gets the number of tree tops: required:
59  virtual unsigned int getNumTreeTops() const;
60 
61  // Gets the ith tree top: required:
62  virtual PVConstLink getTreeTop(unsigned int i) const;
63  PVLink getTreeTop(unsigned int i);
64 
65  // Add a tree top:
66  void addTreeTop(PVLink);
67 
68  // Add a XxxReadoutElement to the Collection
69  void addMdtReadoutElement(std::unique_ptr<MdtReadoutElement>&& reEle);
70  void addRpcReadoutElement(std::unique_ptr<RpcReadoutElement>&& reEle);
71  void addTgcReadoutElement(std::unique_ptr<TgcReadoutElement>&& reEle);
72  void addCscReadoutElement(std::unique_ptr<CscReadoutElement>&& reEle);
73  void addsTgcReadoutElement(std::unique_ptr<sTgcReadoutElement>&& reEle);
74  void addMMReadoutElement(std::unique_ptr<MMReadoutElement>&& reEle);
75 
76 
77  // access to Readout Elements
78  const MdtReadoutElement* getMdtReadoutElement(const Identifier& id) const;
79  const RpcReadoutElement* getRpcReadoutElement(const Identifier& id) const;
80  const TgcReadoutElement* getTgcReadoutElement(const Identifier& id) const;
81  const CscReadoutElement* getCscReadoutElement(const Identifier& id) const;
82  const MMReadoutElement* getMMReadoutElement(const Identifier& id) const;
83  const sTgcReadoutElement* getsTgcReadoutElement(const Identifier& id) const;
84  const MuonReadoutElement* getReadoutElement(const Identifier& id) const;
90 
91 
92  const MdtReadoutElement* getMdtReadoutElement(const IdentifierHash& id) const;
93  const RpcReadoutElement* getRpcReadoutElement(const IdentifierHash& id) const;
94  const TgcReadoutElement* getTgcReadoutElement(const IdentifierHash& id) const;
95  const CscReadoutElement* getCscReadoutElement(const IdentifierHash& id) const;
96 
97  inline unsigned int nMuonStation() const;
98 
99  inline unsigned int nMdtRE() const;
100  inline unsigned int nsTgcRE() const;
101  inline unsigned int nMMRE() const;
102  inline unsigned int nCscRE() const;
103  inline unsigned int nRpcRE() const;
104  inline unsigned int nTgcRE() const;
105 
106  inline unsigned int nMdtDE() const;
107  inline unsigned int nCscDE() const;
108  inline unsigned int nRpcDE() const;
109  inline unsigned int nTgcDE() const;
110 
111  // Geometry versioning
112  inline const std::string& geometryVersion() const;
113  void setGeometryVersion(const std::string& version);
114  inline const std::string& get_DBMuonVersion() const;
115  void set_DBMuonVersion(const std::string& version);
116 
117  // Access to identifier helpers
118  inline const MdtIdHelper* mdtIdHelper() const;
119  inline const CscIdHelper* cscIdHelper() const;
120  inline const RpcIdHelper* rpcIdHelper() const;
121  inline const TgcIdHelper* tgcIdHelper() const;
122  inline const sTgcIdHelper* stgcIdHelper() const;
123  inline const MmIdHelper* mmIdHelper() const;
124 
125 
126  void setMinimalGeoFlag(int flag);
127  inline int MinimalGeoFlag() const;
128  void setCutoutsFlag(int flag);
129  inline int IncludeCutoutsFlag() const;
130  void setCutoutsBogFlag(int flag);
131  inline int IncludeCutoutsBogFlag() const;
132 
133  // Add a MuonStation to the list
134  void addMuonStation(std::unique_ptr<MuonStation>&& mst);
135  const MuonStation* getMuonStation(const std::string& stName, int eta, int phi) const;
136  MuonStation* getMuonStation(const std::string& stName, int eta, int phi);
137  //<! access to the MuonStation by StationName, Jzz, Jff (amdb indices!!!! not stationPhi and Eta)
138  static std::string muonStationKey(const std::string& stName, int statEtaIndex, int statPhiIndex) ;
139 
140  void clearCache();
141  void fillCache();
142 
147 
148  void setNswAsBuilt(const NswAsBuiltDbData* nswAsBuiltData);
149  void setsTGCAsBuilt2(const sTGCAsBuiltData2* stgcAsBuilt2);
150 #ifndef SIMULATIONBASE
152  return m_nswAsBuilt ? m_nswAsBuilt->microMegaData.get() : nullptr;
153  }
155  return m_nswAsBuilt ? m_nswAsBuilt->sTgcData.get() : nullptr; ;
156  }
157 #endif
158 
161  static constexpr int NCscStEtaOffset = 1;
162  static constexpr int NTgcStatTypeOff = -41;
163  static constexpr int NTgcStEtaOffset = 5;
164 
166  return m_stgcAsBuildData2;
167  }
168 
169  // map the RPC station indices (0-NRpcStatType) back to the RpcIdHelper stationNames
170  int rpcStationName(const int stationIndex) const;
171 
172  private:
173  ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{"Muon::MuonIdHelperSvc/MuonIdHelperSvc", "MuonDetectorManager"};
174  void loadStationIndices();
175  unsigned int rpcStationTypeIdx(const int stationName) const; // map the RPC stationNames from the RpcIdHelper to 0-NRpcStatType
176  enum RpcStatType { BML = 0, BMS, BOL, BOS, BMF, BOF, BOG, BME, BIR, BIM, BIL, BIS, UNKNOWN };
178  int rpcIdentToArrayIdx(const Identifier& id) const;
179  int tgcIdentToArrayIdx(const Identifier& id) const;
180  int cscIdentToArrayIdx(const Identifier& id) const;
181  int stgcIdentToArrayIdx(const Identifier& id) const;
182  int mmIdenToArrayIdx(const Identifier& id) const;
183  int mdtIdentToArrayIdx(const Identifier& id) const;
184 
185  int m_minimalgeo{0};
188 
189  std::vector<PVLink> m_envelope; // Tree-top...
190 
191 
192  // Geometry versioning
193  std::string m_geometryVersion{}; // generic name of the Layout
194  std::string m_DBMuonVersion{}; // name of the MuonVersion table-collection in Oracle
195 
196  // 115.6 kBytes.
197  std::vector<std::unique_ptr<MdtReadoutElement>> m_mdtArray;
198  std::vector<std::unique_ptr<CscReadoutElement>> m_cscArray;
199  std::vector<std::unique_ptr<TgcReadoutElement>> m_tgcArray;
200 
201  std::vector<std::unique_ptr<RpcReadoutElement>> m_rpcArray;
202  std::vector<std::unique_ptr<sTgcReadoutElement>> m_stgArray;
203  std::vector<std::unique_ptr<MMReadoutElement>> m_mmcArray;
204  std::map<std::string, std::unique_ptr<MuonStation> > m_MuonStationMap;
205 
206  unsigned int m_n_mdtRE{0};
207  unsigned int m_n_cscRE{0};
208  unsigned int m_n_rpcRE{0};
209  unsigned int m_n_tgcRE{0};
210  unsigned int m_n_stgRE{0};
211  unsigned int m_n_mmcRE{0};
212 
213  unsigned int m_n_mdtDE{0};
214  unsigned int m_n_cscDE{0};
215  unsigned int m_n_rpcDE{0};
216  unsigned int m_n_tgcDE{0};
217 
218 
221 
223  std::map<int, int> m_rpcStatToIdx;
224  std::map<int, int> m_rpcIdxToStat;
225 
226 
227  };
228 
230  return m_idHelperSvc->hasMDT() ? &(m_idHelperSvc->mdtIdHelper()) : nullptr;
231  }
233  return m_idHelperSvc->hasCSC() ? &(m_idHelperSvc->cscIdHelper()) : nullptr;
234  }
236  return m_idHelperSvc->hasRPC() ? &(m_idHelperSvc->rpcIdHelper()): nullptr;
237  }
239  return m_idHelperSvc->hasTGC() ? &(m_idHelperSvc->tgcIdHelper()) : nullptr;
240  }
242  return m_idHelperSvc->hasSTGC() ? &(m_idHelperSvc->stgcIdHelper()) : nullptr;
243  }
245  return m_idHelperSvc->hasMM() ? &(m_idHelperSvc->mmIdHelper()) : nullptr;
246  }
247 
248 
249 
253 
254  const std::string& MuonDetectorManager::geometryVersion() const { return m_geometryVersion; }
255  const std::string& MuonDetectorManager::get_DBMuonVersion() const { return m_DBMuonVersion; }
256 
257 
258  unsigned int MuonDetectorManager::nMuonStation() const { return m_MuonStationMap.size(); }
259  unsigned int MuonDetectorManager::nMdtRE() const { return m_n_mdtRE; }
260  unsigned int MuonDetectorManager::nCscRE() const { return m_n_cscRE; }
261  unsigned int MuonDetectorManager::nRpcRE() const { return m_n_rpcRE; }
262  unsigned int MuonDetectorManager::nTgcRE() const { return m_n_tgcRE; }
263  unsigned int MuonDetectorManager::nsTgcRE() const { return m_n_stgRE; }
264  unsigned int MuonDetectorManager::nMMRE() const { return m_n_mmcRE; }
265 
266  unsigned int MuonDetectorManager::nMdtDE() const { return m_n_mdtDE; }
267  unsigned int MuonDetectorManager::nCscDE() const { return m_n_cscDE; }
268  unsigned int MuonDetectorManager::nRpcDE() const { return m_n_rpcDE; }
269  unsigned int MuonDetectorManager::nTgcDE() const { return m_n_tgcDE; }
270 
271 } // namespace MuonGM
272 
273 #ifndef GAUDI_NEUTRAL
274 namespace MuonGM {
275  class MuonDetectorManager;
276 }
279 #endif
280 
281 #endif
MuonGM::MuonDetectorManager::getRpcReadoutElement
const RpcReadoutElement * getRpcReadoutElement(const Identifier &id) const
access via extended identifier (requires unpacking)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:168
NswAsBuiltDbData::microMegaData
MmAsBuiltPtr microMegaData
Definition: NswAsBuiltDbData.h:29
MuonGM::MuonDetectorManager::set_DBMuonVersion
void set_DBMuonVersion(const std::string &version)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:685
MuonGM::MuonDetectorManager::addMuonStation
void addMuonStation(std::unique_ptr< MuonStation > &&mst)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:121
MuonGM::MuonDetectorManager::addMdtReadoutElement
void addMdtReadoutElement(std::unique_ptr< MdtReadoutElement > &&reEle)
store the MdtReadoutElement using as "key" the identifier
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:193
MuonGM::MuonDetectorManager::m_cscArray
std::vector< std::unique_ptr< CscReadoutElement > > m_cscArray
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:198
MuonGM::MuonDetectorManager::nMdtDE
unsigned int nMdtDE() const
Number of Mdt DetectorElements.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:266
MuonGM::MuonDetectorManager::MinimalGeoFlag
int MinimalGeoFlag() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:250
MuonGM
Ensure that the Athena extensions are properly loaded.
Definition: GeoMuonHits.h:27
MuonGM::MuonDetectorManager::m_envelope
std::vector< PVLink > m_envelope
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:189
MuonGM::MuonDetectorManager::m_rpcArray
std::vector< std::unique_ptr< RpcReadoutElement > > m_rpcArray
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:201
MuonGM::MuonDetectorManager::IncludeCutoutsFlag
int IncludeCutoutsFlag() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:251
MuonGM::MuonDetectorManager::RpcStatType
RpcStatType
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:176
MuonGM::MuonDetectorManager::m_nswAsBuilt
const NswAsBuiltDbData * m_nswAsBuilt
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:219
MuonGM::MuonDetectorManager::m_stgArray
std::vector< std::unique_ptr< sTgcReadoutElement > > m_stgArray
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:202
CONDCONT_MIXED_DEF
CONDCONT_MIXED_DEF(MuonGM::MuonDetectorManager, 205781622)
MuonGM::MuonDetectorManager::addTreeTop
void addTreeTop(PVLink)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:117
dumpTgcDigiDeadChambers.stationName
dictionary stationName
Definition: dumpTgcDigiDeadChambers.py:30
MuonGM::MuonDetectorManager::tgcIdentToArrayIdx
int tgcIdentToArrayIdx(const Identifier &id) const
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:304
MuonGM::MuonDetectorManager::fillCache
void fillCache()
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:75
MuonGM::MuonDetectorManager::nMMRE
unsigned int nMMRE() const
Number of MM ReadoutElements.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:264
TgcIdHelper
Definition: TgcIdHelper.h:50
sTGCAsBuiltData2
Class holding the sTGC as built conditions data and applying it. The model consists of four parameter...
Definition: sTGCAsBuiltData2.h:27
MuonGM::MuonDetectorManager::getNumTreeTops
virtual unsigned int getNumTreeTops() const
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:113
MuonGM::MuonDetectorManager::clearCache
void clearCache()
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:67
MuonGM::MuonDetectorManager::m_geometryVersion
std::string m_geometryVersion
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:193
MuonGM::MuonDetectorManager::m_rpcStatToIdx
std::map< int, int > m_rpcStatToIdx
RPC name caches.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:223
MuonGM::MuonDetectorManager::nTgcDE
unsigned int nTgcDE() const
Number of Tgc DetectorElements.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:269
NswAsBuiltDbData::sTgcData
sTgcAsBuiltPtr sTgcData
Storage to the stgc as built calculator.
Definition: NswAsBuiltDbData.h:31
MuonGM::MuonDetectorManager::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:173
MuonGM::MuonDetectorManager::updateCSCInternalAlignmentMap
StatusCode updateCSCInternalAlignmentMap(const ALineContainer &cscIntAline)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:511
MuonGM::MuonDetectorManager::updateMdtAsBuiltParams
StatusCode updateMdtAsBuiltParams(const MdtAsBuiltContainer &a)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:555
MuonGM::MuonDetectorManager::muonStationKey
static std::string muonStationKey(const std::string &stName, int statEtaIndex, int statPhiIndex)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:126
MuonGM::MuonDetectorManager::stgcIdentToArrayIdx
int stgcIdentToArrayIdx(const Identifier &id) const
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:284
MuonGM::RpcReadoutElement
An RpcReadoutElement corresponds to a single RPC module; therefore typicaly a barrel muon station con...
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/RpcReadoutElement.h:55
MuonGM::MuonDetectorManager::m_tgcArray
std::vector< std::unique_ptr< TgcReadoutElement > > m_tgcArray
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:199
MuonGM::MuonDetectorManager::addRpcReadoutElement
void addRpcReadoutElement(std::unique_ptr< RpcReadoutElement > &&reEle)
store the RpcReadoutElement using as "key" the identifier
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:157
MuonGM::MuonDetectorManager::BIM
@ BIM
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:176
MuonGM::CscReadoutElement
Definition: CscReadoutElement.h:56
MuonGM::MuonDetectorManager::mmIdHelper
const MmIdHelper * mmIdHelper() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:244
MuonGM::MuonDetectorManager::getMMAsBuiltCalculator
const NswAsBuilt::StripCalculator * getMMAsBuiltCalculator() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:151
MuonGM::MuonDetectorManager::setGeometryVersion
void setGeometryVersion(const std::string &version)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:686
MuonGM::MuonDetectorManager::m_n_mmcRE
unsigned int m_n_mmcRE
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:211
MuonGM::MuonDetectorManager::m_n_tgcRE
unsigned int m_n_tgcRE
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:209
RpcIdHelper
Definition: RpcIdHelper.h:51
MuonGM::MuonDetectorManager::mmIdenToArrayIdx
int mmIdenToArrayIdx(const Identifier &id) const
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:274
MuonGM::MuonDetectorManager::m_DBMuonVersion
std::string m_DBMuonVersion
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:194
MuonGM::MuonDetectorManager::nMdtRE
unsigned int nMdtRE() const
Number of Mdt ReadoutElements.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:259
MuonGM::MuonDetectorManager::m_n_mdtRE
unsigned int m_n_mdtRE
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:206
MuonGM::MuonReadoutElement
Base class for the XxxReadoutElement, with Xxx = Mdt, Rpc, Tgc, Csc.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonReadoutElement.h:40
MuonGM::MuonDetectorManager::rpcStationTypeIdx
unsigned int rpcStationTypeIdx(const int stationName) const
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:644
MuonGM::MuonDetectorManager::getStgcAsBuiltCalculator
const NswAsBuilt::StgcStripCalculator * getStgcAsBuiltCalculator() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:154
MuonGM::MuonDetectorManager::m_n_mdtDE
unsigned int m_n_mdtDE
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:213
MuonGM::MuonDetectorManager::IncludeCutoutsBogFlag
int IncludeCutoutsBogFlag() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:252
MuonGM::MuonDetectorManager::getTgcReadoutElement
const TgcReadoutElement * getTgcReadoutElement(const Identifier &id) const
access via extended identifier (requires unpacking)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:247
StgcStripCalculator.h
MuonGM::MuonDetectorManager::BOF
@ BOF
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:176
MuonGM::MuonDetectorManager::m_n_rpcRE
unsigned int m_n_rpcRE
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:208
GeoPrimitives.h
MuonGM::MuonDetectorManager::nCscDE
unsigned int nCscDE() const
Number of Csc DetectorElements.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:267
MuonGM::MuonDetectorManager::BMS
@ BMS
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:176
CorrContainer.h
NswAsBuiltDbData.h
MuonGM::MuonDetectorManager::cscIdentToArrayIdx
int cscIdentToArrayIdx(const Identifier &id) const
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:314
MuonGM::MuonDetectorManager::updateDeformations
StatusCode updateDeformations(const BLineContainer &a)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:433
MuonGM::MuonDetectorManager::getMdtReadoutElement
const MdtReadoutElement * getMdtReadoutElement(const Identifier &id) const
access via extended identifier (requires unpacking)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:204
MuonGM::MuonDetectorManager::m_mmcArray
std::vector< std::unique_ptr< MMReadoutElement > > m_mmcArray
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:203
MuonGM::MdtReadoutElement
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MdtReadoutElement.h:51
MuonGM::MuonDetectorManager::m_minimalgeo
int m_minimalgeo
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:185
lumiFormat.i
int i
Definition: lumiFormat.py:85
MuonGM::MuonDetectorManager::rpcStationName
int rpcStationName(const int stationIndex) const
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:650
MuonGM::MuonDetectorManager::m_includeCutoutsBog
int m_includeCutoutsBog
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:187
MuonGM::MuonDetectorManager::m_rpcIdxToStat
std::map< int, int > m_rpcIdxToStat
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:224
MuonGM::MuonDetectorManager::getCscReadoutElement
const CscReadoutElement * getCscReadoutElement(const Identifier &id) const
access via extended identifier (requires unpacking)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:225
MuonGM::MuonDetectorManager::geometryVersion
const std::string & geometryVersion() const
it can be Rome-Initial or P03, or ...
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:254
MuonGM::MuonDetectorManager::m_MuonStationMap
std::map< std::string, std::unique_ptr< MuonStation > > m_MuonStationMap
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:204
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MuonGM::MuonDetectorManager::BIS
@ BIS
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:176
MuonGM::sTgcReadoutElement
An sTgcReadoutElement corresponds to a single STGC module; therefore typicaly a barrel muon station c...
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/sTgcReadoutElement.h:30
master.flag
bool flag
Definition: master.py:29
MuonGM::MuonStation
Definition: MuonStation.h:51
MuonGM::MuonDetectorManager::m_includeCutouts
int m_includeCutouts
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:186
MuonGM::TgcReadoutElement
A TgcReadoutElement corresponds to a single TGC chamber; therefore typically a TGC station contains s...
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/TgcReadoutElement.h:42
MdtIdHelper
Definition: MdtIdHelper.h:61
MuonGM::MuonDetectorManager::BIL
@ BIL
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:176
MuonGM::MuonDetectorManager::stgcIdHelper
const sTgcIdHelper * stgcIdHelper() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:241
MuonGM::MuonDetectorManager::setCutoutsFlag
void setCutoutsFlag(int flag)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:688
AthMessaging
Class to provide easy MsgStream access and capabilities.
Definition: AthMessaging.h:55
MuonGM::MuonDetectorManager::m_n_stgRE
unsigned int m_n_stgRE
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:210
ALineContainer
std::set< ALinePar, std::less<> > ALineContainer
Definition: CorrContainer.h:16
MuonGM::MuonDetectorManager::BIR
@ BIR
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:176
MuonGM::MuonDetectorManager::BOS
@ BOS
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:176
MuonGM::MuonDetectorManager::getsTGCAsBuilt2
const sTGCAsBuiltData2 * getsTGCAsBuilt2() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:165
MuonGM::MuonDetectorManager::nsTgcRE
unsigned int nsTgcRE() const
Number of sTgc ReadoutElements.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:263
MuonGM::MuonDetectorManager::setCutoutsBogFlag
void setCutoutsBogFlag(int flag)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:689
MuonGM::MuonDetectorManager::mdtIdHelper
const MdtIdHelper * mdtIdHelper() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:229
MuonGM::MuonDetectorManager::addCscReadoutElement
void addCscReadoutElement(std::unique_ptr< CscReadoutElement > &&reEle)
store the CscReadoutElement using as "key" the identifier
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:214
MuonGM::MuonDetectorManager::mdtIdentToArrayIdx
int mdtIdentToArrayIdx(const Identifier &id) const
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:263
MuonGM::MuonDetectorManager::NTgcStEtaOffset
static constexpr int NTgcStEtaOffset
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:163
MdtAsBuiltContainer
std::set< MdtAsBuiltPar, std::less<> > MdtAsBuiltContainer
Definition: CorrContainer.h:24
MuonGM::MuonDetectorManager::setMinimalGeoFlag
void setMinimalGeoFlag(int flag)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:687
MuonGM::MuonDetectorManager::rpcIdHelper
const RpcIdHelper * rpcIdHelper() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:235
CLASS_DEF
CLASS_DEF(MuonGM::MuonDetectorManager, 4500, 1)
MuonGM::MuonDetectorManager::nRpcDE
unsigned int nRpcDE() const
Number of Rpc DetectorElements.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:268
MuonGM::MuonDetectorManager::rpcIdentToArrayIdx
int rpcIdentToArrayIdx(const Identifier &id) const
Helper method to convert the Identifier into the corresponding index accessing the array.
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:294
MuonGM::MuonDetectorManager::NCscStEtaOffset
static constexpr int NCscStEtaOffset
Identifier <-> AMDB conversion constants in use.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:161
GeoModel::TransientConstSharedPtr::get
Obj * get()
Get (non-const) access to the underlying object.
Definition: TransientConstSharedPtr.h:17
MuonGM::MuonDetectorManager::tgcIdHelper
const TgcIdHelper * tgcIdHelper() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:238
MuonGM::MuonDetectorManager::get_DBMuonVersion
const std::string & get_DBMuonVersion() const
the name of the MuonSpectrometer tag (in the geometry DB) actually accessed
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:255
sTGCAsBuiltData2.h
MuonGM::MuonDetectorManager::m_n_cscRE
unsigned int m_n_cscRE
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:207
MuonGM::MuonDetectorManager::setsTGCAsBuilt2
void setsTGCAsBuilt2(const sTGCAsBuiltData2 *stgcAsBuilt2)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:596
NswAsBuilt::StgcStripCalculator
The main interface of the NswAsBuilt package: determines strip positions in the frame of the quadrupl...
Definition: StgcStripCalculator.h:31
MuonGM::MuonDetectorManager::BME
@ BME
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:176
MuonGM::MuonDetectorManager::nTgcRE
unsigned int nTgcRE() const
Number of Tgc ReadoutElements.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:262
MuonGM::MuonDetectorManager::~MuonDetectorManager
~MuonDetectorManager()
sTgcIdHelper
Definition: sTgcIdHelper.h:55
MuonGM::MuonDetectorManager::nMuonStation
unsigned int nMuonStation() const
Number of MuonStations.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:258
MuonGM::MuonDetectorManager::BML
@ BML
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:176
MuonGM::MuonDetectorManager::addTgcReadoutElement
void addTgcReadoutElement(std::unique_ptr< TgcReadoutElement > &&reEle)
store the TgcReadoutElement using as "key" the identifier
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:235
StripCalculator.h
get_generator_info.version
version
Definition: get_generator_info.py:33
MuonGM::MuonDetectorManager::getMuonStation
const MuonStation * getMuonStation(const std::string &stName, int eta, int phi) const
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:137
MuonGM::MuonDetectorManager::nRpcRE
unsigned int nRpcRE() const
Number of Rpc ReadoutElements.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:261
MuonGM::MuonDetectorManager::m_n_rpcDE
unsigned int m_n_rpcDE
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:215
a
TList * a
Definition: liststreamerinfos.cxx:10
MmIdHelper
Definition: MmIdHelper.h:54
MuonGM::MuonDetectorManager::getReadoutElement
const MuonReadoutElement * getReadoutElement(const Identifier &id) const
Get any read out element.
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:84
CscIdHelper
Definition: CscIdHelper.h:52
MuonGM::MuonDetectorManager
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:50
MuonGM::MuonDetectorManager::m_mdtArray
std::vector< std::unique_ptr< MdtReadoutElement > > m_mdtArray
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:197
MuonGM::MuonDetectorManager::UNKNOWN
@ UNKNOWN
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:176
MuonGM::MuonDetectorManager::getMMReadoutElement
const MMReadoutElement * getMMReadoutElement(const Identifier &id) const
access via extended identifier (requires unpacking)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:255
AthMessaging.h
MuonGM::MuonDetectorManager::MuonDetectorManager
MuonDetectorManager()
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:38
MuonGM::MMReadoutElement
An MMReadoutElement corresponds to a single STGC module; therefore typicaly a barrel muon station con...
Definition: MMReadoutElement.h:25
MuonGM::MuonDetectorManager::getTreeTop
virtual PVConstLink getTreeTop(unsigned int i) const
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:115
MuonGM::MuonDetectorManager::setNswAsBuilt
void setNswAsBuilt(const NswAsBuiltDbData *nswAsBuiltData)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:592
MuonGM::MuonDetectorManager::m_stgcAsBuildData2
const sTGCAsBuiltData2 * m_stgcAsBuildData2
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:220
MuonGM::MuonDetectorManager::addMMReadoutElement
void addMMReadoutElement(std::unique_ptr< MMReadoutElement > &&reEle)
store the MMReadoutElement using as "key" the identifier
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:173
MuonGM::MuonDetectorManager::updateAlignment
StatusCode updateAlignment(const ALineContainer &a)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:325
NswAsBuilt::StripCalculator
Definition: StripCalculator.h:30
MuonGM::MuonDetectorManager::nCscRE
unsigned int nCscRE() const
Number of Csc ReadoutElements.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:260
MuonGM::MuonDetectorManager::loadStationIndices
void loadStationIndices()
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:655
MuonGM::MuonDetectorManager::BOG
@ BOG
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:176
MuonGM::MuonDetectorManager::addsTgcReadoutElement
void addsTgcReadoutElement(std::unique_ptr< sTgcReadoutElement > &&reEle)
store the sTGCReadoutElement using as "key" the identifier
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:183
MuonGM::MuonDetectorManager::cscIdHelper
const CscIdHelper * cscIdHelper() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:232
BLineContainer
std::set< BLinePar, std::less<> > BLineContainer
Definition: CorrContainer.h:20
MuonGM::MuonDetectorManager::getsTgcReadoutElement
const sTgcReadoutElement * getsTgcReadoutElement(const Identifier &id) const
access via extended identifier (requires unpacking)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:259
MuonGM::MuonDetectorManager::m_n_cscDE
unsigned int m_n_cscDE
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:214
IdentifierHash
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Definition: IdentifierHash.h:25
MuonGM::MuonDetectorManager::NTgcStatTypeOff
static constexpr int NTgcStatTypeOff
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:162
IMuonIdHelperSvc.h
MuonGM::MuonDetectorManager::m_n_tgcDE
unsigned int m_n_tgcDE
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:216
MuonGM::MuonDetectorManager::BOL
@ BOL
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:176
NswAsBuiltDbData
Definition: NswAsBuiltDbData.h:17
MuonGM::MuonDetectorManager::BMF
@ BMF
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:176
ServiceHandle< Muon::IMuonIdHelperSvc >
Identifier
Definition: IdentifierFieldParser.cxx:14