IonizationAndScintillationAction.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 /// \file IonizationAndScintillationAction.h
3 /// \brief this UserAction derived class is to provide a hook
4 /// during G4 stepping in which to call the code that
5 /// calculates the number of ionization electrons and scintillation
6 /// photons produced by each step
7 ///
8 /// \author brebel@fnal.gov
9 ////////////////////////////////////////////////////////////////////////
10 
11 #ifndef LARG4_IONIZATIONANDSCINTILLATIONACTION_H
12 #define LARG4_IONIZATIONANDSCINTILLATIONACTION_H
13 
14 #include "nug4/G4Base/UserAction.h"
15 
16 // Forward declarations.
17 class G4Step;
18 
19 namespace larg4 {
20 
21  class IonizationAndScintillationAction : public g4b::UserAction
22  {
23  public:
24  // Standard constructors and destructors;
27 
28  // UserActions method that we'll override, to obtain access to
29  // Geant4's steps
30  virtual void SteppingAction (const G4Step*);
31 
32  private:
33 
34  };
35 
36 } // namespace LArG4
37 
38 #endif // LARG4_IONIZATIONANDSCINTILLATIONACTION_H
Geant4 interface.