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 G4int eventID =
event->GetEventID();
95 if ( ( printModulo > 0 ) && ( eventID % printModulo == 0 ) ) {
G4double GetEdep(G4int id) const
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
G4double GetTrackLength(G4int id) const