BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcCalRecTrk.h
Go to the documentation of this file.
1#ifndef MDCCALRECTRK_H
2#define MDCCALRECTRK_H
3
5
6#include "EventModel/Event.h"
8
14#include "Identifier/MdcID.h"
15#include "CLHEP/Vector/LorentzVector.h"
18
20public:
21 MdcCalRecTrk(int pid);
23
24 void setGeomSvc(IMdcGeomSvc* mdcGeomSvc) { m_mdcGeomSvc = mdcGeomSvc; }
25 void setUtilSvc(IMdcUtilitySvc* mdcUtilitySvc) { m_mdcUtilitySvc = mdcUtilitySvc; }
26
27 void setRecTrk(RecMdcTrackCol::iterator it_trk);
28 void setKalTrk(RecMdcKalTrackCol::iterator it_trk);
29
30 double getDr() const { return m_dr; }
31 double getPhi0() const { return m_phi0; }
32 double getKappa() const { return m_kappa; }
33 double getDz() const { return m_dz; }
34 double getTanLamda() const { return m_tanl; }
35 double getPt() const { return m_pt; }
36 double getP() const { return m_p; }
37 double getChisq() const { return m_chisq; }
38 int getNHits() const { return m_nhits; }
39 HepLorentzVector getP4() const {return m_p4;}
40 MdcCalRecHit* getRecHit(int index) const { return m_rechit[index]; }
41 HepVector getHelix() const { return m_helix; }
42 HepSymMatrix getHelixErr() const { return m_helixerr; }
43
45 bool fgNoiseRatio(double phi0);
46 bool getFgNoiseRatio() const { return m_fgNoiseRatio; }
47
48private:
49 IMdcGeomSvc* m_mdcGeomSvc;
50 IMdcUtilitySvc* m_mdcUtilitySvc;
51
52 int m_pid;
53 double m_dr;
54 double m_phi0;
55 double m_kappa;
56 double m_dz;
57 double m_tanl;
58 double m_pt;
59 double m_p;
60 double m_chisq;
61 int m_nhits;
62 HepLorentzVector m_p4;
63 std::vector<MdcCalRecHit*> m_rechit;
64 HepVector m_helix;
65 HepSymMatrix m_helixerr;
66};
67
68#endif /* MDCCALRECTRK_H */
MdcCalRecHit * getRecHit(int index) const
double getP() const
void setGeomSvc(IMdcGeomSvc *mdcGeomSvc)
void setUtilSvc(IMdcUtilitySvc *mdcUtilitySvc)
double getTanLamda() const
double getDz() const
MdcCalRecTrk(int pid)
int getNHits() const
bool m_fgNoiseRatio
double getPhi0() const
HepLorentzVector getP4() const
void setRecTrk(RecMdcTrackCol::iterator it_trk)
bool fgNoiseRatio(double phi0)
HepSymMatrix getHelixErr() const
double getKappa() const
double getChisq() const
void setKalTrk(RecMdcKalTrackCol::iterator it_trk)
bool getFgNoiseRatio() const
double getPt() const
HepVector getHelix() const
double getDr() const