ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetG4
SCT_G4_SD
src
SctSensorSDTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
/****************************************************************
6
SCT Sensitive Detector Tool
7
****************************************************************/
8
9
#ifndef SCT_G4_SD_SCTSENSORSDTOOL_H
10
#define SCT_G4_SD_SCTSENSORSDTOOL_H
11
12
// Base class
13
#include "
G4AtlasTools/SensitiveDetectorBase.h
"
14
15
#include "
GeoModelInterfaces/IGeoDbTagSvc.h
"
16
17
// STL headers
18
#include <string>
19
20
class
G4VSensitiveDetector;
21
22
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.....
23
24
class
SctSensorSDTool
:
public
SensitiveDetectorBase
25
{
26
public
:
27
// Constructor
28
SctSensorSDTool
(
const
std::string&
type
,
const
std::string& name,
const
IInterface *parent);
29
30
virtual
StatusCode
SetupEvent
(
HitCollectionMap
&)
override
;
31
virtual
StatusCode
Gather
(
HitCollectionMap
&)
override
;
32
33
protected
:
34
// Make me an SD!
35
G4VSensitiveDetector*
makeSD
()
const
override
final
;
36
bool
m_isGmxSensor
;
37
ServiceHandle<IGeoDbTagSvc>
m_geoDbTagSvc
{
this
,
"GeoDbTagSvc"
,
"GeoDbTagSvc"
,
""
};
38
39
40
};
41
42
#endif
//SCT_G4_SD_SCTSENSORSDTOOL_H
IGeoDbTagSvc.h
SensitiveDetectorBase.h
HitCollectionMap
Small wrapper around hit collection map to facilitate accessing the hit collection.
Definition
HitCollectionMap.h:23
SctSensorSDTool::m_geoDbTagSvc
ServiceHandle< IGeoDbTagSvc > m_geoDbTagSvc
Definition
SctSensorSDTool.h:37
SctSensorSDTool::SctSensorSDTool
SctSensorSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
SctSensorSDTool.cxx:24
SctSensorSDTool::Gather
virtual StatusCode Gather(HitCollectionMap &) override
End of an athena event.
Definition
SctSensorSDTool.cxx:36
SctSensorSDTool::SetupEvent
virtual StatusCode SetupEvent(HitCollectionMap &) override
Beginning of an athena event.
Definition
SctSensorSDTool.cxx:30
SctSensorSDTool::makeSD
G4VSensitiveDetector * makeSD() const override final
Definition
SctSensorSDTool.cxx:43
SctSensorSDTool::m_isGmxSensor
bool m_isGmxSensor
Definition
SctSensorSDTool.h:36
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