|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef G4USERACTIONS_G4UA_G4SIMTIMER_H
6 #define G4USERACTIONS_G4UA_G4SIMTIMER_H
13 #include "G4UserEventAction.hh"
95 #endif // G4USERACTIONS_G4UA_G4SIMTIMER_H
double eventTime
Accumulated event time.
double eventTimeSquared
Accumulated squared event time.
Simple struct which holds timing results for an action instance.
const Report & getReport() const
Retrieve my timing results.
unsigned int nEvent
Number of timed G4 events (we skip the first).
virtual void BeginOfEventAction(const G4Event *event) override final
Start timing this Geant4 event.
void merge(const Report &rep)
std::pair< double, double > meanAndSigma()
Calculate the mean and sample std dev.
POOL::TEvent event(POOL::TEvent::kClassAccess)
G4Timer m_eventTimer
My private instance of an event timer.
A user action for monitoring G4 runtime at event and run level.
virtual void EndOfEventAction(const G4Event *event) override final
Finish timing this Geant4 event.
Class to provide easy MsgStream access and capabilities.
Report m_results
My timing results.
bool m_firstEvent
Used to skip the first event.
Report()
Initializes the variables.