IonizationAndScintillationAction.cxx
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 /// \file IonizationAndScintillationAction.cxx
3 /// \brief Use Geant4's user "hooks" to determine the number of ionization
4 /// electrons and scintillation photons for each step
5 ///
6 /// \author brebel@fnal.gov
7 ////////////////////////////////////////////////////////////////////////
8 
11 
12 namespace larg4 {
13 
14  //----------------------------------------------------------------------------
15  // Constructor.
17  {
18  }
19 
20  //----------------------------------------------------------------------------
21  // Destructor.
23  {
24  }
25 
26  //----------------------------------------------------------------------------
27  // With every step, calculate the number of ionization electrons and
28  // scintillation photons using the IonizationAndScintillation singleton.
30  {
32 
33  return;
34  }
35 
36 } // namespace LArG4
Geant4 interface.
static IonizationAndScintillation * Instance()
this UserAction derived class is to provide a hook during G4 stepping in which to call the code that ...