22#include "BDSOutputROOTEventInfo.hh"
25#include "G4VUserEventInformation.hh"
47 virtual void Print()
const;
67 virtual void Flush() {
info->Flush();}
Interface to store event information use G4 hooks.
void SetPrimaryAbsorbedInCollimator(G4bool absorbed)
Setters.
void SetNTracks(long long int nTracks)
Setters.
void SetStopTime(const time_t &stopTimeIn)
Setters.
BDSOutputROOTEventInfo * info
Instance of info.
void SetBunchIndex(int bunchIndexIn)
Setters.
void SetMemoryUsage(G4double memoryUsageMbIn)
Setters.
void SetPrimaryHitMachine(G4bool hitIn)
Setters.
void SetStartTime(const time_t &startTimeIn)
Setters.
void SetIndex(G4int indexIn)
Setters.
const BDSOutputROOTEventInfo * GetInfo() const
Accessor.
void SetAborted(G4bool abortedIn)
Setters.
void SetDurationCPU(G4float durationCPUIn)
Setters.
void SetSeedStateAtStart(const G4String &seedStateAtStartIn)
Setters.
void SetDurationWall(G4float durationWallIn)
Setters.
Information pertaining to an individual event.
double memoryUsageMb
Memory usage (rusage.ru_maxrss).
bool aborted
Whether the event was aborted or not.
int index
Number of this event or run.
long long int nTracks
Number of tracks in the event.
float durationWall
Number of seconds event took (wall time) to complete simulation (not writing out).
time_t startTime
Time stamp at start of event.
bool primaryHitMachine
Whether the primary particle hit the accelerator or not.
float durationCPU
Number of seconds event took (CPU time).
time_t stopTime
Time stamp at end of event.
std::string seedStateAtStart
Seed state at the start of the event.
int bunchIndex
Bunch index for this event.
bool primaryAbsorbedInCollimator
Whether the primary stopped in a collimator.