ATLAS Offline Software
MdtReadoutGeomTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUONGEOMODELR4_MDTREAOUDGEOMTOOL_H
6 #define MUONGEOMODELR4_MDTREAOUDGEOMTOOL_H
7 
10 
15 
16 namespace MuonGMR4 {
17 
19  virtual public IMuonReadoutGeomTool {
20  public:
21  // Constructor
22  MdtReadoutGeomTool(const std::string &type, const std::string &name,
23  const IInterface *parent);
24 
25 
27 
28  private:
30  this, "IdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
31 
33  "GeoDbTagSvc"};
34 
35  PublicToolHandle<IMuonGeoUtilityTool> m_geoUtilTool{this,"GeoUtilTool", "" };
37  using ParamBookTable = std::map<std::string, parameterBook>;
38 
39  struct FactoryCache {
43  std::set<Identifier> readoutOnLeftSide{};
44 
46  };
47 
49  StatusCode readParameterBook(FactoryCache& facCache) const;
51  StatusCode loadDimensions(FactoryCache& facCache, MdtReadoutElement::defineArgs& args) const;
52 
53 };
54 
55 } // namespace MuonGMR4
56 #endif
MuonGMR4::MdtReadoutGeomTool::ParamBookTable
std::map< std::string, parameterBook > ParamBookTable
Definition: MdtReadoutGeomTool.h:37
MuonGMR4::parameterBook
MmReadoutElement::parameterBook parameterBook
Definition: MmReadoutElement.cxx:18
MuonGMR4::MdtReadoutGeomTool::FactoryCache::tubeLayers
MdtTubeLayerSet tubeLayers
Definition: MdtReadoutGeomTool.h:45
MuonGMR4::MuonDetectorManager
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonDetectorManager.h:61
MuonGMR4::MdtReadoutGeomTool::FactoryCache
Definition: MdtReadoutGeomTool.h:39
MuonGMR4::MdtReadoutGeomTool::m_geoDbTagSvc
ServiceHandle< IGeoDbTagSvc > m_geoDbTagSvc
Definition: MdtReadoutGeomTool.h:32
MuonGMR4::MdtReadoutGeomTool::readParameterBook
StatusCode readParameterBook(FactoryCache &facCache) const
Retrieves the auxillary tables from the database.
Definition: MdtReadoutGeomTool.cxx:172
MuonGMR4::MdtReadoutGeomTool::m_geoUtilTool
PublicToolHandle< IMuonGeoUtilityTool > m_geoUtilTool
Definition: MdtReadoutGeomTool.h:35
BchCleanup.mgr
mgr
Definition: BchCleanup.py:294
MuonGMR4
A muon chamber is a collection of readout elements belonging to the same station.
Definition: ChamberAssembleTool.h:16
MuonGMR4::IMuonReadoutGeomTool
Definition: IMuonReaoutGeomTool.h:20
MuonGMR4::MdtReadoutElement::parameterBook
Set of parameters to describe a MDT chamber.
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MdtReadoutElement.h:20
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MuonGMR4::MdtReadoutGeomTool::MdtReadoutGeomTool
MdtReadoutGeomTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: MdtReadoutGeomTool.cxx:28
AthAlgTool.h
MuonGMR4::MdtReadoutGeomTool
Definition: MdtReadoutGeomTool.h:19
test_pyathena.parent
parent
Definition: test_pyathena.py:15
MuonGMR4::MdtReadoutGeomTool::FactoryCache::readoutOnLeftSide
std::set< Identifier > readoutOnLeftSide
List of chambers that have the readout chip at negative Z.
Definition: MdtReadoutGeomTool.h:43
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
MuonGMR4::MdtReadoutGeomTool::buildReadOutElements
StatusCode buildReadOutElements(MuonDetectorManager &mgr) override final
Retrieves the GeoModel from the GeoModelSvc and append the ReadoutElements of the Given MuonDetectorT...
Definition: MdtReadoutGeomTool.cxx:108
MuonGMR4::MdtReadoutGeomTool::loadDimensions
StatusCode loadDimensions(FactoryCache &facCache, MdtReadoutElement::defineArgs &args) const
Loads the chamber dimensions from GeoModel.
Definition: MdtReadoutGeomTool.cxx:35
MuonGMR4::MdtTubeLayerSet
std::set< MdtTubeLayerPtr, MdtTubeLayerSorter > MdtTubeLayerSet
Definition: MdtTubeLayer.h:23
MdtReadoutElement.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
AthAlgTool
Definition: AthAlgTool.h:26
IMuonReaoutGeomTool.h
IMuonGeoUtilityTool.h
IMuonIdHelperSvc.h
python.CaloScaleNoiseConfig.args
args
Definition: CaloScaleNoiseConfig.py:80
IGeoDbTagSvc.h
MuonGMR4::MdtReadoutGeomTool::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: MdtReadoutGeomTool.h:29
ServiceHandle< Muon::IMuonIdHelperSvc >
MuonGMR4::MdtReadoutElement::defineArgs
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MdtReadoutElement.h:69
MuonGMR4::MdtReadoutGeomTool::FactoryCache::parBook
ParamBookTable parBook
Definition: MdtReadoutGeomTool.h:40