ATLAS Offline Software
MuonPhaseII/MuonDetDescr/MuonGeoModelR4/MuonGeoModelR4/MuonDetectorTool.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_MUONDETECTORTOOL_H
6 #define MUONGEOMODELR4_MUONDETECTORTOOL_H
7 
15 
16 namespace MuonGMR4 {
17 class MuonDetectorManager;
18 class MuonDetectorTool final : public GeoModelTool {
19 
20  public:
21  // Constructor
22  MuonDetectorTool(const std::string &type, const std::string &name,
23  const IInterface *parent);
24 
25  // Destructor
26  virtual ~MuonDetectorTool() override final;
27 
28  // build the geometry
29  virtual StatusCode create() override final;
30 
31  // Dereference tree tops and drop readout objects
32  virtual StatusCode clear() override final;
33 
34  private:
36  Gaudi::Property<std::vector<std::string>> m_treeTopNodes{this, "TreeTopNodes",
37  {"MuonBarrel", "NSW", "MuonEndcap_sideA", "MuonEndcap_sideC", "Muon"}};
39  this, "IdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
40 
41  ToolHandleArray<IMuonReadoutGeomTool> m_detTechTools{
42  this,
43  "ReadoutEleBuilders",
44  {},
45  "SubTools to build the readoutElements for each technology"};
46 
48  "GeoDbTagSvc"};
50 };
51 } // namespace MuonGMR4
52 #endif
MuonGMR4::MuonDetectorTool::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelR4/MuonGeoModelR4/MuonDetectorTool.h:38
MuonGMR4::MuonDetectorTool::m_geoDbTagSvc
ServiceHandle< IGeoDbTagSvc > m_geoDbTagSvc
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelR4/MuonGeoModelR4/MuonDetectorTool.h:47
MuonGMR4::MuonDetectorTool::MuonDetectorTool
MuonDetectorTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelR4/src/MuonDetectorTool.cxx:16
MuonGMR4::MuonDetectorTool::m_manager
MuonDetectorManager * m_manager
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelR4/MuonGeoModelR4/MuonDetectorTool.h:49
MuonGMR4::MuonDetectorManager
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonDetectorManager.h:61
MuonGMR4::MuonDetectorTool::m_detTechTools
ToolHandleArray< IMuonReadoutGeomTool > m_detTechTools
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelR4/MuonGeoModelR4/MuonDetectorTool.h:41
GeoModelTool.h
Property
Support class for PropertyMgr.
Definition: Property.h:23
MuonGMR4::MuonDetectorTool
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelR4/MuonGeoModelR4/MuonDetectorTool.h:18
MuonGMR4
A muon chamber is a collection of readout elements belonging to the same station.
Definition: ChamberAssembleTool.h:16
MuonGMR4::MuonDetectorTool::~MuonDetectorTool
virtual ~MuonDetectorTool() override final
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
vector
Definition: MultiHisto.h:13
test_pyathena.parent
parent
Definition: test_pyathena.py:15
GeoModelTool
Definition: GeoModelTool.h:17
MuonGMR4::MuonDetectorTool::create
virtual StatusCode create() override final
Create the Detector Node corresponding to this tool.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelR4/src/MuonDetectorTool.cxx:27
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
Gaudi
=============================================================================
Definition: CaloGPUClusterAndCellDataMonitorOptions.h:273
MuonGMR4::MuonDetectorTool::m_treeTopNodes
Gaudi::Property< std::vector< std::string > > m_treeTopNodes
List of GeoGraphnodes in the tree, that belong to the Muon system.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelR4/MuonGeoModelR4/MuonDetectorTool.h:36
MuonDetectorDefs.h
checker_macros.h
Define macros for attributes used to control the static checker.
IMuonReaoutGeomTool.h
IMuonIdHelperSvc.h
IGeoDbTagSvc.h
ServiceHandle< Muon::IMuonIdHelperSvc >
MuonGMR4::MuonDetectorTool::clear
virtual StatusCode clear() override final
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelR4/src/MuonDetectorTool.cxx:62