00001 #ifndef random_ 00002 #define random_ 00003 #include <cstdlib> 00004 #include <cmath> 00005 00013 class CRandom 00014 { 00015 protected: 00016 static bool one; 00017 static float angle; 00018 static float x; 00019 static float const pi; 00020 public: 00021 static double Rndm(); 00022 static float Gaus(float mean,float sigma); 00023 static float expDecayTime(float width); 00024 static float BreitWigner(float mean ,float width); 00025 }; 00026 00027 00028 #endif