/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Simulation/G4Svc/G4Svc-00-01-52/G4Svc/RandomNrCenter.h

Go to the documentation of this file.
00001 #ifndef RandomNrCenter_H
00002 #define RandomNrCenter_H
00003 
00004 #include <CLHEP/Random/Random.h>
00005 #include <string>
00006 using namespace CLHEP;
00007 
00008 class RandomNrCenter {
00009 private:
00010         static HepRandomEngine *theDefaultEngine;
00011         static HepRandomEngine *theCurrentEngine;
00012 public:
00013         void SaveEngineStatus(std::string);
00014         void RestoreEngineStatus(std::string);
00015         void SetEngineSeed(long int);
00016         long int GetEngineSeed();
00017         void SetEngine();
00018         void ResetEngine();
00019         HepRandomEngine *GetEngine();
00020         
00021         static double Rngaus(double mean, double sigma);
00022 };
00023 
00024 #endif

Generated on Tue Nov 29 23:14:33 2016 for BOSS_7.0.2 by  doxygen 1.4.7