ATLAS Offline Software
HGTDSensorSDTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // HGTDSensorSDTool.h, (c) ATLAS Detector software
8 
9 #ifndef HGTD_G4_SD_HGTDSENSORSDTOOL_H
10 #define HGTD_G4_SD_HGTDSENSORSDTOOL_H
11 
12 // Base class
14 
16 
17 // STL headers
18 #include <string>
19 
20 class G4VSensitiveDetector;
21 
23 {
24 public:
25  // Constructor
26  HGTDSensorSDTool(const std::string& type, const std::string& name, const IInterface *parent);
27 
28  // Destructor
29  virtual ~HGTDSensorSDTool() {}
30 
31 protected:
32  // Make me an SD!
33  virtual G4VSensitiveDetector* makeSD() const override final;
34  // property to toggle GeoModelXML
35  Gaudi::Property<bool> m_gmxSensor{this, "GmxSensor", false};
36  ServiceHandle<IGeoDbTagSvc> m_geoDbTagSvc{this, "GeoDbTagSvc", "GeoDbTagSvc", ""};
37 };
38 
39 #endif // HGTD_G4_SD_HGTDSENSORSDTOOL_H
HGTDSensorSDTool::HGTDSensorSDTool
HGTDSensorSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: HGTDSensorSDTool.cxx:21
HGTDSensorSDTool::~HGTDSensorSDTool
virtual ~HGTDSensorSDTool()
Definition: HGTDSensorSDTool.h:29
HGTDSensorSDTool::m_gmxSensor
Gaudi::Property< bool > m_gmxSensor
Definition: HGTDSensorSDTool.h:35
SensitiveDetectorBase
Common base class for tools that create and manage Geant4 sensitive detectors.
Definition: SensitiveDetectorBase.h:42
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
Property
Support class for PropertyMgr.
Definition: Property.h:23
HGTDSensorSDTool::makeSD
virtual G4VSensitiveDetector * makeSD() const override final
Definition: HGTDSensorSDTool.cxx:26
test_pyathena.parent
parent
Definition: test_pyathena.py:15
HGTDSensorSDTool::m_geoDbTagSvc
ServiceHandle< IGeoDbTagSvc > m_geoDbTagSvc
Definition: HGTDSensorSDTool.h:36
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
SensitiveDetectorBase.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
Gaudi
=============================================================================
Definition: CaloGPUClusterAndCellDataMonitorOptions.h:273
IGeoDbTagSvc.h
HGTDSensorSDTool
Definition: HGTDSensorSDTool.h:23
ServiceHandle< IGeoDbTagSvc >