CMS 3D CMS Logo

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

◆ cmsending_()

void cmsending_ ( int *  ecode)

Definition at line 12 of file Dummies.cc.

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  }

References Exception.

◆ hwaend_()

void hwaend_ ( )

Definition at line 10 of file Dummies.cc.

10 {return;}

◆ hwrgen_()

double hwrgen_ ( int *  idummy)

Definition at line 17 of file Dummies.cc.

18  {
19  return randomEngine->flat();
20  }

References cms::cuda::assert(), instance, and randomEngine.

Variable Documentation

◆ randomEngine

CLHEP::HepRandomEngine* randomEngine

Definition at line 7 of file Dummies.cc.

Referenced by hwrgen_(), and PixelTemplateSmearerBase::process().

randomEngine
CLHEP::HepRandomEngine * randomEngine
Definition: Dummies.cc:7
edm::LogError
Log< level::Error, false > LogError
Definition: MessageLogger.h:123
Exception
Definition: hltDiff.cc:246