LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
IonizationAndScintillationAction.cxx
Go to the documentation of this file.
1 
11 
13 
14 #include "Geant4/G4Step.hh"
15 
16 #include <algorithm>
17 
18 namespace larg4 {
19 
20  //----------------------------------------------------------------------------
21  // Constructor.
23  {
24  }
25 
26  //----------------------------------------------------------------------------
27  // Destructor.
29  {
30  }
31 
32  //----------------------------------------------------------------------------
33  // With every step, calculate the number of ionization electrons and
34  // scintillation photons using the IonizationAndScintillation singleton.
36  {
38 
39  return;
40  }
41 
42 } // namespace LArG4
Geant4 interface.
static IonizationAndScintillation * Instance()
virtual void SteppingAction(const G4Step *)
G4UserSteppingAction interface.
Singleton to access a unified treatment of ionization and scintillation in LAr.
this UserAction derived class is to provide a hook during G4 stepping in which to call the code that ...