BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
RandomNrCenter.h
Go to the documentation of this file.
1#ifndef RandomNrCenter_H
2#define RandomNrCenter_H
3
4#include <CLHEP/Random/Random.h>
5#include <string>
6using namespace CLHEP;
7
9private:
10 static HepRandomEngine* theDefaultEngine;
11 static HepRandomEngine* theCurrentEngine;
12
13public:
14 void SaveEngineStatus( std::string );
15 void RestoreEngineStatus( std::string );
16 void SetEngineSeed( long int );
17 long int GetEngineSeed();
18 void SetEngine();
19 void ResetEngine();
20 HepRandomEngine* GetEngine();
21
22 static double Rngaus( double mean, double sigma );
23};
24
25#endif
static double Rngaus(double mean, double sigma)
long int GetEngineSeed()
HepRandomEngine * GetEngine()
void SaveEngineStatus(std::string)
void SetEngineSeed(long int)
void RestoreEngineStatus(std::string)