54 void B4bEventAction::PrintEventStatistics(
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));
Definition of the B4bEventAction class.
virtual ~B4bEventAction()
Definition of the B4bRunData class.
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
G4GLOB_DLL std::ostream G4cout
virtual void EndOfEventAction(const G4Event *event)
static G4RunManager * GetRunManager()
virtual void BeginOfEventAction(const G4Event *event)
G4Run * GetNonConstCurrentRun() const