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
Herwig6Interface
plugins
Dummies.cc
Go to the documentation of this file.
1
#include <CLHEP/Random/RandomEngine.h>
2
3
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
4
5
#include "
SimDataFormats/GeneratorProducts/interface/HepMCProduct.h
"
6
7
CLHEP::HepRandomEngine*
randomEngine
;
8
9
extern
"C"
{
10
void
hwaend_
() {
return
;}
11
12
void
cmsending_
(
int
* ecode) {
13
edm::LogError
(
""
)<<
" ERROR: Herwig stoped run after receiving error code "
<<*ecode<<
".\n"
;
14
throw
cms::Exception
(
"Herwig6Error"
) <<
" Herwig stoped run with error code "
<<*ecode<<
"."
;
15
}
16
17
double
hwrgen_
(
int
* idummy)
18
{
19
return
randomEngine
->flat();
20
}
21
}
MessageLogger.h
hwrgen_
double hwrgen_(int *idummy)
Definition:
Dummies.cc:17
randomEngine
CLHEP::HepRandomEngine * randomEngine
Definition:
Dummies.cc:7
cmsending_
void cmsending_(int *ecode)
Definition:
Dummies.cc:12
hwaend_
void hwaend_()
Definition:
Dummies.cc:10
edm::LogError
Log< level::Error, false > LogError
Definition:
MessageLogger.h:123
Exception
Definition:
hltDiff.cc:245
HepMCProduct.h
Generated for CMSSW Reference Manual by
1.8.16