ATLAS Offline Software
Loading...
Searching...
No Matches
Simulation
G4Utilities
G4UserActions
src
AthenaTrackingActionTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef G4AtlasAlg_AthenaTrackingActionTool_H
6
#define G4AtlasAlg_AthenaTrackingActionTool_H
7
8
// G4Atlas includes
9
#include "
G4AtlasInterfaces/IUserActionTool.h
"
10
#include "
G4AtlasTools/UserActionToolBase.h
"
11
12
// Local includes
13
#include "
AthenaTrackingAction.h
"
14
15
namespace
G4UA
16
{
17
23
class
AthenaTrackingActionTool
:
public
UserActionToolBase
<AthenaTrackingAction>
24
{
25
26
public
:
27
29
AthenaTrackingActionTool
(
const
std::string&
type
,
const
std::string& name,
30
const
IInterface* parent);
31
33
virtual
StatusCode
initialize
()
override
;
34
35
protected
:
36
38
virtual
std::unique_ptr<AthenaTrackingAction>
39
makeAndFillAction
(
G4AtlasUserActions
& actionLists)
override
final
;
40
41
private
:
42
44
int
m_secondarySavingLevel
;
46
int
m_subDetVolLevel
;
47
48
};
// class AthenaTrackingActionTool
49
50
}
// namespace G4UA
51
52
#endif
AthenaTrackingAction.h
IUserActionTool.h
UserActionToolBase.h
G4UA::AthenaTrackingActionTool::makeAndFillAction
virtual std::unique_ptr< AthenaTrackingAction > makeAndFillAction(G4AtlasUserActions &actionLists) override final
Setup the user action for current thread.
Definition
AthenaTrackingActionTool.cxx:39
G4UA::AthenaTrackingActionTool::AthenaTrackingActionTool
AthenaTrackingActionTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition
AthenaTrackingActionTool.cxx:14
G4UA::AthenaTrackingActionTool::m_secondarySavingLevel
int m_secondarySavingLevel
The saving level for secondaries.
Definition
AthenaTrackingActionTool.h:44
G4UA::AthenaTrackingActionTool::m_subDetVolLevel
int m_subDetVolLevel
The level in the G4 volume hierarchy at which can we find the sub-detector name.
Definition
AthenaTrackingActionTool.h:46
G4UA::AthenaTrackingActionTool::initialize
virtual StatusCode initialize() override
Initialize the tool (just for debugging printout)
Definition
AthenaTrackingActionTool.cxx:29
G4UA::UserActionToolBase< AthenaTrackingAction >::UserActionToolBase
UserActionToolBase(const std::string &type, const std::string &name, const IInterface *parent)
Definition
UserActionToolBase.h:40
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.14.0