BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/G4Svc/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
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();
18 void ResetEngine();
19 HepRandomEngine *GetEngine();
20
21 static double Rngaus(double mean, double sigma);
22};
23
24#endif
TTree * sigma
static double Rngaus(double mean, double sigma)
long int GetEngineSeed()
HepRandomEngine * GetEngine()
void SaveEngineStatus(std::string)
void SetEngineSeed(long int)
void RestoreEngineStatus(std::string)