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  const std::vector<const MuonStation*> getMuonStations() const;
141 
142  void clearCache();
143  void fillCache();
144 
149 
150  void setNswAsBuilt(const NswAsBuiltDbData* nswAsBuiltData);
151  void setsTGCAsBuilt(const sTGCAsBuiltData* stgcAsBuilt);
152 #ifndef SIMULATIONBASE
154  return m_nswAsBuilt ? m_nswAsBuilt->microMegaData.get() : nullptr;
155  }
156 #endif
157 
160  static constexpr int NCscStEtaOffset = 1;
161  static constexpr int NTgcStatTypeOff = -41;
162  static constexpr int NTgcStEtaOffset = 5;
163 
165  return m_stgcAsBuildData;
166  }
167 
169  return m_mmPassivation;
170  }
171  void setMMPassivation(const NswPassivationDbData* passiv);
172  // map the RPC station indices (0-NRpcStatType) back to the RpcIdHelper stationNames
173  int rpcStationName(const int stationIndex) const;
174 
175  private:
176  ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{"Muon::MuonIdHelperSvc/MuonIdHelperSvc", "MuonDetectorManager"};
177  void loadStationIndices();
178  unsigned int rpcStationTypeIdx(const int stationName) const; // map the RPC stationNames from the RpcIdHelper to 0-NRpcStatType
179  enum RpcStatType { BML = 0, BMS, BOL, BOS, BMF, BOF, BOG, BME, BIR, BIM, BIL, BIS, UNKNOWN };
181  int rpcIdentToArrayIdx(const Identifier& id) const;
182  int tgcIdentToArrayIdx(const Identifier& id) const;
183  int cscIdentToArrayIdx(const Identifier& id) const;
184  int stgcIdentToArrayIdx(const Identifier& id) const;
185  int mmIdenToArrayIdx(const Identifier& id) const;
186  int mdtIdentToArrayIdx(const Identifier& id) const;
187 
188  int m_minimalgeo{0};
191 
192  std::vector<PVLink> m_envelope; // Tree-top...
193 
194 
195  // Geometry versioning
196  std::string m_geometryVersion{}; // generic name of the Layout
197  std::string m_DBMuonVersion{}; // name of the MuonVersion table-collection in Oracle
198 
199  // 115.6 kBytes.
200  std::vector<std::unique_ptr<MdtReadoutElement>> m_mdtArray;
201  std::vector<std::unique_ptr<CscReadoutElement>> m_cscArray;
202  std::vector<std::unique_ptr<TgcReadoutElement>> m_tgcArray;
203 
204  std::vector<std::unique_ptr<RpcReadoutElement>> m_rpcArray;
205  std::vector<std::unique_ptr<sTgcReadoutElement>> m_stgArray;
206  std::vector<std::unique_ptr<MMReadoutElement>> m_mmcArray;
207  std::map<std::string, std::unique_ptr<MuonStation> > m_MuonStationMap;
208 
209  unsigned int m_n_mdtRE{0};
210  unsigned int m_n_cscRE{0};
211  unsigned int m_n_rpcRE{0};
212  unsigned int m_n_tgcRE{0};
213  unsigned int m_n_stgRE{0};
214  unsigned int m_n_mmcRE{0};
215 
216  unsigned int m_n_mdtDE{0};
217  unsigned int m_n_cscDE{0};
218  unsigned int m_n_rpcDE{0};
219  unsigned int m_n_tgcDE{0};
220 
221 
225 
227  std::map<int, int> m_rpcStatToIdx;
228  std::map<int, int> m_rpcIdxToStat;
229 
230 
231  };
232 
234  return m_idHelperSvc->hasMDT() ? &(m_idHelperSvc->mdtIdHelper()) : nullptr;
235  }
237  return m_idHelperSvc->hasCSC() ? &(m_idHelperSvc->cscIdHelper()) : nullptr;
238  }
240  return m_idHelperSvc->hasRPC() ? &(m_idHelperSvc->rpcIdHelper()): nullptr;
241  }
243  return m_idHelperSvc->hasTGC() ? &(m_idHelperSvc->tgcIdHelper()) : nullptr;
244  }
246  return m_idHelperSvc->hasSTGC() ? &(m_idHelperSvc->stgcIdHelper()) : nullptr;
247  }
249  return m_idHelperSvc->hasMM() ? &(m_idHelperSvc->mmIdHelper()) : nullptr;
250  }
251 
252 
253 
257 
258  const std::string& MuonDetectorManager::geometryVersion() const { return m_geometryVersion; }
259  const std::string& MuonDetectorManager::get_DBMuonVersion() const { return m_DBMuonVersion; }
260 
261 
262  unsigned int MuonDetectorManager::nMuonStation() const { return m_MuonStationMap.size(); }
263  unsigned int MuonDetectorManager::nMdtRE() const { return m_n_mdtRE; }
264  unsigned int MuonDetectorManager::nCscRE() const { return m_n_cscRE; }
265  unsigned int MuonDetectorManager::nRpcRE() const { return m_n_rpcRE; }
266  unsigned int MuonDetectorManager::nTgcRE() const { return m_n_tgcRE; }
267  unsigned int MuonDetectorManager::nsTgcRE() const { return m_n_stgRE; }
268  unsigned int MuonDetectorManager::nMMRE() const { return m_n_mmcRE; }
269 
270  unsigned int MuonDetectorManager::nMdtDE() const { return m_n_mdtDE; }
271  unsigned int MuonDetectorManager::nCscDE() const { return m_n_cscDE; }
272  unsigned int MuonDetectorManager::nRpcDE() const { return m_n_rpcDE; }
273  unsigned int MuonDetectorManager::nTgcDE() const { return m_n_tgcDE; }
274 
275 } // namespace MuonGM
276 
277 #ifndef GAUDI_NEUTRAL
278 namespace MuonGM {
279  class MuonDetectorManager;
280 }
283 #endif
284 
285 #endif
MuonGM::MuonDetectorManager::getsTGCAsBuilt
const sTGCAsBuiltData * getsTGCAsBuilt() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:164
MuonGM::MuonDetectorManager::getRpcReadoutElement
const RpcReadoutElement * getRpcReadoutElement(const Identifier &id) const
access via extended identifier (requires unpacking)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:181
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:698
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:206
MuonGM::MuonDetectorManager::m_cscArray
std::vector< std::unique_ptr< CscReadoutElement > > m_cscArray
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:201
MuonGM::MuonDetectorManager::nMdtDE
unsigned int nMdtDE() const
Number of Mdt DetectorElements.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:270
MuonGM::MuonDetectorManager::MinimalGeoFlag
int MinimalGeoFlag() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:254
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:192
MuonGM::MuonDetectorManager::m_rpcArray
std::vector< std::unique_ptr< RpcReadoutElement > > m_rpcArray
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:204
MuonGM::MuonDetectorManager::IncludeCutoutsFlag
int IncludeCutoutsFlag() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:255
MuonGM::MuonDetectorManager::RpcStatType
RpcStatType
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:179
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:67
MuonGM::MuonDetectorManager::m_nswAsBuilt
const NswAsBuiltDbData * m_nswAsBuilt
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:222
MuonGM::MuonDetectorManager::m_stgArray
std::vector< std::unique_ptr< sTgcReadoutElement > > m_stgArray
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:205
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:317
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:268
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:196
MuonGM::MuonDetectorManager::m_rpcStatToIdx
std::map< int, int > m_rpcStatToIdx
RPC name caches.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:227
MuonGM::MuonDetectorManager::nTgcDE
unsigned int nTgcDE() const
Number of Tgc DetectorElements.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:273
MuonGM::MuonDetectorManager::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:176
MuonGM::MuonDetectorManager::updateCSCInternalAlignmentMap
StatusCode updateCSCInternalAlignmentMap(const ALineContainer &cscIntAline)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:524
MuonGM::MuonDetectorManager::updateMdtAsBuiltParams
StatusCode updateMdtAsBuiltParams(const MdtAsBuiltContainer &a)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:568
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:297
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:202
MuonGM::MuonDetectorManager::addRpcReadoutElement
void addRpcReadoutElement(std::unique_ptr< RpcReadoutElement > &&reEle)
store the RpcReadoutElement using as "key" the identifier
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:170
MuonGM::MuonDetectorManager::BIM
@ BIM
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:179
MuonGM::CscReadoutElement
Definition: CscReadoutElement.h:56
MuonGM::MuonDetectorManager::mmIdHelper
const MmIdHelper * mmIdHelper() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:248
MuonGM::MuonDetectorManager::getMMAsBuiltCalculator
const NswAsBuilt::StripCalculator * getMMAsBuiltCalculator() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:153
MuonGM::MuonDetectorManager::setGeometryVersion
void setGeometryVersion(const std::string &version)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:699
MuonGM::MuonDetectorManager::m_n_mmcRE
unsigned int m_n_mmcRE
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:214
MuonGM::MuonDetectorManager::m_n_tgcRE
unsigned int m_n_tgcRE
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:212
RpcIdHelper
Definition: RpcIdHelper.h:51
MuonGM::MuonDetectorManager::mmIdenToArrayIdx
int mmIdenToArrayIdx(const Identifier &id) const
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:287
MuonGM::MuonDetectorManager::m_DBMuonVersion
std::string m_DBMuonVersion
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:197
MuonGM::MuonDetectorManager::nMdtRE
unsigned int nMdtRE() const
Number of Mdt ReadoutElements.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:263
MuonGM::MuonDetectorManager::m_n_mdtRE
unsigned int m_n_mdtRE
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:209
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:657
MuonGM::MuonDetectorManager::m_n_mdtDE
unsigned int m_n_mdtDE
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:216
MuonGM::MuonDetectorManager::IncludeCutoutsBogFlag
int IncludeCutoutsBogFlag() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:256
MuonGM::MuonDetectorManager::getTgcReadoutElement
const TgcReadoutElement * getTgcReadoutElement(const Identifier &id) const
access via extended identifier (requires unpacking)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:260
StgcStripCalculator.h
MuonGM::MuonDetectorManager::BOF
@ BOF
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:179
MuonGM::MuonDetectorManager::m_n_rpcRE
unsigned int m_n_rpcRE
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:211
GeoPrimitives.h
MuonGM::MuonDetectorManager::getMMPassivation
const NswPassivationDbData * getMMPassivation() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:168
MuonGM::MuonDetectorManager::nCscDE
unsigned int nCscDE() const
Number of Csc DetectorElements.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:271
MuonGM::MuonDetectorManager::BMS
@ BMS
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:179
CorrContainer.h
NswAsBuiltDbData.h
MuonGM::MuonDetectorManager::cscIdentToArrayIdx
int cscIdentToArrayIdx(const Identifier &id) const
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:327
MuonGM::MuonDetectorManager::updateDeformations
StatusCode updateDeformations(const BLineContainer &a)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:446
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:217
MuonGM::MuonDetectorManager::m_mmcArray
std::vector< std::unique_ptr< MMReadoutElement > > m_mmcArray
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:206
MuonGM::MdtReadoutElement
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MdtReadoutElement.h:51
MuonGM::MuonDetectorManager::m_minimalgeo
int m_minimalgeo
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:188
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:663
MuonGM::MuonDetectorManager::m_includeCutoutsBog
int m_includeCutoutsBog
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:190
MuonGM::MuonDetectorManager::m_rpcIdxToStat
std::map< int, int > m_rpcIdxToStat
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:228
MuonGM::MuonDetectorManager::getCscReadoutElement
const CscReadoutElement * getCscReadoutElement(const Identifier &id) const
access via extended identifier (requires unpacking)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:238
MuonGM::MuonDetectorManager::geometryVersion
const std::string & geometryVersion() const
it can be Rome-Initial or P03, or ...
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:258
MuonGM::MuonDetectorManager::getMuonStations
const std::vector< const MuonStation * > getMuonStations() const
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:159
MuonGM::MuonDetectorManager::m_MuonStationMap
std::map< std::string, std::unique_ptr< MuonStation > > m_MuonStationMap
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:207
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:179
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:223
MuonGM::MuonStation
Definition: MuonStation.h:51
MuonGM::MuonDetectorManager::setsTGCAsBuilt
void setsTGCAsBuilt(const sTGCAsBuiltData *stgcAsBuilt)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:609
MuonGM::MuonDetectorManager::m_includeCutouts
int m_includeCutouts
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:189
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:179
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:245
MuonGM::MuonDetectorManager::setCutoutsFlag
void setCutoutsFlag(int flag)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:701
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:213
ALineContainer
std::set< ALinePar, std::less<> > ALineContainer
Definition: CorrContainer.h:16
MuonGM::MuonDetectorManager::BIR
@ BIR
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:179
MuonGM::MuonDetectorManager::BOS
@ BOS
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:179
MuonGM::MuonDetectorManager::nsTgcRE
unsigned int nsTgcRE() const
Number of sTgc ReadoutElements.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:267
MuonGM::MuonDetectorManager::setCutoutsBogFlag
void setCutoutsBogFlag(int flag)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:702
MuonGM::MuonDetectorManager::mdtIdHelper
const MdtIdHelper * mdtIdHelper() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:233
MuonGM::MuonDetectorManager::addCscReadoutElement
void addCscReadoutElement(std::unique_ptr< CscReadoutElement > &&reEle)
store the CscReadoutElement using as "key" the identifier
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:227
MuonGM::MuonDetectorManager::mdtIdentToArrayIdx
int mdtIdentToArrayIdx(const Identifier &id) const
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:276
MuonGM::MuonDetectorManager::NTgcStEtaOffset
static constexpr int NTgcStEtaOffset
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:162
MdtAsBuiltContainer
std::set< MdtAsBuiltPar, std::less<> > MdtAsBuiltContainer
Definition: CorrContainer.h:24
MuonGM::MuonDetectorManager::setMinimalGeoFlag
void setMinimalGeoFlag(int flag)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:700
MuonGM::MuonDetectorManager::rpcIdHelper
const RpcIdHelper * rpcIdHelper() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:239
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:272
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:307
MuonGM::MuonDetectorManager::NCscStEtaOffset
static constexpr int NCscStEtaOffset
Identifier <-> AMDB conversion constants in use.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:160
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:242
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:259
MuonGM::MuonDetectorManager::m_n_cscRE
unsigned int m_n_cscRE
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:210
MuonGM::MuonDetectorManager::BME
@ BME
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:179
MuonGM::MuonDetectorManager::nTgcRE
unsigned int nTgcRE() const
Number of Tgc ReadoutElements.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:266
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:262
MuonGM::MuonDetectorManager::BML
@ BML
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:179
MuonGM::MuonDetectorManager::addTgcReadoutElement
void addTgcReadoutElement(std::unique_ptr< TgcReadoutElement > &&reEle)
store the TgcReadoutElement using as "key" the identifier
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:248
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:265
MuonGM::MuonDetectorManager::m_n_rpcDE
unsigned int m_n_rpcDE
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:218
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:200
MuonGM::MuonDetectorManager::UNKNOWN
@ UNKNOWN
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:179
MuonGM::MuonDetectorManager::getMMReadoutElement
const MMReadoutElement * getMMReadoutElement(const Identifier &id) const
access via extended identifier (requires unpacking)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:268
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:224
MuonGM::MuonDetectorManager::setNswAsBuilt
void setNswAsBuilt(const NswAsBuiltDbData *nswAsBuiltData)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:605
MuonGM::MuonDetectorManager::addMMReadoutElement
void addMMReadoutElement(std::unique_ptr< MMReadoutElement > &&reEle)
store the MMReadoutElement using as "key" the identifier
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:186
MuonGM::MuonDetectorManager::updateAlignment
StatusCode updateAlignment(const ALineContainer &a)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:338
NswAsBuilt::StripCalculator
Definition: StripCalculator.h:30
MuonGM::MuonDetectorManager::nCscRE
unsigned int nCscRE() const
Number of Csc ReadoutElements.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:264
MuonGM::MuonDetectorManager::loadStationIndices
void loadStationIndices()
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:668
MuonGM::MuonDetectorManager::BOG
@ BOG
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:179
MuonGM::MuonDetectorManager::addsTgcReadoutElement
void addsTgcReadoutElement(std::unique_ptr< sTgcReadoutElement > &&reEle)
store the sTGCReadoutElement using as "key" the identifier
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:196
MuonGM::MuonDetectorManager::cscIdHelper
const CscIdHelper * cscIdHelper() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:236
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:272
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:217
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:161
IMuonIdHelperSvc.h
MuonGM::MuonDetectorManager::m_n_tgcDE
unsigned int m_n_tgcDE
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:219
MuonGM::MuonDetectorManager::BOL
@ BOL
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:179
NswAsBuiltDbData
Definition: NswAsBuiltDbData.h:17
MuonGM::MuonDetectorManager::BMF
@ BMF
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:179
ServiceHandle< Muon::IMuonIdHelperSvc >
Identifier
Definition: IdentifierFieldParser.cxx:14