ATLAS Offline Software
Loading...
Searching...
No Matches
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
14namespace 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
RadiationMapsMaker::Config m_config
Radiation Map ranges and granularities.
virtual StatusCode initialize() override final
Initialize configurable properties.
virtual StatusCode finalize() override final
Finalize and merge results from all threads.
virtual std::unique_ptr< RadiationMapsMaker > makeAndFillAction(G4AtlasUserActions &) override final
create action for this thread
std::string m_radMapsFileName
Output Filename for the Radiation Maps.
RadiationMapsMakerTool(const std::string &type, const std::string &name, const IInterface *parent)
standard tool ctor
UserActionToolBase(const std::string &type, const std::string &name, const IInterface *parent)
Struct for passing around user actions.