Go to the documentation of this file.
18 #include "CLHEP/Random/defs.h"
19 #include "CLHEP/Random/RandomEngine.h"
20 #include "CLHEP/Random/EngineFactory.h"
37 HepRandomEngine::operator float() {
38 return float( flat() );
41 HepRandomEngine::operator
unsigned int() {
42 return (
unsigned int)( flat() * exponent_bit_32() );
47 const std::string & filename,
48 const std::string & classname,
49 const std::string & methodname) {
51 std::cerr <<
"Failure to find or open file " << filename <<
52 " in " << classname <<
"::" << methodname <<
"()\n";
59 std::cerr <<
"HepRandomEngine::put called -- no effect!\n";
63 std::cerr <<
"HepRandomEngine::get called -- no effect!\n";
68 return "HepRandomEngine-begin";
72 std::cerr <<
"HepRandomEngine::getState called -- no effect!\n";
77 std::cerr <<
"v=HepRandomEngine::put() called -- no data!\n";
78 std::vector<unsigned long>
v;
82 std::cerr <<
"HepRandomEngine::get(v) called -- no effect!\n";
86 std::cerr <<
"HepRandomEngine::getState(v) called -- no effect!\n";
virtual std::istream & getState(std::istream &is)
static HepRandomEngine * newEngine(std::istream &is)
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
virtual std::vector< unsigned long > put() const
virtual std::istream & get(std::istream &is)
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::istream & operator>>(std::istream &is, HepAxisAngle &aa)
virtual ~HepRandomEngine()
static std::string beginTag()
static HepRandomEngine * newEngine(std::istream &is)
static bool checkFile(std::istream &file, const std::string &filename, const std::string &classname, const std::string &methodname)
virtual std::ostream & put(std::ostream &os) const
std::ostream & operator<<(std::ostream &os, const HepAxisAngle &aa)