ATLAS Offline Software
ScoringPlaneTool.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__SCORINGPLANETOOL_H
6 #define G4USERACTIONS_G4UA__SCORINGPLANETOOL_H
7 
8 // Infrastructure includes
10 
11 // Local includes
12 #include "ScoringPlane.h"
13 
14 
15 namespace G4UA
16 {
17 
24  class ScoringPlaneTool : public UserActionToolBase<ScoringPlane>
25  {
26 
27  public:
28 
30  ScoringPlaneTool(const std::string& type, const std::string& name,
31  const IInterface* parent);
32 
33  protected:
34 
36  virtual std::unique_ptr<ScoringPlane>
37  makeAndFillAction(G4AtlasUserActions&) override final;
38 
39  private:
40 
43 
44  }; // class ScoringPlaneTool
45 
46 } // namespace G4UA
47 
48 #endif
G4UA::G4AtlasUserActions
Struct for passing around user actions.
Definition: IUserActionTool.h:32
G4UA
for nSW
Definition: CalibrationDefaultProcessing.h:19
UserActionToolBase.h
G4UA::ScoringPlaneTool
A tool to manage ScoprinPlane actions.
Definition: ScoringPlaneTool.h:25
G4UA::ScoringPlane::Config
Definition: ScoringPlane.h:31
test_pyathena.parent
parent
Definition: test_pyathena.py:15
G4UA::ScoringPlaneTool::m_config
ScoringPlane::Config m_config
holds the python configuration
Definition: ScoringPlaneTool.h:42
G4UA::ScoringPlaneTool::makeAndFillAction
virtual std::unique_ptr< ScoringPlane > makeAndFillAction(G4AtlasUserActions &) override final
creates the action instances
Definition: ScoringPlaneTool.cxx:22
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::ScoringPlaneTool::ScoringPlaneTool
ScoringPlaneTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard tool ctor.
Definition: ScoringPlaneTool.cxx:11
ScoringPlane.h