ATLAS Offline Software
Loading...
Searching...
No Matches
HyperspaceCatcher.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 G4DEBUGGINGTOOLS_HyperspaceCatcher_H
6#define G4DEBUGGINGTOOLS_HyperspaceCatcher_H
7
8#include <string>
9
11
12#include "G4UserRunAction.hh"
13#include "G4UserSteppingAction.hh"
14
15class G4VSolid;
16class G4Track;
17
18namespace G4UA
19{
20
24 public G4UserRunAction,
25 public G4UserSteppingAction
26 {
27
28 public:
29
30 struct Config
31 {
33 int killAfter=0;
34 };
35
37 virtual void BeginOfRunAction(const G4Run*) override;
38 virtual void UserSteppingAction(const G4Step*) override;
39
40 private:
41
43 G4VSolid * m_world;
45
46 }; // class HyperspaceCatcher
47
48} // namespace G4UA
49
50#endif //G4DEBUGGINGTOOLS_HyperspaceCatcher_H
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
HyperspaceCatcher(const Config &config)
virtual void UserSteppingAction(const G4Step *) override
virtual void BeginOfRunAction(const G4Run *) override