/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Event/RawDataCnv/RawDataCnv-00-04-35/RawDataCnv/Util/ZddConverter.h

Go to the documentation of this file.
00001 #ifndef ZDD_CONVERTER_H
00002 #define ZDD_CONVERTER_H
00003 
00004 #include "ZddEvent/ZddEvent.h"
00005 #include <stdint.h>
00006 
00007 class ZddChannel;
00008 
00009 class ZddConverter
00010 {
00011     public :
00012 
00013         static ZddConverter* instance(int runMode = 2);  //default OfflineMode
00014         static void destroy();
00015 
00016         bool convert(uint32_t* pdata, int size, Event::ZddEvent* evt);
00017 
00018     private :
00019 
00020         uint32_t* decodeBoard(uint32_t* pevt, Event::ZddEvent* evt);
00021         uint32_t* decodeChannel(uint32_t* pch, ZddChannel* evt);
00022 
00023         ZddConverter(int runMode);
00024         ~ZddConverter();
00025 
00026         ZddConverter();  // not support
00027 
00028 
00029     private :// data members
00030 
00031         int m_runMode;
00032 
00033         static  ZddConverter* s_instance;
00034 };
00035 
00036 #endif

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