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"
54 static double shoot();
56 static double shoot(
double shape );
58 static void shootArray (
const int size,
double* vect,
69 double* vect,
double shape=0. );
76 double fire(
double shape );
78 void fireArray (
const int size,
double* vect );
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 );
89 std::string
name()
const;
105 double shapeParameter;
111 #ifdef ENABLE_BACKWARDS_COMPATIBILITY
113 using namespace CLHEP;
116 #include "CLHEP/Random/RandSkewNormal.icc"
static std::string distributionName()
static double gaussianSkewNormal(HepRandomEngine *e, double k)
HepRandomEngine * getLocalEngine()
static void shootArray(const int size, double *vect, double shape=0.)
RandSkewNormal(HepRandomEngine *anEngine, double shape=0.)
virtual ~RandSkewNormal()
double getShapeParameter()
void fireArray(const int size, double *vect)
std::istream & get(std::istream &is)
std::ostream & put(std::ostream &os) const
HepRandomEngine & engine()
RandSkewNormal(HepRandomEngine &anEngine, double shape=0.)