ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Simulation
G4Utilities
G4ProfilingTools
src
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
8
#include "
G4AtlasTools/UserActionToolBase.h
"
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
:
42
ServiceHandle<ITHistSvc>
m_histSvc
;
43
44
};
// class TestActionTimerTool
45
46
}
// namespace G4UA
47
48
#endif
TestActionTimer.h
UserActionToolBase.h
G4UA::TestActionTimerTool::finalize
virtual StatusCode finalize() override
Finalize the tool.
Definition
TestActionTimerTool.cxx:37
G4UA::TestActionTimerTool::initialize
virtual StatusCode initialize() override
Initialize the tool.
Definition
TestActionTimerTool.cxx:20
G4UA::TestActionTimerTool::makeAndFillAction
virtual std::unique_ptr< TestActionTimer > makeAndFillAction(G4AtlasUserActions &) override final
Create action for this thread.
Definition
TestActionTimerTool.cxx:27
G4UA::TestActionTimerTool::m_histSvc
ServiceHandle< ITHistSvc > m_histSvc
HistSvc to record timing histograms.
Definition
TestActionTimerTool.h:42
G4UA::TestActionTimerTool::TestActionTimerTool
TestActionTimerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition
TestActionTimerTool.cxx:12
G4UA::UserActionToolBase< TestActionTimer >::UserActionToolBase
UserActionToolBase(const std::string &type, const std::string &name, const IInterface *parent)
Definition
UserActionToolBase.h:40
ServiceHandle
Definition
ClusterMakerTool.h:36
G4UA
for nSW
Definition
CalibrationDefaultProcessing.h:19
G4UA::G4AtlasUserActions
Struct for passing around user actions.
Definition
IUserActionTool.h:35
type
Generated on
for ATLAS Offline Software by
1.17.0