ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetG4
PixelG4_SD
src
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
14
#include "
G4AtlasTools/SensitiveDetectorBase.h
"
15
16
#include "
GeoModelInterfaces/IGeoDbTagSvc.h
"
17
18
// STL headers
19
#include <string>
20
21
class
G4VSensitiveDetector;
22
23
class
PixelSensorSDTool
:
public
SensitiveDetectorBase
24
{
25
public
:
26
// Constructor
27
PixelSensorSDTool
(
const
std::string&
type
,
const
std::string& name,
const
IInterface *parent);
28
29
virtual
StatusCode
SetupEvent
(
HitCollectionMap
&)
override
;
30
virtual
StatusCode
Gather
(
HitCollectionMap
&)
override
;
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
IGeoDbTagSvc.h
SensitiveDetectorBase.h
HitCollectionMap
Small wrapper around hit collection map to facilitate accessing the hit collection.
Definition
HitCollectionMap.h:23
PixelSensorSDTool::SetupEvent
virtual StatusCode SetupEvent(HitCollectionMap &) override
Beginning of an athena event.
Definition
PixelSensorSDTool.cxx:30
PixelSensorSDTool::Gather
virtual StatusCode Gather(HitCollectionMap &) override
End of an athena event.
Definition
PixelSensorSDTool.cxx:36
PixelSensorSDTool::m_gmxSensor
Gaudi::Property< bool > m_gmxSensor
Definition
PixelSensorSDTool.h:37
PixelSensorSDTool::m_geoDbTagSvc
ServiceHandle< IGeoDbTagSvc > m_geoDbTagSvc
Definition
PixelSensorSDTool.h:38
PixelSensorSDTool::PixelSensorSDTool
PixelSensorSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
PixelSensorSDTool.cxx:25
PixelSensorSDTool::makeSD
G4VSensitiveDetector * makeSD() const override final
Definition
PixelSensorSDTool.cxx:43
SensitiveDetectorBase::SensitiveDetectorBase
SensitiveDetectorBase(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition
SensitiveDetectorBase.cxx:17
ServiceHandle
Definition
ClusterMakerTool.h:36
type
Generated on
for ATLAS Offline Software by
1.17.0