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