/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Generator/Ekhara/Ekhara-00-00-11/Ekhara/EkharaRandom.h

Go to the documentation of this file.
00001 #ifndef EkharaRANDOM_H
00002 #define EkharaRANDOM_H
00003 
00004 #include "CLHEP/Random/RandomEngine.h"
00005 
00006 class EkharaRandom{
00007 
00008 public:
00009 
00010   static double Flat(double min, double max);
00011   static double Flat(double max);
00012   static double Flat();
00013   static void FlatArray(double* vect, const int size);
00014 
00015   static double random();
00016   
00017   //This class does not take ownership of the random engine;
00018   //the caller needs to make sure that the engine is not
00019   //destroyed.
00020   static void setRandomEngine(CLHEP::HepRandomEngine* randomEngine);
00021 
00022 private:
00023 
00024   static CLHEP::HepRandomEngine* _randomEngine;
00025  
00026 };
00027  
00028 #endif
00029 

Generated on Tue Nov 29 23:12:38 2016 for BOSS_7.0.2 by  doxygen 1.4.7