ATLAS Offline Software
Public Member Functions | List of all members
CaloG4::VEscapedEnergyProcessing Class Referenceabstract

Virtual interface for escaped energy processor classes. More...

#include <VEscapedEnergyProcessing.h>

Inheritance diagram for CaloG4::VEscapedEnergyProcessing:
Collaboration diagram for CaloG4::VEscapedEnergyProcessing:

Public Member Functions

virtual ~VEscapedEnergyProcessing ()
 Virtual destructor. More...
 
virtual G4bool Process (G4Step *fakeStep)=0
 

Detailed Description

Virtual interface for escaped energy processor classes.

The SimulationEnergies class provides a common procedure for categorizing the energy deposited in a given G4Step. However, different detectors have different scheme for handling one of the categories: escaped energy.

The issue is that, if a particle's energy is lost by escaping the simulation, you don't want to record that energy in the volume it escapes; you want to record that energy in the volume in which the particle was created. Neutrinos are a good example of this.

In effect, the SimulationEnergies class has to issue an "interrupt" to some other volume than the current G4Step, telling that other volume to accumulate the energy of the escaped particle. The Tile Simulation and the LAr simulation handle this interrupt differently, since they organize sensitive detectors in a different way.

This interface "hides" the different escaped-energy processing required by the different detectors in the simulation.

Definition at line 42 of file VEscapedEnergyProcessing.h.

Constructor & Destructor Documentation

◆ ~VEscapedEnergyProcessing()

virtual CaloG4::VEscapedEnergyProcessing::~VEscapedEnergyProcessing ( )
inlinevirtual

Virtual destructor.

Definition at line 48 of file VEscapedEnergyProcessing.h.

48 {}

Member Function Documentation

◆ Process()

virtual G4bool CaloG4::VEscapedEnergyProcessing::Process ( G4Step *  fakeStep)
pure virtual

The documentation for this class was generated from the following file: