00001 #include "PYR.h" 00002 #include "CLHEP/Random/RandomEngine.h" 00003 00004 CLHEP::HepRandomEngine* randomEngine; 00005 00006 extern "C" { 00007 double pyr_(int* idummy) 00008 { 00009 return randomEngine->flat(); 00010 } 00011 } 00012