BOSS 7.0.7
BESIII Offline Software System
Loading...
Searching...
No Matches
TofBuilder.h
Go to the documentation of this file.
1#ifndef TOFBUILDER_H
2#define TOFBUILDER_H
3
6
7using namespace std;
8
9class TofBuilder: public Builder
10{
11
12public:
13 TofBuilder ();
14 virtual ~TofBuilder();
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(TofDigiCol* digiCol, WriteRawEvent*& re);
21
22private:
23 //string initFile;
24 uint32_t m_idIndex;
25 uint32_t m_dataIndex;
26 uint32_t m_idMask;
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< TofDigi > TofDigiCol
Definition: TofDigi.h:41
virtual uint32_t getTEID(uint32_t reid)
Definition: TofBuilder.h:16
virtual StatusCode initialize(string &initFile)
Definition: TofBuilder.cxx:130
virtual ~TofBuilder()
Definition: TofBuilder.cxx:17
virtual StatusCode pack(TofDigiCol *digiCol, WriteRawEvent *&re)
Definition: TofBuilder.cxx:38
virtual void unPack(uint32_t reDigi, uint32_t &REId, uint32_t &TEData, uint32_t &overFlow, uint32_t &TorQ)
Definition: TofBuilder.cxx:22
virtual uint32_t getREID(uint32_t teid)
Definition: TofBuilder.cxx:238