00001 // $Id: ConvertHEPEVT.h,v 1.3 2002/05/30 23:51:11 garren Exp $ 00002 // ---------------------------------------------------------------------- 00003 // 00004 // ConvertHEPEVT.h 00005 // 00006 // defines methods to build GenEvent from HEPEVT, and vice-versa 00007 // 00008 // User Code: 00009 //#include "CLHEP/HepMC/ConvertHEPEVT.h" 00010 //#include "CLHEP/HepMC/GenEvent.h" 00011 // ... 00012 // HepMC::ConvertHEPEVT conv; 00013 // HepMC::GenEvent* evt = conv.getGenEventfromHEPEVT(); 00014 // bool tf = conv.fromGenEvent( evt ); 00015 // 00016 // ---------------------------------------------------------------------- 00017 #ifndef CONVERTHEPEVT_H 00018 #define CONVERTHEPEVT_H 00019 00020 #include "CLHEP/HepMC/GenEventConvert.h" 00021 #include "CLHEP/HepMC/CBhepevt.h" 00022 00023 namespace HepMC { 00024 00025 typedef GenEventConvert<CBhepevt> ConvertHEPEVT; 00026 typedef CBInterface<CBhepevt> FIhepevt; 00027 00028 } 00029 00030 #endif // CONVERTHEPEVT_H