CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 }
CLHEP::HepRandomEngine * randomEngine
Definition: Dummies.cc:7
void cmsending_(int *ecode)
Definition: Dummies.cc:12
void hwaend_()
Definition: Dummies.cc:10
double hwrgen_(int *idummy)
Definition: Dummies.cc:17