ATLAS Offline Software
HIPLArVolumeAcceptTool.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__HIPLARVOLUMEACCEPTTOOL_H
6 #define G4USERACTIONS_G4UA__HIPLARVOLUMEACCEPTTOOL_H
7 
8 // Infrastructure includes
10 
11 // Local includes
12 #include "HIPLArVolumeAccept.h"
13 
14 namespace G4UA
15 {
16 
19  class HIPLArVolumeAcceptTool : public UserActionToolBase<HIPLArVolumeAccept>
20  {
21 
22  public:
23 
25  HIPLArVolumeAcceptTool(const std::string& type, const std::string& name,
26  const IInterface* parent);
27 
29  virtual StatusCode finalize() override;
30 
31  protected:
32 
34  virtual std::unique_ptr<HIPLArVolumeAccept>
35  makeAndFillAction(G4AtlasUserActions&) override final;
36 
37  }; // class HIPLArVolumeAcceptTool
38 
39 } // namespace G4UA
40 
41 #endif
G4UA::G4AtlasUserActions
Struct for passing around user actions.
Definition: IUserActionTool.h:32
G4UA
for nSW
Definition: CalibrationDefaultProcessing.h:19
UserActionToolBase.h
HIPLArVolumeAccept.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
G4UA::HIPLArVolumeAcceptTool::HIPLArVolumeAcceptTool
HIPLArVolumeAcceptTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition: HIPLArVolumeAcceptTool.cxx:11
test_pyathena.parent
parent
Definition: test_pyathena.py:15
G4UA::HIPLArVolumeAcceptTool::finalize
virtual StatusCode finalize() override
Finalize the tool.
Definition: HIPLArVolumeAcceptTool.cxx:30
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
G4UA::HIPLArVolumeAcceptTool
Tool which manages the HIPLArVolumeAccept action.
Definition: HIPLArVolumeAcceptTool.h:20
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
G4UA::HIPLArVolumeAcceptTool::makeAndFillAction
virtual std::unique_ptr< HIPLArVolumeAccept > makeAndFillAction(G4AtlasUserActions &) override final
Create the action for the current thread.
Definition: HIPLArVolumeAcceptTool.cxx:20