00001 #ifndef MCEVENTSELECTOR_MCEVENTCNV_H
00002 #define MCEVENTSELECTOR_MCEVENTCNV_H
00003 #include "GaudiKernel/Converter.h"
00004 #include "EventModel/EventModel.h"
00005
00006 using namespace EventModel;
00007 extern const CLID& CLID_Event;
00008
00009 class IOpaqueAddress;
00010 class DataObject;
00011 class StatusCode;
00012
00013
00014 template <class TYPE> class CnvFactory;
00015
00016
00017 class McEventCnv: public Converter {
00018 friend class CnvFactory<McEventCnv>;
00019
00020 protected:
00021 McEventCnv(ISvcLocator* svcloc);
00022
00023 public:
00024 StatusCode createObj(IOpaqueAddress* pAddr, DataObject*& pObj);
00025
00027 static unsigned char storageType();
00028 virtual long repSvcType() const;
00029
00030 static const CLID& classID() {
00031 return CLID_Event;
00032 }
00033
00034 };
00035 #endif
00036