ATLAS Offline Software
TestActionTimerTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef G4PROFILINGTOOLS_G4UA__TESTACTIONTIMERTOOL_H
6 #define G4PROFILINGTOOLS_G4UA__TESTACTIONTIMERTOOL_H
7 
9 #include "TestActionTimer.h"
10 #include "GaudiKernel/ITHistSvc.h"
11 
12 
13 namespace G4UA
14 {
15 
23  class TestActionTimerTool: public UserActionToolBase<TestActionTimer>
24  {
25 
26  public:
28  TestActionTimerTool(const std::string& type, const std::string& name,const IInterface* parent);
29 
31  virtual StatusCode initialize() override;
33  virtual StatusCode finalize() override;
34 
35  protected:
37  virtual std::unique_ptr<TestActionTimer>
38  makeAndFillAction(G4AtlasUserActions&) override final;
39 
40  private:
43 
44  }; // class TestActionTimerTool
45 
46 } // namespace G4UA
47 
48 #endif
G4UA::G4AtlasUserActions
Struct for passing around user actions.
Definition: IUserActionTool.h:32
G4UA::TestActionTimerTool::m_histSvc
ServiceHandle< ITHistSvc > m_histSvc
HistSvc to record timing histograms.
Definition: TestActionTimerTool.h:42
G4UA
for nSW
Definition: CalibrationDefaultProcessing.h:19
G4UA::TestActionTimerTool::makeAndFillAction
virtual std::unique_ptr< TestActionTimer > makeAndFillAction(G4AtlasUserActions &) override final
Create action for this thread.
Definition: TestActionTimerTool.cxx:27
UserActionToolBase.h
G4UA::TestActionTimerTool::initialize
virtual StatusCode initialize() override
Initialize the tool.
Definition: TestActionTimerTool.cxx:20
TestActionTimer.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
test_pyathena.parent
parent
Definition: test_pyathena.py:15
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
G4UA::UserActionToolBase
abstract template utility base-class for G4 user-action tools.
Definition: UserActionToolBase.h:33
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
G4UA::TestActionTimerTool
Tool which manages the TestActionTimer action.
Definition: TestActionTimerTool.h:24
G4UA::TestActionTimerTool::TestActionTimerTool
TestActionTimerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition: TestActionTimerTool.cxx:12
G4UA::TestActionTimerTool::finalize
virtual StatusCode finalize() override
Finalize the tool.
Definition: TestActionTimerTool.cxx:37
ServiceHandle< ITHistSvc >