![]() |
ATLAS Offline Software
|
User action to measure time spent in subdetectors. More...
#include <TestActionTimer.h>
Classes | |
| struct | Report |
| this holds all the data from individual threads that needs to be merged at EoR More... | |
Public Types | |
| enum | { eEMB, eEMEC, eFC1, eFC23, eFCO, eHEC, eCry, eLAr, eHCB, ePre, eMu, ePx, eSct, eITkPix, eITkStrip, eSev, eTrt, eOther, eElec, ePos, eGam, eNeut, eMax } |
Public Member Functions | |
| TestActionTimer () | |
| constructor More... | |
| TestActionTimer (const TestActionTimer &)=delete | |
| TestActionTimer & | operator= (const TestActionTimer &)=delete |
| const Report & | getReport () const |
| virtual void | BeginOfEventAction (const G4Event *) override |
| virtual void | EndOfEventAction (const G4Event *) override |
| virtual void | BeginOfRunAction (const G4Run *) override |
| virtual void | EndOfRunAction (const G4Run *) override |
| virtual void | UserSteppingAction (const G4Step *) override |
Private Member Functions | |
| double | TimerSum (G4Timer *timer) const |
| Gets the appropriate time from the timer for adding to the sum. More... | |
| void | PPanic () |
| Method to shut down all particle timers. More... | |
| void | VPanic () |
| Method to shut down all volume timers. More... | |
| int | ClassifyVolume (G4String &) const |
| Method to sort out which volume we are in. More... | |
Private Attributes | |
| Report | m_report |
| G4Timer * | m_runTimer |
| Timer for the entire run. More... | |
| G4Timer * | m_eventTimer |
| Timer for this event. More... | |
| double | m_eventTime |
| Double for storing this event. More... | |
| std::vector< G4Timer * > | m_timer |
| Vector of timers for each of the enum. More... | |
User action to measure time spent in subdetectors.
@author Zachary Marshall, Caltech, USA
@author Wolfgang Ehrenfeld, University of Hamburg, Germany
Definition at line 52 of file TestActionTimer.h.
| anonymous enum |
| Enumerator | |
|---|---|
| eEMB | |
| eEMEC | |
| eFC1 | |
| eFC23 | |
| eFCO | |
| eHEC | |
| eCry | |
| eLAr | |
| eHCB | |
| ePre | |
| eMu | |
| ePx | |
| eSct | |
| eITkPix | |
| eITkStrip | |
| eSev | |
| eTrt | |
| eOther | |
| eElec | |
| ePos | |
| eGam | |
| eNeut | |
| eMax | |
Definition at line 97 of file TestActionTimer.h.
| G4UA::TestActionTimer::TestActionTimer | ( | ) |
|
delete |
|
overridevirtual |
Definition at line 121 of file TestActionTimer.cxx.
|
overridevirtual |
Definition at line 145 of file TestActionTimer.cxx.
|
private |
|
overridevirtual |
Definition at line 136 of file TestActionTimer.cxx.
|
overridevirtual |
Definition at line 151 of file TestActionTimer.cxx.
Definition at line 85 of file TestActionTimer.h.
|
delete |
|
private |
|
private |
|
overridevirtual |
Definition at line 159 of file TestActionTimer.cxx.
|
private |
|
private |
Double for storing this event.
Definition at line 107 of file TestActionTimer.h.
|
private |
Timer for this event.
Definition at line 106 of file TestActionTimer.h.
|
private |
Definition at line 103 of file TestActionTimer.h.
|
private |
Timer for the entire run.
Definition at line 105 of file TestActionTimer.h.
|
private |
Vector of timers for each of the enum.
Definition at line 109 of file TestActionTimer.h.
1.8.18