CLHEP VERSION Reference Documentation
   
CLHEP Home Page     CLHEP Documentation     CLHEP Bug Reports

CLHEP::RandSkewNormal Class Reference

#include <RandSkewNormal.h>

Inheritance diagram for CLHEP::RandSkewNormal:

CLHEP::HepRandom List of all members.

Public Member Functions

 RandSkewNormal (HepRandomEngine &anEngine, double shape=0.)
 RandSkewNormal (HepRandomEngine *anEngine, double shape=0.)
virtual ~RandSkewNormal ()
double fire ()
double fire (double shape)
void fireArray (const int size, double *vect)
void fireArray (const int size, double *vect, double shape)
double operator() ()
double operator() (double shape)
std::ostream & put (std::ostream &os) const
std::istream & get (std::istream &is)
std::string name () const
HepRandomEngineengine ()

Static Public Member Functions

static double shoot ()
static double shoot (double shape)
static void shootArray (const int size, double *vect, double shape=0.)
static double shoot (HepRandomEngine *anEngine)
static double shoot (HepRandomEngine *anEngine, double shape)
static void shootArray (HepRandomEngine *anEngine, const int size, double *vect, double shape=0.)
static std::string distributionName ()

Protected Member Functions

double getShapeParameter ()
HepRandomEnginegetLocalEngine ()

Static Protected Member Functions

static double gaussianSkewNormal (HepRandomEngine *e, double k)

Detailed Description

Author:
<mf@fnal.gov>

Definition at line 34 of file RandSkewNormal.h.


Constructor & Destructor Documentation

CLHEP::RandSkewNormal::RandSkewNormal ( HepRandomEngine anEngine,
double  shape = 0. 
) [inline]

CLHEP::RandSkewNormal::RandSkewNormal ( HepRandomEngine anEngine,
double  shape = 0. 
) [inline]

CLHEP::RandSkewNormal::~RandSkewNormal (  )  [virtual]

Definition at line 24 of file RandSkewNormal.cc.


Member Function Documentation

static std::string CLHEP::RandSkewNormal::distributionName (  )  [inline, static]

Reimplemented from CLHEP::HepRandom.

Definition at line 92 of file RandSkewNormal.h.

HepRandomEngine & CLHEP::RandSkewNormal::engine (  )  [virtual]

Reimplemented from CLHEP::HepRandom.

Definition at line 22 of file RandSkewNormal.cc.

double CLHEP::RandSkewNormal::fire ( double  shape  ) 

Definition at line 84 of file RandSkewNormal.cc.

References gaussianSkewNormal(), and getLocalEngine().

double CLHEP::RandSkewNormal::fire (  ) 

Definition at line 80 of file RandSkewNormal.cc.

References gaussianSkewNormal(), getLocalEngine(), and getShapeParameter().

Referenced by fireArray(), operator()(), and testSkewNormal().

void CLHEP::RandSkewNormal::fireArray ( const int  size,
double *  vect,
double  shape 
)

Definition at line 94 of file RandSkewNormal.cc.

References fire().

void CLHEP::RandSkewNormal::fireArray ( const int  size,
double *  vect 
)

Definition at line 88 of file RandSkewNormal.cc.

References fire().

double CLHEP::RandSkewNormal::gaussianSkewNormal ( HepRandomEngine e,
double  k 
) [static, protected]

Definition at line 103 of file RandSkewNormal.cc.

References CLHEP::RandGaussT::shootArray().

Referenced by fire(), and shoot().

std::istream & CLHEP::RandSkewNormal::get ( std::istream &  is  )  [virtual]

Reimplemented from CLHEP::HepRandom.

Definition at line 132 of file RandSkewNormal.cc.

References CLHEP::DoubConv::longs2double(), name(), and CLHEP::possibleKeywordInput().

HepRandomEngine* CLHEP::RandSkewNormal::getLocalEngine (  )  [inline, protected]

Referenced by fire().

double CLHEP::RandSkewNormal::getShapeParameter (  )  [inline, protected]

Definition at line 98 of file RandSkewNormal.h.

Referenced by fire().

std::string CLHEP::RandSkewNormal::name (  )  const [virtual]

Reimplemented from CLHEP::HepRandom.

Definition at line 21 of file RandSkewNormal.cc.

Referenced by get(), and put().

double CLHEP::RandSkewNormal::operator() ( double  shape  ) 

Definition at line 31 of file RandSkewNormal.cc.

References fire().

double CLHEP::RandSkewNormal::operator() (  )  [virtual]

Reimplemented from CLHEP::HepRandom.

Definition at line 26 of file RandSkewNormal.cc.

References fire().

std::ostream & CLHEP::RandSkewNormal::put ( std::ostream &  os  )  const [virtual]

Reimplemented from CLHEP::HepRandom.

Definition at line 121 of file RandSkewNormal.cc.

References CLHEP::DoubConv::dto2longs(), and name().

double CLHEP::RandSkewNormal::shoot ( HepRandomEngine anEngine,
double  shape 
) [static]

Definition at line 45 of file RandSkewNormal.cc.

References gaussianSkewNormal().

double CLHEP::RandSkewNormal::shoot ( HepRandomEngine anEngine  )  [static]

Definition at line 38 of file RandSkewNormal.cc.

References gaussianSkewNormal().

double CLHEP::RandSkewNormal::shoot ( double  shape  )  [static]

Definition at line 58 of file RandSkewNormal.cc.

References gaussianSkewNormal(), and CLHEP::HepRandom::getTheEngine().

double CLHEP::RandSkewNormal::shoot (  )  [static]

Definition at line 50 of file RandSkewNormal.cc.

References gaussianSkewNormal(), and CLHEP::HepRandom::getTheEngine().

Referenced by shootArray().

void CLHEP::RandSkewNormal::shootArray ( HepRandomEngine anEngine,
const int  size,
double *  vect,
double  shape = 0. 
) [static]

Definition at line 71 of file RandSkewNormal.cc.

References shoot().

void CLHEP::RandSkewNormal::shootArray ( const int  size,
double *  vect,
double  shape = 0. 
) [static]

Definition at line 64 of file RandSkewNormal.cc.

References shoot().


The documentation for this class was generated from the following files:
Generated on 15 Nov 2012 for CLHEP by  doxygen 1.4.7