BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
Simulation/G4Svc/G4Svc-00-01-52/G4Svc/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
8class RandomNrCenter {
9private:
10 static HepRandomEngine *theDefaultEngine;
11 static HepRandomEngine *theCurrentEngine;
12public:
13 void SaveEngineStatus(std::string);
14 void RestoreEngineStatus(std::string);
15 void SetEngineSeed(long int);
16 long int GetEngineSeed();
17 void SetEngine();
19 HepRandomEngine *GetEngine();
20
21 static double Rngaus(double mean, double sigma);
22};
23
24#endif
static double Rngaus(double mean, double sigma)
void ResetEngine()
long int GetEngineSeed()
HepRandomEngine * GetEngine()
void SaveEngineStatus(std::string)
void SetEngineSeed(long int)
void RestoreEngineStatus(std::string)