Geant4
10.00.p02
|
Event action class. More...
#include <B1EventAction.hh>
Public Member Functions | |
B1EventAction () | |
virtual | ~B1EventAction () |
virtual void | BeginOfEventAction (const G4Event *event) |
virtual void | EndOfEventAction (const G4Event *event) |
void | AddEdep (G4double edep) |
B1EventAction () | |
virtual | ~B1EventAction () |
virtual void | BeginOfEventAction (const G4Event *event) |
virtual void | EndOfEventAction (const G4Event *event) |
void | AddEdep (G4double edep) |
G4double | GetEdep () const |
B1EventAction () | |
virtual | ~B1EventAction () |
virtual void | BeginOfEventAction (const G4Event *event) |
virtual void | EndOfEventAction (const G4Event *event) |
void | Reset () |
G4double | GetEnergySum () const |
G4double | GetEnergy2Sum () const |
Public Member Functions inherited from G4UserEventAction | |
G4UserEventAction () | |
virtual | ~G4UserEventAction () |
void | SetEventManager (G4EventManager *value) |
Static Public Member Functions | |
static B1EventAction * | Instance () |
Private Attributes | |
G4double | fEdep |
G4int | fPrintModulo |
G4double | fEnergySum |
G4double | fEnergy2Sum |
Static Private Attributes | |
static B1EventAction * | fgInstance = 0 |
Additional Inherited Members | |
Protected Attributes inherited from G4UserEventAction | |
G4EventManager * | fpEventManager |
Event action class.
It instantiates B1EventInformation object at the beginning of each event.
It holds data member fEnergySum and fEnergy2Sum for accumulating the event energy deposit its square event by event. These data are then used in the run action to compute the dose. The accumulated energy and enrgy square sums are reset for each new run via the Reset() function from the run action.
Definition at line 40 of file B1EventAction.hh.
B1EventAction::B1EventAction | ( | ) |
Definition at line 39 of file B1EventAction.cc.
|
virtual |
Definition at line 46 of file B1EventAction.cc.
B1EventAction::B1EventAction | ( | ) |
|
virtual |
B1EventAction::B1EventAction | ( | ) |
|
virtual |
|
inline |
Definition at line 49 of file B1EventAction.hh.
References fEdep.
Referenced by B1SteppingAction::UserSteppingAction().
|
inline |
Definition at line 51 of file B1EventAction.hh.
References fEdep.
|
virtual |
Reimplemented from G4UserEventAction.
Definition at line 51 of file B1EventAction.cc.
References fEdep.
|
virtual |
Reimplemented from G4UserEventAction.
|
virtual |
Reimplemented from G4UserEventAction.
|
virtual |
Reimplemented from G4UserEventAction.
Definition at line 58 of file B1EventAction.cc.
References B1Run::AddEdep(), fEdep, G4RunManager::GetNonConstCurrentRun(), and G4RunManager::GetRunManager().
|
virtual |
Reimplemented from G4UserEventAction.
|
virtual |
Reimplemented from G4UserEventAction.
|
inline |
Definition at line 52 of file B1EventAction.hh.
References fEdep.
|
inline |
Definition at line 63 of file B1EventAction.hh.
References fEnergy2Sum.
|
inline |
Definition at line 62 of file B1EventAction.hh.
References fEnergySum.
|
static |
Definition at line 46 of file B1EventAction.cc.
References fgInstance.
void B1EventAction::Reset | ( | ) |
Definition at line 96 of file B1EventAction.cc.
References fEnergy2Sum, and fEnergySum.
|
private |
Definition at line 52 of file B1EventAction.hh.
Referenced by AddEdep(), BeginOfEventAction(), EndOfEventAction(), and GetEdep().
|
private |
Definition at line 70 of file B1EventAction.hh.
Referenced by GetEnergy2Sum(), and Reset().
|
private |
Definition at line 69 of file B1EventAction.hh.
Referenced by GetEnergySum(), and Reset().
|
staticprivate |
Definition at line 66 of file B1EventAction.hh.
Referenced by Instance().
|
private |
Definition at line 55 of file B1EventAction.hh.