ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
ForwardDetectors
AFP
AFP_G4_SD
src
AFP_SiDSensitiveDetectorTool.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 AFP_G4_SD_AFP_SiDSensitiveDetectorTool_h
6
#define AFP_G4_SD_AFP_SiDSensitiveDetectorTool_h
7
8
// Base class header
9
#include "
G4AtlasTools/SensitiveDetectorBase.h
"
10
11
// STL headers
12
#include <string>
13
14
class
G4VSensitiveDetector;
15
16
class
AFP_SiDSensitiveDetectorTool
:
public
SensitiveDetectorBase
17
{
18
public
:
19
// Constructor
20
AFP_SiDSensitiveDetectorTool
(
const
std::string&
type
,
const
std::string& name,
const
IInterface* parent);
21
22
// Destructor
23
~AFP_SiDSensitiveDetectorTool
() {}
25
StatusCode
SetupEvent
(
HitCollectionMap
&)
override
final
;
27
StatusCode
Gather
(
HitCollectionMap
&)
override
final
;
28
29
protected
:
30
// Make me an SD!
31
G4VSensitiveDetector*
makeSD
()
const
override final;
32
};
33
34
#endif
//AFP_G4_SD_AFP_SiDSensitiveDetectorTool_h
SensitiveDetectorBase.h
AFP_SiDSensitiveDetectorTool::~AFP_SiDSensitiveDetectorTool
~AFP_SiDSensitiveDetectorTool()
Definition
AFP_SiDSensitiveDetectorTool.h:23
AFP_SiDSensitiveDetectorTool::makeSD
G4VSensitiveDetector * makeSD() const override final
Definition
AFP_SiDSensitiveDetectorTool.cxx:42
AFP_SiDSensitiveDetectorTool::SetupEvent
StatusCode SetupEvent(HitCollectionMap &) override final
Beginning of an athena event.
Definition
AFP_SiDSensitiveDetectorTool.cxx:23
AFP_SiDSensitiveDetectorTool::AFP_SiDSensitiveDetectorTool
AFP_SiDSensitiveDetectorTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
AFP_SiDSensitiveDetectorTool.cxx:16
AFP_SiDSensitiveDetectorTool::Gather
StatusCode Gather(HitCollectionMap &) override final
End of an athena event.
Definition
AFP_SiDSensitiveDetectorTool.cxx:33
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
const
type
Generated on
for ATLAS Offline Software by
1.17.0