28 #ifndef HepRandomVector_h
29 #define HepRandomVector_h 1
32 #include "CLHEP/Random/RandomEngine.h"
33 #include "CLHEP/Matrix/Vector.h"
41 class HepRandomVector {
61 inline HepVector
flat();
64 inline HepVector
flat (HepRandomEngine* theNewEngine);
67 inline void flatArray(
const int size, HepVector* vect);
71 inline void flatArray(HepRandomEngine* theNewEngine,
72 const int size, HepVector* vect);
83 inline void setSeed(
long seed,
int lux);
86 inline long getSeed()
const;
89 inline void setSeeds(
const long* seeds,
int aux);
92 inline const long* getSeeds ()
const;
95 void setEngine (HepRandomEngine* engine) {
theEngine = engine; }
98 HepRandomEngine * getEngine()
const {
return theEngine; }
101 void saveStatus(
const char filename[] =
"Config.conf" )
const;
104 void restoreStatus(
const char filename[] =
"Config.conf" );
107 void showStatus()
const;
124 #include "CLHEP/RandomObjects/RandomVector.icc"
126 #ifdef ENABLE_BACKWARDS_COMPATIBILITY
128 using namespace CLHEP;
virtual HepVector operator()()
virtual ~HepRandomVector()
void flatArray(const int size, HepVector *vect)
HepRandomEngine * theEngine