ATLAS Offline Software
Loading...
Searching...
No Matches
ForwardDetectors
ZDC
ZDC_SD
src
ZDC_G4CalibSDTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef ZDCG4SDTOOL_H
6
#define ZDCG4SDTOOL_H
7
8
// Base class
9
#include "
G4AtlasTools/SensitiveDetectorBase.h
"
10
11
// For escaped energy
12
#include "
CaloG4Sim/EscapedEnergyRegistry.h
"
13
#include "
CaloG4Sim/CalibrationDefaultProcessing.h
"
14
#include "
ZDC_EscapedEnergyProcessing.h
"
15
#include "
CaloSimEvent/CaloCalibrationHitContainer.h
"
16
17
class
G4VSensitiveDetector;
18
19
class
ZDC_G4CalibSDTool
:
public
SensitiveDetectorBase
20
{
21
public
:
22
// Constructor
23
ZDC_G4CalibSDTool
(
const
std::string&
type
,
const
std::string& name,
const
IInterface *parent);
24
// Destructor
25
virtual
~ZDC_G4CalibSDTool
() {}
26
StatusCode
SetupEvent
(
HitCollectionMap
&)
override
final
;
27
StatusCode
Gather
(
HitCollectionMap
&)
override
final
;
28
29
protected
:
30
//Make an SD
31
G4VSensitiveDetector*
makeSD
()
const
override final;
32
33
private
:
34
bool
m_deadSD
;
35
bool
m_doPid
;
36
};
37
38
#endif
CalibrationDefaultProcessing.h
CaloCalibrationHitContainer.h
EscapedEnergyRegistry.h
SensitiveDetectorBase.h
ZDC_EscapedEnergyProcessing.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
ZDC_G4CalibSDTool::Gather
StatusCode Gather(HitCollectionMap &) override final
End of an athena event.
Definition
ZDC_G4CalibSDTool.cxx:28
ZDC_G4CalibSDTool::m_doPid
bool m_doPid
Definition
ZDC_G4CalibSDTool.h:35
ZDC_G4CalibSDTool::makeSD
G4VSensitiveDetector * makeSD() const override final
Definition
ZDC_G4CalibSDTool.cxx:42
ZDC_G4CalibSDTool::SetupEvent
StatusCode SetupEvent(HitCollectionMap &) override final
Beginning of an athena event.
Definition
ZDC_G4CalibSDTool.cxx:21
ZDC_G4CalibSDTool::ZDC_G4CalibSDTool
ZDC_G4CalibSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
ZDC_G4CalibSDTool.cxx:12
ZDC_G4CalibSDTool::m_deadSD
bool m_deadSD
Definition
ZDC_G4CalibSDTool.h:34
ZDC_G4CalibSDTool::~ZDC_G4CalibSDTool
virtual ~ZDC_G4CalibSDTool()
Definition
ZDC_G4CalibSDTool.h:25
const
type
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.16.1