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
GeneratorInterface
EvtGenInterface
interface
myEvtRandomEngine.h
Go to the documentation of this file.
1
//--------------------------------------------------------------------------
2
//
3
// Module: myEvtRandomEngine.hh
4
//
5
// Description:
6
// this is an EvtRandomEngine
7
// It is used as an interface of the random number engine provided
8
// by the random number generator service and EvtGen
9
// Its "random()" method uses the "Flat()" method of the CLHEP::HepRandomEngine
10
// provided by the Random Number Generator Service
11
//
12
// Modification history:
13
//
14
// Nello Nappi May 9, 2007 Module created
15
//
16
//------------------------------------------------------------------------
17
18
#ifndef MYEVTRANDOMENGINE_HH
19
#define MYEVTRANDOMENGINE_HH
20
21
#include "EvtGenBase/EvtRandomEngine.hh"
22
23
namespace
CLHEP
{
24
class
HepRandomEngine;
25
}
26
27
class
myEvtRandomEngine
:
public
EvtRandomEngine {
28
public
:
29
myEvtRandomEngine
(CLHEP::HepRandomEngine*
xx
);
30
31
~myEvtRandomEngine
()
override
;
32
33
double
random
()
override
;
34
35
void
setRandomEngine
(CLHEP::HepRandomEngine*
v
) {
the_engine
=
v
; }
36
37
CLHEP::HepRandomEngine*
engine
()
const
{
return
the_engine
; }
38
39
private
:
40
void
throwNullPtr
()
const
;
41
42
CLHEP::HepRandomEngine*
the_engine
;
43
};
44
#endif
myEvtRandomEngine
Definition:
myEvtRandomEngine.h:27
myEvtRandomEngine::the_engine
CLHEP::HepRandomEngine * the_engine
Definition:
myEvtRandomEngine.h:42
findQualityFiles.v
v
Definition:
findQualityFiles.py:179
myEvtRandomEngine::engine
CLHEP::HepRandomEngine * engine() const
Definition:
myEvtRandomEngine.h:37
myEvtRandomEngine::random
double random() override
Definition:
myEvtRandomEngine.cc:26
myEvtRandomEngine::myEvtRandomEngine
myEvtRandomEngine(CLHEP::HepRandomEngine *xx)
Definition:
myEvtRandomEngine.cc:22
myEvtRandomEngine::throwNullPtr
void throwNullPtr() const
Definition:
myEvtRandomEngine.cc:33
CLHEP
Definition:
CocoaGlobals.h:27
myEvtRandomEngine::~myEvtRandomEngine
~myEvtRandomEngine() override
Definition:
myEvtRandomEngine.cc:24
myEvtRandomEngine::setRandomEngine
void setRandomEngine(CLHEP::HepRandomEngine *v)
Definition:
myEvtRandomEngine.h:35
geometryCSVtoXML.xx
xx
Definition:
geometryCSVtoXML.py:19
Generated for CMSSW Reference Manual by
1.8.16