ATLAS Offline Software
Loading...
Searching...
No Matches
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
14
15namespace 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
virtual std::unique_ptr< AthenaTrackingAction > makeAndFillAction(G4AtlasUserActions &actionLists) override final
Setup the user action for current thread.
AthenaTrackingActionTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
int m_secondarySavingLevel
The saving level for secondaries.
int m_subDetVolLevel
The level in the G4 volume hierarchy at which can we find the sub-detector name.
virtual StatusCode initialize() override
Initialize the tool (just for debugging printout)
UserActionToolBase(const std::string &type, const std::string &name, const IInterface *parent)
Struct for passing around user actions.