ATLAS Offline Software
Loading...
Searching...
No Matches
LooperKillerTool.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 G4USERACTIONS_G4UA_LOOPERKILLERTOOL_H
6#define G4USERACTIONS_G4UA_LOOPERKILLERTOOL_H
7
8// System includes
9#include <string>
10
11// Infrastructure includes
13
14// Local includes
15#include "LooperKiller.h"
16
17namespace G4UA
18{
19
27 class LooperKillerTool : public UserActionToolBase<LooperKiller>
28 {
29
30 public:
31
33 LooperKillerTool(const std::string& type, const std::string& name,
34 const IInterface* parent);
35
36 virtual StatusCode initialize() override;
37 virtual StatusCode finalize() override;
38
39 protected:
40
42 virtual std::unique_ptr<LooperKiller>
44
45 private:
46
49
50 }; // class LooperKillerTool
51
52} // namespace G4UA
53
54#endif
G4UA::LooperKiller::Config m_config
Configuration parameters.
virtual StatusCode initialize() override
LooperKillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
virtual StatusCode finalize() override
virtual std::unique_ptr< LooperKiller > makeAndFillAction(G4AtlasUserActions &) override final
Create action for this thread.
UserActionToolBase(const std::string &type, const std::string &name, const IInterface *parent)
Struct for passing around user actions.