ATLAS Offline Software
Loading...
Searching...
No Matches
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
20class G4VSensitiveDetector;
21
23{
24public:
25 // Constructor
26 HGTDSensorSDTool(const std::string& type, const std::string& name, const IInterface *parent);
27
28 // Destructor
29 virtual ~HGTDSensorSDTool() {}
30
31protected:
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
virtual G4VSensitiveDetector * makeSD() const override final
Gaudi::Property< bool > m_gmxSensor
ServiceHandle< IGeoDbTagSvc > m_geoDbTagSvc
HGTDSensorSDTool(const std::string &type, const std::string &name, const IInterface *parent)
virtual ~HGTDSensorSDTool()
Support class for PropertyMgr.
Definition Property.h:23
SensitiveDetectorBase(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
=============================================================================