StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
EvtPythiaRandom.hh
1 #ifdef EVTGEN_PYTHIA
2 //--------------------------------------------------------------------------
3 //
4 // Environment:
5 // This software is part of the EvtGen package. If you use all or part
6 // of it, please give an appropriate acknowledgement.
7 //
8 // Copyright Information: See EvtGen/COPYRIGHT
9 // Copyright (C) 2013 University of Warwick, UK
10 //
11 // Module: EvtGenExternal/EvtPythiaRandom.hh
12 //
13 // Description: Class to specify the chosen EvtGen random number (engine)
14 // to also be used for Pythia 8.
15 //
16 // Modification history:
17 //
18 // JJB January 2013 Module created
19 //
20 //------------------------------------------------------------------------
21 
22 #ifndef EVTPYTHIARANDOM_HH
23 #define EVTPYTHIARANDOM_HH
24 
25 #include "EvtGenBase/EvtRandom.hh"
26 
27 #include "Pythia8/Basics.h"
28 
29 class EvtPythiaRandom : public Pythia8::RndmEngine {
30 
31 public:
32 
33  EvtPythiaRandom() {};
34 
35  virtual ~EvtPythiaRandom() {};
36 
37  virtual double flat() {return EvtRandom::Flat();}
38 
39 private:
40 
41 };
42 
43 #endif
44 
45 #endif