BOSS 7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
EmcBuilder.h
Go to the documentation of this file.
1#ifndef EMCBUILDER_H
2#define EMCBUILDER_H
3
5#include "EmcRawEvent/EmcDigi.h"
6
7using namespace std;
8
9class EmcBuilder: public Builder
10{
11
12public:
13 EmcBuilder ();
14 virtual ~EmcBuilder();
15 StatusCode initialize(string &initFile);
16 uint32_t getTEID(uint32_t reid) { return m_re2te[reid]; }
17 uint32_t getREID(uint32_t teid);
18 void unPack (uint32_t reDigi, uint32_t &REId, uint32_t &TETDC, uint32_t &TEADC, uint32_t &measure);
19 StatusCode pack(EmcDigiCol* digiCol, WriteRawEvent*& re);
20
21private:
22 //string initFile;
23 uint32_t m_idIndex;
24 uint32_t m_idMask;
25 uint32_t m_overflowIndex;
26 uint32_t m_overflowMask;
27 uint32_t m_TQIndex;
28 uint32_t m_TQMask;
29 uint32_t m_tdcIndex;
30 uint32_t m_tdcMask;
31 uint32_t m_measureIndex;
32 uint32_t m_measureMask;
33 uint32_t m_adcIndex;
34 uint32_t m_adcMask;
35
36 uint32_t* m_re2te;
37 TE2REMAP m_te2reMap;
38
39 PropertyMgr m_propMgr;
40};
41#endif
ObjectVector< EmcDigi > EmcDigiCol
Definition EmcDigi.h:43
StatusCode initialize(string &initFile)
StatusCode pack(EmcDigiCol *digiCol, WriteRawEvent *&re)
uint32_t getTEID(uint32_t reid)
Definition EmcBuilder.h:16
virtual ~EmcBuilder()
void unPack(uint32_t reDigi, uint32_t &REId, uint32_t &TETDC, uint32_t &TEADC, uint32_t &measure)
uint32_t getREID(uint32_t teid)