ATLAS Offline Software
Loading...
Searching...
No Matches
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
13namespace 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>
39
40 private:
43
44 }; // class TestActionTimerTool
45
46} // namespace G4UA
47
48#endif
virtual StatusCode finalize() override
Finalize the tool.
virtual StatusCode initialize() override
Initialize the tool.
virtual std::unique_ptr< TestActionTimer > makeAndFillAction(G4AtlasUserActions &) override final
Create action for this thread.
ServiceHandle< ITHistSvc > m_histSvc
HistSvc to record timing histograms.
TestActionTimerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
UserActionToolBase(const std::string &type, const std::string &name, const IInterface *parent)
Struct for passing around user actions.