8 #include "G4RunManager.hh"
14 : G4UserEventAction(),
15 fRunAction(runAction),
Run action class ( run is the biggest unit)
virtual void BeginOfEventAction(const G4Event *event)
reset B1EventAction::fEdep to 0
void AddEdep(G4double edep)
for a user event action object to update fEdep and fEdep2. fEdep represents the energy deposit of a...
B1EventAction(B1RunAction *runAction)
Definition of the B1EventAction class.
virtual void EndOfEventAction(const G4Event *event)
virtual ~B1EventAction()
do nothing.