60 <<
" Absorber: total energy: "
61 << std::setw(7) <<
G4BestUnit(absoEdep,
"Energy")
62 <<
" total track length: "
63 << std::setw(7) <<
G4BestUnit(absoTrackLength,
"Length")
65 <<
" Gap: total energy: "
66 << std::setw(7) <<
G4BestUnit(gapEdep,
"Energy")
67 <<
" total track length: "
68 << std::setw(7) <<
G4BestUnit(gapTrackLength,
"Length")
93 auto eventID =
event->GetEventID();
95 if ( ( printModulo > 0 ) && (
eventID % printModulo == 0 ) ) {
99 runData->GetEdep(
kAbs),
100 runData->GetTrackLength(
kAbs),
101 runData->GetEdep(
kGap),
102 runData->GetTrackLength(
kGap));
static G4RunManager * GetRunManager()
virtual void EndOfEventAction(const G4Event *event)
virtual void BeginOfEventAction(const G4Event *event)
void PrintEventStatistics(G4double absoEdep, G4double absoTrackLength, G4double gapEdep, G4double gapTrackLength) const
Definition of the B4bRunData class.
Definition of the B4bEventAction class.
G4Run * GetNonConstCurrentRun() const
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
virtual ~B4bEventAction()
G4GLOB_DLL std::ostream G4cout