CGEM BOSS
6.6.5.h
BESIII Offline Software System
Loading...
Searching...
No Matches
EkharaRandom.h
Go to the documentation of this file.
1
#ifndef EkharaRANDOM_H
2
#define EkharaRANDOM_H
3
4
#include "CLHEP/Random/RandomEngine.h"
5
6
class
EkharaRandom
{
7
8
public
:
9
10
static
double
Flat
(
double
min,
double
max);
11
static
double
Flat
(
double
max);
12
static
double
Flat
();
13
static
void
FlatArray
(
double
* vect,
const
int
size);
14
15
static
double
random
();
16
17
//This class does not take ownership of the random engine;
18
//the caller needs to make sure that the engine is not
19
//destroyed.
20
static
void
setRandomEngine
(CLHEP::HepRandomEngine* randomEngine);
21
22
private
:
23
24
static
CLHEP::HepRandomEngine* _randomEngine;
25
26
};
27
28
#endif
29
EkharaRandom
Definition
EkharaRandom.h:6
EkharaRandom::random
static double random()
Definition
EkharaRandom.cxx:16
EkharaRandom::Flat
static double Flat()
Definition
EkharaRandom.cxx:44
EkharaRandom::FlatArray
static void FlatArray(double *vect, const int size)
Definition
EkharaRandom.cxx:50
EkharaRandom::setRandomEngine
static void setRandomEngine(CLHEP::HepRandomEngine *randomEngine)
Definition
EkharaRandom.cxx:11
6.6.5.h
Generator
Ekhara
Ekhara-00-00-11
Ekhara
EkharaRandom.h
Generated by
1.12.0