BOSS 7.0.7
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcBuilder.h
Go to the documentation of this file.
1#ifndef MDCBUILDER_H
2#define MDCBUILDER_H
3
5#include "MdcRawEvent/MdcDigi.h"
6
7using namespace std;
8
9class MdcBuilder: public Builder
10{
11
12public:
13 MdcBuilder ();
14 virtual ~MdcBuilder();
15 virtual StatusCode initialize(string &initFile);
16 virtual uint32_t getTEID(uint32_t reid) { return m_re2te[reid]; }
17 virtual uint32_t getREID(uint32_t teid);
18 virtual void unPack (uint32_t reDigi, uint32_t &REId, uint32_t &TEData,
19 uint32_t &overFlow, uint32_t &TorQ);
20 virtual StatusCode pack(MdcDigiCol* digiCol, WriteRawEvent*& re);
21
22private:
23 //string initFile;
24 uint32_t m_idIndex;
25 uint32_t m_idMask;
26 uint32_t m_dataIndex;
27 uint32_t m_dataMask;
28 uint32_t m_overflowIndex;
29 uint32_t m_overflowMask;
30 uint32_t m_TQIndex;
31 uint32_t m_TQMask;
32
33 uint32_t* m_re2te;
34 TE2REMAP m_te2reMap;
35
36 PropertyMgr m_propMgr;
37};
38#endif
ObjectVector< MdcDigi > MdcDigiCol
Definition: MdcDigi.h:39
virtual uint32_t getREID(uint32_t teid)
Definition: MdcBuilder.cxx:194
virtual uint32_t getTEID(uint32_t reid)
Definition: MdcBuilder.h:16
virtual ~MdcBuilder()
Definition: MdcBuilder.cxx:17
virtual StatusCode pack(MdcDigiCol *digiCol, WriteRawEvent *&re)
Definition: MdcBuilder.cxx:35
virtual StatusCode initialize(string &initFile)
Definition: MdcBuilder.cxx:99
virtual void unPack(uint32_t reDigi, uint32_t &REId, uint32_t &TEData, uint32_t &overFlow, uint32_t &TorQ)
Definition: MdcBuilder.cxx:22