PandaRoot
ChiGenRandomEngine.h
Go to the documentation of this file.
1 /*
2  * @author Alexey Luchinsky
3  * @author Stanislav Poslavsky (stvlpos (at) mail.ru)
4  */
5 
6 #ifndef CHIGENRANDOMENGINE_H
7 #define CHIGENRANDOMENGINE_H
8 
9 #include "EvtGenBase/EvtRandomEngine.hh"
10 #include "Basics.h"
11 #include "TNamed.h"
12 
13 namespace chigen {
14 
15 class ChiGenRandomEngine : public EvtRandomEngine, public Pythia8::RndmEngine, public TNamed {
16  public:
22  ChiGenRandomEngine(long seed = 1L);
23 
30  virtual double random();
36  virtual double flat();
37 
43  int getSeed() const { return seed; }
44 
45  private:
46  long seed;
47 };
48 } // namespace chigen
49 
50 #endif /* CHIGENRANDOMENGINE_H */
Definition: ChiGen.h:12
virtual double random()
ChiGenRandomEngine(long seed=1L)