Go to the documentation of this file.
16 #include "CLHEP/Random/defs.h"
17 #include "CLHEP/Random/RandGaussT.h"
38 double mean,
double stdDev )
40 for(
double*
v = vect;
v != vect +
size; ++
v )
45 const int size,
double* vect,
46 double mean,
double stdDev )
48 for(
double*
v = vect;
v != vect +
size; ++
v )
49 *
v =
shoot(anEngine,mean,stdDev);
54 for(
double*
v = vect;
v != vect +
size; ++
v )
59 double mean,
double stdDev )
61 for(
double*
v = vect;
v != vect +
size; ++
v )
62 *
v =
fire( mean, stdDev );
66 int pr=os.precision(20);
67 os <<
" " <<
name() <<
"\n";
76 if (inName !=
name()) {
77 is.clear(std::ios::badbit |
is.rdstate());
78 std::cerr <<
"Mismatch when expecting to read state of a "
79 <<
name() <<
" distribution\n"
80 <<
"Name found was " << inName
81 <<
"\nistream is left in the badbit state\n";
HepRandomEngine & engine()
HepRandomEngine & engine()
static double flatToGaussian(double r)
std::ostream & put(std::ostream &os) const
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
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()
void fireArray(const int size, double *vect)
they are gone ZOOM Features Discontinued The following features of the ZOOM package were felt to be extreme overkill These have been after checking that no existing user code was utilizing as in SpaceVector v
std::ostream & put(std::ostream &os) const
static void shootArray(const int size, double *vect, double mean=0.0, double stdDev=1.0)
virtual double operator()()
shared_ptr< HepRandomEngine > localEngine
std::istream & get(std::istream &is)