BOSS 6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcCalEvent.h
Go to the documentation of this file.
1#ifndef MDCCALEVENT_H
2#define MDCCALEVENT_H
3
9
10#include <vector>
11
12class StatusCode;
13class BesEvent;
14
16public:
19
20 void setParam(MdcCalParams& param) { m_param = param; }
21 void setGeomSvc(IMdcGeomSvc* mdcGeomSvc) { m_mdcGeomSvc = mdcGeomSvc; }
22 void setUtilSvc(IMdcUtilitySvc* mdcUtilitySvc) { m_mdcUtilitySvc = mdcUtilitySvc; }
23
24 StatusCode setRecEvent();
25 StatusCode setKalEvent();
26
27 int getNRawHitTQ() const{ return m_nhitTQ; }
28 int getEsFlag() const { return m_esFlag; }
29 bool getEsCutFlag() const { return m_esCutFg; }
30 int getNesCutFlag() const { return m_nEsCutFg; }
31 double getTes() const { return m_tes; }
32
33 int getNTrk() const { return m_rectrk.size(); }
34 MdcCalRecTrk* getRecTrk(int index) const { return m_rectrk[index]; }
35
36 void setEvtNoOnline(int evtNo) { m_nEvtOnline = evtNo; }
37 int getEvtNoOnline() const { return m_nEvtOnline; }
38
39 void setEvtNoOffline(int evtNo) { m_nEvtOffline = evtNo; }
40 int getEvtNoOffline() const { return m_nEvtOffline; }
41
42 void clear();
43
44private:
45 MdcCalParams m_param;
46 IMdcGeomSvc* m_mdcGeomSvc;
47 IMdcUtilitySvc* m_mdcUtilitySvc;
48
49 int m_nEvtOnline;
50 int m_nEvtOffline;
51 int m_nhitTQ;
52 int m_esFlag;
53 bool m_esCutFg;
54 int m_nEsCutFg;
55 double m_tes;
56 std::vector<MdcCalRecTrk*> m_rectrk;
57};
58
59#endif /* MDCCALEVENT_H */
StatusCode setKalEvent()
double getTes() const
Definition: MdcCalEvent.h:31
StatusCode setRecEvent()
Definition: MdcCalEvent.cxx:42
int getEvtNoOffline() const
Definition: MdcCalEvent.h:40
int getNTrk() const
Definition: MdcCalEvent.h:33
MdcCalRecTrk * getRecTrk(int index) const
Definition: MdcCalEvent.h:34
int getEsFlag() const
Definition: MdcCalEvent.h:28
void setParam(MdcCalParams &param)
Definition: MdcCalEvent.h:20
int getEvtNoOnline() const
Definition: MdcCalEvent.h:37
void setEvtNoOffline(int evtNo)
Definition: MdcCalEvent.h:39
int getNRawHitTQ() const
Definition: MdcCalEvent.h:27
bool getEsCutFlag() const
Definition: MdcCalEvent.h:29
void setGeomSvc(IMdcGeomSvc *mdcGeomSvc)
Definition: MdcCalEvent.h:21
int getNesCutFlag() const
Definition: MdcCalEvent.h:30
void setUtilSvc(IMdcUtilitySvc *mdcUtilitySvc)
Definition: MdcCalEvent.h:22
void setEvtNoOnline(int evtNo)
Definition: MdcCalEvent.h:36