|
ATLAS Offline Software
|
Go to the documentation of this file.
22 #ifndef TestActionTimer_H
23 #define TestActionTimer_H
29 #include "G4String.hh"
31 #include "G4UserEventAction.hh"
32 #include "G4UserRunAction.hh"
33 #include "G4UserSteppingAction.hh"
53 public G4UserEventAction,
public G4UserRunAction,
public G4UserSteppingAction
80 for(
unsigned int i=0;
i<
time.size();++
i)
121 #endif // #define TestActionTimer_H
std::vector< double > time
Vector of timers for each of the enum.
double TimerSum(G4Timer *timer) const
Gets the appropriate time from the timer for adding to the sum.
void PPanic()
Method to shut down all particle timers.
User action to measure time spent in subdetectors.
G4Timer * m_runTimer
Timer for the entire run.
void merge(const Report &rep)
TestActionTimer & operator=(const TestActionTimer &)=delete
std::vector< G4Timer * > m_timer
Vector of timers for each of the enum.
virtual void UserSteppingAction(const G4Step *) override
virtual void EndOfEventAction(const G4Event *) override
TestActionTimer(const TestActionTimer &)=delete
virtual void EndOfRunAction(const G4Run *) override
def timer(name, disabled=False)
G4Timer * m_eventTimer
Timer for this event.
const Report & getReport() const
TestActionTimer()
constructor
this holds all the data from individual threads that needs to be merged at EoR
virtual void BeginOfEventAction(const G4Event *) override
void VPanic()
Method to shut down all volume timers.
double m_eventTime
Double for storing this event.
int ClassifyVolume(G4String &) const
Method to sort out which volume we are in.
virtual void BeginOfRunAction(const G4Run *) override
std::vector< std::string > timeName
Vector of names for each of the timers.