ATLAS Offline Software
Simulation
G4Utilities
G4DebuggingTools
src
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
10
#include "
AthenaBaseComps/AthMessaging.h
"
11
12
#include "G4UserRunAction.hh"
13
#include "G4UserSteppingAction.hh"
14
15
class
G4VSolid;
16
class
G4Track;
17
18
namespace
G4UA
19
{
20
23
class
HyperspaceCatcher
:
public
AthMessaging
,
24
public
G4UserRunAction,
25
public
G4UserSteppingAction
26
{
27
28
public
:
29
30
struct
Config
31
{
32
int
treatmentLevel
=0;
33
int
killAfter
=0;
34
};
35
36
HyperspaceCatcher
(
const
Config
&
config
);
37
virtual
void
BeginOfRunAction
(
const
G4Run*)
override
;
38
virtual
void
UserSteppingAction
(
const
G4Step*)
override
;
39
40
private
:
41
42
Config
m_config
;
43
G4VSolid *
m_world
;
44
int
m_killCount
;
45
46
};
// class HyperspaceCatcher
47
48
}
// namespace G4UA
49
50
#endif //G4DEBUGGINGTOOLS_HyperspaceCatcher_H
G4UA::HyperspaceCatcher::m_killCount
int m_killCount
Definition:
HyperspaceCatcher.h:44
G4UA::HyperspaceCatcher::Config::treatmentLevel
int treatmentLevel
Definition:
HyperspaceCatcher.h:32
G4UA
for nSW
Definition:
CalibrationDefaultProcessing.h:19
G4UA::HyperspaceCatcher::Config::killAfter
int killAfter
Definition:
HyperspaceCatcher.h:33
config
Definition:
PhysicsAnalysis/AnalysisCommon/AssociationUtils/python/config.py:1
G4UA::HyperspaceCatcher::Config
Definition:
HyperspaceCatcher.h:31
AthMessaging
Class to provide easy MsgStream access and capabilities.
Definition:
AthMessaging.h:55
G4UA::HyperspaceCatcher::BeginOfRunAction
virtual void BeginOfRunAction(const G4Run *) override
Definition:
HyperspaceCatcher.cxx:35
G4UA::HyperspaceCatcher::m_world
G4VSolid * m_world
Definition:
HyperspaceCatcher.h:43
G4UA::HyperspaceCatcher::m_config
Config m_config
Definition:
HyperspaceCatcher.h:42
AthMessaging.h
G4UA::HyperspaceCatcher::UserSteppingAction
virtual void UserSteppingAction(const G4Step *) override
Definition:
HyperspaceCatcher.cxx:56
G4UA::HyperspaceCatcher::HyperspaceCatcher
HyperspaceCatcher(const Config &config)
Definition:
HyperspaceCatcher.cxx:28
G4UA::HyperspaceCatcher
User action for catching cases of the hyperspace bug.
Definition:
HyperspaceCatcher.h:26
Generated on Thu Nov 7 2024 21:16:29 for ATLAS Offline Software by
1.8.18