BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EepipiRandom.h
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2//
3// Module: EepipiRandom.h
4//
5// Description: head file for EepipiRandom.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
19
20public:
21 static double Flat( double min, double max );
22 static double Flat( double max );
23 static double Flat();
24 static void FlatArray( double* vect, const int size );
25
26 static double random();
27
28 // This class does not take ownership of the random engine;
29 // the caller needs to make sure that the engine is not
30 // destroyed.
31 static void setRandomEngine( CLHEP::HepRandomEngine* randomEngine );
32
33private:
34 static CLHEP::HepRandomEngine* _randomEngine;
35};
36
37#endif
#define min(a, b)
#define max(a, b)
static void FlatArray(double *vect, const int size)
static void setRandomEngine(CLHEP::HepRandomEngine *randomEngine)
static double Flat()
static double random()