CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
Dummies.cc File Reference
#include <CLHEP/Random/RandomEngine.h>
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "SimDataFormats/GeneratorProducts/interface/HepMCProduct.h"

Go to the source code of this file.

Functions

void cmsending_ (int *ecode)
 
void hwaend_ ()
 
double hwrgen_ (int *idummy)
 

Variables

CLHEP::HepRandomEngine * randomEngine
 

Function Documentation

void cmsending_ ( int *  ecode)

Definition at line 12 of file Dummies.cc.

References edm::hlt::Exception.

12  {
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  }
void hwaend_ ( )

Definition at line 10 of file Dummies.cc.

10 {return;}
double hwrgen_ ( int *  idummy)

Definition at line 17 of file Dummies.cc.

References assert(), instance, randomEngine, and gen::Herwig6Instance::randomEngine.

18  {
19  return randomEngine->flat();
20  }
CLHEP::HepRandomEngine * randomEngine
Definition: Dummies.cc:7

Variable Documentation

CLHEP::HepRandomEngine* randomEngine

Definition at line 7 of file Dummies.cc.

Referenced by hwrgen_().