21 #ifndef RandSkewNormal_h
22 #define RandSkewNormal_h 1
24 #include "CLHEP/Random/defs.h"
25 #include "CLHEP/Random/Random.h"
26 #include "CLHEP/Utility/memory.h"
34 class RandSkewNormal :
public HepRandom {
56 static double shoot(
double shape );
69 double* vect,
double shape=0. );
76 double fire(
double shape );
79 void fireArray (
const int size,
double* vect,
double shape );
86 std::ostream &
put ( std::ostream & os )
const;
87 std::istream &
get ( std::istream & is );
105 double shapeParameter;
111 #ifdef ENABLE_BACKWARDS_COMPATIBILITY
113 using namespace CLHEP;
116 #include "CLHEP/Random/RandSkewNormal.icc"
static std::string distributionName()
static void shootArray(const int size, double *vect, double shape=0.)
std::ostream & put(std::ostream &os) const
HepRandomEngine * getLocalEngine()
void fireArray(const int size, double *vect, double shape)
RandSkewNormal(HepRandomEngine *anEngine, double shape=0.)
std::istream & get(std::istream &is)
virtual ~RandSkewNormal()
double getShapeParameter()
void fireArray(const int size, double *vect)
static double gaussianSkewNormal(HepRandomEngine *e, double k)
double fire(double shape)
HepRandomEngine & engine()
static void shootArray(HepRandomEngine *anEngine, const int size, double *vect, double shape=0.)
double operator()(double shape)
static double shoot(double shape)
RandSkewNormal(HepRandomEngine &anEngine, double shape=0.)
static double shoot(HepRandomEngine *anEngine, double shape)
static double shoot(HepRandomEngine *anEngine)