ATLAS Offline Software
Loading...
Searching...
No Matches
EscapedEnergyProcessing.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5// EscapedEnergyProcessing
6// 15-Jul-2004 William Seligman
7
8#ifndef LArG4SD_EscapedEnergyProcessing_H
9#define LArG4SD_EscapedEnergyProcessing_H
10
11// The SimulationEnergies class provides a common procedure for
12// categorizing the energy deposited in a given G4Step. However,
13// special processing is required for escaped energy.
14
15// The issue is that, if a particle's energy is lost by escaping the
16// simulation, you don't want to record that energy in the volume it
17// escapes; you want to record that energy in the volume in which the
18// particle was created. Neutrinos are a good example of this.
19
20// In effect, the SimulationEnergies class has to issue an "interrupt"
21// to some other volume than the current G4Step, telling that other
22// volume to accumulate the energy of the escaped particle.
23
24// This class contains the processing to handle the escaped energy
25// processing for volumes in the LArG4 portion of the simulation.
26
28
29#include "G4TouchableHandle.hh"
30#include "G4ThreeVector.hh"
31#include "G4Step.hh"
32#include "globals.hh"
33
34class LArG4CalibSD;
35
37{
38public:
41
42 // Method: The G4TouchableHandle to the volume in which "point" is
43 // located; the value of "point" itself in case additional
44 // processing is necessary, and the amount of escaped energy.
45
46 virtual G4bool Process( G4Step* fakeStep );
47
48private:
49 // Local pointer to the default SD that this should put hits into
51};
52
53
54#endif // LArG4_EscapedEnergyProcessing_H
Virtual interface for escaped energy processor classes.
EscapedEnergyProcessing(LArG4CalibSD *SD)
virtual G4bool Process(G4Step *fakeStep)
virtual ~EscapedEnergyProcessing()
A specialized SD class for saving LAr calibration hits.