00001 //-------------------------------------------------------------------------- 00002 // 00003 // Environment: 00004 // This software is part of the EvtGen package developed jointly 00005 // for the BaBar and CLEO collaborations. If you use all or part 00006 // of it, please give an appropriate acknowledgement. 00007 // 00008 // Copyright Information: See EvtGen/COPYRIGHT 00009 // Copyright (C) 1998 Caltech, UCSB 00010 // 00011 // Module: EvtGen/EvtRandom.hh 00012 // 00013 // Description:Class to generate random numbers. Single member 00014 // function random is expected to return a random 00015 // number in the range ]0..1[. 00016 // 00017 // Modification history: 00018 // 00019 // RYD December 25, 1999 Module created 00020 // 00021 //------------------------------------------------------------------------ 00022 00023 #ifndef EVTRANDOMENGINE_HH 00024 #define EVTRANDOMENGINE_HH 00025 00026 class EvtRandomEngine{ 00027 00028 public: 00029 00030 virtual double random(); 00031 00032 private: 00033 00034 }; 00035 00036 #endif 00037 00038