CMS 3D CMS Logo

Dummies.cc
Go to the documentation of this file.
1 #include <CLHEP/Random/RandomEngine.h>
2 
4 
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