BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/RootEventData/include/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:
13
15
16 // extractors
17 Int_t getTrackId( void ) const { return m_trackid; }
18 Int_t getFlagLR( void ) const { return m_lr; }
19 UInt_t getMdcId() const { return m_mdcid; }
20 Double_t getTdc( void ) const { return m_tdc; }
21 Double_t getAdc( void ) const { return m_adc; }
22 Double_t getZhit( void ) const { return m_zhit; }
23 Double_t getTof( void ) const { return m_tof; }
24 Double_t getDocaIncl( void ) const { return m_docaincl; }
25 Double_t getDocaExcl( void ) const { return m_docaexcl; }
26 Double_t getDD( void ) const { return m_dd; }
27 Double_t getEntra( void ) const { return m_entra; }
28 Double_t getDT( void ) const { return m_driftT; }
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 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 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 setFlagLR( Int_t lr ) { m_lr = lr; }
48 void setMdcId( UInt_t mdcid ) { m_mdcid = mdcid; }
49 void setTdc( Double_t tdc ) { m_tdc = tdc; }
50 void setAdc( Double_t adc ) { m_adc = adc; }
51 void setZhit( Double_t zhit ) { m_zhit = zhit; }
52 void setTof( Double_t tof ) { m_tof = tof; }
53 void setDocaIncl( Double_t docaincl ) { m_docaincl = docaincl; }
54 void setDocaExcl( Double_t docaexcl ) { m_docaexcl = docaexcl; }
55 void setDD( Double_t dd ) { m_dd = dd; }
56 void setEntra( Double_t entra ) { m_entra = entra; }
57 void setDT( Double_t driftT ) { m_driftT = driftT; }
58 // void setLayerId(Int_t layerid) { m_layerid = layerid; }
59 // void setDrIncl (Double_t drincl) { m_drincl = drincl; }
60 // void setFi0Incl (Double_t phi0incl) { m_phi0incl = phi0incl; }
61 // void setCpaIncl (Double_t kappaincl) { m_kappaincl = kappaincl; }
62 // void setDzIncl (Double_t dzincl) { m_dzincl = dzincl; }
63 // void setTanlIncl (Double_t tanlincl) { m_tanlincl = tanlincl; }
64 // void setDrExcl (Double_t drexcl) { m_drexcl = drexcl; }
65 // void setFi0Excl (Double_t phi0excl) { m_phi0excl = phi0excl; }
66 // void setCpaExcl (Double_t kappaexcl) { m_kappaexcl = kappaexcl; }
67 // void setDzExcl (Double_t dzexcl) { m_dzexcl = dzexcl; }
68 // void setTanlExcl (Double_t tanlexcl) { m_tanlexcl = tanlexcl; }
69 void setHelixIncl( const Double_t helix[5] ) {
70 for ( Int_t i = 0; i < 5; i++ ) m_helixincl[i] = helix[i];
71 }
72 void setHelixExcl( const Double_t helix[5] ) {
73 for ( Int_t i = 0; i < 5; i++ ) m_helixexcl[i] = helix[i];
74 }
75 // void setErrorIncl(const Double_t error[5][5]){
76 // for (Int_t i= 0 ; i<5 ; i++)
77 // for (Int_t j=0; j<=i; j++){
78 // m_errorincl[i][j] = error[i][j];
79 // m_errorincl[j][i] = error[i][j];
80 // }
81 // }
82 // void setErrorExcl (const Double_t error[5][5]){
83 // for(Int_t i=0; i<5; i++) {
84 // for (Int_t j=0; j<=i; j++){
85 // m_errorexcl[i][j] = error[i][j];
86 // m_errorexcl[j][i] = error[i][j];
87 // }
88 // }
89 // }
90
91private:
92 Int_t m_trackid; // id of track containing this hit,if this hit
93 // belongs to no track, set as -1;
94 Int_t m_lr; // flag indicating left or right 0:left 1:right 2:ambig
95 UInt_t m_mdcid; // MDC 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 cell
101 Double_t m_docaexcl;
102 Double_t m_dd; // drift distance
103 Double_t m_entra; // entrance angle in azimuth
104 Double_t m_driftT; // drift time
105 // Int_t m_layerid; // layer number
106 // Double_t m_drincl;
107 // Double_t m_phi0incl;
108 // Double_t m_kappaincl;
109 // Double_t m_dzincl;
110 // Double_t m_tanlincl;
111 // Double_t m_drexcl;
112 // Double_t m_phi0excl;
113 // Double_t m_kappaexcl;
114 // Double_t m_dzexcl;
115 // Double_t m_tanlexcl;
116 Double_t m_helixincl[5];
117 // Double_t m_errorincl[5][5];
118 Double_t m_helixexcl[5];
119 // Double_t m_errorexcl[5][5];
120
121 ClassDef( TRecMdcKalHelixSeg, 3 )
122};
123
124#endif
NTuple::Array< double > m_entra
NTuple::Array< double > m_adc
NTuple::Array< double > m_tof
NTuple::Array< double > m_tdc
NTuple::Array< double > m_driftT