BOSS
7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
BabayagaNLORandom.h
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 BabayagaNLORANDOM_H
22
#define BabayagaNLORANDOM_H
23
24
#include "CLHEP/Random/RandomEngine.h"
25
26
27
class
BabayagaNLORandom
{
28
29
public
:
30
31
static
double
Flat
(
double
min
,
double
max
);
32
static
double
Flat
(
double
max
);
33
static
double
Flat
();
34
static
void
FlatArray
(
double
* vect,
const
int
size);
35
static
void
FlatArrayF
(
float
* vect,
const
int
size);
36
37
static
double
random
();
38
39
//This class does not take ownership of the random engine;
40
//the caller needs to make sure that the engine is not
41
//destroyed.
42
static
void
setRandomEngine
(CLHEP::HepRandomEngine* randomEngine);
43
44
private
:
45
46
static
CLHEP::HepRandomEngine* _randomEngine;
47
48
};
49
50
#endif
51
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
BabayagaNLORandom
Definition
BabayagaNLORandom.h:27
BabayagaNLORandom::random
static double random()
Definition
BabayagaNLORandom.cxx:38
BabayagaNLORandom::setRandomEngine
static void setRandomEngine(CLHEP::HepRandomEngine *randomEngine)
Definition
BabayagaNLORandom.cxx:33
BabayagaNLORandom::FlatArrayF
static void FlatArrayF(float *vect, const int size)
Definition
BabayagaNLORandom.cxx:80
BabayagaNLORandom::Flat
static double Flat()
Definition
BabayagaNLORandom.cxx:66
BabayagaNLORandom::FlatArray
static void FlatArray(double *vect, const int size)
Definition
BabayagaNLORandom.cxx:72
7.1.1
Generator
BabayagaNLO
BabayagaNLO-00-01-00
BabayagaNLO
BabayagaNLORandom.h
Generated by
1.12.0