00001 #include <Pythia.h> 00002 #include "CLHEP/Random/RandomEngine.h" 00003 00004 extern CLHEP::HepRandomEngine* randomEngine; 00005 00006 class RandomP8 : public Pythia8::RndmEngine { 00007 00008 public: 00009 00010 // Constructor. 00011 RandomP8() {;} 00012 00013 // Routine for generating a random number. 00014 double flat(); 00015 00016 private: 00017 00018 };