00001 #include "SimDataFormats/HepMCProduct/interface/HepMCProduct.h" 00002 #include "FWCore/MessageLogger/interface/MessageLogger.h" 00003 00004 extern "C" { 00005 void hwaend_() {return;} 00006 00007 void cmsending_(int* ecode) { 00008 edm::LogError("")<<" ERROR: Herwig stoped run after receiving error code "<<*ecode<<".\n"; 00009 throw cms::Exception("Herwig6Error") <<" Herwig stoped run with error code "<<*ecode<<"."; 00010 } 00011 }