BOSS
7.1.3
BESIII Offline Software System
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
x
z
Typedefs
c
d
e
g
h
i
l
m
n
o
p
r
s
t
Enumerations
Enumerator
a
b
c
d
e
f
i
k
l
m
n
o
p
r
s
t
u
w
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
v
w
Enumerations
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
v
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Related Symbols
:
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
v
w
x
Files
File List
File Members
All
!
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
!
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
!
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
h
i
j
k
l
m
n
p
r
s
t
u
v
w
z
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
m
n
o
p
r
s
t
u
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
▼
BOSS
Used Packages
Requirements
►
How to use the ERS package
Todo List
►
Namespaces
►
Classes
▼
Files
▼
File List
▼
7.1.3
►
Analysis
►
BesCxxPolicy
►
BesExamples
►
BesPolicy
►
Calibration
►
Control
►
Database
►
DetectorDescription
►
DistBoss
►
DQA
►
Emc
►
Event
►
EventDisplay
►
EventFilter
►
EvtPreSelect
►
External
▼
Generator
►
Babayaga
►
BabayagaNLO
▼
BesBdkRc
▼
BesBdkRc-00-01-00
▼
BesBdkRc
►
BesBdkRc.h
►
BesBdkRcRandom.h
►
src
►
BesEvtGen
►
BesGenInterface
►
BesGenModule
►
BesTwogam
►
Bhlumi
►
Bhwide
►
CosmicGenerator
►
Eepipi
►
EeTo4e
►
EeToeeV
►
Ekhara
►
GenAnalysisTools
►
GeneratorModule
►
GeneratorObject
►
GeneratorUtil
►
KKMC
►
McEventSelector
►
Mcgpj
►
Phokhara
►
SingleParticleGun
►
InstallArea
►
LumTauAlg
►
MagneticField
►
Mdc
►
Muc
►
OfflineEvtFilter
►
Reconstruction
►
RootPolicy
►
Simulation
►
Tof
►
Trigger
►
Utilities
►
Validation
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
BesBdkRcRandom.h
Go to the documentation of this file.
1
//--------------------------------------------------------------------------
2
//
3
// Module: BesBdkRcRandom.h
4
//
5
//------------------------------------------------------------------------
6
7
#ifndef BESBDKRCRANDOM_H
8
#define BESBDKRCRANDOM_H
9
10
#include "CLHEP/Random/RandomEngine.h"
11
12
13
class
BesBdkRcRandom
{
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
};
13
class
BesBdkRcRandom
{
…
};
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
BesBdkRcRandom
Definition
BesBdkRcRandom.h:13
BesBdkRcRandom::random
static double random()
Definition
BesBdkRcRandom.cxx:14
BesBdkRcRandom::setRandomEngine
static void setRandomEngine(CLHEP::HepRandomEngine *randomEngine)
Definition
BesBdkRcRandom.cxx:10
BesBdkRcRandom::FlatArray
static void FlatArray(double *vect, const int size)
Definition
BesBdkRcRandom.cxx:47
BesBdkRcRandom::Flat
static double Flat()
Definition
BesBdkRcRandom.cxx:41
7.1.3
Generator
BesBdkRc
BesBdkRc-00-01-00
BesBdkRc
BesBdkRcRandom.h
Generated by
1.13.2