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