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 {
38 inline RandSkewNormal ( HepRandomEngine& anEngine,
double shape=0. );
39 inline RandSkewNormal ( HepRandomEngine* anEngine,
double shape=0. );
54 static double shoot();
56 static double shoot(
double shape );
58 static void shootArray (
const int size,
double* vect,
64 static double shoot( HepRandomEngine* anEngine );
66 static double shoot( HepRandomEngine* anEngine,
double shape );
68 static void shootArray ( HepRandomEngine* anEngine,
const int size,
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;
90 HepRandomEngine &
engine();
105 double shapeParameter;
111 #ifdef ENABLE_BACKWARDS_COMPATIBILITY
113 using namespace CLHEP;
116 #include "CLHEP/Random/RandSkewNormal.icc"