ATLAS Offline Software
LooperThresholdSetTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3  */
4 
5 #ifndef G4USERACTIONS_G4UA_LooperThresholdSetTOOL_H
6 #define G4USERACTIONS_G4UA_LooperThresholdSetTOOL_H
7 
8 // System includes
9 #include <string>
10 
11 // Infrastructure includes
13 
14 // Local includes
15 #include "LooperThresholdSet.h"
16 
17 namespace G4UA
18 {
19 
27 class LooperThresholdSetTool : public UserActionToolBase<LooperThresholdSet>
28 {
29 
30 public:
31 
33 LooperThresholdSetTool(const std::string& type, const std::string& name,
34  const IInterface* parent);
35 
36 virtual StatusCode initialize() override;
37 virtual StatusCode finalize() override;
38 
39 protected:
40 
42 virtual std::unique_ptr<LooperThresholdSet>
43 makeAndFillAction(G4AtlasUserActions&) override final;
44 
45 private:
46 
49 
50 }; // class LooperThresholdSetTool
51 
52 } // namespace G4UA
53 
54 #endif
G4UA::G4AtlasUserActions
Struct for passing around user actions.
Definition: IUserActionTool.h:32
G4UA
for nSW
Definition: CalibrationDefaultProcessing.h:19
G4UA::LooperThresholdSetTool
Tool which manages the Looper Threshold options.
Definition: LooperThresholdSetTool.h:28
G4UA::LooperThresholdSetTool::makeAndFillAction
virtual std::unique_ptr< LooperThresholdSet > makeAndFillAction(G4AtlasUserActions &) override final
Create action for this thread.
Definition: LooperThresholdSetTool.cxx:43
UserActionToolBase.h
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
LooperThresholdSet.h
G4UA::LooperThresholdSet::Config
Definition: LooperThresholdSet.h:25
G4UA::LooperThresholdSetTool::initialize
virtual StatusCode initialize() override
Definition: LooperThresholdSetTool.cxx:26
G4UA::LooperThresholdSetTool::LooperThresholdSetTool
LooperThresholdSetTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition: LooperThresholdSetTool.cxx:13
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
G4UA::UserActionToolBase
abstract template utility base-class for G4 user-action tools.
Definition: UserActionToolBase.h:33
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
G4UA::LooperThresholdSetTool::finalize
virtual StatusCode finalize() override
Definition: LooperThresholdSetTool.cxx:32
G4UA::LooperThresholdSetTool::m_config
LooperThresholdSet::Config m_config
Configuration parameters.
Definition: LooperThresholdSetTool.h:48