Main Page
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
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
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
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
_
a
d
e
f
l
m
o
p
s
t
u
v
Related 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
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
DataFormats
Common
interface
RandomNumberGeneratorState.h
Go to the documentation of this file.
1
#ifndef DataFormats_Common_RandomNumberGeneratorState_h
2
#define DataFormats_Common_RandomNumberGeneratorState_h
3
4
/*----------------------------------------------------------------------
5
6
RandomNumberGeneratorState is used to communicate with an external process
7
----------------------------------------------------------------------*/
8
9
#include <vector>
10
namespace
edm
{
11
struct
RandomNumberGeneratorState
{
12
RandomNumberGeneratorState
() =
default
;
13
RandomNumberGeneratorState
(std::vector<unsigned long> iState,
long
iSeed)
14
:
state_
(
std
::
move
(iState)),
seed_
{iSeed} {}
15
16
RandomNumberGeneratorState
(
RandomNumberGeneratorState
const
&) =
default
;
17
RandomNumberGeneratorState
(
RandomNumberGeneratorState
&&) =
default
;
18
19
RandomNumberGeneratorState
&
operator=
(
RandomNumberGeneratorState
const
&) =
default
;
20
RandomNumberGeneratorState
&
operator=
(
RandomNumberGeneratorState
&&) =
default
;
21
22
std::vector<unsigned long>
state_
;
23
long
seed_
;
24
};
25
}
// namespace edm
26
#endif
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::RandomNumberGeneratorState
Definition:
RandomNumberGeneratorState.h:11
edm::RandomNumberGeneratorState::seed_
long seed_
Definition:
RandomNumberGeneratorState.h:23
eostools.move
def move(src, dest)
Definition:
eostools.py:511
std
Definition:
JetResolutionObject.h:76
edm::RandomNumberGeneratorState::operator=
RandomNumberGeneratorState & operator=(RandomNumberGeneratorState const &)=default
edm::RandomNumberGeneratorState::state_
std::vector< unsigned long > state_
Definition:
RandomNumberGeneratorState.h:22
edm::RandomNumberGeneratorState::RandomNumberGeneratorState
RandomNumberGeneratorState(std::vector< unsigned long > iState, long iSeed)
Definition:
RandomNumberGeneratorState.h:13
edm::RandomNumberGeneratorState::RandomNumberGeneratorState
RandomNumberGeneratorState()=default
Generated for CMSSW Reference Manual by
1.8.16