ATLAS Offline Software
RadiationMapsMakerTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef G4USERACTIONS_G4UA__RADIATIONMAPSMAKERTOOL_H
6 #define G4USERACTIONS_G4UA__RADIATIONMAPSMAKERTOOL_H
7 
8 // Infrastructure includes
10 
11 // Local includes
12 #include "RadiationMapsMaker.h"
13 
14 namespace G4UA
15 {
16 
25 
27  public UserActionToolBase<RadiationMapsMaker>
28  {
29 
30  public:
32  RadiationMapsMakerTool(const std::string& type,
33  const std::string& name,
34  const IInterface* parent);
35 
37  virtual StatusCode initialize() override final;
38 
40  virtual StatusCode finalize() override final;
41 
42  protected:
43 
45  virtual std::unique_ptr<RadiationMapsMaker> makeAndFillAction(G4AtlasUserActions&) override final;
46 
47  private:
49  std::string m_radMapsFileName;
52 
53  }; // class RadiationMapsMakerTool
54 
55 } // namespace G4UA
56 #endif
G4UA::RadiationMapsMakerTool::initialize
virtual StatusCode initialize() override final
Initialize configurable properties.
Definition: RadiationMapsMakerTool.cxx:77
G4UA::G4AtlasUserActions
Struct for passing around user actions.
Definition: IUserActionTool.h:32
G4UA::RadiationMapsMakerTool
Tool which manages the RadiationMapsMaker action.
Definition: RadiationMapsMakerTool.h:28
G4UA
for nSW
Definition: CalibrationDefaultProcessing.h:19
UserActionToolBase.h
G4UA::RadiationMapsMakerTool::RadiationMapsMakerTool
RadiationMapsMakerTool(const std::string &type, const std::string &name, const IInterface *parent)
standard tool ctor
Definition: RadiationMapsMakerTool.cxx:11
G4UA::RadiationMapsMaker::Config
Definition: RadiationMapsMaker.h:27
G4UA::RadiationMapsMakerTool::m_config
RadiationMapsMaker::Config m_config
Radiation Map ranges and granularities.
Definition: RadiationMapsMakerTool.h:51
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
test_pyathena.parent
parent
Definition: test_pyathena.py:15
G4UA::RadiationMapsMakerTool::makeAndFillAction
virtual std::unique_ptr< RadiationMapsMaker > makeAndFillAction(G4AtlasUserActions &) override final
create action for this thread
Definition: RadiationMapsMakerTool.cxx:734
G4UA::RadiationMapsMakerTool::m_radMapsFileName
std::string m_radMapsFileName
Output Filename for the Radiation Maps.
Definition: RadiationMapsMakerTool.h:49
RadiationMapsMaker.h
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
G4UA::RadiationMapsMakerTool::finalize
virtual StatusCode finalize() override final
Finalize and merge results from all threads.
Definition: RadiationMapsMakerTool.cxx:134
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78