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