Loading [MathJax]/extensions/tex2jax.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
Trigger
TrigAnalysis
TrigInDetAnalysisUser
Resplot
src
TrigAnalysis/TrigInDetAnalysisUser/Resplot/src/Random.h
Go to the documentation of this file.
1
/* emacs: this is -*- c++ -*- */
19
#ifndef RANDOM_H
20
#define RANDOM_H
21
22
#include <iostream>
23
24
#include "TRandom3.h"
25
26
class
Random
: TRandom3 {
27
28
public
:
29
30
static
Random
&
RandomBuilder
() {
31
static
Random
_r;
32
return
_r;
33
}
34
35
// virtual ~Random() { delete m_rand; }
36
virtual
~Random
() { }
37
38
static
double
exp
() {
return
RandomBuilder
().Exp(1); }
39
static
double
gauss
() {
return
RandomBuilder
().Gaus(); }
40
static
double
uniform
() {
return
RandomBuilder
().Uniform(); }
41
42
43
private
:
44
45
Random
(
int
seed=4357) : TRandom3(seed) { }
46
47
};
48
49
inline
std::ostream&
operator<<
( std::ostream&
s
,
const
Random
& _r ) {
50
return
s
;
51
}
52
53
54
55
#endif // RANDOM_H
56
57
58
59
60
61
62
63
64
65
python.SystemOfUnits.s
int s
Definition:
SystemOfUnits.py:131
operator<<
std::ostream & operator<<(std::ostream &s, const Random &_r)
Definition:
TrigAnalysis/TrigInDetAnalysisUser/Resplot/src/Random.h:49
Random::uniform
static double uniform()
Definition:
TrigAnalysis/TrigInDetAnalysisUser/Resplot/src/Random.h:40
Random::~Random
virtual ~Random()
Definition:
TrigAnalysis/TrigInDetAnalysisUser/Resplot/src/Random.h:36
Random
Definition:
TrigAnalysis/TrigInDetAnalysisUser/Resplot/src/Random.h:26
Random::gauss
static double gauss()
Definition:
TrigAnalysis/TrigInDetAnalysisUser/Resplot/src/Random.h:39
Random::exp
static double exp()
Definition:
TrigAnalysis/TrigInDetAnalysisUser/Resplot/src/Random.h:38
Random::RandomBuilder
static Random & RandomBuilder()
Definition:
TrigAnalysis/TrigInDetAnalysisUser/Resplot/src/Random.h:30
Random::Random
Random(int seed=4357)
Definition:
TrigAnalysis/TrigInDetAnalysisUser/Resplot/src/Random.h:45
Generated on Thu Mar 13 2025 21:17:01 for ATLAS Offline Software by
1.8.18