ATLAS Offline Software
Loading...
Searching...
No Matches
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
11namespace 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>
34 private:
37 }; // class MCTruthUserActionTool
38
39 }// iGeant4
40
41} // namespace G4UA
42
43#endif
UserActionToolBase(const std::string &type, const std::string &name, const IInterface *parent)
virtual std::unique_ptr< MCTruthUserAction > makeAndFillAction(G4AtlasUserActions &) override final
Create an action for this thread.
MCTruthUserAction::Config m_config
Configuration parameters.
MCTruthUserActionTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Struct for passing around user actions.