G4XTankEventAction.h
Go to the documentation of this file.
1 #ifndef _G4XTankSimulatorAG_G4XTankEventAction_h_
2 #define _G4XTankSimulatorAG_G4XTankEventAction_h_
3 
4 #include <G4UserEventAction.hh>
5 
6 class G4Event;
7 class G4Timer;
8 
9 namespace G4XTankSimulatorAG {
10 
20  class G4XTankEventAction : public G4UserEventAction {
21 
22  public:
24  virtual ~G4XTankEventAction();
25 
26  virtual void BeginOfEventAction(const G4Event*);
27  virtual void EndOfEventAction(const G4Event*);
28 
29  static int GetPrimaryId() { return fgPrimaryId; }
30 
31  private:
32  static int fgPrimaryId;
33 
36 
38 
39  G4Timer* fTimer;
40 
41  };
42 
43 }
44 
45 
46 #endif
virtual void BeginOfEventAction(const G4Event *)
Geant4 Event user action class.
virtual void EndOfEventAction(const G4Event *)

, generated on Tue Sep 26 2023.