Geant4
10.02.p02
|
Event action class. More...
#include <B4bEventAction.hh>
Public Member Functions | |
B4bEventAction () | |
virtual | ~B4bEventAction () |
virtual void | BeginOfEventAction (const G4Event *event) |
virtual void | EndOfEventAction (const G4Event *event) |
Public Member Functions inherited from G4UserEventAction | |
G4UserEventAction () | |
virtual | ~G4UserEventAction () |
virtual void | SetEventManager (G4EventManager *value) |
Private Member Functions | |
void | PrintEventStatistics (G4double absoEdep, G4double absoTrackLength, G4double gapEdep, G4double gapTrackLength) const |
Additional Inherited Members | |
Protected Attributes inherited from G4UserEventAction | |
G4EventManager * | fpEventManager |
Event action class.
In EndOfEventAction(), it prints the accumulated quantities of the energy deposit and track lengths of charged particles in Absober and Gap layers stored in B4bRunData object.
Definition at line 43 of file B4bEventAction.hh.
B4bEventAction::B4bEventAction | ( | ) |
Definition at line 43 of file B4bEventAction.cc.
|
virtual |
Definition at line 49 of file B4bEventAction.cc.
|
virtual |
Reimplemented from G4UserEventAction.
Definition at line 74 of file B4bEventAction.cc.
References G4RunManager::GetNonConstCurrentRun(), G4RunManager::GetRunManager(), and B4bRunData::Reset().
|
virtual |
Reimplemented from G4UserEventAction.
Definition at line 84 of file B4bEventAction.cc.
References B4bRunData::FillPerEvent(), G4cout, G4endl, B4bRunData::GetEdep(), G4RunManager::GetNonConstCurrentRun(), G4RunManager::GetPrintProgress(), G4RunManager::GetRunManager(), B4bRunData::GetTrackLength(), kAbs, kGap, and PrintEventStatistics().
|
private |
Definition at line 54 of file B4bEventAction.cc.
References G4BestUnit, G4cout, and G4endl.
Referenced by EndOfEventAction().