ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Simulation
G4Utilities
G4UserActions
src
AthenaStackingActionTool.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_ATLASSTACKINGACTIONTOOL_H
6
#define G4ATLASALG_ATLASSTACKINGACTIONTOOL_H
7
8
// STL includes
9
#include <string>
10
11
// G4Atlas includes
12
#include "
G4AtlasInterfaces/IUserActionTool.h
"
13
#include "
G4AtlasTools/UserActionToolBase.h
"
14
15
// Local includes
16
#include "
AthenaStackingAction.h
"
17
18
19
namespace
G4UA
20
{
21
27
class
AthenaStackingActionTool
:
public
UserActionToolBase
<AthenaStackingAction>
28
{
29
30
public
:
31
33
AthenaStackingActionTool
(
const
std::string&
type
,
const
std::string& name,
34
const
IInterface* parent);
35
37
virtual
StatusCode
initialize
()
override
final
;
38
39
protected
:
40
41
// Setup the user action for current thread
42
virtual
std::unique_ptr<AthenaStackingAction>
43
makeAndFillAction
(
G4AtlasUserActions
& actionLists)
override
final
;
44
45
private
:
46
48
AthenaStackingAction::Config
m_config
;
49
51
bool
m_useDebugAction
;
52
53
};
// class AthenaStackingActionTool
54
55
}
// namespace G4UA
56
57
#endif
AthenaStackingAction.h
IUserActionTool.h
UserActionToolBase.h
G4UA::AthenaStackingActionTool::initialize
virtual StatusCode initialize() override final
Initialize the tool.
Definition
AthenaStackingActionTool.cxx:53
G4UA::AthenaStackingActionTool::m_config
AthenaStackingAction::Config m_config
Configuration parameters.
Definition
AthenaStackingActionTool.h:48
G4UA::AthenaStackingActionTool::m_useDebugAction
bool m_useDebugAction
Use the debug version of the stacking action.
Definition
AthenaStackingActionTool.h:51
G4UA::AthenaStackingActionTool::makeAndFillAction
virtual std::unique_ptr< AthenaStackingAction > makeAndFillAction(G4AtlasUserActions &actionLists) override final
Make the action and push onto the lists.
Definition
AthenaStackingActionTool.cxx:69
G4UA::AthenaStackingActionTool::AthenaStackingActionTool
AthenaStackingActionTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition
AthenaStackingActionTool.cxx:15
G4UA::UserActionToolBase< AthenaStackingAction >::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::AthenaStackingAction::Config
Configuration option struct for AthenaStackingAction.
Definition
AthenaStackingAction.h:29
G4UA::G4AtlasUserActions
Struct for passing around user actions.
Definition
IUserActionTool.h:35
type
Generated on
for ATLAS Offline Software by
1.17.0