CGEM BOSS
6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtRandom.hh
Go to the documentation of this file.
1
//--------------------------------------------------------------------------
2
//
3
// Environment:
4
// This software is part of the EvtGen package developed jointly
5
// for the BaBar and CLEO collaborations. If you use all or part
6
// of it, please give an appropriate acknowledgement.
7
//
8
// Copyright Information: See EvtGen/COPYRIGHT
9
// Copyright (C) 1998 Caltech, UCSB
10
//
11
// Module: EvtGen/EvtRandom.hh
12
//
13
// Description:Source of random numbers for EvtGen code
14
//
15
// Modification history:
16
//
17
// RYD March 24, 1998 Module created
18
//
19
//------------------------------------------------------------------------
20
21
#ifndef EVTRANDOM_HH
22
#define EVTRANDOM_HH
23
24
25
class
EvtRandomEngine
;
26
27
class
EvtRandom
{
28
29
public
:
30
31
static
double
Flat
(
double
min,
double
max);
32
static
double
Flat
(
double
max);
33
static
double
Flat
();
34
35
static
double
random
();
36
37
//This class does not take ownership of the random engine;
38
//the caller needs to make sure that the engine is not
39
//destroyed.
40
static
void
setRandomEngine
(
EvtRandomEngine
* randomEngine);
41
42
private
:
43
44
static
EvtRandomEngine
* _randomEngine;
45
46
};
47
48
#endif
49
EvtRandomEngine
Definition:
EvtRandomEngine.hh:26
EvtRandom
Definition:
EvtRandom.hh:27
EvtRandom::random
static double random()
Definition:
EvtRandom.cc:41
EvtRandom::Flat
static double Flat()
Definition:
EvtRandom.cc:73
EvtRandom::setRandomEngine
static void setRandomEngine(EvtRandomEngine *randomEngine)
Definition:
EvtRandom.cc:36
source
Generator
BesEvtGen
BesEvtGen-00-01-96-slc6tag
src
EvtGen
EvtGenBase
EvtRandom.hh
Generated by
1.9.6