ATLAS Offline Software
CalibrationDefaultProcessingTool.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 namespace G4UA
8 {
9 
10  namespace CaloG4
11  {
12 
14  CalibrationDefaultProcessingTool(const std::string& type,
15  const std::string& name,
16  const IInterface* parent)
18  {
19  declareProperty("SDName", m_config.SDName);
20  }
21 
22  std::unique_ptr<CalibrationDefaultProcessing>
24  {
25  ATH_MSG_DEBUG("Constructing a CalibrationDefaultProcessing action");
26  auto action = std::make_unique<CalibrationDefaultProcessing>(m_config);
27  actionList.eventActions.push_back( action.get() );
28  actionList.steppingActions.push_back( action.get() );
29  return action;
30  }
31 
32  } // namespace CaloG4
33 
34 } // namespace G4UA
G4UA::G4AtlasUserActions
Struct for passing around user actions.
Definition: IUserActionTool.h:32
G4UA
for nSW
Definition: CalibrationDefaultProcessing.h:19
G4UA::CaloG4::CalibrationDefaultProcessingTool::m_config
CalibrationDefaultProcessing::Config m_config
python configuration
Definition: CalibrationDefaultProcessingTool.h:37
G4UA::CaloG4::CalibrationDefaultProcessingTool::makeAndFillAction
virtual std::unique_ptr< CalibrationDefaultProcessing > makeAndFillAction(G4AtlasUserActions &) override final
Create an action for this thread.
Definition: CalibrationDefaultProcessingTool.cxx:23
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
G4UA::CaloG4::CalibrationDefaultProcessing::Config::SDName
std::string SDName
Definition: CalibrationDefaultProcessing.h:53
test_pyathena.parent
parent
Definition: test_pyathena.py:15
CaloG4
Definition: EscapedEnergyRegistry.h:21
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
CalibrationDefaultProcessingTool.h
G4UA::UserActionToolBase
abstract template utility base-class for G4 user-action tools.
Definition: UserActionToolBase.h:33
G4UA::CaloG4::CalibrationDefaultProcessing
User action for default processing of calibration energy deposits.
Definition: CalibrationDefaultProcessing.h:45
python.CaloScaleNoiseConfig.action
action
Definition: CaloScaleNoiseConfig.py:77
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
G4UA::CaloG4::CalibrationDefaultProcessingTool::CalibrationDefaultProcessingTool
CalibrationDefaultProcessingTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition: CalibrationDefaultProcessingTool.cxx:14
G4UA::G4AtlasUserActions::eventActions
std::vector< G4UserEventAction * > eventActions
Definition: IUserActionTool.h:34
G4UA::G4AtlasUserActions::steppingActions
std::vector< G4UserSteppingAction * > steppingActions
Definition: IUserActionTool.h:36