BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/RawDataCnv/RawDataCnv-00-04-37/RawDataCnv/Util/ZddConverter.h
Go to the documentation of this file.
1#ifndef ZDD_CONVERTER_H
2#define ZDD_CONVERTER_H
3
4#include "ZddEvent/ZddEvent.h"
5#include <stdint.h>
6
7class ZddChannel;
8
10{
11 public :
12
13 static ZddConverter* instance(int runMode = 2); //default OfflineMode
14 static void destroy();
15
16 bool convert(uint32_t* pdata, int size, Event::ZddEvent* evt);
17
18 private :
19
20 uint32_t* decodeBoard(uint32_t* pevt, Event::ZddEvent* evt);
21 uint32_t* decodeChannel(uint32_t* pch, ZddChannel* evt);
22
23 ZddConverter(int runMode);
25
26 ZddConverter(); // not support
27
28
29 private :// data members
30
31 int m_runMode;
32
33 static ZddConverter* s_instance;
34};
35
36#endif
static ZddConverter * instance(int runMode=2)
Definition: ZddConverter.cxx:9
static void destroy()
bool convert(uint32_t *pdata, int size, Event::ZddEvent *evt)