BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
Mdc/MdcCalibAlg/MdcCalibAlg-00-09-02/MdcCalibAlg/MdcCalEvent.h
Go to the documentation of this file.
1#ifndef MDCCALEVENT_H
2#define MDCCALEVENT_H
3
4#include "MdcCalibAlg/MdcCalRecTrk.h"
5#include "MdcCalibAlg/MdcCalRecHit.h"
6#include "MdcCalibAlg/MdcCalParams.h"
7#include "MdcGeomSvc/IMdcGeomSvc.h"
8#include "MdcUtilitySvc/MdcUtilitySvc.h"
9
10#include <vector>
11
12class StatusCode;
13class BesEvent;
14
15class MdcCalEvent{
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()
void clear()
StatusCode setRecEvent()