ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
ForwardDetectors
AFP
AFP_G4_SD
src
AFP_SensitiveDetectorTool.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_SensitiveDetectorTool_h
6
#define AFP_G4_SD_AFP_SensitiveDetectorTool_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_SensitiveDetectorTool
:
public
SensitiveDetectorBase
17
{
18
public
:
19
// Constructor
20
AFP_SensitiveDetectorTool
(
const
std::string&
type
,
const
std::string& name,
const
IInterface* parent);
21
22
// Destructor
23
~AFP_SensitiveDetectorTool
() {}
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_SensitiveDetectorTool_h
SensitiveDetectorBase.h
AFP_SensitiveDetectorTool::SetupEvent
StatusCode SetupEvent(HitCollectionMap &) override final
Beginning of an athena event.
Definition
AFP_SensitiveDetectorTool.cxx:23
AFP_SensitiveDetectorTool::~AFP_SensitiveDetectorTool
~AFP_SensitiveDetectorTool()
Definition
AFP_SensitiveDetectorTool.h:23
AFP_SensitiveDetectorTool::AFP_SensitiveDetectorTool
AFP_SensitiveDetectorTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
AFP_SensitiveDetectorTool.cxx:16
AFP_SensitiveDetectorTool::Gather
StatusCode Gather(HitCollectionMap &) override final
End of an athena event.
Definition
AFP_SensitiveDetectorTool.cxx:35
AFP_SensitiveDetectorTool::makeSD
G4VSensitiveDetector * makeSD() const override final
Definition
AFP_SensitiveDetectorTool.cxx:45
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