BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/RawDataCnv/RawDataCnv-00-04-35/RawDataCnv/EventManagement/MdcMcHitBuilder.h
Go to the documentation of this file.
1#ifndef MDC_MCHIT_BUILDER_H
2#define MDC_MCHIT_BUILDER_H
3
4#include "RawDataCnv/EventManagement/Builder.h"
5#include "McTruth/MdcMcHit.h"
6#include "RawDataCnv/EventManagement/McTruthDataStructure.h"
7
8using namespace std;
11
13{
14
15public:
17 virtual ~MdcMcHitBuilder(){};
18 virtual StatusCode initialize(string &initFile);
19 virtual uint32_t getTEID(uint32_t teid);
20 virtual uint32_t getREID(uint32_t reid);
21 virtual void unPack (vector<uint32_t>::const_iterator&,
22 vector<uint32_t>::const_iterator&,
23 MdcTruth_t&);
24 virtual StatusCode pack(MdcMcHitCol* mdcMcHitCol, WriteRawEvent*& re);
25
26private:
27
28 void makeMdcTruth(MdcMcHitCol::const_iterator& pMdcMcHit, MdcTruth_t& tt);
29
30 TE2REMAP m_te2reMap;
31 ///string initFile;
32 vector <int> re2te;
33 PropertyMgr m_propMgr;
34
35 uint32_t m_trackIndexIndex, m_layerIdIndex, m_cellIdIndex, m_posFlagIndex;
36 uint32_t m_trackIndexMask, m_layerIdMask, m_cellIdMask, m_posFlagMask;
37
38public:
39 uint64_t m_edepCoeff;
40 uint64_t m_driftDCoeff;
41 uint64_t m_xCoeff;
42 uint64_t m_yCoeff;
43 uint64_t m_zCoeff;
44};
45#endif
virtual StatusCode initialize(string &initFile)
virtual StatusCode pack(MdcMcHitCol *mdcMcHitCol, WriteRawEvent *&re)
virtual uint32_t getREID(uint32_t reid)
virtual uint32_t getTEID(uint32_t teid)
virtual void unPack(vector< uint32_t >::const_iterator &, vector< uint32_t >::const_iterator &, MdcTruth_t &)
ObjectVector< MdcMcHit > MdcMcHitCol