27#ifndef NonRandomEngine_h
28#define NonRandomEngine_h 1
30#include "CLHEP/Random/defs.h"
31#include "CLHEP/Random/RandomEngine.h"
63 void flatArray (
const int size,
double* vect);
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 {};
virtual ~NonRandomEngine()
void setRandomSequence(double *s, int n)
void setNextRandom(double r)
virtual std::istream & getState(std::istream &is)
virtual std::istream & get(std::istream &is)
static std::string beginTag()
void setRandomInterval(double x)
std::vector< unsigned long > put() const
static std::string engineName()
void flatArray(const int size, double *vect)