Public Member Functions | Static Public Member Functions | Static Protected Attributes | Static Private Member Functions | Private Attributes | List of all members
CLHEP::RandChiSquare Class Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/geant4/v4_10_4_p02ba/source/geant4.10.04.p02/source/externals/clhep/include/CLHEP/Random/RandChiSquare.h"

Inheritance diagram for CLHEP::RandChiSquare:
CLHEP::HepRandom

Public Member Functions

 RandChiSquare (HepRandomEngine &anEngine, double a=1)
 
 RandChiSquare (HepRandomEngine *anEngine, double a=1)
 
virtual ~RandChiSquare ()
 
double fire ()
 
double fire (double a)
 
void fireArray (const int size, double *vect)
 
void fireArray (const int size, double *vect, double a)
 
double operator() ()
 
double operator() (double a)
 
std::ostream & put (std::ostream &os) const
 
std::istream & get (std::istream &is)
 
std::string name () const
 
HepRandomEngineengine ()
 
double flat ()
 
double flat (HepRandomEngine *theNewEngine)
 
void flatArray (const int size, double *vect)
 
void flatArray (HepRandomEngine *theNewEngine, const int size, double *vect)
 

Static Public Member Functions

static double shoot ()
 
static double shoot (double a)
 
static void shootArray (const int size, double *vect, double a=1.0)
 
static double shoot (HepRandomEngine *anEngine)
 
static double shoot (HepRandomEngine *anEngine, double a)
 
static void shootArray (HepRandomEngine *anEngine, const int size, double *vect, double a=1.0)
 
static std::string distributionName ()
 
static void setTheSeed (long seed, int lux=3)
 
static long getTheSeed ()
 
static void setTheSeeds (const long *seeds, int aux=-1)
 
static const long * getTheSeeds ()
 
static void getTheTableSeeds (long *seeds, int index)
 
static HepRandomgetTheGenerator ()
 
static void setTheEngine (HepRandomEngine *theNewEngine)
 
static HepRandomEnginegetTheEngine ()
 
static void saveEngineStatus (const char filename[]="Config.conf")
 
static void restoreEngineStatus (const char filename[]="Config.conf")
 
static std::ostream & saveFullState (std::ostream &os)
 
static std::istream & restoreFullState (std::istream &is)
 
static std::ostream & saveDistState (std::ostream &os)
 
static std::istream & restoreDistState (std::istream &is)
 
static std::ostream & saveStaticRandomStates (std::ostream &os)
 
static std::istream & restoreStaticRandomStates (std::istream &is)
 
static void showEngineStatus ()
 
static int createInstance ()
 

Static Protected Attributes

static const long seedTable [215][2]
 

Static Private Member Functions

static double genChiSquare (HepRandomEngine *anEngine, double a)
 

Private Attributes

std::shared_ptr< HepRandomEnginelocalEngine
 
double defaultA
 

Detailed Description

Author

Definition at line 37 of file RandChiSquare.h.

Constructor & Destructor Documentation

CLHEP::RandChiSquare::RandChiSquare ( HepRandomEngine anEngine,
double  a = 1 
)
inline
CLHEP::RandChiSquare::RandChiSquare ( HepRandomEngine anEngine,
double  a = 1 
)
inline
virtual CLHEP::RandChiSquare::~RandChiSquare ( )
virtual

Member Function Documentation

static int CLHEP::HepRandom::createInstance ( )
staticinherited
static std::string CLHEP::RandChiSquare::distributionName ( )
inlinestatic

Definition at line 96 of file RandChiSquare.h.

References genChiSquare().

96 {return "RandChiSquare";}
HepRandomEngine& CLHEP::RandChiSquare::engine ( )
virtual

Reimplemented from CLHEP::HepRandom.

