BOSS 7.0.8
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
Definition: MdcCalRecTrk.h:40
double getP() const
Definition: MdcCalRecTrk.h:36
void setGeomSvc(IMdcGeomSvc *mdcGeomSvc)
Definition: MdcCalRecTrk.h:24
void setUtilSvc(IMdcUtilitySvc *mdcUtilitySvc)
Definition: MdcCalRecTrk.h:25
double getTanLamda() const
Definition: MdcCalRecTrk.h:34
double getDz() const
Definition: MdcCalRecTrk.h:33
int getNHits() const
Definition: MdcCalRecTrk.h:38
bool m_fgNoiseRatio
Definition: MdcCalRecTrk.h:44
double getPhi0() const
Definition: MdcCalRecTrk.h:31
HepLorentzVector getP4() const
Definition: MdcCalRecTrk.h:39
void setRecTrk(RecMdcTrackCol::iterator it_trk)
bool fgNoiseRatio(double phi0)
HepSymMatrix getHelixErr() const
Definition: MdcCalRecTrk.h:42
double getKappa() const
Definition: MdcCalRecTrk.h:32
double getChisq() const
Definition: MdcCalRecTrk.h:37
void setKalTrk(RecMdcKalTrackCol::iterator it_trk)
bool getFgNoiseRatio() const
Definition: MdcCalRecTrk.h:46
double getPt() const
Definition: MdcCalRecTrk.h:35
HepVector getHelix() const
Definition: MdcCalRecTrk.h:41
double getDr() const
Definition: MdcCalRecTrk.h:30