ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/examples/basic/B4/B4b/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 42 of file B4bEventAction.hh.
View newest version in sPHENIX GitHub at line 42 of file B4bEventAction.hh
B4bEventAction::B4bEventAction | ( | ) |
Definition at line 42 of file B4bEventAction.cc.
View newest version in sPHENIX GitHub at line 42 of file B4bEventAction.cc
|
virtual |
Definition at line 48 of file B4bEventAction.cc.
View newest version in sPHENIX GitHub at line 48 of file B4bEventAction.cc
Reimplemented from G4UserEventAction.
Definition at line 73 of file B4bEventAction.cc.
View newest version in sPHENIX GitHub at line 73 of file B4bEventAction.cc
References G4RunManager::GetNonConstCurrentRun(), G4RunManager::GetRunManager(), and B4bRunData::Reset().
Reimplemented from G4UserEventAction.
Definition at line 83 of file B4bEventAction.cc.
View newest version in sPHENIX GitHub at line 83 of file B4bEventAction.cc
References B4bRunData::FillPerEvent(), G4cout, G4endl, G4RunManager::GetNonConstCurrentRun(), G4RunManager::GetPrintProgress(), G4RunManager::GetRunManager(), kAbs, kGap, and PrintEventStatistics().
|
private |
Definition at line 53 of file B4bEventAction.cc.
View newest version in sPHENIX GitHub at line 53 of file B4bEventAction.cc
References G4BestUnit, G4cout, and G4endl.
Referenced by EndOfEventAction().