BOSS
7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
BhlumiRandom.h
Go to the documentation of this file.
1
//--------------------------------------------------------------------------
2
//
3
// Module: BhlumiRandom.h
4
//
5
//------------------------------------------------------------------------
6
7
#ifndef BHLUMIRANDOM_H
8
#define BHLUMIRANDOM_H
9
10
#include "CLHEP/Random/RandomEngine.h"
11
12
13
class
BhlumiRandom
{
14
15
public
:
16
17
static
double
Flat
(
double
min
,
double
max
);
18
static
double
Flat
(
double
max
);
19
static
double
Flat
();
20
static
void
FlatArray
(
double
* vect,
const
int
size);
21
22
static
double
random
();
23
24
//This class does not take ownership of the random engine;
25
//the caller needs to make sure that the engine is not
26
//destroyed.
27
static
void
setRandomEngine
(CLHEP::HepRandomEngine* randomEngine);
28
29
private
:
30
31
static
CLHEP::HepRandomEngine* _randomEngine;
32
33
};
34
35
#endif
36
min
#define min(a, b)
Definition
Eepipi/Eepipi-00-01-00/src/ee2eepp/basesv5.1/f2c.h:153
max
#define max(a, b)
Definition
Eepipi/Eepipi-00-01-00/src/ee2eepp/basesv5.1/f2c.h:154
BhlumiRandom
Definition
BhlumiRandom.h:13
BhlumiRandom::FlatArray
static void FlatArray(double *vect, const int size)
Definition
BhlumiRandom.cxx:47
BhlumiRandom::setRandomEngine
static void setRandomEngine(CLHEP::HepRandomEngine *randomEngine)
Definition
BhlumiRandom.cxx:10
BhlumiRandom::random
static double random()
Definition
BhlumiRandom.cxx:14
BhlumiRandom::Flat
static double Flat()
Definition
BhlumiRandom.cxx:41
7.1.2
Generator
Bhlumi
Bhlumi-00-01-01
Bhlumi
BhlumiRandom.h
Generated by
1.12.0