ATLAS Offline Software
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
ZDC_G4CalibSDTool::~ZDC_G4CalibSDTool
virtual ~ZDC_G4CalibSDTool()
Definition:
ZDC_G4CalibSDTool.h:25
EscapedEnergyRegistry.h
SensitiveDetectorBase
Common base class for tools that create and manage Geant4 sensitive detectors.
Definition:
SensitiveDetectorBase.h:42
const
bool const RAWDATA *ch2 const
Definition:
LArRodBlockPhysicsV0.cxx:560
CaloCalibrationHitContainer.h
protected
#define protected
Definition:
DetDescrConditionsDict_dict_fixes.cxx:14
ZDC_G4CalibSDTool::ZDC_G4CalibSDTool
ZDC_G4CalibSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition:
ZDC_G4CalibSDTool.cxx:10
ZDC_EscapedEnergyProcessing.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
ZDC_G4CalibSDTool::Gather
StatusCode Gather() override final
End of an athena event.
Definition:
ZDC_G4CalibSDTool.cxx:19
CalibrationDefaultProcessing.h
ZDC_G4CalibSDTool
Definition:
ZDC_G4CalibSDTool.h:20
private
#define private
Definition:
DetDescrConditionsDict_dict_fixes.cxx:13
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
SensitiveDetectorBase.h
ZDC_G4CalibSDTool::m_deadSD
bool m_deadSD
Definition:
ZDC_G4CalibSDTool.h:34
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
ZDC_G4CalibSDTool::makeSD
G4VSensitiveDetector * makeSD() const override final
Definition:
ZDC_G4CalibSDTool.cxx:42
ZDC_G4CalibSDTool::m_doPid
bool m_doPid
Definition:
ZDC_G4CalibSDTool.h:35
Generated on Thu Nov 7 2024 21:32:16 for ATLAS Offline Software by
1.8.18