Geant4
10.00.p03
|
Event action class. More...
#include <B4cEventAction.hh>
Public Member Functions | |
B4cEventAction () | |
virtual | ~B4cEventAction () |
virtual void | BeginOfEventAction (const G4Event *event) |
virtual void | EndOfEventAction (const G4Event *event) |
Public Member Functions inherited from G4UserEventAction | |
G4UserEventAction () | |
virtual | ~G4UserEventAction () |
void | SetEventManager (G4EventManager *value) |
Private Member Functions | |
B4cCalorHitsCollection * | GetHitsCollection (G4int hcID, const G4Event *event) const |
void | PrintEventStatistics (G4double absoEdep, G4double absoTrackLength, G4double gapEdep, G4double gapTrackLength) const |
Private Attributes | |
G4int | fAbsHCID |
G4int | fGapHCID |
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 the hits collections.
Definition at line 46 of file B4cEventAction.hh.
B4cEventAction::B4cEventAction | ( | ) |
Definition at line 47 of file B4cEventAction.cc.
|
virtual |
Definition at line 55 of file B4cEventAction.cc.
|
virtual |
Reimplemented from G4UserEventAction.
Definition at line 100 of file B4cEventAction.cc.
|
virtual |
Reimplemented from G4UserEventAction.
Definition at line 105 of file B4cEventAction.cc.
References G4THitsCollection< T >::entries(), fAbsHCID, fGapHCID, G4cout, G4endl, G4SDManager::GetCollectionID(), B4cCalorHit::GetEdep(), GetHitsCollection(), G4RunManager::GetPrintProgress(), G4RunManager::GetRunManager(), G4SDManager::GetSDMpointer(), B4cCalorHit::GetTrackLength(), and PrintEventStatistics().
|
private |
Definition at line 61 of file B4cEventAction.cc.
References FatalException, and G4Exception().
Referenced by EndOfEventAction().
|
private |
Definition at line 80 of file B4cEventAction.cc.
References G4BestUnit, G4cout, and G4endl.
Referenced by EndOfEventAction().
|
private |
Definition at line 63 of file B4cEventAction.hh.
Referenced by EndOfEventAction().
|
private |
Definition at line 64 of file B4cEventAction.hh.
Referenced by EndOfEventAction().