ATLAS Offline Software
|
Tool which manages the G4SimTimer action. More...
#include <G4SimTimerTool.h>
Public Member Functions | |
G4SimTimerTool (const std::string &type, const std::string &name, const IInterface *parent) | |
Standard constructor. More... | |
virtual StatusCode | initialize () override |
Initialize the tool. More... | |
virtual StatusCode | finalize () override |
Finalize and merge results from all worker threads. More... | |
virtual StatusCode | fillUserAction (G4AtlasUserActions &actionLists) override final |
Fill the user action lists. More... | |
Protected Member Functions | |
virtual std::unique_ptr< G4SimTimer > | makeAndFillAction (G4AtlasUserActions &) override final |
Create aciton for this thread. More... | |
Protected Attributes | |
ThreadSpecificUserAction< G4SimTimer > | m_actions |
Thread-specific storage of the user action. More... | |
Tool which manages the G4SimTimer action.
Create the G4SimTimer for each worker thread and merges timing results in finalization.
Definition at line 28 of file G4SimTimerTool.h.
G4UA::G4SimTimerTool::G4SimTimerTool | ( | const std::string & | type, |
const std::string & | name, | ||
const IInterface * | parent | ||
) |
Standard constructor.
Definition at line 13 of file G4SimTimerTool.cxx.
|
inlinefinaloverridevirtualinherited |
|
overridevirtual |
Finalize and merge results from all worker threads.
Definition at line 32 of file G4SimTimerTool.cxx.
|
overridevirtual |
Initialize the tool.
Definition at line 23 of file G4SimTimerTool.cxx.
|
finaloverrideprotectedvirtual |
Create aciton for this thread.
Implements G4UA::UserActionToolBase< G4SimTimer >.
Definition at line 55 of file G4SimTimerTool.cxx.
|
protectedinherited |
Thread-specific storage of the user action.
Definition at line 63 of file UserActionToolBase.h.