Go to the documentation of this file.
27 #ifndef NonRandomEngine_h
28 #define NonRandomEngine_h 1
30 #include "CLHEP/Random/defs.h"
31 #include "CLHEP/Random/RandomEngine.h"
40 class NonRandomEngine :
public HepRandomEngine {
66 virtual std::ostream &
put (std::ostream & os)
const;
67 virtual std::istream &
get (std::istream &
is);
69 virtual std::istream &
getState ( std::istream &
is );
71 std::string
name()
const;
72 static std::string
engineName() {
return "NonRandomEngine";}
74 std::vector<unsigned long>
put ()
const;
75 bool get (
const std::vector<unsigned long> &
v);
76 bool getState (
const std::vector<unsigned long> &
v);
81 bool sequenceHasBeenSet;
82 bool intervalHasBeenSet;
84 std::vector<double> sequence;
86 double randomInterval;
91 virtual void setSeed(
long ,
int) {};
92 virtual void setSeeds(
const long * ,
int) {};
93 virtual void saveStatus(
const char* )
const {};
94 virtual void restoreStatus(
const char* ) {};
95 virtual void showStatus()
const {};
void setNextRandom(double r)
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::istream & get(std::istream &is)
std::vector< unsigned long > put() const
virtual std::istream & getState(std::istream &is)
void flatArray(const int size, double *vect)
virtual ~NonRandomEngine()
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()
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
static std::string engineName()
any side effects of that construction would occur twice The semantics of throw x
void setRandomSequence(double *s, int n)
static std::string beginTag()
void setRandomInterval(double x)