/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Generator/EeToeeV/EeToeeV-00-00-01/EeToeeV/EeToeeVRandom.h

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

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