00001 #ifndef RecZddChannelCnv_H 00002 #define RecZddChannelCnv_H 00003 00004 #include "RootCnvSvc/RootEventBaseCnv.h" 00005 #include "RootCnvSvc/commonData.h" 00006 00007 class RootAddress; 00008 00009 extern const CLID& CLID_RecZddChannelCol; 00010 00011 // Abstract factory to create the converter 00012 template <class TYPE> class CnvFactory; 00013 00014 class RecZddChannelCnv : public RootEventBaseCnv 00015 { 00016 friend class CnvFactory<RecZddChannelCnv>; 00017 00018 public : 00019 00020 static const CLID& classID() { return CLID_RecZddChannelCol; } 00021 00022 virtual ~RecZddChannelCnv() {} 00023 00024 protected : 00025 00026 RecZddChannelCnv(ISvcLocator* svc); 00027 00029 virtual StatusCode DataObjectToTObject(DataObject* obj, RootAddress* addr); 00030 00032 virtual StatusCode TObjectToDataObject(DataObject*& obj); 00033 00034 private : 00036 commonData m_common; 00037 00038 TObjArray* m_recZddChannelCol; 00039 }; 00040 00041 #endif