CGEM BOSS 6.6.5.h
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 const Int_t trackId() const { return m_trackId; }
14 const Double_t helix(Int_t i) const { return m_helix[i]; }
15 const Int_t stat() const { return m_stat; }
16 const Double_t chi2() const { return m_chi2; }
17 const Int_t ndof() const { return m_ndof; }
18 const Double_t err(Int_t i) const { return m_err[i]; }
19 const Int_t nster() const { return m_nster; }
20 const Int_t nlayer() const { return m_nlayer; }
21 const Int_t firstLayer() const { return m_firstLayer;}
22 const Int_t lastLayer() const { return m_lastLayer; }
23 Int_t nCgemXClusters() const { return m_nCgemXClusters; }
24 Int_t nCgemVClusters() const { return m_nCgemVClusters; }
25
26 const Double_t x() const;
27 const Double_t y() const;
28 const Double_t z() const;
29
30 const Double_t r() const;
31 const Int_t charge() const;
32 const Double_t pxy() const;
33 const Double_t px() const;
34 const Double_t py() const;
35 const Double_t pz() const;
36 const Double_t p() const;
37 const Double_t theta() const;
38 const Double_t phi() const;
39
40 //set
41 void setHelix(const Double_t helix[5]);
42 void setErr(const Double_t err[15] );
43 void setTrackId(const Int_t trackId ) { m_trackId = trackId; }
44 void setStat(const Int_t stat ) { m_stat = stat ; }
45 void setChi2(const Double_t chi ) { m_chi2 = chi; }
46 void setNdof(const Int_t ndof ) { m_ndof = ndof; }
47 void setNster(const Int_t ns ) { m_nster = ns; }
48 void setNlayer(const Int_t nlayer) { m_nlayer= nlayer; }
49 void setFirstLayer(const Int_t fL) { m_firstLayer = fL; }
50 void setLastLayer(const Int_t lL ) { m_lastLayer = lL; }
51 void setNCgemXClusters(const Int_t n) { m_nCgemXClusters = n; }
52 void setNCgemVClusters(const Int_t n) { m_nCgemVClusters = n; }
53
54
55 private:
56 Int_t m_trackId; // Track Id Wensp add 2005-10-19
57 Double_t m_helix[5]; // 5 track parameters
58 Double_t m_err[15]; // Error Matrix
59 // Double_t m_poca[3];
60 Int_t m_stat; // Track Fit Quality
61 Double_t m_chi2;
62 Int_t m_ndof;
63 Int_t m_nster; // number of stereo hits contained
64 Int_t m_nlayer; // number of layer track passed
65 Int_t m_firstLayer; //
66 Int_t m_lastLayer; //
67 Int_t m_nCgemXClusters; // number of Cgem X-clusters 2017-12-12 by wll
68 Int_t m_nCgemVClusters; // number of Cgem V-clusters 2017-12-12 by wll
69 ClassDef(TMdcTrack,3)
70};
71
72#endif
const Int_t n
const Double_t py() const
Definition TMdcTrack.cxx:57
const Int_t charge() const
Definition TMdcTrack.cxx:18
void setNCgemVClusters(const Int_t n)
Definition TMdcTrack.h:52
const Double_t pz() const
Definition TMdcTrack.cxx:61
const Double_t helix(Int_t i) const
Definition TMdcTrack.h:14
const Double_t chi2() const
Definition TMdcTrack.h:16
const Double_t phi() const
Definition TMdcTrack.cxx:74
void setLastLayer(const Int_t lL)
Definition TMdcTrack.h:50
Int_t nCgemVClusters() const
Definition TMdcTrack.h:24
const Int_t stat() const
Definition TMdcTrack.h:15
const Double_t px() const
Definition TMdcTrack.cxx:53
const Double_t y() const
Definition TMdcTrack.cxx:34
const Int_t firstLayer() const
Definition TMdcTrack.h:21
void setNster(const Int_t ns)
Definition TMdcTrack.h:47
void setChi2(const Double_t chi)
Definition TMdcTrack.h:45
Int_t nCgemXClusters() const
Definition TMdcTrack.h:23
const Double_t theta() const
Definition TMdcTrack.cxx:70
const Double_t pxy() const
Definition TMdcTrack.cxx:47
void setNlayer(const Int_t nlayer)
Definition TMdcTrack.h:48
const Int_t nster() const
Definition TMdcTrack.h:19
const Double_t x() const
Definition TMdcTrack.cxx:30
const Double_t r() const
Definition TMdcTrack.cxx:42
const Int_t lastLayer() const
Definition TMdcTrack.h:22
const Double_t err(Int_t i) const
Definition TMdcTrack.h:18
const Double_t p() const
Definition TMdcTrack.cxx:65
const Int_t trackId() const
Definition TMdcTrack.h:13
void setNdof(const Int_t ndof)
Definition TMdcTrack.h:46
void setTrackId(const Int_t trackId)
Definition TMdcTrack.h:43
const Double_t z() const
Definition TMdcTrack.cxx:38
void setFirstLayer(const Int_t fL)
Definition TMdcTrack.h:49
const Int_t ndof() const
Definition TMdcTrack.h:17
const Int_t nlayer() const
Definition TMdcTrack.h:20
void setErr(const Double_t err[15])
Definition TMdcTrack.cxx:84
void setStat(const Int_t stat)
Definition TMdcTrack.h:44
void setNCgemXClusters(const Int_t n)
Definition TMdcTrack.h:51
void setHelix(const Double_t helix[5])
Definition TMdcTrack.cxx:78
#define ns(x)
Definition xmltok.c:1504