File: StandardRandom.h
Description:
See
also:
namespace Pythia7
CLASS
StandardRandom:
Base class:
Public members:
inline StandardRandom();
inline StandardRandom(const StandardRandom &);
virtual ~StandardRandom();
Standard ctors and dtor
inline virtual void doupdate() throw(UpdateException);
inline virtual void doinit() throw(InitException);
inline virtual void dofinish();
Standard Interfaced virtual functions.
virtual RandomEngine & randomGenerator();
return a reference to the HepJamesRandom engine.
virtual void setSeed(long seed);
Reset the underlying CLHEP random engine with the given seed.
void persistentOutput(PersistentOStream &) const;
void persistentInput(PersistentIStream &, int);
Standard functions for writing and reading from persistent streams.
static void Init();
Standard Init function used to initialize the interface.
Protected members:
virtual IBPtr clone() const;
virtual IBPtr fullclone() const;
Standard clone methods
virtual void rebind(const TranslationMap & trans) throw(RebindException);
Change all pointers to Interfaced objects to corresponding clones.
inline virtual IVector getReferences();
Return pointers to all Interfaced objects refered to by this.
Private members:
JamesRandom theRandomGenerator;
The random generator.
static ClassDescription<StandardRandom> initStandardRandom;
StandardRandom & operator=(const StandardRandom &);
Private and non-existent assignment operator.
template <>
STRUCT
BaseClassTrait<StandardRandom,1>
Public members:
typedef RandomGenerator NthBase;
template <>
STRUCT
ClassTraits<StandardRandom>:
Public members:
static string className() { return "/Pythia7/StandardRandom"; }
DEFINED MACROS
INCLUDED FILES
RandomGenerator.h
Pythia7/CLHEPWrap/JamesRandom.h
Pythia7/Persistency/PersistentOStream.h
Pythia7/Persistency/PersistentIStream.h
StandardRandom.icc