BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/RootEventData/RootEventData/TRecMdcKalHelixSeg.h
Go to the documentation of this file.
1#ifndef RootEventData_TRecMdcKalHelixSeg_H
2#define RootEventData_TRecMdcKalHelixSeg_H 1
3
4#include "TObject.h"
5#include <vector>
6
7using namespace std;
8
9class TRecMdcKalHelixSeg : public TObject {
10
11public:
12
14
16
17 //extractors
18 const Int_t getTrackId(void) const { return m_trackid; }
19 const Int_t getFlagLR(void) const { return m_lr; }
20 const UInt_t getMdcId() const { return m_mdcid; }
21 const Double_t getTdc(void) const { return m_tdc; }
22 const Double_t getAdc(void) const { return m_adc; }
23 const Double_t getZhit(void) const { return m_zhit; }
24 const Double_t getTof(void) const { return m_tof; }
25 const Double_t getDocaIncl(void) const { return m_docaincl; }
26 const Double_t getDocaExcl(void) const { return m_docaexcl; }
27 const Double_t getDD(void) const { return m_dd; }
28 const Double_t getEntra(void) const { return m_entra; }
29 const Double_t getDT(void) const { return m_driftT; }
30// const Int_t getLayerId(void) const { return m_layerid; }
31// const Double_t getDrIncl(void) const {return m_drincl; }
32// const Double_t getFi0Incl(void) const {return m_phi0incl; }
33// const Double_t getCpaIncl(void) const {return m_kappaincl; }
34// const Double_t getDzIncl(void) const {return m_dzincl; }
35// const Double_t getTanlIncl(void) const {return m_tanlincl; }
36// const Double_t getDrExcl(void) const {return m_drexcl; }
37// const Double_t getFi0Excl(void) const {return m_phi0excl; }
38// const Double_t getCpaExcl(void) const {return m_kappaexcl; }
39// const Double_t getDzExcl(void) const {return m_dzexcl; }
40// const Double_t getTanlExcl(void) const {return m_tanlexcl; }
41 const Double_t getHelixIncl(Int_t i) const {return m_helixincl[i]; }
42// const Double_t getErrorIncl(Int_t i, Int_t j) const {return m_errorincl[i][j]; }
43 const Double_t getHelixExcl(Int_t i) const {return m_helixexcl[i]; }
44// const Double_t getErrorExcl(Int_t i, Int_t j) const {return m_errorexcl[i][j]; }
45
46 //modifiers
47 void setTrackId(Int_t trkid) { m_trackid = trkid; }
48 void setFlagLR(Int_t lr) { m_lr = lr; }
49 void setMdcId( UInt_t mdcid ) { m_mdcid = mdcid; }
50 void setTdc(Double_t tdc) { m_tdc = tdc; }
51 void setAdc(Double_t adc) { m_adc = adc; }
52 void setZhit(Double_t zhit) { m_zhit = zhit; }
53 void setTof(Double_t tof) { m_tof = tof; }
54 void setDocaIncl(Double_t docaincl) { m_docaincl = docaincl; }
55 void setDocaExcl(Double_t docaexcl) { m_docaexcl = docaexcl; }
56 void setDD(Double_t dd) { m_dd = dd ; }
57 void setEntra(Double_t entra) { m_entra = entra; }
58 void setDT(Double_t driftT) { m_driftT = driftT; }
59// void setLayerId(Int_t layerid) { m_layerid = layerid; }
60// void setDrIncl (Double_t drincl) { m_drincl = drincl; }
61// void setFi0Incl (Double_t phi0incl) { m_phi0incl = phi0incl; }
62// void setCpaIncl (Double_t kappaincl) { m_kappaincl = kappaincl; }
63// void setDzIncl (Double_t dzincl) { m_dzincl = dzincl; }
64// void setTanlIncl (Double_t tanlincl) { m_tanlincl = tanlincl; }
65// void setDrExcl (Double_t drexcl) { m_drexcl = drexcl; }
66// void setFi0Excl (Double_t phi0excl) { m_phi0excl = phi0excl; }
67// void setCpaExcl (Double_t kappaexcl) { m_kappaexcl = kappaexcl; }
68// void setDzExcl (Double_t dzexcl) { m_dzexcl = dzexcl; }
69// void setTanlExcl (Double_t tanlexcl) { m_tanlexcl = tanlexcl; }
70 void setHelixIncl(const Double_t helix[5]) {
71 for(Int_t i=0; i<5; i++) m_helixincl[i] = helix[i];
72 }
73 void setHelixExcl (const Double_t helix[5]) {
74 for(Int_t i=0; i<5; i++) m_helixexcl[i] = helix[i];
75 }
76// void setErrorIncl(const Double_t error[5][5]){
77// for (Int_t i= 0 ; i<5 ; i++)
78// for (Int_t j=0; j<=i; j++){
79// m_errorincl[i][j] = error[i][j];
80// m_errorincl[j][i] = error[i][j];
81// }
82// }
83// void setErrorExcl (const Double_t error[5][5]){
84// for(Int_t i=0; i<5; i++) {
85// for (Int_t j=0; j<=i; j++){
86// m_errorexcl[i][j] = error[i][j];
87// m_errorexcl[j][i] = error[i][j];
88// }
89// }
90// }
91
92 private:
93 Int_t m_trackid; // id of track containing this hit,if this hit
94 // belongs to no track, set as -1;
95 Int_t m_lr; //flag indicating left or right 0:left 1:right 2:ambig
96 UInt_t m_mdcid; // MDC identifier
97 Double_t m_tdc; // corrected TDC
98 Double_t m_adc; //corrected ADC
99 Double_t m_zhit; // z coordinate of the hit
100 Double_t m_tof; // time of flight
101 Double_t m_docaincl; // distance of closesest approach for helix in the cell
102 Double_t m_docaexcl;
103 Double_t m_dd; // drift distance
104 Double_t m_entra; // entrance angle in azimuth
105 Double_t m_driftT; // drift time
106 // Int_t m_layerid; // layer number
107 // Double_t m_drincl;
108 // Double_t m_phi0incl;
109 // Double_t m_kappaincl;
110 // Double_t m_dzincl;
111 // Double_t m_tanlincl;
112 // Double_t m_drexcl;
113 // Double_t m_phi0excl;
114 // Double_t m_kappaexcl;
115 // Double_t m_dzexcl;
116 // Double_t m_tanlexcl;
117 Double_t m_helixincl[5];
118// Double_t m_errorincl[5][5];
119 Double_t m_helixexcl[5];
120// Double_t m_errorexcl[5][5];
121
122 ClassDef(TRecMdcKalHelixSeg,3)
123};
124
125#endif