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