ATLAS Offline Software
Loading...
Searching...
No Matches
SG_StepNtupleTool.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 RHADRONS_G4UA__SG_STEPNTUPLETOOL_H
6#define RHADRONS_G4UA__SG_STEPNTUPLETOOL_H
7
8// Base class
10
11// UA to be constructed
12#include "SG_StepNtuple.h"
13
14#include <vector>
15
16namespace G4UA
17{
18
24 class SG_StepNtupleTool : public UserActionToolBase<SG_StepNtuple>
25 {
26
27 public:
28
30 SG_StepNtupleTool(const std::string& type, const std::string& name,
31 const IInterface* parent);
32 protected:
33
35 virtual std::unique_ptr<SG_StepNtuple>
37
38 private:
39 std::vector<int> m_pdgids;
40
41 }; // class SG_StepNtupleTool
42
43} // namespace G4UA
44
45#endif
SG_StepNtupleTool(const std::string &type, const std::string &name, const IInterface *parent)
standard tool ctor
virtual std::unique_ptr< SG_StepNtuple > makeAndFillAction(G4AtlasUserActions &) override final
creates the action instances
std::vector< int > m_pdgids
UserActionToolBase(const std::string &type, const std::string &name, const IInterface *parent)
Struct for passing around user actions.