ATLAS Offline Software
MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 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"
23 
24 
25 #ifndef SIMULATIONBASE
28 #endif
29 
30 namespace MuonGM {
31 
32 
33  class MuonReadoutElement;
34  class CscReadoutElement;
35  class TgcReadoutElement;
36  class RpcReadoutElement;
37  class MdtReadoutElement;
38  class sTgcReadoutElement;
39  class MMReadoutElement;
40  class MuonClusterReadoutElement;
41  class MuonStation;
42 
51  class MuonDetectorManager : public GeoVDetectorManager, public AthMessaging {
52  public:
53  // Constructor:
55 
56  // Destructor:
58 
59  // Gets the number of tree tops: required:
60  virtual unsigned int getNumTreeTops() const;
61 
62  // Gets the ith tree top: required:
63  virtual PVConstLink getTreeTop(unsigned int i) const;
64  PVLink getTreeTop(unsigned int i);
65 
66  // Add a tree top:
67  void addTreeTop(PVLink);
68 
69  // Add a XxxReadoutElement to the Collection
70  void addMdtReadoutElement(std::unique_ptr<MdtReadoutElement>&& reEle);
71  void addRpcReadoutElement(std::unique_ptr<RpcReadoutElement>&& reEle);
72  void addTgcReadoutElement(std::unique_ptr<TgcReadoutElement>&& reEle);
73  void addCscReadoutElement(std::unique_ptr<CscReadoutElement>&& reEle);
74  void addsTgcReadoutElement(std::unique_ptr<sTgcReadoutElement>&& reEle);
75  void addMMReadoutElement(std::unique_ptr<MMReadoutElement>&& reEle);
76 
77 
78  // access to Readout Elements
79  const MdtReadoutElement* getMdtReadoutElement(const Identifier& id) const;
80  const RpcReadoutElement* getRpcReadoutElement(const Identifier& id) const;
81  const TgcReadoutElement* getTgcReadoutElement(const Identifier& id) const;
82  const CscReadoutElement* getCscReadoutElement(const Identifier& id) const;
83  const MMReadoutElement* getMMReadoutElement(const Identifier& id) const;
84  const sTgcReadoutElement* getsTgcReadoutElement(const Identifier& id) const;
85  const MuonReadoutElement* getReadoutElement(const Identifier& id) const;
91 
92 
93  const MdtReadoutElement* getMdtReadoutElement(const IdentifierHash& id) const;
94  const RpcReadoutElement* getRpcReadoutElement(const IdentifierHash& id) const;
95  const TgcReadoutElement* getTgcReadoutElement(const IdentifierHash& id) const;
96  const CscReadoutElement* getCscReadoutElement(const IdentifierHash& id) const;
97 
98  inline unsigned int nMuonStation() const;
99 
100  inline unsigned int nMdtRE() const;
101  inline unsigned int nsTgcRE() const;
102  inline unsigned int nMMRE() const;
103  inline unsigned int nCscRE() const;
104  inline unsigned int nRpcRE() const;
105  inline unsigned int nTgcRE() const;
106 
107  inline unsigned int nMdtDE() const;
108  inline unsigned int nCscDE() const;
109  inline unsigned int nRpcDE() const;
110  inline unsigned int nTgcDE() const;
111 
112  // Geometry versioning
113  inline const std::string& geometryVersion() const;
114  void setGeometryVersion(const std::string& version);
115  inline const std::string& get_DBMuonVersion() const;
116  void set_DBMuonVersion(const std::string& version);
117 
118  // Access to identifier helpers
119  inline const MdtIdHelper* mdtIdHelper() const;
120  inline const CscIdHelper* cscIdHelper() const;
121  inline const RpcIdHelper* rpcIdHelper() const;
122  inline const TgcIdHelper* tgcIdHelper() const;
123  inline const sTgcIdHelper* stgcIdHelper() const;
124  inline const MmIdHelper* mmIdHelper() const;
125 
126 
127  void setMinimalGeoFlag(int flag);
128  inline int MinimalGeoFlag() const;
129  void setCutoutsFlag(int flag);
130  inline int IncludeCutoutsFlag() const;
131  void setCutoutsBogFlag(int flag);
132  inline int IncludeCutoutsBogFlag() const;
133 
134  // Add a MuonStation to the list
135  void addMuonStation(std::unique_ptr<MuonStation>&& mst);
136  const MuonStation* getMuonStation(const std::string& stName, int eta, int phi) const;
137  MuonStation* getMuonStation(const std::string& stName, int eta, int phi);
138  //<! access to the MuonStation by StationName, Jzz, Jff (amdb indices!!!! not stationPhi and Eta)
139  static std::string muonStationKey(const std::string& stName, int statEtaIndex, int statPhiIndex) ;
140 
141  void clearCache();
142  void fillCache();
143 
148 
149  void setNswAsBuilt(const NswAsBuiltDbData* nswAsBuiltData);
150  void setsTGCAsBuilt(const sTGCAsBuiltData* stgcAsBuilt);
151 #ifndef SIMULATIONBASE
153  return m_nswAsBuilt ? m_nswAsBuilt->microMegaData.get() : nullptr;
154  }
155 #endif
156 
159  static constexpr int NCscStEtaOffset = 1;
160  static constexpr int NTgcStatTypeOff = -41;
161  static constexpr int NTgcStEtaOffset = 5;
162 
164  return m_stgcAsBuildData;
165  }
166 
168  return m_mmPassivation;
169  }
170  void setMMPassivation(const NswPassivationDbData* passiv);
171  // map the RPC station indices (0-NRpcStatType) back to the RpcIdHelper stationNames
172  int rpcStationName(const int stationIndex) const;
173 
174  private:
175  ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{"Muon::MuonIdHelperSvc/MuonIdHelperSvc", "MuonDetectorManager"};
176  void loadStationIndices();
177  unsigned int rpcStationTypeIdx(const int stationName) const; // map the RPC stationNames from the RpcIdHelper to 0-NRpcStatType
178  enum RpcStatType { BML = 0, BMS, BOL, BOS, BMF, BOF, BOG, BME, BIR, BIM, BIL, BIS, UNKNOWN };
180  int rpcIdentToArrayIdx(const Identifier& id) const;
181  int tgcIdentToArrayIdx(const Identifier& id) const;
182  int cscIdentToArrayIdx(const Identifier& id) const;
183  int stgcIdentToArrayIdx(const Identifier& id) const;
184  int mmIdenToArrayIdx(const Identifier& id) const;
185  int mdtIdentToArrayIdx(const Identifier& id) const;
186 
187  int m_minimalgeo{0};
190 
191  std::vector<PVLink> m_envelope; // Tree-top...
192 
193 
194  // Geometry versioning
195  std::string m_geometryVersion{}; // generic name of the Layout
196  std::string m_DBMuonVersion{}; // name of the MuonVersion table-collection in Oracle
197 
198  // 115.6 kBytes.
199  std::vector<std::unique_ptr<MdtReadoutElement>> m_mdtArray;
200  std::vector<std::unique_ptr<CscReadoutElement>> m_cscArray;
201  std::vector<std::unique_ptr<TgcReadoutElement>> m_tgcArray;
202 
203  std::vector<std::unique_ptr<RpcReadoutElement>> m_rpcArray;
204  std::vector<std::unique_ptr<sTgcReadoutElement>> m_stgArray;
205  std::vector<std::unique_ptr<MMReadoutElement>> m_mmcArray;
206  std::map<std::string, std::unique_ptr<MuonStation> > m_MuonStationMap;
207 
208  unsigned int m_n_mdtRE{0};
209  unsigned int m_n_cscRE{0};
210  unsigned int m_n_rpcRE{0};
211  unsigned int m_n_tgcRE{0};
212  unsigned int m_n_stgRE{0};
213  unsigned int m_n_mmcRE{0};
214 
215  unsigned int m_n_mdtDE{0};
216  unsigned int m_n_cscDE{0};
217  unsigned int m_n_rpcDE{0};
218  unsigned int m_n_tgcDE{0};
219 
220 
224 
226  std::map<int, int> m_rpcStatToIdx;
227  std::map<int, int> m_rpcIdxToStat;
228 
229 
230  };
231 
233  return m_idHelperSvc->hasMDT() ? &(m_idHelperSvc->mdtIdHelper()) : nullptr;
234  }
236  return m_idHelperSvc->hasCSC() ? &(m_idHelperSvc->cscIdHelper()) : nullptr;
237  }
239  return m_idHelperSvc->hasRPC() ? &(m_idHelperSvc->rpcIdHelper()): nullptr;
240  }
242  return m_idHelperSvc->hasTGC() ? &(m_idHelperSvc->tgcIdHelper()) : nullptr;
243  }
245  return m_idHelperSvc->hasSTGC() ? &(m_idHelperSvc->stgcIdHelper()) : nullptr;
246  }
248  return m_idHelperSvc->hasMM() ? &(m_idHelperSvc->mmIdHelper()) : nullptr;
249  }
250 
251 
252 
256 
257  const std::string& MuonDetectorManager::geometryVersion() const { return m_geometryVersion; }
258  const std::string& MuonDetectorManager::get_DBMuonVersion() const { return m_DBMuonVersion; }
259 
260 
261  unsigned int MuonDetectorManager::nMuonStation() const { return m_MuonStationMap.size(); }
262  unsigned int MuonDetectorManager::nMdtRE() const { return m_n_mdtRE; }
263  unsigned int MuonDetectorManager::nCscRE() const { return m_n_cscRE; }
264  unsigned int MuonDetectorManager::nRpcRE() const { return m_n_rpcRE; }
265  unsigned int MuonDetectorManager::nTgcRE() const { return m_n_tgcRE; }
266  unsigned int MuonDetectorManager::nsTgcRE() const { return m_n_stgRE; }
267  unsigned int MuonDetectorManager::nMMRE() const { return m_n_mmcRE; }
268 
269  unsigned int MuonDetectorManager::nMdtDE() const { return m_n_mdtDE; }
270  unsigned int MuonDetectorManager::nCscDE() const { return m_n_cscDE; }
271  unsigned int MuonDetectorManager::nRpcDE() const { return m_n_rpcDE; }
272  unsigned int MuonDetectorManager::nTgcDE() const { return m_n_tgcDE; }
273 
274 } // namespace MuonGM
275 
276 #ifndef GAUDI_NEUTRAL
277 namespace MuonGM {
278  class MuonDetectorManager;
279 }
282 #endif
283 
284 #endif
MuonGM::MuonDetectorManager::getsTGCAsBuilt
const sTGCAsBuiltData * getsTGCAsBuilt() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:163
MuonGM::MuonDetectorManager::getRpcReadoutElement
const RpcReadoutElement * getRpcReadoutElement(const Identifier &id) const
access via extended identifier (requires unpacking)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:170
NswAsBuiltDbData::microMegaData
MmAsBuiltPtr microMegaData
Definition: NswAsBuiltDbData.h:27
MuonGM::MuonDetectorManager::set_DBMuonVersion
void set_DBMuonVersion(const std::string &version)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:687
MuonGM::MuonDetectorManager::addMuonStation
void addMuonStation(std::unique_ptr< MuonStation > &&mst)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:123
MuonGM::MuonDetectorManager::addMdtReadoutElement
void addMdtReadoutElement(std::unique_ptr< MdtReadoutElement > &&reEle)
store the MdtReadoutElement using as "key" the identifier
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:195
MuonGM::MuonDetectorManager::m_cscArray
std::vector< std::unique_ptr< CscReadoutElement > > m_cscArray
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:200
MuonGM::MuonDetectorManager::nMdtDE
unsigned int nMdtDE() const
Number of Mdt DetectorElements.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:269
MuonGM::MuonDetectorManager::MinimalGeoFlag
int MinimalGeoFlag() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:253
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:191
MuonGM::MuonDetectorManager::m_rpcArray
std::vector< std::unique_ptr< RpcReadoutElement > > m_rpcArray
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:203
MuonGM::MuonDetectorManager::IncludeCutoutsFlag
int IncludeCutoutsFlag() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:254
MuonGM::MuonDetectorManager::RpcStatType
RpcStatType
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:178
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:67
MuonGM::MuonDetectorManager::m_nswAsBuilt
const NswAsBuiltDbData * m_nswAsBuilt
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:221
MuonGM::MuonDetectorManager::m_stgArray
std::vector< std::unique_ptr< sTgcReadoutElement > > m_stgArray
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:204
CONDCONT_MIXED_DEF
CONDCONT_MIXED_DEF(MuonGM::MuonDetectorManager, 205781622)
MuonGM::MuonDetectorManager::addTreeTop
void addTreeTop(PVLink)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:119
dumpTgcDigiDeadChambers.stationName
dictionary stationName
Definition: dumpTgcDigiDeadChambers.py:30
MuonGM::MuonDetectorManager::tgcIdentToArrayIdx
int tgcIdentToArrayIdx(const Identifier &id) const
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:306
MuonGM::MuonDetectorManager::fillCache
void fillCache()
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:77
MuonGM::MuonDetectorManager::nMMRE
unsigned int nMMRE() const
Number of MM ReadoutElements.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:267
TgcIdHelper
Definition: TgcIdHelper.h:50
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:83
MuonGM::MuonDetectorManager::getNumTreeTops
virtual unsigned int getNumTreeTops() const
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:115
Muon::MuonStationIndex::stName
const std::string & stName(StIndex index)
convert StIndex into a string
Definition: MuonStationIndex.cxx:104
MuonGM::MuonDetectorManager::clearCache
void clearCache()
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:69
MuonGM::MuonDetectorManager::m_geometryVersion
std::string m_geometryVersion
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:195
MuonGM::MuonDetectorManager::m_rpcStatToIdx
std::map< int, int > m_rpcStatToIdx
RPC name caches.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:226
MuonGM::MuonDetectorManager::nTgcDE
unsigned int nTgcDE() const
Number of Tgc DetectorElements.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:272
MuonGM::MuonDetectorManager::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:175
MuonGM::MuonDetectorManager::updateCSCInternalAlignmentMap
StatusCode updateCSCInternalAlignmentMap(const ALineContainer &cscIntAline)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:513
MuonGM::MuonDetectorManager::updateMdtAsBuiltParams
StatusCode updateMdtAsBuiltParams(const MdtAsBuiltContainer &a)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:557
MuonGM::MuonDetectorManager::muonStationKey
static std::string muonStationKey(const std::string &stName, int statEtaIndex, int statPhiIndex)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:128
MuonGM::MuonDetectorManager::stgcIdentToArrayIdx
int stgcIdentToArrayIdx(const Identifier &id) const
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:286
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:201
MuonGM::MuonDetectorManager::addRpcReadoutElement
void addRpcReadoutElement(std::unique_ptr< RpcReadoutElement > &&reEle)
store the RpcReadoutElement using as "key" the identifier
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:159
MuonGM::MuonDetectorManager::BIM
@ BIM
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:178
MuonGM::CscReadoutElement
Definition: CscReadoutElement.h:56
MuonGM::MuonDetectorManager::mmIdHelper
const MmIdHelper * mmIdHelper() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:247
MuonGM::MuonDetectorManager::getMMAsBuiltCalculator
const NswAsBuilt::StripCalculator * getMMAsBuiltCalculator() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:152
MuonGM::MuonDetectorManager::setGeometryVersion
void setGeometryVersion(const std::string &version)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:688
MuonGM::MuonDetectorManager::m_n_mmcRE
unsigned int m_n_mmcRE
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:213
MuonGM::MuonDetectorManager::m_n_tgcRE
unsigned int m_n_tgcRE
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:211
RpcIdHelper
Definition: RpcIdHelper.h:51
MuonGM::MuonDetectorManager::mmIdenToArrayIdx
int mmIdenToArrayIdx(const Identifier &id) const
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:276
MuonGM::MuonDetectorManager::m_DBMuonVersion
std::string m_DBMuonVersion
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:196
MuonGM::MuonDetectorManager::nMdtRE
unsigned int nMdtRE() const
Number of Mdt ReadoutElements.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:262
MuonGM::MuonDetectorManager::m_n_mdtRE
unsigned int m_n_mdtRE
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:208
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:646
MuonGM::MuonDetectorManager::m_n_mdtDE
unsigned int m_n_mdtDE
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:215
MuonGM::MuonDetectorManager::IncludeCutoutsBogFlag
int IncludeCutoutsBogFlag() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:255
MuonGM::MuonDetectorManager::getTgcReadoutElement
const TgcReadoutElement * getTgcReadoutElement(const Identifier &id) const
access via extended identifier (requires unpacking)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:249
StgcStripCalculator.h
MuonGM::MuonDetectorManager::BOF
@ BOF
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:178
MuonGM::MuonDetectorManager::m_n_rpcRE
unsigned int m_n_rpcRE
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:210
GeoPrimitives.h
MuonGM::MuonDetectorManager::getMMPassivation
const NswPassivationDbData * getMMPassivation() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:167
MuonGM::MuonDetectorManager::nCscDE
unsigned int nCscDE() const
Number of Csc DetectorElements.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:270
MuonGM::MuonDetectorManager::BMS
@ BMS
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:178
CorrContainer.h
NswAsBuiltDbData.h
MuonGM::MuonDetectorManager::cscIdentToArrayIdx
int cscIdentToArrayIdx(const Identifier &id) const
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:316
MuonGM::MuonDetectorManager::updateDeformations
StatusCode updateDeformations(const BLineContainer &a)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:435
NswPassivationDbData
Definition: NswPassivationDbData.h:20
MuonGM::MuonDetectorManager::getMdtReadoutElement
const MdtReadoutElement * getMdtReadoutElement(const Identifier &id) const
access via extended identifier (requires unpacking)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:206
MuonGM::MuonDetectorManager::m_mmcArray
std::vector< std::unique_ptr< MMReadoutElement > > m_mmcArray
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:205
MuonGM::MdtReadoutElement
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MdtReadoutElement.h:51
MuonGM::MuonDetectorManager::m_minimalgeo
int m_minimalgeo
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:187
NswPassivationDbData.h
lumiFormat.i
int i
Definition: lumiFormat.py:85
MuonGM::MuonDetectorManager::rpcStationName
int rpcStationName(const int stationIndex) const
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:652
MuonGM::MuonDetectorManager::m_includeCutoutsBog
int m_includeCutoutsBog
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:189
MuonGM::MuonDetectorManager::m_rpcIdxToStat
std::map< int, int > m_rpcIdxToStat
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:227
MuonGM::MuonDetectorManager::getCscReadoutElement
const CscReadoutElement * getCscReadoutElement(const Identifier &id) const
access via extended identifier (requires unpacking)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:227
MuonGM::MuonDetectorManager::geometryVersion
const std::string & geometryVersion() const
it can be Rome-Initial or P03, or ...
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:257
MuonGM::MuonDetectorManager::m_MuonStationMap
std::map< std::string, std::unique_ptr< MuonStation > > m_MuonStationMap
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:206
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:178
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::MuonDetectorManager::m_stgcAsBuildData
const sTGCAsBuiltData * m_stgcAsBuildData
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:222
MuonGM::MuonStation
Definition: MuonStation.h:51
MuonGM::MuonDetectorManager::setsTGCAsBuilt
void setsTGCAsBuilt(const sTGCAsBuiltData *stgcAsBuilt)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:598
MuonGM::MuonDetectorManager::m_includeCutouts
int m_includeCutouts
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:188
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:178
sTGCAsBuiltData
Class holding the sTGC as built conditions data and applying it. The model consists of four parameter...
Definition: sTGCAsBuiltData.h:27
MuonGM::MuonDetectorManager::stgcIdHelper
const sTgcIdHelper * stgcIdHelper() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:244
MuonGM::MuonDetectorManager::setCutoutsFlag
void setCutoutsFlag(int flag)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:690
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:212
ALineContainer
std::set< ALinePar, std::less<> > ALineContainer
Definition: CorrContainer.h:16
MuonGM::MuonDetectorManager::BIR
@ BIR
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:178
MuonGM::MuonDetectorManager::BOS
@ BOS
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:178
MuonGM::MuonDetectorManager::nsTgcRE
unsigned int nsTgcRE() const
Number of sTgc ReadoutElements.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:266
MuonGM::MuonDetectorManager::setCutoutsBogFlag
void setCutoutsBogFlag(int flag)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:691
MuonGM::MuonDetectorManager::mdtIdHelper
const MdtIdHelper * mdtIdHelper() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:232
MuonGM::MuonDetectorManager::addCscReadoutElement
void addCscReadoutElement(std::unique_ptr< CscReadoutElement > &&reEle)
store the CscReadoutElement using as "key" the identifier
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:216
MuonGM::MuonDetectorManager::mdtIdentToArrayIdx
int mdtIdentToArrayIdx(const Identifier &id) const
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:265
MuonGM::MuonDetectorManager::NTgcStEtaOffset
static constexpr int NTgcStEtaOffset
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:161
MdtAsBuiltContainer
std::set< MdtAsBuiltPar, std::less<> > MdtAsBuiltContainer
Definition: CorrContainer.h:24
MuonGM::MuonDetectorManager::setMinimalGeoFlag
void setMinimalGeoFlag(int flag)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:689
MuonGM::MuonDetectorManager::rpcIdHelper
const RpcIdHelper * rpcIdHelper() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:238
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:271
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:296
MuonGM::MuonDetectorManager::NCscStEtaOffset
static constexpr int NCscStEtaOffset
Identifier <-> AMDB conversion constants in use.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:159
GeoModel::TransientConstSharedPtr::get
Obj * get()
Get (non-const) access to the underlying object.
Definition: TransientConstSharedPtr.h:19
MuonGM::MuonDetectorManager::tgcIdHelper
const TgcIdHelper * tgcIdHelper() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:241
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:258
MuonGM::MuonDetectorManager::m_n_cscRE
unsigned int m_n_cscRE
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:209
MuonGM::MuonDetectorManager::BME
@ BME
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:178
MuonGM::MuonDetectorManager::nTgcRE
unsigned int nTgcRE() const
Number of Tgc ReadoutElements.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:265
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:261
MuonGM::MuonDetectorManager::BML
@ BML
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:178
MuonGM::MuonDetectorManager::addTgcReadoutElement
void addTgcReadoutElement(std::unique_ptr< TgcReadoutElement > &&reEle)
store the TgcReadoutElement using as "key" the identifier
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:237
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:139
MuonGM::MuonDetectorManager::nRpcRE
unsigned int nRpcRE() const
Number of Rpc ReadoutElements.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:264
MuonGM::MuonDetectorManager::m_n_rpcDE
unsigned int m_n_rpcDE
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:217
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:86
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:51
MuonGM::MuonDetectorManager::m_mdtArray
std::vector< std::unique_ptr< MdtReadoutElement > > m_mdtArray
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:199
MuonGM::MuonDetectorManager::UNKNOWN
@ UNKNOWN
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:178
MuonGM::MuonDetectorManager::getMMReadoutElement
const MMReadoutElement * getMMReadoutElement(const Identifier &id) const
access via extended identifier (requires unpacking)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:257
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:117
MuonGM::MuonDetectorManager::m_mmPassivation
const NswPassivationDbData * m_mmPassivation
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:223
MuonGM::MuonDetectorManager::setNswAsBuilt
void setNswAsBuilt(const NswAsBuiltDbData *nswAsBuiltData)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:594
MuonGM::MuonDetectorManager::addMMReadoutElement
void addMMReadoutElement(std::unique_ptr< MMReadoutElement > &&reEle)
store the MMReadoutElement using as "key" the identifier
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:175
MuonGM::MuonDetectorManager::updateAlignment
StatusCode updateAlignment(const ALineContainer &a)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:327
NswAsBuilt::StripCalculator
Definition: StripCalculator.h:30
MuonGM::MuonDetectorManager::nCscRE
unsigned int nCscRE() const
Number of Csc ReadoutElements.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:263
MuonGM::MuonDetectorManager::loadStationIndices
void loadStationIndices()
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:657
MuonGM::MuonDetectorManager::BOG
@ BOG
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:178
MuonGM::MuonDetectorManager::addsTgcReadoutElement
void addsTgcReadoutElement(std::unique_ptr< sTgcReadoutElement > &&reEle)
store the sTGCReadoutElement using as "key" the identifier
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:185
MuonGM::MuonDetectorManager::cscIdHelper
const CscIdHelper * cscIdHelper() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:235
sTGCAsBuiltData.h
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:261
MuonGM::MuonDetectorManager::setMMPassivation
void setMMPassivation(const NswPassivationDbData *passiv)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:63
MuonGM::MuonDetectorManager::m_n_cscDE
unsigned int m_n_cscDE
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:216
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:160
IMuonIdHelperSvc.h
MuonGM::MuonDetectorManager::m_n_tgcDE
unsigned int m_n_tgcDE
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:218
MuonGM::MuonDetectorManager::BOL
@ BOL
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:178
NswAsBuiltDbData
Definition: NswAsBuiltDbData.h:17
MuonGM::MuonDetectorManager::BMF
@ BMF
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:178
ServiceHandle< Muon::IMuonIdHelperSvc >
Identifier
Definition: IdentifierFieldParser.cxx:14