CGEM BOSS
6.6.5.h
BESIII Offline Software System
Loading...
Searching...
No Matches
BhwideRandom.h
Go to the documentation of this file.
1
//--------------------------------------------------------------------------
2
//
3
// Module: BhwideRandom.h
4
//
5
//------------------------------------------------------------------------
6
7
#ifndef BHWIDERANDOM_H
8
#define BHWIDERANDOM_H
9
10
#include "CLHEP/Random/RandomEngine.h"
11
12
13
class
BhwideRandom
{
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
BhwideRandom
Definition
BhwideRandom.h:13
BhwideRandom::FlatArray
static void FlatArray(double *vect, const int size)
Definition
BhwideRandom.cxx:47
BhwideRandom::setRandomEngine
static void setRandomEngine(CLHEP::HepRandomEngine *randomEngine)
Definition
BhwideRandom.cxx:10
BhwideRandom::random
static double random()
Definition
BhwideRandom.cxx:14
BhwideRandom::Flat
static double Flat()
Definition
BhwideRandom.cxx:41
6.6.5.h
Generator
Bhwide
Bhwide-00-00-11
Bhwide
BhwideRandom.h
Generated by
1.12.0