ATLAS Offline Software
PixelSensorSDTool.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 /****************************************************************
6  Pixel Sensitive Detector class
7  Davide Costanzo Sep 4th 2002.
8  ****************************************************************/
9 
10 #ifndef PIXEL_G4_SD_PIXELSENSORSDTOOL_H
11 #define PIXEL_G4_SD_PIXELSENSORSDTOOL_H
12 
13 // Base class
15 
17 
18 // STL headers
19 #include <string>
20 
21 class G4VSensitiveDetector;
22 
24 {
25  public:
26  // Constructor
27  PixelSensorSDTool(const std::string& type, const std::string& name, const IInterface *parent);
28 
29  // Destructor
30  virtual ~PixelSensorSDTool() {}
31 
32 protected:
33  // Make me an SD!
34  G4VSensitiveDetector* makeSD() const override final;
35 
36  // property to toggle GeoModelXML
37  Gaudi::Property<bool> m_gmxSensor{this, "GmxSensor", false};
38  ServiceHandle<IGeoDbTagSvc> m_geoDbTagSvc{this, "GeoDbTagSvc", "GeoDbTagSvc", ""};
39 };
40 
41 #endif //PIXEL_G4_SD_PIXELSENSORSDTOOL_H
PixelSensorSDTool::PixelSensorSDTool
PixelSensorSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: PixelSensorSDTool.cxx:23
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
PixelSensorSDTool
Definition: PixelSensorSDTool.h:24
test_pyathena.parent
parent
Definition: test_pyathena.py:15
PixelSensorSDTool::makeSD
G4VSensitiveDetector * makeSD() const override final
Definition: PixelSensorSDTool.cxx:30
PixelSensorSDTool::m_geoDbTagSvc
ServiceHandle< IGeoDbTagSvc > m_geoDbTagSvc
Definition: PixelSensorSDTool.h:38
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
SensitiveDetectorBase.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
Gaudi
=============================================================================
Definition: CaloGPUClusterAndCellDataMonitorOptions.h:273
PixelSensorSDTool::m_gmxSensor
Gaudi::Property< bool > m_gmxSensor
Definition: PixelSensorSDTool.h:37
IGeoDbTagSvc.h
PixelSensorSDTool::~PixelSensorSDTool
virtual ~PixelSensorSDTool()
Definition: PixelSensorSDTool.h:30
ServiceHandle< IGeoDbTagSvc >