00001 #ifndef SoHepMC_SoHepMCEventCnv_h 00002 #define SoHepMC_SoHepMCEventCnv_h 00003 00004 #include <GaudiKernel/Converter.h> 00005 00006 template <class T> class CnvFactory; 00007 00008 class ISoConversionSvc; 00009 class IUserInterfaceSvc; 00010 class IParticlePropertySvc; 00011 00012 class SoHepMCEventCnv : public Converter { 00013 friend class CnvFactory<SoHepMCEventCnv>; 00014 public: 00015 SoHepMCEventCnv(ISvcLocator*); 00016 virtual StatusCode initialize(); 00017 virtual StatusCode finalize(); 00018 virtual long repSvcType() const; 00019 virtual StatusCode createRep(DataObject*,IOpaqueAddress*&); 00020 public: 00021 static const CLID& classID(); 00022 static const unsigned char storageType(); 00023 private: 00024 ISoConversionSvc* fSoCnvSvc; 00025 IUserInterfaceSvc* fUISvc; 00026 IParticlePropertySvc* fParticlePropertySvc; 00027 }; 00028 00029 #endif