BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/MdcCalibAlg/MdcCalibAlg/MdcCalRecTrk.h
Go to the documentation of this file.
1#ifndef MDCCALRECTRK_H
2#define MDCCALRECTRK_H
3
4#include "MdcCalibAlg/MdcCalRecHit.h"
5
6#include "EventModel/Event.h"
7#include "RawEvent/RawDataUtil.h"
8
9#include "MdcRecEvent/RecMdcTrack.h"
10#include "MdcRecEvent/RecMdcKalTrack.h"
11#include "MdcRecEvent/RecMdcHit.h"
12#include "ReconEvent/ReconEvent.h"
13#include "Identifier/Identifier.h"
14#include "Identifier/MdcID.h"
15#include "CLHEP/Vector/LorentzVector.h"
16#include "MdcGeomSvc/IMdcGeomSvc.h"
17#include "MdcUtilitySvc/MdcUtilitySvc.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 */
void setUtilSvc(IMdcUtilitySvc *mdcUtilitySvc)
void setRecTrk(RecMdcTrackCol::iterator it_trk)
bool fgNoiseRatio(double phi0)
void setKalTrk(RecMdcKalTrackCol::iterator it_trk)