geant4-B1-example
1.0
|
user event class More...
#include <B1EventAction.hh>
Public Member Functions | |
B1EventAction (B1RunAction *runAction) | |
virtual | ~B1EventAction () |
do nothing. More... | |
virtual void | BeginOfEventAction (const G4Event *event) |
reset B1EventAction::fEdep to 0 More... | |
virtual void | EndOfEventAction (const G4Event *event) |
void | AddEdep (G4double edep) |
for user stepping action object to update the B1EventAction::fEdep. More... | |
user event class
Definition at line 19 of file B1EventAction.hh.
B1EventAction::B1EventAction | ( | B1RunAction * | runAction | ) |
B1EventAction::fEdep represents the energy deposit from a given event.
here, we initialize B1EventAction::fEdep = 0
Definition at line 13 of file B1EventAction.cc.
|
virtual |
do nothing.
Definition at line 21 of file B1EventAction.cc.
|
virtual |
reset B1EventAction::fEdep to 0
Definition at line 25 of file B1EventAction.cc.
|
virtual |
at the end of a given event, we use fRunAction object to update the B1RunAction::fEdep by call B1RunAction::AddEdep()
Definition at line 32 of file B1EventAction.cc.
References B1RunAction::AddEdep().
|
inline |
for user stepping action object to update the B1EventAction::fEdep.
Definition at line 32 of file B1EventAction.hh.
Referenced by B1SteppingAction::UserSteppingAction().