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