ATLAS Offline Software
Loading...
Searching...
No Matches
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
7namespace G4UA
8{
9
10 namespace CaloG4
11 {
12
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
#define ATH_MSG_DEBUG(x)
CalibrationDefaultProcessingTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
virtual std::unique_ptr< CalibrationDefaultProcessing > makeAndFillAction(G4AtlasUserActions &) override final
Create an action for this thread.
CalibrationDefaultProcessing::Config m_config
python configuration
User action for default processing of calibration energy deposits.
UserActionToolBase(const std::string &type, const std::string &name, const IInterface *parent)
Struct for passing around user actions.
std::vector< G4UserSteppingAction * > steppingActions
std::vector< G4UserEventAction * > eventActions