ATLAS Offline Software
InDetServMatTool.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 INDETSERVMATGEOMODEL_INDETSERVMATTOOL_H
6 #define INDETSERVMATGEOMODEL_INDETSERVMATTOOL_H
7 
10 #include "GaudiKernel/ToolHandle.h"
11 #include "GaudiKernel/ServiceHandle.h"
12 
16 
17 #include <string>
18 
19 namespace InDetDD {
20  class InDetServMatManager;
21 }
22 
23 class InDetServMatTool final : public GeoModelTool {
24 
25  public:
26  // Standard Constructor
27  InDetServMatTool( const std::string& type, const std::string& name, const IInterface* parent );
28  // Standard Destructor
29  virtual ~InDetServMatTool() override = default;
30 
31  virtual StatusCode create() override;
32  virtual StatusCode clear() override;
33 
34  private:
35  ServiceHandle< IGeoDbTagSvc > m_geoDbTagSvc{this,"GeoDbTagSvc","GeoDbTagSvc"};
36  ServiceHandle< IGeometryDBSvc > m_geometryDBSvc{this,"GeometryDBSvc","InDetGeometryDBSvc"};
37  ToolHandle<IInDetServMatBuilderTool> m_builderTool{this,"ServiceBuilderTool",""};
38  StringProperty m_overrideVersionName{this,"OverrideVersionName",""};
39 
42 };
43 
44 #endif // INDETSERVMATGEOMODEL_INDETSERVMATTOOL_H
45 
InDetServMatAthenaComps
Class to hold various Athena components.
Definition: InDetServMatAthenaComps.h:13
InDetServMatTool::InDetServMatTool
InDetServMatTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor(s)
Definition: InDetServMatTool.cxx:25
IGeometryDBSvc.h
InDetServMatTool::m_athenaComps
InDetServMatAthenaComps m_athenaComps
Definition: InDetServMatTool.h:41
InDetServMatTool::clear
virtual StatusCode clear() override
Definition: InDetServMatTool.cxx:129
InDetServMatTool::create
virtual StatusCode create() override
Create the Detector Node corresponding to this tool.
Definition: InDetServMatTool.cxx:33
InDetServMatAthenaComps.h
GeoModelTool.h
IInDetServMatBuilderTool.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
test_pyathena.parent
parent
Definition: test_pyathena.py:15
GeoModelTool
Definition: GeoModelTool.h:17
InDetServMatTool::m_geometryDBSvc
ServiceHandle< IGeometryDBSvc > m_geometryDBSvc
Definition: InDetServMatTool.h:36
InDetServMatTool::m_geoDbTagSvc
ServiceHandle< IGeoDbTagSvc > m_geoDbTagSvc
Definition: InDetServMatTool.h:35
InDetServMatTool::m_builderTool
ToolHandle< IInDetServMatBuilderTool > m_builderTool
Definition: InDetServMatTool.h:37
InDetServMatTool
Definition: InDetServMatTool.h:23
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
InDetServMatTool::~InDetServMatTool
virtual ~InDetServMatTool() override=default
InDetServMatTool::m_manager
const InDetDD::InDetServMatManager * m_manager
Definition: InDetServMatTool.h:40
InDetDD
Message Stream Member.
Definition: FakeTrackBuilder.h:8
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
IGeoDbTagSvc.h
InDetServMatTool::m_overrideVersionName
StringProperty m_overrideVersionName
Definition: InDetServMatTool.h:38
ServiceHandle< IGeoDbTagSvc >
InDetDD::InDetServMatManager
Definition: InDetServMatManager.h:22