/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Generator/BesBdkRc/BesBdkRc-00-00-02/BesBdkRc/BesBdkRcRandom.h

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

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