ATLAS Offline Software
Simulation
G4Utilities
G4DebuggingTools
src
CheckActivationTool.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
CheckActivationTool.h
"
6
7
namespace
G4UA
8
{
9
10
CheckActivationTool::CheckActivationTool
(
const
std::string&
type
,
11
const
std::string&
name
,
12
const
IInterface*
parent
)
13
:
UserActionToolBase
<
CheckActivation
>(
type
,
name
,
parent
)
14
{
15
}
16
17
std::unique_ptr<CheckActivation>
18
CheckActivationTool::makeAndFillAction
(
G4AtlasUserActions
& actionList)
19
{
20
ATH_MSG_DEBUG
(
"Constructing a CheckActivation action"
);
21
auto
action
= std::make_unique<CheckActivation>();
22
actionList.
eventActions
.push_back(
action
.get() );
23
return
action
;
24
}
25
26
}
// namespace G4UA
G4UA::G4AtlasUserActions
Struct for passing around user actions.
Definition:
IUserActionTool.h:32
G4UA
for nSW
Definition:
CalibrationDefaultProcessing.h:19
G4UA::CheckActivationTool::makeAndFillAction
virtual std::unique_ptr< CheckActivation > makeAndFillAction(G4AtlasUserActions &) override final
Create an action for this thread.
Definition:
CheckActivationTool.cxx:18
CheckActivationTool.h
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition:
AthMsgStreamMacros.h:29
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
G4UA::CheckActivation
Definition:
CheckActivation.h:14
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
G4UA::UserActionToolBase
abstract template utility base-class for G4 user-action tools.
Definition:
UserActionToolBase.h:33
python.CaloScaleNoiseConfig.action
action
Definition:
CaloScaleNoiseConfig.py:77
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
G4UA::G4AtlasUserActions::eventActions
std::vector< G4UserEventAction * > eventActions
Definition:
IUserActionTool.h:34
G4UA::CheckActivationTool::CheckActivationTool
CheckActivationTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition:
CheckActivationTool.cxx:10
Generated on Fri Jan 10 2025 21:08:07 for ATLAS Offline Software by
1.8.18