Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
randomEngine
CLHEP::HepRandomEngine * randomEngine
Definition:
PYR.cc:4
edm::LogError
Definition:
MessageLogger.h:164
hwaend_
void hwaend_()
Definition:
Dummies.cc:10
cmsending_
void cmsending_(int *ecode)
Definition:
Dummies.cc:12
HepMCProduct.h
edm::hlt::Exception
error
Definition:
HLTenums.h:24
gen::hwrgen_
double hwrgen_(int *)
Definition:
Herwig6Instance.cc:53
Generated for CMSSW Reference Manual by
1.8.5