Herwig 7 is hosted by Hepforge, IPPP Durham
Herwig  7.1.0
Herwig::EvtGenRandom Class Reference

The EvtGenRamdom class is a wrapper around the RandomGenerator class of ThePEG so that when running Herwig with EvtGen the same random number generator is used for both. More...

#include <EvtGenRandom.h>

Inheritance diagram for Herwig::EvtGenRandom:

Public Member Functions

 EvtGenRandom (Ptr< RandomGenerator >::pointer rand)
 The Constructor. More...
 
double random ()
 Member to return the random number.
 
virtual ~EvtGenRandom ()
 Destructor.
 

Private Attributes

Ptr< RandomGenerator >::pointer _rand
 The pointer to the random number generator.
 

Detailed Description

The EvtGenRamdom class is a wrapper around the RandomGenerator class of ThePEG so that when running Herwig with EvtGen the same random number generator is used for both.

Definition at line 26 of file EvtGenRandom.h.

Constructor & Destructor Documentation

◆ EvtGenRandom()

Herwig::EvtGenRandom::EvtGenRandom ( Ptr< RandomGenerator >::pointer  rand)
inline

The Constructor.

Parameters
randPointer to the random number generator

Definition at line 34 of file EvtGenRandom.h.


The documentation for this class was generated from the following file: