ATLAS Offline Software
ForwardDetectors
ZDC
ZDC_SD
src
ZDC_EscapedEnergyProcessing.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 ZDC_EscapedEnergyProcessing_H
6
#define ZDC_EscapedEnergyProcessing_H
7
8
// The SimulationEnergies class provides a common procedure for
9
// categorizing the energy deposited in a given G4Step. However,
10
// special processing is required for escaped energy.
11
12
// The issue is that, if a particle's energy is lost by escaping the
13
// simulation, you don't want to record that energy in the volume it
14
// escapes; you want to record that energy in the volume in which the
15
// particle was created. Neutrinos are a good example of this.
16
17
// In effect, the SimulationEnergies class has to issue an "interrupt"
18
// to some other volume than the current G4Step, telling that other
19
// volume to accumulate the energy of the escaped particle.
20
21
// This class contains the processing to handle the escaped energy
22
// processing for volumes in the ZdcG4 portion of the simulation.
23
24
#include "
CaloG4Sim/VEscapedEnergyProcessing.h
"
25
26
#include "G4TouchableHandle.hh"
27
#include "G4ThreeVector.hh"
28
#include "globals.hh"
29
30
class
ZDC_G4CalibSD
;
31
32
class
ZDC_EscapedEnergyProcessing
:
public
CaloG4::VEscapedEnergyProcessing
33
{
34
public
:
35
ZDC_EscapedEnergyProcessing
(
ZDC_G4CalibSD
* SD);
36
~ZDC_EscapedEnergyProcessing
();
37
38
// Method: The G4TouchableHandle to the volume in which "point" is
39
// located; the value of "point" itself in case additional
40
// processing is necessary, and the amount of escaped energy.
41
42
G4bool
Process
( G4Step* fakeStep );
43
44
private
:
45
46
// Local pointer to the default SD that this should put hits into
47
ZDC_G4CalibSD
*
m_defaultSD
;
48
};
49
50
51
#endif // ZDC_G4_EscapedEnergyProcessing_H
ZDC_EscapedEnergyProcessing::m_defaultSD
ZDC_G4CalibSD * m_defaultSD
Definition:
ZDC_EscapedEnergyProcessing.h:47
ZDC_EscapedEnergyProcessing::Process
G4bool Process(G4Step *fakeStep)
Definition:
ZDC_EscapedEnergyProcessing.cxx:28
ZDC_G4CalibSD
Definition:
ZDC_G4CalibSD.h:24
ZDC_EscapedEnergyProcessing::~ZDC_EscapedEnergyProcessing
~ZDC_EscapedEnergyProcessing()
Definition:
ZDC_EscapedEnergyProcessing.cxx:25
ZDC_EscapedEnergyProcessing
Definition:
ZDC_EscapedEnergyProcessing.h:33
VEscapedEnergyProcessing.h
ZDC_EscapedEnergyProcessing::ZDC_EscapedEnergyProcessing
ZDC_EscapedEnergyProcessing(ZDC_G4CalibSD *SD)
Definition:
ZDC_EscapedEnergyProcessing.cxx:21
CaloG4::VEscapedEnergyProcessing
Virtual interface for escaped energy processor classes.
Definition:
VEscapedEnergyProcessing.h:43
Generated on Sun Dec 22 2024 21:23:01 for ATLAS Offline Software by
1.8.18