FairRoot/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 
10 #include "EvtGenBase/EvtRandomEngine.hh"
11 #include "Basics.h"
12 #include "TNamed.h"
13 
14 namespace chigen {
15 
17  : public EvtRandomEngine, public Pythia8::RndmEngine, public TNamed {
18  public:
19 
25  ChiGenRandomEngine(long seed = 1L);
26 
33  virtual double random();
39  virtual double flat();
40 
46  int getSeed() const {
47  return seed;
48  }
49 
50  private:
51 
52  long seed;
53  };
54 }
55 
56 #endif /* CHIGENRANDOMENGINE_H */
57