BOSS
7.1.2
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>
6
using namespace
CLHEP;
7
8
class
RandomNrCenter
{
9
private
:
10
static
HepRandomEngine *theDefaultEngine;
11
static
HepRandomEngine *theCurrentEngine;
12
public
:
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
sigma
TTree * sigma
Definition
CurConst_dEdXCal.cxx:6
RandomNrCenter
Definition
RandomNrCenter.h:8
RandomNrCenter::Rngaus
static double Rngaus(double mean, double sigma)
Definition
RandomNrCenter.cpp:38
RandomNrCenter::ResetEngine
void ResetEngine()
Definition
RandomNrCenter.cpp:27
RandomNrCenter::GetEngineSeed
long int GetEngineSeed()
Definition
RandomNrCenter.cpp:19
RandomNrCenter::GetEngine
HepRandomEngine * GetEngine()
Definition
RandomNrCenter.cpp:32
RandomNrCenter::SaveEngineStatus
void SaveEngineStatus(std::string)
Definition
RandomNrCenter.cpp:7
RandomNrCenter::SetEngineSeed
void SetEngineSeed(long int)
Definition
RandomNrCenter.cpp:15
RandomNrCenter::SetEngine
void SetEngine()
Definition
RandomNrCenter.cpp:23
RandomNrCenter::RestoreEngineStatus
void RestoreEngineStatus(std::string)
Definition
RandomNrCenter.cpp:11
7.1.2
Simulation
G4Svc
G4Svc-00-01-56
G4Svc
RandomNrCenter.h
Generated by
1.12.0