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"
21 
22 
23 #ifndef SIMULATIONBASE
26 #endif
27 
28 namespace MuonGM {
29 
30 
31  class MuonReadoutElement;
32  class CscReadoutElement;
33  class TgcReadoutElement;
34  class RpcReadoutElement;
35  class MdtReadoutElement;
36  class sTgcReadoutElement;
37  class MMReadoutElement;
38  class MuonClusterReadoutElement;
39  class MuonStation;
40 
49  class MuonDetectorManager : public GeoVDetectorManager, public AthMessaging {
50  public:
51  // Constructor:
53 
54  // Destructor:
56 
57  // Gets the number of tree tops: required:
58  virtual unsigned int getNumTreeTops() const;
59 
60  // Gets the ith tree top: required:
61  virtual PVConstLink getTreeTop(unsigned int i) const;
62  PVLink getTreeTop(unsigned int i);
63 
64  // Add a tree top:
65  void addTreeTop(PVLink);
66 
67  // Add a XxxReadoutElement to the Collection
68  void addMdtReadoutElement(std::unique_ptr<MdtReadoutElement>&& reEle);
69  void addRpcReadoutElement(std::unique_ptr<RpcReadoutElement>&& reEle);
70  void addTgcReadoutElement(std::unique_ptr<TgcReadoutElement>&& reEle);
71  void addCscReadoutElement(std::unique_ptr<CscReadoutElement>&& reEle);
72  void addsTgcReadoutElement(std::unique_ptr<sTgcReadoutElement>&& reEle);
73  void addMMReadoutElement(std::unique_ptr<MMReadoutElement>&& reEle);
74 
75 
76  // access to Readout Elements
77  const MdtReadoutElement* getMdtReadoutElement(const Identifier& id) const;
78  const RpcReadoutElement* getRpcReadoutElement(const Identifier& id) const;
79  const TgcReadoutElement* getTgcReadoutElement(const Identifier& id) const;
80  const CscReadoutElement* getCscReadoutElement(const Identifier& id) const;
81  const MMReadoutElement* getMMReadoutElement(const Identifier& id) const;
82  const sTgcReadoutElement* getsTgcReadoutElement(const Identifier& id) const;
83  const MuonReadoutElement* getReadoutElement(const Identifier& id) const;
89 
90 
91  const MdtReadoutElement* getMdtReadoutElement(const IdentifierHash& id) const;
92  const RpcReadoutElement* getRpcReadoutElement(const IdentifierHash& id) const;
93  const TgcReadoutElement* getTgcReadoutElement(const IdentifierHash& id) const;
94  const CscReadoutElement* getCscReadoutElement(const IdentifierHash& id) const;
95 
96  inline unsigned int nMuonStation() const;
97 
98  inline unsigned int nMdtRE() const;
99  inline unsigned int nsTgcRE() const;
100  inline unsigned int nMMRE() const;
101  inline unsigned int nCscRE() const;
102  inline unsigned int nRpcRE() const;
103  inline unsigned int nTgcRE() const;
104 
105  inline unsigned int nMdtDE() const;
106  inline unsigned int nCscDE() const;
107  inline unsigned int nRpcDE() const;
108  inline unsigned int nTgcDE() const;
109 
110  // Geometry versioning
111  inline const std::string& geometryVersion() const;
112  void setGeometryVersion(const std::string& version);
113  inline const std::string& get_DBMuonVersion() const;
114  void set_DBMuonVersion(const std::string& version);
115 
116  // Access to identifier helpers
117  inline const MdtIdHelper* mdtIdHelper() const;
118  inline const CscIdHelper* cscIdHelper() const;
119  inline const RpcIdHelper* rpcIdHelper() const;
120  inline const TgcIdHelper* tgcIdHelper() const;
121  inline const sTgcIdHelper* stgcIdHelper() const;
122  inline const MmIdHelper* mmIdHelper() const;
123 
124 
125  void setMinimalGeoFlag(int flag);
126  inline int MinimalGeoFlag() const;
127  void setCutoutsFlag(int flag);
128  inline int IncludeCutoutsFlag() const;
129  void setCutoutsBogFlag(int flag);
130  inline int IncludeCutoutsBogFlag() const;
131 
132  // Add a MuonStation to the list
133  void addMuonStation(std::unique_ptr<MuonStation>&& mst);
134  const MuonStation* getMuonStation(const std::string& stName, int eta, int phi) const;
135  MuonStation* getMuonStation(const std::string& stName, int eta, int phi);
136  //<! access to the MuonStation by StationName, Jzz, Jff (amdb indices!!!! not stationPhi and Eta)
137  static std::string muonStationKey(const std::string& stName, int statEtaIndex, int statPhiIndex) ;
138 
139  void clearCache();
140  void fillCache();
141 
146 
147  void setNswAsBuilt(const NswAsBuiltDbData* nswAsBuiltData);
148 #ifndef SIMULATIONBASE
150  return m_nswAsBuilt ? m_nswAsBuilt->microMegaData.get() : nullptr;
151  }
153  return m_nswAsBuilt ? m_nswAsBuilt->sTgcData.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 
163  // map the RPC station indices (0-NRpcStatType) back to the RpcIdHelper stationNames
164  int rpcStationName(const int stationIndex) const;
165 
166  private:
167  ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{"Muon::MuonIdHelperSvc/MuonIdHelperSvc", "MuonDetectorManager"};
168  void loadStationIndices();
169  unsigned int rpcStationTypeIdx(const int stationName) const; // map the RPC stationNames from the RpcIdHelper to 0-NRpcStatType
170  enum RpcStatType { BML = 0, BMS, BOL, BOS, BMF, BOF, BOG, BME, BIR, BIM, BIL, BIS, UNKNOWN };
172  int rpcIdentToArrayIdx(const Identifier& id) const;
173  int tgcIdentToArrayIdx(const Identifier& id) const;
174  int cscIdentToArrayIdx(const Identifier& id) const;
175  int stgcIdentToArrayIdx(const Identifier& id) const;
176  int mmIdenToArrayIdx(const Identifier& id) const;
177  int mdtIdentToArrayIdx(const Identifier& id) const;
178 
179  int m_minimalgeo{0};
182 
183  std::vector<PVLink> m_envelope; // Tree-top...
184 
185 
186  // Geometry versioning
187  std::string m_geometryVersion{}; // generic name of the Layout
188  std::string m_DBMuonVersion{}; // name of the MuonVersion table-collection in Oracle
189 
190  // 115.6 kBytes.
191  std::vector<std::unique_ptr<MdtReadoutElement>> m_mdtArray;
192  std::vector<std::unique_ptr<CscReadoutElement>> m_cscArray;
193  std::vector<std::unique_ptr<TgcReadoutElement>> m_tgcArray;
194 
195  std::vector<std::unique_ptr<RpcReadoutElement>> m_rpcArray;
196  std::vector<std::unique_ptr<sTgcReadoutElement>> m_stgArray;
197  std::vector<std::unique_ptr<MMReadoutElement>> m_mmcArray;
198  std::map<std::string, std::unique_ptr<MuonStation> > m_MuonStationMap;
199 
200  unsigned int m_n_mdtRE{0};
201  unsigned int m_n_cscRE{0};
202  unsigned int m_n_rpcRE{0};
203  unsigned int m_n_tgcRE{0};
204  unsigned int m_n_stgRE{0};
205  unsigned int m_n_mmcRE{0};
206 
207  unsigned int m_n_mdtDE{0};
208  unsigned int m_n_cscDE{0};
209  unsigned int m_n_rpcDE{0};
210  unsigned int m_n_tgcDE{0};
211 
212 
215  std::map<int, int> m_rpcStatToIdx;
216  std::map<int, int> m_rpcIdxToStat;
217 
218 
219  };
220 
222  return m_idHelperSvc->hasMDT() ? &(m_idHelperSvc->mdtIdHelper()) : nullptr;
223  }
225  return m_idHelperSvc->hasCSC() ? &(m_idHelperSvc->cscIdHelper()) : nullptr;
226  }
228  return m_idHelperSvc->hasRPC() ? &(m_idHelperSvc->rpcIdHelper()): nullptr;
229  }
231  return m_idHelperSvc->hasTGC() ? &(m_idHelperSvc->tgcIdHelper()) : nullptr;
232  }
234  return m_idHelperSvc->hasSTGC() ? &(m_idHelperSvc->stgcIdHelper()) : nullptr;
235  }
237  return m_idHelperSvc->hasMM() ? &(m_idHelperSvc->mmIdHelper()) : nullptr;
238  }
239 
240 
241 
245 
246  const std::string& MuonDetectorManager::geometryVersion() const { return m_geometryVersion; }
247  const std::string& MuonDetectorManager::get_DBMuonVersion() const { return m_DBMuonVersion; }
248 
249 
250  unsigned int MuonDetectorManager::nMuonStation() const { return m_MuonStationMap.size(); }
251  unsigned int MuonDetectorManager::nMdtRE() const { return m_n_mdtRE; }
252  unsigned int MuonDetectorManager::nCscRE() const { return m_n_cscRE; }
253  unsigned int MuonDetectorManager::nRpcRE() const { return m_n_rpcRE; }
254  unsigned int MuonDetectorManager::nTgcRE() const { return m_n_tgcRE; }
255  unsigned int MuonDetectorManager::nsTgcRE() const { return m_n_stgRE; }
256  unsigned int MuonDetectorManager::nMMRE() const { return m_n_mmcRE; }
257 
258  unsigned int MuonDetectorManager::nMdtDE() const { return m_n_mdtDE; }
259  unsigned int MuonDetectorManager::nCscDE() const { return m_n_cscDE; }
260  unsigned int MuonDetectorManager::nRpcDE() const { return m_n_rpcDE; }
261  unsigned int MuonDetectorManager::nTgcDE() const { return m_n_tgcDE; }
262 
263 } // namespace MuonGM
264 
265 #ifndef GAUDI_NEUTRAL
266 namespace MuonGM {
267  class MuonDetectorManager;
268 }
271 #endif
272 
273 #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:681
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:192
MuonGM::MuonDetectorManager::nMdtDE
unsigned int nMdtDE() const
Number of Mdt DetectorElements.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:258
MuonGM::MuonDetectorManager::MinimalGeoFlag
int MinimalGeoFlag() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:242
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:183
MuonGM::MuonDetectorManager::m_rpcArray
std::vector< std::unique_ptr< RpcReadoutElement > > m_rpcArray
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:195
MuonGM::MuonDetectorManager::IncludeCutoutsFlag
int IncludeCutoutsFlag() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:243
MuonGM::MuonDetectorManager::RpcStatType
RpcStatType
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:170
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:64
MuonGM::MuonDetectorManager::m_nswAsBuilt
const NswAsBuiltDbData * m_nswAsBuilt
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:213
MuonGM::MuonDetectorManager::m_stgArray
std::vector< std::unique_ptr< sTgcReadoutElement > > m_stgArray
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:196
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:256
TgcIdHelper
Definition: TgcIdHelper.h:50
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:79
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:187
MuonGM::MuonDetectorManager::m_rpcStatToIdx
std::map< int, int > m_rpcStatToIdx
RPC name caches.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:215
MuonGM::MuonDetectorManager::nTgcDE
unsigned int nTgcDE() const
Number of Tgc DetectorElements.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:261
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:167
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:54
MuonGM::MuonDetectorManager::m_tgcArray
std::vector< std::unique_ptr< TgcReadoutElement > > m_tgcArray
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:193
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:170
MuonGM::CscReadoutElement
Definition: CscReadoutElement.h:56
MuonGM::MuonDetectorManager::mmIdHelper
const MmIdHelper * mmIdHelper() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:236
MuonGM::MuonDetectorManager::getMMAsBuiltCalculator
const NswAsBuilt::StripCalculator * getMMAsBuiltCalculator() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:149
MuonGM::MuonDetectorManager::setGeometryVersion
void setGeometryVersion(const std::string &version)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:682
MuonGM::MuonDetectorManager::m_n_mmcRE
unsigned int m_n_mmcRE
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:205
MuonGM::MuonDetectorManager::m_n_tgcRE
unsigned int m_n_tgcRE
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:203
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:188
MuonGM::MuonDetectorManager::nMdtRE
unsigned int nMdtRE() const
Number of Mdt ReadoutElements.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:251
MuonGM::MuonDetectorManager::m_n_mdtRE
unsigned int m_n_mdtRE
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:200
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:640
MuonGM::MuonDetectorManager::getStgcAsBuiltCalculator
const NswAsBuilt::StgcStripCalculator * getStgcAsBuiltCalculator() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:152
MuonGM::MuonDetectorManager::m_n_mdtDE
unsigned int m_n_mdtDE
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:207
MuonGM::MuonDetectorManager::IncludeCutoutsBogFlag
int IncludeCutoutsBogFlag() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:244
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:170
MuonGM::MuonDetectorManager::m_n_rpcRE
unsigned int m_n_rpcRE
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:202
GeoPrimitives.h
MuonGM::MuonDetectorManager::nCscDE
unsigned int nCscDE() const
Number of Csc DetectorElements.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:259
MuonGM::MuonDetectorManager::BMS
@ BMS
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:170
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:197
MuonGM::MdtReadoutElement
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MdtReadoutElement.h:50
MuonGM::MuonDetectorManager::m_minimalgeo
int m_minimalgeo
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:179
lumiFormat.i
int i
Definition: lumiFormat.py:92
MuonGM::MuonDetectorManager::rpcStationName
int rpcStationName(const int stationIndex) const
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:646
MuonGM::MuonDetectorManager::m_includeCutoutsBog
int m_includeCutoutsBog
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:181
MuonGM::MuonDetectorManager::m_rpcIdxToStat
std::map< int, int > m_rpcIdxToStat
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:216
MuonGM::MuonDetectorManager::getCscReadoutElement
const CscReadoutElement * getCscReadoutElement(const Identifier &id) const
access via extended identifier (requires unpacking)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:225
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
MuonGM::MuonDetectorManager::geometryVersion
const std::string & geometryVersion() const
it can be Rome-Initial or P03, or ...
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:246
MuonGM::MuonDetectorManager::m_MuonStationMap
std::map< std::string, std::unique_ptr< MuonStation > > m_MuonStationMap
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:198
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:170
MuonGM::sTgcReadoutElement
An sTgcReadoutElement corresponds to a single STGC module; therefore typicaly a barrel muon station c...
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/sTgcReadoutElement.h:28
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:180
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:170
MuonGM::MuonDetectorManager::stgcIdHelper
const sTgcIdHelper * stgcIdHelper() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:233
MuonGM::MuonDetectorManager::setCutoutsFlag
void setCutoutsFlag(int flag)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:684
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:204
ALineContainer
std::set< ALinePar, std::less<> > ALineContainer
Definition: CorrContainer.h:16
MuonGM::MuonDetectorManager::BIR
@ BIR
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:170
MuonGM::MuonDetectorManager::BOS
@ BOS
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:170
MuonGM::MuonDetectorManager::nsTgcRE
unsigned int nsTgcRE() const
Number of sTgc ReadoutElements.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:255
MuonGM::MuonDetectorManager::setCutoutsBogFlag
void setCutoutsBogFlag(int flag)
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:685
MuonGM::MuonDetectorManager::mdtIdHelper
const MdtIdHelper * mdtIdHelper() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:221
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: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:683
MuonGM::MuonDetectorManager::rpcIdHelper
const RpcIdHelper * rpcIdHelper() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:227
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:260
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:159
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:230
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:247
MuonGM::MuonDetectorManager::m_n_cscRE
unsigned int m_n_cscRE
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:201
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:170
MuonGM::MuonDetectorManager::nTgcRE
unsigned int nTgcRE() const
Number of Tgc ReadoutElements.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:254
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:250
MuonGM::MuonDetectorManager::BML
@ BML
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:170
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:253
MuonGM::MuonDetectorManager::m_n_rpcDE
unsigned int m_n_rpcDE
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:209
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:49
MuonGM::MuonDetectorManager::m_mdtArray
std::vector< std::unique_ptr< MdtReadoutElement > > m_mdtArray
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:191
MuonGM::MuonDetectorManager::UNKNOWN
@ UNKNOWN
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:170
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:23
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::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:252
MuonGM::MuonDetectorManager::loadStationIndices
void loadStationIndices()
Definition: MuonDetDescr/MuonReadoutGeometry/src/MuonDetectorManager.cxx:651
MuonGM::MuonDetectorManager::BOG
@ BOG
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:170
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:224
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:208
IdentifierHash
Definition: IdentifierHash.h:38
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:210
MuonGM::MuonDetectorManager::BOL
@ BOL
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:170
NswAsBuiltDbData
Definition: NswAsBuiltDbData.h:17
MuonGM::MuonDetectorManager::BMF
@ BMF
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:170
ServiceHandle< Muon::IMuonIdHelperSvc >