BOSS
7.1.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EeTo4eRandom.h
Go to the documentation of this file.
1
//--------------------------------------------------------------------------
2
//
3
// Module: EeTo4eRandom.h
4
//
5
// Description: head file for EeTo4eRandom.cc
6
//
7
// Modification history:
8
//
9
// Ping RG Feb. 16, 2009 Module created
10
//
11
//------------------------------------------------------------------------
12
13
#ifndef BABAYAGARANDOM_H
14
#define BABAYAGARANDOM_H
15
16
#include "CLHEP/Random/RandomEngine.h"
17
18
19
class
EeTo4eRandom
{
20
21
public
:
22
23
static
double
Flat
(
double
min
,
double
max
);
24
static
double
Flat
(
double
max
);
25
static
double
Flat
();
26
static
void
FlatArray
(
double
* vect,
const
int
size);
27
28
static
double
random
();
29
30
//This class does not take ownership of the random engine;
31
//the caller needs to make sure that the engine is not
32
//destroyed.
33
static
void
setRandomEngine
(CLHEP::HepRandomEngine* randomEngine);
34
35
private
:
36
37
static
CLHEP::HepRandomEngine* _randomEngine;
38
39
};
40
41
#endif
42
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
EeTo4eRandom
Definition:
EeTo4eRandom.h:19
EeTo4eRandom::setRandomEngine
static void setRandomEngine(CLHEP::HepRandomEngine *randomEngine)
Definition:
EeTo4eRandom.cxx:23
EeTo4eRandom::FlatArray
static void FlatArray(double *vect, const int size)
Definition:
EeTo4eRandom.cxx:61
EeTo4eRandom::Flat
static double Flat()
Definition:
EeTo4eRandom.cxx:55
EeTo4eRandom::random
static double random()
Definition:
EeTo4eRandom.cxx:28
source
Generator
EeTo4e
EeTo4e-00-01-00
EeTo4e
EeTo4eRandom.h
Generated by
1.9.6