Herwig 7.3.0
|
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>
Public Member Functions | |
EvtGenRandom (Ptr< RandomGenerator >::pointer rand) | |
The Constructor. | |
double | random () |
Member to return the random number. | |
virtual | ~EvtGenRandom () |
Destructor. | |
Private Attributes | |
Ptr< RandomGenerator >::pointer | _rand |
The pointer to the random number generator. | |
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.
|
inline |
The Constructor.
rand | Pointer to the random number generator |
Definition at line 34 of file EvtGenRandom.h.
References _rand.
|
inlinevirtual |
Destructor.
Definition at line 44 of file EvtGenRandom.h.
|
inline |
|
private |
The pointer to the random number generator.
Definition at line 51 of file EvtGenRandom.h.
Referenced by EvtGenRandom(), and random().