Go to the documentation of this file.
32 #include "CLHEP/Random/defs.h"
33 #include "CLHEP/Random/Random.h"
34 #include "CLHEP/Utility/memory.h"
64 static double shoot();
66 static inline double shoot(
double mean,
double stdDev );
69 double mean=0.0,
double stdDev=1.0 );
77 double mean,
double stdDev );
80 double* vect,
double mean=0.0,
88 inline double fire(
double mean,
double stdDev );
92 double mean,
double stdDev );
95 virtual double operator()(
double mean,
double stdDev );
97 std::string
name()
const;
105 std::ostream &
put ( std::ostream & os )
const;
106 std::istream &
get ( std::istream &
is );
114 static void setFlag(
bool val ) {set_st = val;}
116 bool getF()
const {
return set;}
118 void setF(
bool val ) {set = val;}
146 static double getVal() {
return nextGauss_st;}
148 static void setVal(
double nextVal ) {nextGauss_st = nextVal;}
164 static double nextGauss_st;
170 #ifdef ENABLE_BACKWARDS_COMPATIBILITY
172 using namespace CLHEP;
175 #include "CLHEP/Random/RandGauss.icc"
HepRandomEngine & engine()
static std::istream & restoreDistState(std::istream &is)
RandGauss(HepRandomEngine &anEngine, double mean=0.0, double stdDev=1.0)
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 std::istream & restoreFullState(std::istream &is)
virtual double operator()()
static void setFlag(bool val)
std::istream & get(std::istream &is)
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 std::ostream & saveDistState(std::ostream &os)
void fireArray(const int size, double *vect)
static void restoreEngineStatus(const char filename[]="Config.conf")
static std::string distributionName()
static void saveEngineStatus(const char filename[]="Config.conf")
std::ostream & put(std::ostream &os) const
static std::ostream & saveFullState(std::ostream &os)
shared_ptr< HepRandomEngine > localEngine
static void shootArray(const int size, double *vect, double mean=0.0, double stdDev=1.0)
static void setVal(double nextVal)