double CLHEP::RandChiSquare::fire ( )
inline
double CLHEP::RandChiSquare::fire ( double  a)
void CLHEP::RandChiSquare::fireArray ( const int  size,
double *  vect 
)
void CLHEP::RandChiSquare::fireArray ( const int  size,
double *  vect,
double  a 
)
double CLHEP::HepRandom::flat ( )
inherited
double CLHEP::HepRandom::flat ( HepRandomEngine theNewEngine)
inlineinherited
void CLHEP::HepRandom::flatArray ( const int  size,
double *  vect 
)
inherited
void CLHEP::HepRandom::flatArray ( HepRandomEngine theNewEngine,
const int  size,
double *  vect 
)
inlineinherited
static double CLHEP::RandChiSquare::genChiSquare ( HepRandomEngine anEngine,
double  a 
)
staticprivate

Referenced by distributionName().

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

Reimplemented from CLHEP::HepRandom.

static HepRandomEngine* CLHEP::HepRandom::getTheEngine ( )
staticinherited
static HepRandom* CLHEP::HepRandom::getTheGenerator ( )
staticinherited
static long CLHEP::HepRandom::getTheSeed ( )
staticinherited
static const long* CLHEP::HepRandom::getTheSeeds ( )
staticinherited
static void CLHEP::HepRandom::getTheTableSeeds ( long *  seeds,
int  index 
)
staticinherited
std::string CLHEP::RandChiSquare::name ( ) const
virtual
double CLHEP::RandChiSquare::operator() ( )
inlinevirtual

Reimplemented from CLHEP::HepRandom.

double CLHEP::RandChiSquare::operator() ( double  a)
inline
std::ostream& CLHEP::RandChiSquare::put ( std::ostream &  os) const
virtual

Reimplemented from CLHEP::HepRandom.

static std::istream& CLHEP::HepRandom::restoreDistState ( std::istream &  is)
inlinestaticinherited
static void CLHEP::HepRandom::restoreEngineStatus ( const char  filename[] = "Config.conf")
staticinherited
static std::istream& CLHEP::HepRandom::restoreFullState ( std::istream &  is)
staticinherited
static std::istream& CLHEP::HepRandom::restoreStaticRandomStates ( std::istream &  is)
staticinherited
static std::ostream& CLHEP::HepRandom::saveDistState ( std::ostream &  os)
inlinestaticinherited

Definition at line 134 of file Random.h.

134 {return os;}
static void CLHEP::HepRandom::saveEngineStatus ( const char  filename[] = "Config.conf")
staticinherited
static std::ostream& CLHEP::HepRandom::saveFullState ( std::ostream &  os)
staticinherited
static std::ostream& CLHEP::HepRandom::saveStaticRandomStates ( std::ostream &  os)
staticinherited
static void CLHEP::HepRandom::setTheEngine ( HepRandomEngine theNewEngine)
staticinherited
static void CLHEP::HepRandom::setTheSeed ( long  seed,
int  lux = 3 
)
staticinherited
static void CLHEP::HepRandom::setTheSeeds ( const long *  seeds,
int  aux = -1 
)
staticinherited
static double CLHEP::RandChiSquare::shoot ( )
inlinestatic
static double CLHEP::RandChiSquare::shoot ( double  a)
static
static double CLHEP::RandChiSquare::shoot ( HepRandomEngine anEngine)
inlinestatic
static double CLHEP::RandChiSquare::shoot ( HepRandomEngine anEngine,
double  a 
)
static
static void CLHEP::RandChiSquare::shootArray ( const int  size,
double *  vect,
double  a = 1.0 
)
static
static void CLHEP::RandChiSquare::shootArray ( HepRandomEngine anEngine,
const int  size,
double *  vect,
double  a = 1.0 
)
static
static void CLHEP::HepRandom::showEngineStatus ( )
staticinherited

Member Data Documentation

double CLHEP::RandChiSquare::defaultA
private

Definition at line 104 of file RandChiSquare.h.

std::shared_ptr<HepRandomEngine> CLHEP::RandChiSquare::localEngine
private

Definition at line 103 of file RandChiSquare.h.

const long CLHEP::HepRandom::seedTable
staticprotectedinherited

Definition at line 157 of file Random.h.


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