4 #ifndef B1EventAction_h
5 #define B1EventAction_h 1
7 #include "G4UserEventAction.hh"
32 void AddEdep(G4double edep) { fEdep += edep; }
Run action class ( run is the biggest unit)
virtual void BeginOfEventAction(const G4Event *event)
reset B1EventAction::fEdep to 0
B1EventAction(B1RunAction *runAction)
virtual void EndOfEventAction(const G4Event *event)
void AddEdep(G4double edep)
for user stepping action object to update the B1EventAction::fEdep.
virtual ~B1EventAction()
do nothing.