/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Event/RootCnvSvc/RootCnvSvc-02-01-12/RootCnvSvc/Hlt/HltCnv.h

Go to the documentation of this file.
00001 #ifndef HltCnv_H
00002 #define HltCnv_H 1
00003 
00004 #include "RootCnvSvc/RootEventBaseCnv.h"
00005 
00006 #include "RootEventData/THltEvent.h"
00007 #include "RootCnvSvc/commonData.h"  //zoujh
00008 
00009 extern const CLID& CLID_HltEvent;
00010 
00011 // Abstract factory to create the converter
00012 template <class TYPE> class CnvFactory;
00013 
00020 class HltCnv : public RootEventBaseCnv { 
00021 
00022   friend class CnvFactory<HltCnv>;
00023 
00024 public: 
00025   static const CLID& classID()   
00026   {
00027     return CLID_HltEvent;
00028   }
00029 
00030   virtual ~HltCnv() { };
00031 
00032   virtual StatusCode initialize();  
00033 
00035   static THltEvent* getWriteObject() { return m_objWrite;};
00036  
00037  protected:
00038   HltCnv(ISvcLocator* svc);
00039 
00041   virtual StatusCode DataObjectToTObject(DataObject* obj, RootAddress* addr);
00042 
00044   virtual StatusCode TObjectToDataObject(DataObject*& refpObject);
00045 
00046 private:
00048   static THltEvent* m_objWrite;
00049 
00051   Int_t m_runId;  
00053   Int_t m_eventId;  
00054     
00056   Bool_t m_fromMc;
00057 
00058   commonData m_common;  //zoujh
00059 
00060 };
00061 
00062 #endif // HltCnv_H

Generated on Tue Nov 29 22:58:37 2016 for BOSS_7.0.2 by  doxygen 1.4.7