BOSS
7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
Generator/Ekhara/Ekhara-00-00-13/Ekhara/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
min
#define min(a, b)
Definition:
Eepipi/Eepipi-00-00-06/src/ee2eepp/basesv5.1/f2c.h:153
max
#define max(a, b)
Definition:
Eepipi/Eepipi-00-00-06/src/ee2eepp/basesv5.1/f2c.h:154
EkharaRandom
Definition:
Generator/Ekhara/Ekhara-00-00-13/Ekhara/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
source
Generator
Ekhara
Ekhara-00-00-13
Ekhara
EkharaRandom.h
Generated by
1.9.6