CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/RootEventData/bak_RootEventData-00-05-12/RootEventData/TCgemTrack.h
Go to the documentation of this file.
1#ifndef RootEventData_TCgemTrack_H
2#define RootEventData_TCgemTrack_H 1
3
4#include "TObject.h"
5
6class TCgemTrack : public TObject {
7
8public:
10 ~TCgemTrack ();
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 firstLayer() const { return m_firstLayer;}
20 const Int_t lastLayer() const { return m_lastLayer; }
21
22 const Double_t x() const;
23 const Double_t y() const;
24 const Double_t z() const;
25
26 const Double_t r() const;
27 const Int_t charge() const;
28 const Double_t pxy() const;
29 const Double_t px() const;
30 const Double_t py() const;
31 const Double_t pz() const;
32 const Double_t p() const;
33 const Double_t theta() const;
34 const Double_t phi() const;
35
36 //set
37 void setHelix(const Double_t helix[5]);
38 void setErr(const Double_t err[15] );
39 void setTrackId(const Int_t trackId ) { m_trackId = trackId; }
40 void setStat(const Int_t stat ) { m_stat = stat ; }
41 void setChi2(const Double_t chi ) { m_chi2 = chi; }
42 void setNdof(const Int_t ndof ) { m_ndof = ndof; }
43 void setFirstLayer(const Int_t fL) { m_firstLayer = fL; }
44 void setLastLayer(const Int_t lL ) { m_lastLayer = lL; }
45
46
47 private:
48 Int_t m_trackId; // Track Id Wensp add 2005-10-19
49 Double_t m_helix[5]; // 5 track parameters
50 Double_t m_err[15]; // Error Matrix
51 // Double_t m_poca[3];
52 Int_t m_stat; // Track Fit Quality
53 Double_t m_chi2;
54 Int_t m_ndof;
55 Int_t m_firstLayer; //
56 Int_t m_lastLayer; //
57 ClassDef(TCgemTrack,3)
58};
59
60#endif
void setErr(const Double_t err[15])
void setHelix(const Double_t helix[5])