BOSS
8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EeToeeVRandom.h
Go to the documentation of this file.
1
//--------------------------------------------------------------------------
2
//
3
// Module: EeToeeVRandom.h
4
//
5
// Description: head file for EeToeeVRandom.cc
6
//
7
// Modification history:
8
//
9
// Ping RG Feb. 16, 2009 Module created
10
//
11
//------------------------------------------------------------------------
12
13
#pragma once
14
#include "CLHEP/Random/RandomEngine.h"
15
16
class
EeToeeVRandom
{
17
18
public
:
19
static
double
Flat
(
double
min
,
double
max
);
20
static
double
Flat
(
double
max
);
21
static
double
Flat
();
22
static
void
FlatArray
(
double
* vect,
const
int
size );
23
24
static
double
random
();
25
26
// This class does not take ownership of the random engine;
27
// the caller needs to make sure that the engine is not
28
// destroyed.
29
static
void
setRandomEngine
( CLHEP::HepRandomEngine* randomEngine );
30
31
private
:
32
static
CLHEP::HepRandomEngine* _randomEngine;
33
};
min
#define min(a, b)
Definition
Eepipi/src/ee2eepp/basesv5.1/f2c.h:157
max
#define max(a, b)
Definition
Eepipi/src/ee2eepp/basesv5.1/f2c.h:158
EeToeeVRandom
Definition
EeToeeVRandom.h:16
EeToeeVRandom::random
static double random()
Definition
EeToeeVRandom.cxx:26
EeToeeVRandom::Flat
static double Flat()
Definition
EeToeeVRandom.cxx:46
EeToeeVRandom::FlatArray
static void FlatArray(double *vect, const int size)
Definition
EeToeeVRandom.cxx:48
EeToeeVRandom::setRandomEngine
static void setRandomEngine(CLHEP::HepRandomEngine *randomEngine)
Definition
EeToeeVRandom.cxx:22
8.0.0
BOSS_Gen
EeToeeV
src
EeToeeVRandom.h
Generated by
1.16.1