ATLAS Offline Software
AthenaTrackingActionTool.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 G4AtlasAlg_AthenaTrackingActionTool_H
6 #define G4AtlasAlg_AthenaTrackingActionTool_H
7 
8 // G4Atlas includes
11 
12 // Local includes
13 #include "AthenaTrackingAction.h"
14 
15 namespace G4UA
16 {
17 
23  class AthenaTrackingActionTool : public UserActionToolBase<AthenaTrackingAction>
24  {
25 
26  public:
27 
29  AthenaTrackingActionTool(const std::string& type, const std::string& name,
30  const IInterface* parent);
31 
33  virtual StatusCode initialize() override;
34 
35  protected:
36 
38  virtual std::unique_ptr<AthenaTrackingAction>
39  makeAndFillAction(G4AtlasUserActions& actionLists) override final;
40 
41  private:
42 
47 
48  }; // class AthenaTrackingActionTool
49 
50 } // namespace G4UA
51 
52 #endif
G4UA::G4AtlasUserActions
Struct for passing around user actions.
Definition: IUserActionTool.h:32
G4UA
for nSW
Definition: CalibrationDefaultProcessing.h:19
G4UA::AthenaTrackingActionTool::m_subDetVolLevel
int m_subDetVolLevel
The level in the G4 volume hierarchy at which can we find the sub-detector name.
Definition: AthenaTrackingActionTool.h:46
UserActionToolBase.h
AthenaTrackingAction.h
G4UA::AthenaTrackingActionTool::initialize
virtual StatusCode initialize() override
Initialize the tool (just for debugging printout)
Definition: AthenaTrackingActionTool.cxx:29
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
G4UA::AthenaTrackingActionTool
Tool which manages the AthenaTrackingAction.
Definition: AthenaTrackingActionTool.h:24
test_pyathena.parent
parent
Definition: test_pyathena.py:15
G4UA::AthenaTrackingActionTool::m_secondarySavingLevel
int m_secondarySavingLevel
The saving level for secondaries.
Definition: AthenaTrackingActionTool.h:44
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
G4UA::AthenaTrackingActionTool::AthenaTrackingActionTool
AthenaTrackingActionTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition: AthenaTrackingActionTool.cxx:14
IUserActionTool.h
G4UA::AthenaTrackingActionTool::makeAndFillAction
virtual std::unique_ptr< AthenaTrackingAction > makeAndFillAction(G4AtlasUserActions &actionLists) override final
Setup the user action for current thread.
Definition: AthenaTrackingActionTool.cxx:39
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78