ATLAS Offline Software
Loading...
Searching...
No Matches
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
25
26#include "G4TouchableHandle.hh"
27#include "G4ThreeVector.hh"
28#include "globals.hh"
29
30class ZDC_G4CalibSD;
31
33{
34public:
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
44private:
45
46 // Local pointer to the default SD that this should put hits into
48};
49
50
51#endif // ZDC_G4_EscapedEnergyProcessing_H
Virtual interface for escaped energy processor classes.