#include <EvtRandomEngine.hh>
Inheritance diagram for EvtRandomEngine:
Public Member Functions | |
virtual double | random () |
|
Reimplemented in EvtBesRandom, and EvtStdlibRandomEngine. 00031 { 00032 00033 static unsigned long int next = 1; 00034 00035 next=next*1103515245+123345; 00036 unsigned temp=(unsigned)(next/65536) % 32768; 00037 00038 return ( temp + 1.0 ) / 32769.0; 00039 00040 }
|