CGEM BOSS
6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
Generator/Babayaga/Babayaga-00-00-25/Babayaga/BabayagaRandom.h
Go to the documentation of this file.
1
//--------------------------------------------------------------------------
2
//
3
// Module: BabayagaRandom.h
4
//
5
// Description: head file for BabayagaRandom.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
BabayagaRandom
{
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
BabayagaRandom
Definition:
Generator/Babayaga/Babayaga-00-00-25/Babayaga/BabayagaRandom.h:19
BabayagaRandom::setRandomEngine
static void setRandomEngine(CLHEP::HepRandomEngine *randomEngine)
Definition:
BabayagaRandom.cxx:23
BabayagaRandom::Flat
static double Flat()
Definition:
BabayagaRandom.cxx:55
BabayagaRandom::FlatArray
static void FlatArray(double *vect, const int size)
Definition:
BabayagaRandom.cxx:61
BabayagaRandom::random
static double random()
Definition:
BabayagaRandom.cxx:28
source
Generator
Babayaga
Babayaga-00-00-25
Babayaga
BabayagaRandom.h
Generated by
1.9.6