ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetG4
TRT_G4_SD
src
TRTSensitiveDetectorTool.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
#ifndef TRT_G4_SD_TRTSENSITIVEDETECTORTOOL_H
6
#define TRT_G4_SD_TRTSENSITIVEDETECTORTOOL_H
7
8
// Base class
9
#include "
G4AtlasTools/SensitiveDetectorBase.h
"
10
11
// STL headers
12
#include <string>
13
14
class
G4VSensitiveDetector;
15
16
class
TRTSensitiveDetectorTool
:
public
SensitiveDetectorBase
17
{
18
public
:
19
// Constructor
20
TRTSensitiveDetectorTool
(
const
std::string&
type
,
const
std::string& name,
const
IInterface *parent);
21
22
virtual
StatusCode
SetupEvent
(
HitCollectionMap
&)
override
;
23
virtual
StatusCode
Gather
(
HitCollectionMap
&)
override
;
24
25
protected
:
26
// Make me an SD!
27
G4VSensitiveDetector*
makeSD
()
const
override
final
;
28
29
};
30
31
#endif
//TRT_G4_SD_TRTSENSITIVEDETECTORTOOL_H
SensitiveDetectorBase.h
HitCollectionMap
Small wrapper around hit collection map to facilitate accessing the hit collection.
Definition
HitCollectionMap.h:23
SensitiveDetectorBase::SensitiveDetectorBase
SensitiveDetectorBase(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition
SensitiveDetectorBase.cxx:17
TRTSensitiveDetectorTool::TRTSensitiveDetectorTool
TRTSensitiveDetectorTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
TRTSensitiveDetectorTool.cxx:16
TRTSensitiveDetectorTool::Gather
virtual StatusCode Gather(HitCollectionMap &) override
End of an athena event.
Definition
TRTSensitiveDetectorTool.cxx:27
TRTSensitiveDetectorTool::SetupEvent
virtual StatusCode SetupEvent(HitCollectionMap &) override
Beginning of an athena event.
Definition
TRTSensitiveDetectorTool.cxx:21
TRTSensitiveDetectorTool::makeSD
G4VSensitiveDetector * makeSD() const override final
Definition
TRTSensitiveDetectorTool.cxx:34
type
Generated on
for ATLAS Offline Software by
1.17.0