Loading [MathJax]/extensions/MathZoom.js
ATLAS Offline Software
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace 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
j
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
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
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
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
j
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
q
r
s
t
u
v
w
x
y
z
Typedefs
_
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
Enumerations
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
Enumerator
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
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File 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
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
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
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
x
z
Enumerator
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
Macros
_
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
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Generators
Hijing_i
Hijing_i
RanSeed.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
6
#ifndef RanSeed_h
7
#define RanSeed_h
8
9
#include <cstdint>
10
11
extern
"C"
{ uintptr_t
ranseed_address_
(); }
12
18
class
RanSeed
19
{
20
public
:
21
RanSeed
();
22
~RanSeed
();
23
24
int
&
nseed
(
void
);
25
26
private
:
27
28
struct
RANSEED
;
29
friend
struct
RANSEED
;
30
31
struct
RANSEED
32
{
33
int
nseed
;
34
};
35
36
static
RANSEED
*
s_ranseed
;
37
};
38
39
// set pointer to zero at start
40
RanSeed::RANSEED
*
RanSeed::s_ranseed
=0;
41
42
inline
43
RanSeed::RanSeed
()
44
{}
45
46
inline
47
RanSeed::~RanSeed
()
48
{}
49
50
inline
int
&
51
RanSeed::nseed
(
void
)
52
{
53
if
(!
s_ranseed
)
s_ranseed
=
reinterpret_cast<
RANSEED
*
>
(
ranseed_address_
());
54
return
s_ranseed
->
nseed
;
55
}
56
57
#endif
RanSeed::s_ranseed
static RANSEED * s_ranseed
Definition:
RanSeed.h:36
RanSeed
Class definition for RanSeed, which is used to modify the Hijing RANSEED common.
Definition:
RanSeed.h:19
RanSeed::nseed
int & nseed(void)
Definition:
RanSeed.h:51
RanSeed::RANSEED
Definition:
RanSeed.h:32
RanSeed::RanSeed
RanSeed()
Definition:
RanSeed.h:43
RanSeed::RANSEED::nseed
int nseed
Definition:
RanSeed.h:33
ranseed_address_
uintptr_t ranseed_address_()
RanSeed::~RanSeed
~RanSeed()
Definition:
RanSeed.h:47
Generated on Mon Mar 31 2025 21:17:15 for ATLAS Offline Software by
1.8.18