32 #include "B4RunAction.hh"
33 #include "B4Analysis.hh"
85 analysisManager->FillNtupleDColumn(0,
fEnergyAbs);
86 analysisManager->FillNtupleDColumn(1,
fEnergyGap);
87 analysisManager->FillNtupleDColumn(2,
fTrackLAbs);
88 analysisManager->FillNtupleDColumn(3,
fTrackLGap);
89 analysisManager->AddNtupleRow();
93 G4int eventID =
event->GetEventID();
95 if ( ( printModulo > 0 ) && ( eventID % printModulo == 0 ) ) {
99 <<
" Absorber: total energy: " << std::setw(7)
101 <<
" total track length: " << std::setw(7)
104 <<
" Gap: total energy: " << std::setw(7)
106 <<
" total track length: " << std::setw(7)
virtual void EndOfEventAction(const G4Event *event)
virtual void BeginOfEventAction(const G4Event *event)
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
G4GLOB_DLL std::ostream G4cout
virtual ~B4aEventAction()
ExG4HbookAnalysisManager G4AnalysisManager
Definition of the B4aEventAction class.
static G4RunManager * GetRunManager()