CLHEP 2.4.7.1
C++ Class Library for High Energy Physics
CLHEP::MixMaxRng Class Reference

#include <CLHEP/Random/MixMaxRng.h>

Inheritance diagram for CLHEP::MixMaxRng:
CLHEP::HepRandomEngine

Public Member Functions

 MixMaxRng (std::istream &is)
 MixMaxRng ()
 MixMaxRng (long seed)
 ~MixMaxRng ()
 MixMaxRng (const MixMaxRng &rng)
MixMaxRngoperator= (const MixMaxRng &rng)
double flat ()
void flatArray (const int size, double *vect)
void setSeed (long longSeed, int=0)
void setSeeds (const long *seeds, int seedNum=0)
void saveStatus (const char filename[]="MixMaxRngState.conf") const
void restoreStatus (const char filename[]="MixMaxRngState.conf")
void showStatus () const
 operator double ()
 operator float ()
 operator unsigned int ()
virtual std::ostream & put (std::ostream &os) const
virtual std::istream & get (std::istream &is)
virtual std::istream & getState (std::istream &is)
std::string name () const
std::vector< unsigned long > put () const
bool get (const std::vector< unsigned long > &vec)
bool getState (const std::vector< unsigned long > &vec)
Public Member Functions inherited from CLHEP::HepRandomEngine
 HepRandomEngine ()
virtual ~HepRandomEngine ()
bool operator== (const HepRandomEngine &engine)
bool operator!= (const HepRandomEngine &engine)
long getSeed () const
const long * getSeeds () const

Static Public Member Functions

static std::string beginTag ()
static std::string engineName ()
Static Public Member Functions inherited from CLHEP::HepRandomEngine
static std::string beginTag ()
static HepRandomEnginenewEngine (std::istream &is)
static HepRandomEnginenewEngine (const std::vector< unsigned long > &v)

Additional Inherited Members

Static Protected Member Functions inherited from CLHEP::HepRandomEngine
static double exponent_bit_32 ()
static double mantissa_bit_12 ()
static double mantissa_bit_24 ()
static double mantissa_bit_32 ()
static double twoToMinus_32 ()
static double twoToMinus_48 ()
static double twoToMinus_49 ()
static double twoToMinus_53 ()
static double nearlyTwoToMinus_54 ()
static bool checkFile (std::istream &file, const std::string &filename, const std::string &classname, const std::string &methodname)
Protected Attributes inherited from CLHEP::HepRandomEngine
long theSeed
const long * theSeeds

Detailed Description

Definition at line 53 of file MixMaxRng.h.

Constructor & Destructor Documentation

◆ MixMaxRng() [1/4]

CLHEP::MixMaxRng::MixMaxRng ( std::istream & is)

Referenced by MixMaxRng(), and operator=().

◆ MixMaxRng() [2/4]

CLHEP::MixMaxRng::MixMaxRng ( )

◆ MixMaxRng() [3/4]

CLHEP::MixMaxRng::MixMaxRng ( long seed)

◆ ~MixMaxRng()

CLHEP::MixMaxRng::~MixMaxRng ( )

◆ MixMaxRng() [4/4]

CLHEP::MixMaxRng::MixMaxRng ( const MixMaxRng & rng)

References MixMaxRng().

Member Function Documentation

◆ beginTag()

std::string CLHEP::MixMaxRng::beginTag ( )
static

◆ engineName()

std::string CLHEP::MixMaxRng::engineName ( )
static

◆ flat()

double CLHEP::MixMaxRng::flat ( )
inlinevirtual

Implements CLHEP::HepRandomEngine.

Definition at line 74 of file MixMaxRng.h.

Referenced by operator double(), and operator float().

◆ flatArray()

void CLHEP::MixMaxRng::flatArray ( const int size,
double * vect )
virtual

◆ get() [1/2]

bool CLHEP::MixMaxRng::get ( const std::vector< unsigned long > & vec)
virtual

Reimplemented from CLHEP::HepRandomEngine.

◆ get() [2/2]

virtual std::istream & CLHEP::MixMaxRng::get ( std::istream & is)
virtual

Reimplemented from CLHEP::HepRandomEngine.

◆ getState() [1/2]

bool CLHEP::MixMaxRng::getState ( const std::vector< unsigned long > & vec)
virtual

Reimplemented from CLHEP::HepRandomEngine.

◆ getState() [2/2]

virtual std::istream & CLHEP::MixMaxRng::getState ( std::istream & is)
virtual

Reimplemented from CLHEP::HepRandomEngine.

◆ name()

std::string CLHEP::MixMaxRng::name ( ) const
inlinevirtual

Implements CLHEP::HepRandomEngine.

Definition at line 123 of file MixMaxRng.h.

◆ operator double()

CLHEP::MixMaxRng::operator double ( )
inlinevirtual

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 108 of file MixMaxRng.h.

References flat().

◆ operator float()

CLHEP::MixMaxRng::operator float ( )
inlinevirtual

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 111 of file MixMaxRng.h.

References flat().

◆ operator unsigned int()

CLHEP::MixMaxRng::operator unsigned int ( )
inlinevirtual

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 114 of file MixMaxRng.h.

◆ operator=()

MixMaxRng & CLHEP::MixMaxRng::operator= ( const MixMaxRng & rng)

References MixMaxRng().

◆ put() [1/2]

std::vector< unsigned long > CLHEP::MixMaxRng::put ( ) const
virtual

Reimplemented from CLHEP::HepRandomEngine.

◆ put() [2/2]

virtual std::ostream & CLHEP::MixMaxRng::put ( std::ostream & os) const
virtual

Reimplemented from CLHEP::HepRandomEngine.

◆ restoreStatus()

void CLHEP::MixMaxRng::restoreStatus ( const char filename[] = "MixMaxRngState.conf")
virtual

◆ saveStatus()

void CLHEP::MixMaxRng::saveStatus ( const char filename[] = "MixMaxRngState.conf") const
virtual

◆ setSeed()

void CLHEP::MixMaxRng::setSeed ( long longSeed,
int = 0 )
inlinevirtual

Implements CLHEP::HepRandomEngine.

Definition at line 86 of file MixMaxRng.h.

References CLHEP::HepRandomEngine::theSeed.

◆ setSeeds()

void CLHEP::MixMaxRng::setSeeds ( const long * seeds,
int seedNum = 0 )
virtual

◆ showStatus()

void CLHEP::MixMaxRng::showStatus ( ) const
virtual

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