BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/Ekhara/Ekhara/EkharaRandom.h
Go to the documentation of this file.
1#ifndef EkharaRANDOM_H
2#define EkharaRANDOM_H
3
4#include "CLHEP/Random/RandomEngine.h"
5
6class EkharaRandom{
7
8public:
9
10 static double Flat(double min, double max);
11 static double Flat(double max);
12 static double Flat();
13 static void FlatArray(double* vect, const int size);
14
15 static double random();
16
17 //This class does not take ownership of the random engine;
18 //the caller needs to make sure that the engine is not
19 //destroyed.
20 static void setRandomEngine(CLHEP::HepRandomEngine* randomEngine);
21
22private:
23
24 static CLHEP::HepRandomEngine* _randomEngine;
25
26};
27
28#endif
29
static void setRandomEngine(CLHEP::HepRandomEngine *randomEngine)
static void FlatArray(double *vect, const int size)
static double Flat(double max)
static double Flat(double min, double max)
static double Flat()
static double random()