BOSS 7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
TMdcTrack.h
Go to the documentation of this file.
1#ifndef RootEventData_TMdcTrack_H
2#define RootEventData_TMdcTrack_H 1
3
4#include "TObject.h"
5
6class TMdcTrack : public TObject {
7
8public:
10 ~TMdcTrack ();
11
12 //Get
13 Int_t trackId() const { return m_trackId; }
14 Double_t helix(Int_t i) const { return m_helix[i]; }
15 Int_t stat() const { return m_stat; }
16 Double_t chi2() const { return m_chi2; }
17 Int_t ndof() const { return m_ndof; }
18 Double_t err(Int_t i) const { return m_err[i]; }
19 Int_t nster() const { return m_nster; }
20 Int_t nlayer() const { return m_nlayer; }
21 Int_t firstLayer() const { return m_firstLayer;}
22 Int_t lastLayer() const { return m_lastLayer; }
23
24 Double_t x() const;
25 Double_t y() const;
26 Double_t z() const;
27
28 Double_t r() const;
29 Int_t charge() const;
30 Double_t pxy() const;
31 Double_t px() const;
32 Double_t py() const;
33 Double_t pz() const;
34 Double_t p() const;
35 Double_t theta() const;
36 Double_t phi() const;
37
38 //set
39 void setHelix(const Double_t helix[5]);
40 void setErr(const Double_t err[15] );
41 void setTrackId(const Int_t trackId ) { m_trackId = trackId; }
42 void setStat(const Int_t stat ) { m_stat = stat ; }
43 void setChi2(const Double_t chi ) { m_chi2 = chi; }
44 void setNdof(const Int_t ndof ) { m_ndof = ndof; }
45 void setNster(const Int_t ns ) { m_nster = ns; }
46 void setNlayer(const Int_t nlayer) { m_nlayer= nlayer; }
47 void setFirstLayer(const Int_t fL) { m_firstLayer = fL; }
48 void setLastLayer(const Int_t lL ) { m_lastLayer = lL; }
49
50
51 private:
52 Int_t m_trackId; // Track Id Wensp add 2005-10-19
53 Double_t m_helix[5]; // 5 track parameters
54 Double_t m_err[15]; // Error Matrix
55 // Double_t m_poca[3];
56 Int_t m_stat; // Track Fit Quality
57 Double_t m_chi2;
58 Int_t m_ndof;
59 Int_t m_nster; // number of stereo hits contained
60 Int_t m_nlayer; // number of layer track passed
61 Int_t m_firstLayer; //
62 Int_t m_lastLayer; //
63 ClassDef(TMdcTrack,3)
64};
65
66#endif
Double_t pxy() const
Definition TMdcTrack.cxx:47
Int_t charge() const
Definition TMdcTrack.cxx:18
Double_t pz() const
Definition TMdcTrack.cxx:61
Double_t phi() const
Definition TMdcTrack.cxx:74
Int_t nlayer() const
Definition TMdcTrack.h:20
Double_t x() const
Definition TMdcTrack.cxx:30
Int_t ndof() const
Definition TMdcTrack.h:17
Double_t chi2() const
Definition TMdcTrack.h:16
void setLastLayer(const Int_t lL)
Definition TMdcTrack.h:48
Double_t py() const
Definition TMdcTrack.cxx:57
Int_t lastLayer() const
Definition TMdcTrack.h:22
Double_t px() const
Definition TMdcTrack.cxx:53
Double_t z() const
Definition TMdcTrack.cxx:38
Double_t err(Int_t i) const
Definition TMdcTrack.h:18
void setNster(const Int_t ns)
Definition TMdcTrack.h:45
Int_t stat() const
Definition TMdcTrack.h:15
void setChi2(const Double_t chi)
Definition TMdcTrack.h:43
Int_t firstLayer() const
Definition TMdcTrack.h:21
Double_t p() const
Definition TMdcTrack.cxx:65
Double_t helix(Int_t i) const
Definition TMdcTrack.h:14
void setNlayer(const Int_t nlayer)
Definition TMdcTrack.h:46
Double_t y() const
Definition TMdcTrack.cxx:34
Int_t trackId() const
Definition TMdcTrack.h:13
void setNdof(const Int_t ndof)
Definition TMdcTrack.h:44
Double_t theta() const
Definition TMdcTrack.cxx:70
void setTrackId(const Int_t trackId)
Definition TMdcTrack.h:41
Int_t nster() const
Definition TMdcTrack.h:19
void setFirstLayer(const Int_t fL)
Definition TMdcTrack.h:47
void setErr(const Double_t err[15])
Definition TMdcTrack.cxx:84
void setStat(const Int_t stat)
Definition TMdcTrack.h:42
void setHelix(const Double_t helix[5])
Definition TMdcTrack.cxx:78
Double_t r() const
Definition TMdcTrack.cxx:42
#define ns(x)
Definition xmltok.c:1504