ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
ForwardDetectors
ALFA
ALFA_G4_SD
src
ALFA_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 ALFA_G4_SD_ALFA_SensitiveDetectorTool_h
6
#define ALFA_G4_SD_ALFA_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
ALFA_SensitiveDetectorTool
:
public
SensitiveDetectorBase
{
17
18
public
:
19
// Constructor
20
ALFA_SensitiveDetectorTool
(
const
std::string&
type
,
const
std::string& name,
const
IInterface* parent);
21
// Destructor
22
~ALFA_SensitiveDetectorTool
() {}
24
StatusCode
SetupEvent
(
HitCollectionMap
&)
override
final
;
26
StatusCode
Gather
(
HitCollectionMap
&)
override
final
;
27
protected
:
28
// Make me an SD!
29
G4VSensitiveDetector*
makeSD
()
const
override final;
30
};
31
32
#endif
//ALFA_G4_SD_ALFA_SensitiveDetectorTool_h
SensitiveDetectorBase.h
ALFA_SensitiveDetectorTool::ALFA_SensitiveDetectorTool
ALFA_SensitiveDetectorTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
ALFA_SensitiveDetectorTool.cxx:18
ALFA_SensitiveDetectorTool::Gather
StatusCode Gather(HitCollectionMap &) override final
End of an athena event.
Definition
ALFA_SensitiveDetectorTool.cxx:38
ALFA_SensitiveDetectorTool::~ALFA_SensitiveDetectorTool
~ALFA_SensitiveDetectorTool()
Definition
ALFA_SensitiveDetectorTool.h:22
ALFA_SensitiveDetectorTool::makeSD
G4VSensitiveDetector * makeSD() const override final
Definition
ALFA_SensitiveDetectorTool.cxx:48
ALFA_SensitiveDetectorTool::SetupEvent
StatusCode SetupEvent(HitCollectionMap &) override final
Beginning of an athena event.
Definition
ALFA_SensitiveDetectorTool.cxx:26
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