DD4hep
1.32.0
Detector Description Toolkit for High Energy Physics
Main Page
Related Pages
Modules
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerations
_
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
u
Enumerator
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Related Functions
b
d
g
o
p
s
t
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
x
Functions
_
c
d
g
h
i
l
m
n
o
p
r
s
u
Variables
Typedefs
_
a
c
d
e
f
g
j
l
o
p
r
s
t
u
v
x
Enumerations
Enumerator
Macros
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
DDG4
include
DDG4
Geant4Interrupts.h
Go to the documentation of this file.
1
//==========================================================================
2
// AIDA Detector description implementation
3
//--------------------------------------------------------------------------
4
// Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
5
// All rights reserved.
6
//
7
// For the licensing terms see $DD4hepINSTALL/LICENSE.
8
// For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
9
//
10
// Author : M.Frank
11
//
12
//==========================================================================
13
#ifndef DDG4_GEANT4INTERRUPTS_H
14
#define DDG4_GEANT4INTERRUPTS_H
15
17
#include <
DD4hep/SignalHandler.h
>
18
20
22
namespace
dd4hep
{
23
25
namespace
sim {
26
28
class
Geant4Kernel;
29
31
36
class
Geant4Interrupts
:
public
SignalHandler
{
37
public
:
39
Geant4Kernel
&
m_kernel
;
40
Geant4Kernel
&
kernel
() {
return
m_kernel
; }
41
43
static
bool
default_sigint_handler
(
void
* user_context,
int
signum);
44
45
public
:
47
Geant4Interrupts
(
Geant4Kernel
& krnl) :
m_kernel
(krnl) { }
49
virtual
~Geant4Interrupts
() =
default
;
51
bool
registerHandler_SIGINT
();
52
};
53
}
// End namespace sim
54
}
// End namespace dd4hep
55
#endif // DDG4_GEANT4INTERRUPTS_H
dd4hep::sim::Geant4Interrupts::kernel
Geant4Kernel & kernel()
Definition:
Geant4Interrupts.h:40
dd4hep::sim::Geant4Interrupts
Interruptsback interface class with argument.
Definition:
Geant4Interrupts.h:36
dd4hep::sim::Geant4Interrupts::Geant4Interrupts
Geant4Interrupts(Geant4Kernel &krnl)
Default constructor.
Definition:
Geant4Interrupts.h:47
SignalHandler
dd4hep::sim::Geant4Kernel
Class, which allows all Geant4Action derivatives to access the DDG4 kernel structures.
Definition:
Geant4Kernel.h:64
dd4hep::sim::Geant4Interrupts::m_kernel
Geant4Kernel & m_kernel
Reference to simulation kernel.
Definition:
Geant4Interrupts.h:39
dd4hep::sim::Geant4Interrupts::~Geant4Interrupts
virtual ~Geant4Interrupts()=default
Default destructor.
SignalHandler.h
dd4hep
Namespace for the AIDA detector description toolkit.
Definition:
AlignmentsCalib.h:28
dd4hep::sim::Geant4Interrupts::default_sigint_handler
static bool default_sigint_handler(void *user_context, int signum)
Default SIGINT handler: trigger end-of-event-loop in Geant4Kernel object.
Definition:
Geant4Interrupts.cpp:20
dd4hep::sim::Geant4Interrupts::registerHandler_SIGINT
bool registerHandler_SIGINT()
Specialized handler for SIGINT.
Definition:
Geant4Interrupts.cpp:31
Generated on Wed May 7 2025 12:36:18 for DD4hep by
1.8.18