ATLAS Offline Software
MomentumConservationTool.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__MOMENTUMCONSERVATIONTOOL_H
6 #define G4USERACTIONS_G4UA__MOMENTUMCONSERVATIONTOOL_H
7 
8 // Infrastructure includes
10 
11 // Local includes
12 #include "MomentumConservation.h"
13 
14 namespace G4UA
15 {
16 
19  class MomentumConservationTool : public UserActionToolBase<MomentumConservation>
20  {
21 
22  public:
23 
25  MomentumConservationTool(const std::string& type, const std::string& name,
26  const IInterface* parent);
27 
28  protected:
29 
31  virtual std::unique_ptr<MomentumConservation>
32  makeAndFillAction(G4AtlasUserActions&) override final;
33 
34  }; // class MomentumConservationTool
35 
36 } // namespace G4UA
37 
38 #endif
G4UA::G4AtlasUserActions
Struct for passing around user actions.
Definition: IUserActionTool.h:32
G4UA
for nSW
Definition: CalibrationDefaultProcessing.h:19
UserActionToolBase.h
G4UA::MomentumConservationTool
Tool which manages the MomentumConservation user action.
Definition: MomentumConservationTool.h:20
test_pyathena.parent
parent
Definition: test_pyathena.py:15
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
G4UA::MomentumConservationTool::makeAndFillAction
virtual std::unique_ptr< MomentumConservation > makeAndFillAction(G4AtlasUserActions &) override final
Create the action for the current thread.
Definition: MomentumConservationTool.cxx:20
G4UA::UserActionToolBase
abstract template utility base-class for G4 user-action tools.
Definition: UserActionToolBase.h:33
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
MomentumConservation.h
G4UA::MomentumConservationTool::MomentumConservationTool
MomentumConservationTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition: MomentumConservationTool.cxx:11