ACTARSim
ACTAR TPC Simulation Reference Guide
ActarSimEventAction.hh
Go to the documentation of this file.
1 // - AUTHOR: Hector Alvarez-Pol 11/2004
2 /******************************************************************
3  * Copyright (C) 2005-2016, Hector Alvarez-Pol *
4  * All rights reserved. *
5  * *
6  * License according to GNU LESSER GPL (see lgpl-3.0.txt). *
7  * For the list of contributors see CREDITS. *
8  ******************************************************************/
9 
10 #ifndef ActarSimEventAction_h
11 #define ActarSimEventAction_h 1
12 
13 #include "G4UserEventAction.hh"
14 #include "globals.hh"
15 #include "G4ThreeVector.hh"
16 
18 
19 class ActarSimEventAction : public G4UserEventAction {
20 private:
21  G4String drawFlag;
22  G4int printModulo;
23 
24  ActarSimEventActionMessenger* eventMessenger; ///< Pointer to the messenger
25 
26 public:
29 
30  void BeginOfEventAction(const G4Event*);
31  void EndOfEventAction(const G4Event*);
32 
33  void SetDrawFlag (G4String val) {drawFlag = val;};
34  void SetPrintModulo(G4int val) {printModulo = val;};
35 };
36 #endif
void BeginOfEventAction(const G4Event *)
Actions performed at the beginning of each event.
void SetDrawFlag(G4String val)
void SetPrintModulo(G4int val)
~ActarSimEventAction()
Destructor.
ActarSimEventActionMessenger * eventMessenger
Pointer to the messenger.
void EndOfEventAction(const G4Event *)
ActarSimEventAction()
Constructor.