ATLAS Offline Software
StoppedParticleActionTool.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__STOPPEDPARTICLEACTIONTOOL_H
6 #define G4USERACTIONS_G4UA__STOPPEDPARTICLEACTIONTOOL_H
7 
8 // Infrastructure includes
10 
11 // Local includes
12 #include "StoppedParticleAction.h"
13 
14 namespace G4UA
15 {
16 
19  class StoppedParticleActionTool: public UserActionToolBase<StoppedParticleAction>
20  {
21 
22  public:
23 
25  StoppedParticleActionTool(const std::string& type, const std::string& name,
26  const IInterface* parent);
27 
28  protected:
29 
31  virtual std::unique_ptr<StoppedParticleAction>
32  makeAndFillAction(G4AtlasUserActions&) override final;
33 
34  }; // class StoppedParticleActionTool
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::StoppedParticleActionTool::makeAndFillAction
virtual std::unique_ptr< StoppedParticleAction > makeAndFillAction(G4AtlasUserActions &) override final
Create the action for the current thread.
Definition: StoppedParticleActionTool.cxx:20
StoppedParticleAction.h
G4UA::StoppedParticleActionTool::StoppedParticleActionTool
StoppedParticleActionTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition: StoppedParticleActionTool.cxx:11
test_pyathena.parent
parent
Definition: test_pyathena.py:15
G4UA::StoppedParticleActionTool
Tool which manages the StoppedParticleAction.
Definition: StoppedParticleActionTool.h:20
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