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
// Calls down to all the SDs to get them to pack their hits into a central collection
27
StatusCode
Gather
() 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
protected
#define protected
Definition
GenEventCnv_p1.h:26
SensitiveDetectorBase.h
ZDC_EscapedEnergyProcessing.h
SensitiveDetectorBase::SensitiveDetectorBase
SensitiveDetectorBase(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition
SensitiveDetectorBase.cxx:17
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::ZDC_G4CalibSDTool
ZDC_G4CalibSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
ZDC_G4CalibSDTool.cxx:10
ZDC_G4CalibSDTool::m_deadSD
bool m_deadSD
Definition
ZDC_G4CalibSDTool.h:34
ZDC_G4CalibSDTool::~ZDC_G4CalibSDTool
virtual ~ZDC_G4CalibSDTool()
Definition
ZDC_G4CalibSDTool.h:25
ZDC_G4CalibSDTool::Gather
StatusCode Gather() override final
End of an athena event.
Definition
ZDC_G4CalibSDTool.cxx:19
const
type
private
#define private
Definition
xAODTruthCnvAlg.h:20
Generated on
for ATLAS Offline Software by
1.14.0