ATLAS Offline Software
MCTruthUserActionTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ISF_GEANT4TOOLS_G4UA__MCTRUTHUSERACTIONTOOL_H
6 #define ISF_GEANT4TOOLS_G4UA__MCTRUTHUSERACTIONTOOL_H
7 
9 #include "MCTruthUserAction.h"
10 
11 namespace G4UA
12 {
13 
14  namespace iGeant4
15  {
16 
22 
23  class MCTruthUserActionTool : public UserActionToolBase<MCTruthUserAction>
24  {
25 
26  public:
28  MCTruthUserActionTool(const std::string& type, const std::string& name,
29  const IInterface* parent);
30  protected:
32  virtual std::unique_ptr<MCTruthUserAction>
33  makeAndFillAction(G4AtlasUserActions&) override final;
34  private:
37  }; // class MCTruthUserActionTool
38 
39  }// iGeant4
40 
41 } // namespace G4UA
42 
43 #endif
G4UA::G4AtlasUserActions
Struct for passing around user actions.
Definition: IUserActionTool.h:32
G4UA
for nSW
Definition: CalibrationDefaultProcessing.h:19
MCTruthUserAction.h
G4UA::iGeant4::MCTruthUserActionTool::m_config
MCTruthUserAction::Config m_config
Configuration parameters.
Definition: MCTruthUserActionTool.h:36
UserActionToolBase.h
G4UA::iGeant4::MCTruthUserActionTool::MCTruthUserActionTool
MCTruthUserActionTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition: MCTruthUserActionTool.cxx:13
test_pyathena.parent
parent
Definition: test_pyathena.py:15
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
G4UA::iGeant4::MCTruthUserAction::Config
Definition: MCTruthUserAction.h:42
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::iGeant4::MCTruthUserActionTool
Tool which manages the MCTruthUserAction.
Definition: MCTruthUserActionTool.h:24
G4UA::iGeant4::MCTruthUserActionTool::makeAndFillAction
virtual std::unique_ptr< MCTruthUserAction > makeAndFillAction(G4AtlasUserActions &) override final
Create an action for this thread.
Definition: MCTruthUserActionTool.cxx:24
iGeant4
Definition: Geant4TruthIncident.h:35