CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
MucMcHitBuilder.h
Go to the documentation of this file.
1#ifndef MUC_MCHIT_BUILDER_H
2#define MUC_MCHIT_BUILDER_H
3
5#include "McTruth/MucMcHit.h"
7
8using namespace std;
11
13{
14
15public:
17 virtual ~MucMcHitBuilder(){};
18 virtual StatusCode initialize(string &initFile);
19 virtual uint32_t getTEID(uint32_t teid);
20 virtual uint32_t getREID(uint32_t reid);
21
22 virtual void unPack(vector<uint32_t>::const_iterator&,
23 vector<uint32_t>::const_iterator&,
24 MucTruth_t&);
25 virtual StatusCode pack(MucMcHitCol* mucMcHitCol, WriteRawEvent*& re);
26
27private:
28
29 void makeMucTruth(MucMcHitCol::const_iterator& pMucMcHit, MucTruth_t& mt);
30
31 TE2REMAP m_te2reMap;
32 //string initFile;
33 vector <int> re2te;
34 PropertyMgr m_propMgr;
35
36 uint32_t m_trackIndexIndex, m_partIdIndex, m_segIdIndex, m_gapIdIndex, m_stripIdIndex;
37 uint32_t m_trackIndexMask, m_partIdMask, m_segIdMask, m_gapIdMask, m_stripIdMask;
38
39public:
40 uint64_t m_xCoeff;
41 uint64_t m_yCoeff;
42 uint64_t m_zCoeff;
43 uint64_t m_pxCoeff;
44 uint64_t m_pyCoeff;
45 uint64_t m_pzCoeff;
46};
47#endif
virtual uint32_t getREID(uint32_t reid)
virtual StatusCode initialize(string &initFile)
virtual ~MucMcHitBuilder()
virtual uint32_t getTEID(uint32_t teid)
virtual void unPack(vector< uint32_t >::const_iterator &, vector< uint32_t >::const_iterator &, MucTruth_t &)
virtual StatusCode pack(MucMcHitCol *mucMcHitCol, WriteRawEvent *&re)
ObjectVector< MucMcHit > MucMcHitCol
Definition: MucMcHit.h:89