Import Geant4 10.7.2 source tree
This commit is contained in:
@@ -144,6 +144,7 @@ private:
|
||||
#if defined __GNUC__
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
|
||||
#pragma GCC diagnostic ignored "-Wuninitialized"
|
||||
#endif
|
||||
inline double convert1double(myuint_t u)
|
||||
{
|
||||
|
||||
@@ -63,29 +63,29 @@ public:
|
||||
|
||||
// Static methods to shoot random values using the static generator
|
||||
|
||||
static long shoot( double m=1.0 );
|
||||
static long shoot( double mean=1.0 );
|
||||
|
||||
static void shootArray ( const int size, long* vect, double m=1.0 );
|
||||
static void shootArray ( const int size, long* vect, double mean=1.0 );
|
||||
|
||||
// Static methods to shoot random values using a given engine
|
||||
// by-passing the static generator.
|
||||
|
||||
static long shoot( HepRandomEngine* anEngine, double m=1.0 );
|
||||
static long shoot( HepRandomEngine* anEngine, double mean=1.0 );
|
||||
|
||||
static void shootArray ( HepRandomEngine* anEngine,
|
||||
const int size, long* vect, double m=1.0 );
|
||||
const int size, long* vect, double mean=1.0 );
|
||||
|
||||
// Methods using the localEngine to shoot random values, by-passing
|
||||
// the static generator.
|
||||
|
||||
long fire();
|
||||
long fire( double m );
|
||||
long fire( double mean );
|
||||
|
||||
void fireArray ( const int size, long* vect );
|
||||
void fireArray ( const int size, long* vect, double m);
|
||||
void fireArray ( const int size, long* vect, double mean);
|
||||
|
||||
double operator()();
|
||||
double operator()( double m );
|
||||
double operator()( double mean );
|
||||
|
||||
std::string name() const;
|
||||
HepRandomEngine & engine();
|
||||
|
||||
@@ -71,29 +71,29 @@ public:
|
||||
|
||||
// Static methods to shoot random values using the static generator
|
||||
|
||||
static long shoot( double m=1.0 );
|
||||
static long shoot( double mean=1.0 );
|
||||
|
||||
static void shootArray ( const int size, long* vect, double m=1.0 );
|
||||
static void shootArray ( const int size, long* vect, double mean=1.0 );
|
||||
|
||||
// Static methods to shoot random values using a given engine
|
||||
// by-passing the static generator.
|
||||
|
||||
static long shoot( HepRandomEngine* anEngine, double m=1.0 );
|
||||
static long shoot( HepRandomEngine* anEngine, double mean=1.0 );
|
||||
|
||||
static void shootArray ( HepRandomEngine* anEngine,
|
||||
const int size, long* vect, double m=1.0 );
|
||||
const int size, long* vect, double mean=1.0 );
|
||||
|
||||
// Methods using the localEngine to shoot random values, by-passing
|
||||
// the static generator.
|
||||
|
||||
long fire();
|
||||
long fire( double m );
|
||||
long fire( double mean );
|
||||
|
||||
void fireArray ( const int size, long* vect );
|
||||
void fireArray ( const int size, long* vect, double m);
|
||||
void fireArray ( const int size, long* vect, double mean);
|
||||
|
||||
double operator()();
|
||||
double operator()( double m );
|
||||
double operator()( double mean );
|
||||
|
||||
std::string name() const;
|
||||
HepRandomEngine & engine();
|
||||
|
||||
+1
-1
@@ -94,7 +94,7 @@ public:
|
||||
// Static member functions using the static generator
|
||||
// --------------------------------------------------
|
||||
|
||||
static void setTheSeed(long seed, int lux=3);
|
||||
static void setTheSeed(long seed, int lxr=3);
|
||||
// (Re)Initializes the generator with a seed.
|
||||
|
||||
static long getTheSeed();
|
||||
|
||||
@@ -51,8 +51,8 @@ public:
|
||||
|
||||
Ranlux64Engine( std::istream& is );
|
||||
Ranlux64Engine();
|
||||
Ranlux64Engine( long seed, int lux = 1 );
|
||||
Ranlux64Engine( int rowIndex, int colIndex, int lux );
|
||||
Ranlux64Engine( long seed, int lxr = 1 );
|
||||
Ranlux64Engine( int rowIndex, int colIndex, int lxr );
|
||||
virtual ~Ranlux64Engine();
|
||||
// Constructors and destructor
|
||||
|
||||
@@ -63,10 +63,10 @@ public:
|
||||
void flatArray (const int size, double* vect);
|
||||
// Fills the array "vect" of specified size with flat random values.
|
||||
|
||||
void setSeed(long seed, int lux=1);
|
||||
void setSeed(long seed, int lxr=1);
|
||||
// Sets the state of the algorithm according to seed.
|
||||
|
||||
void setSeeds(const long * seeds, int lux=1);
|
||||
void setSeeds(const long * seeds, int lxr=1);
|
||||
// Sets the state of the algorithm according to the zero terminated
|
||||
// array of seeds. Only the first seed is used.
|
||||
|
||||
|
||||
@@ -47,8 +47,8 @@ public:
|
||||
|
||||
RanluxEngine( std::istream& is );
|
||||
RanluxEngine();
|
||||
RanluxEngine( long seed, int lux = 3 );
|
||||
RanluxEngine( int rowIndex, int colIndex, int lux );
|
||||
RanluxEngine( long seed, int lxr = 3 );
|
||||
RanluxEngine( int rowIndex, int colIndex, int lxr );
|
||||
virtual ~RanluxEngine();
|
||||
// Constructors and destructor
|
||||
|
||||
@@ -70,10 +70,10 @@ public:
|
||||
void flatArray (const int size, double* vect);
|
||||
// Fills the array "vect" of specified size with flat random values.
|
||||
|
||||
void setSeed(long seed, int lux=3);
|
||||
void setSeed(long seed, int lxr=3);
|
||||
// Sets the state of the algorithm according to seed.
|
||||
|
||||
void setSeeds(const long * seeds, int lux=3);
|
||||
void setSeeds(const long * seeds, int lxr=3);
|
||||
// Sets the state of the algorithm according to the zero terminated
|
||||
// array of seeds. Only the first seed is used.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user