BOSS 7.0.7
BESIII Offline Software System
Loading...
Searching...
No Matches
MucBuilder.h
Go to the documentation of this file.
1#ifndef MUCBUILDER_H
2#define MUCBUILDER_H
3
5#include "MucRawEvent/MucDigi.h"
6
7
8using namespace std;
9
10class MucBuilder: public Builder
11{
12
13public:
14 MucBuilder ();
15 virtual ~MucBuilder();
16 virtual StatusCode initialize(string &initFile);
17 virtual uint32_t getTEID(uint32_t reid) {
18 if ( reid > 1023 ) return 0xFFFFFFFF;
19 return m_re2te[reid];
20 }
21 virtual uint32_t getREID(uint32_t teid);
22 virtual void unPack (uint32_t reDigi, uint32_t &REId, uint32_t &FecData, uint32_t &StrSqc);
23 virtual StatusCode pack(MucDigiCol* digiCol, WriteRawEvent*& re);
24
25private:
26 //string initFile;
27 uint32_t m_idIndex;
28 uint32_t m_idMask;
29 uint32_t m_overflowIndex;
30 uint32_t m_overflowMask;
31 uint32_t m_TQIndex;
32 uint32_t m_TQMask;
33
34 uint32_t* m_re2te;
35 uint32_t* strSqcVec;
36 TE2REMAP m_te2reMap;
37
38 PropertyMgr m_propMgr;
39 string m_fec2idFile;
40};
41#endif
ObjectVector< MucDigi > MucDigiCol
Definition: MucDigi.h:29
virtual StatusCode pack(MucDigiCol *digiCol, WriteRawEvent *&re)
Definition: MucBuilder.cxx:44
virtual void unPack(uint32_t reDigi, uint32_t &REId, uint32_t &FecData, uint32_t &StrSqc)
Definition: MucBuilder.cxx:34
virtual StatusCode initialize(string &initFile)
Definition: MucBuilder.cxx:76
virtual uint32_t getTEID(uint32_t reid)
Definition: MucBuilder.h:17
virtual ~MucBuilder()
Definition: MucBuilder.cxx:28
virtual uint32_t getREID(uint32_t teid)
Definition: MucBuilder.cxx:104