Go to the documentation of this file.
30 #define RandPoisson_h 1
32 #include "CLHEP/Random/defs.h"
33 #include "CLHEP/Random/Random.h"
34 #include "CLHEP/Utility/memory.h"
62 std::ostream &
put ( std::ostream & os )
const;
63 std::istream &
get ( std::istream &
is );
67 static long shoot(
double m=1.0 );
69 static void shootArray (
const int size,
long* vect,
double m=1.0 );
77 const int size,
long* vect,
double m=1.0 );
83 long fire(
double m );
91 std::string
name()
const;
111 status_st[0] = sq; status_st[1] = alxm; status_st[2] = g1;
119 double status[3], oldm;
122 static double status_st[3];
123 static double oldm_st;
124 static const double meanMax_st;
130 #ifdef ENABLE_BACKWARDS_COMPATIBILITY
132 using namespace CLHEP;
135 #include "CLHEP/Random/RandPoisson.icc"
static double * getPStatus()
std::istream & get(std::istream &is)
std::ostream & put(std::ostream &os) const
HepRandomEngine & engine()
RandPoisson(HepRandomEngine &anEngine, double a1=1.0)
static void setOldMean(double val)
static std::string distributionName()
HepRotation and so forth isNear() norm2() rectify() static Rotation row1 row4(To avoid bloat in the code pulled in for programs which don 't use all these features, we split the implementation .cc files. Only isNear() goes into the original Rotation.cc) --------------------------------------- HepAxisAngle and HepEulerAngles classes --------------------------------------- These classes are very useful and simple structures for holding the result of a nice intuituve decomposition of a rotation there is no longer much content in the distinct ZOOM PhysicsVectors library The only content left in the library is the object files representing the various Exception objects When we build the CLHEP classes for the ZOOM we will set up so as to use ZOOM SpaceVector is(but we can disable namespace usage and most of our users do so at this point). What I do is leave Hep3Vector in the global namespace
static void shootArray(const int size, long *vect, double m=1.0)
user code seldom needs to call this function directly ZMerrno whether or not they are still recorded ZMerrno size() Return the(integer) number of ZMthrow 'n exceptions currently recorded. 5) ZMerrno.clear() Set an internal counter to zero. This counter is available(see next function) to user code to track ZMthrow 'n exceptions that have occurred during any arbitrary time interval. 6) ZMerrno.countSinceCleared() Return the(integer) number of ZMthrow 'n exceptions that have been recorded via ZMerrno.write()
static double getMaxMean()
static double getOldMean()
HepRandomEngine * getLocalEngine()
void fireArray(const int size, long *vect)
static void setPStatus(double sq, double alxm, double g1)
static long shoot(double m=1.0)