31 #define RandLandau_h 1
33 #include "CLHEP/Random/defs.h"
34 #include "CLHEP/Random/Random.h"
35 #include "CLHEP/Utility/memory.h"
43 class RandLandau :
public HepRandom {
47 inline RandLandau ( HepRandomEngine& anEngine );
48 inline RandLandau ( HepRandomEngine* anEngine );
64 std::ostream &
put ( std::ostream & os )
const;
65 std::istream &
get ( std::istream & is );
75 static inline double shoot();
77 static void shootArray (
const int size,
double* vect );
82 static inline double shoot( HepRandomEngine* anotherEngine );
84 static void shootArray ( HepRandomEngine* anotherEngine,
93 void fireArray (
const int size,
double* vect);
97 std::string
name()
const;
98 HepRandomEngine &
engine();
117 #ifdef ENABLE_BACKWARDS_COMPATIBILITY
119 using namespace CLHEP;
122 #include "CLHEP/Random/RandLandau.icc"
HepRandomEngine & engine()
static void shootArray(const int size, double *vect)
void fireArray(const int size, double *vect)
static std::string distributionName()
std::ostream & put(std::ostream &os) const
static double transform(double r)
RandLandau(HepRandomEngine &anEngine)
static double transformSmall(double r)