57 |
Trajectory(int n, float* pz); |
Trajectory(int n, float* pz); |
58 |
void Dump(); |
void Dump(); |
59 |
|
|
60 |
|
int DoTrack2(float* al); |
61 |
float GetLength(){float l=0; for(int i=0; i<npoint;i++)l=l+tl[i]; return l;}; |
float GetLength(){float l=0; for(int i=0; i<npoint;i++)l=l+tl[i]; return l;}; |
62 |
float GetLength(int,int); |
float GetLength(int,int); |
63 |
|
|
84 |
|
|
85 |
// TRef clx[6]; |
// TRef clx[6]; |
86 |
// TRef cly[6]; |
// TRef cly[6]; |
87 |
TRefArray *clx; |
TRefArray *clx; |
88 |
TRefArray *cly; |
TRefArray *cly; |
89 |
|
|
90 |
float al[5]; ///<TRACK STATE VECTOR |
float al[5]; ///<TRACK STATE VECTOR |
91 |
float coval[5][5]; ///<covariance matrix |
float coval[5][5]; ///<covariance matrix |
97 |
float resx[6]; ///<spatial resolution on X view |
float resx[6]; ///<spatial resolution on X view |
98 |
float resy[6]; ///<spatial resolution on y view |
float resy[6]; ///<spatial resolution on y view |
99 |
float chi2; ///<chi2 |
float chi2; ///<chi2 |
100 |
int nstep; ///<n. step |
int nstep; ///<n. step |
101 |
float xv[6]; ///<calculated x coordinates |
float xv[6]; ///<calculated x coordinates |
102 |
float yv[6]; ///<calculated y coordinates |
float yv[6]; ///<calculated y coordinates |
103 |
float zv[6]; ///<calculated z coordinates |
float zv[6]; ///<calculated z coordinates |
104 |
float axv[6]; ///<calculated angles (deg) on x view |
float axv[6]; ///<calculated angles (deg) on x view |
110 |
TrkTrack(); |
TrkTrack(); |
111 |
TrkTrack(const TrkTrack&); |
TrkTrack(const TrkTrack&); |
112 |
|
|
113 |
~TrkTrack(){Delete();}; |
~TrkTrack(){Delete();}; |
114 |
|
|
115 |
void Dump(); |
void Dump(); |
116 |
void Clear(); |
void Clear(); |
117 |
void Delete(); |
void Delete(); |
118 |
|
|
119 |
Int_t GetSeqNo(){return seqno;} ///< Returns the track sequential number |
Int_t GetSeqNo(){return seqno;} ///< Returns the track sequential number |
120 |
Int_t GetImageSeqNo(){return image;} ///< Returns the track image sequential number |
Int_t GetImageSeqNo(){return image;} ///< Returns the track image sequential number |
128 |
Float_t GetRigidity(); |
Float_t GetRigidity(); |
129 |
Float_t GetDeflection(); |
Float_t GetDeflection(); |
130 |
Float_t GetDEDX(); |
Float_t GetDEDX(); |
131 |
Float_t GetDEDX(Int_t ip){if( !(xgood[ip]+ygood[ip]) ) return 0; return (dedx_x[ip]+dedx_y[ip])/(xgood[ip]+ygood[ip]);}; |
Float_t GetDEDX(Int_t ip){if( !(xgood[ip]+ygood[ip]) ) return 0; return (dedx_x[ip]+dedx_y[ip])/(xgood[ip]+ygood[ip]);}; |
132 |
// sono un'imbecille... assegno xm e ym anche quando si tratta di un singolo |
// sono un'imbecille... assegno xm e ym anche quando si tratta di un singolo |
133 |
// non posso quindi usare xm e ym per dire se una vista e` inclusa nel fit o no |
// non posso quindi usare xm e ym per dire se una vista e` inclusa nel fit o no |
134 |
/* Bool_t XGood(int ip){ return xm[ip] != -100.;}; |
/* Bool_t XGood(int ip){ return xm[ip] != -100.;}; |
135 |
Bool_t YGood(int ip){ return ym[ip] != -100.;};*/ |
Bool_t YGood(int ip){ return ym[ip] != -100.;};*/ |
136 |
Bool_t XGood(int ip){ return xgood[ip]==1;}; |
Bool_t XGood(int ip){ return xgood[ip]==1;}; |
137 |
Bool_t YGood(int ip){ return ygood[ip]==1;}; |
Bool_t YGood(int ip){ return ygood[ip]==1;}; |
138 |
|
|
139 |
TrkCluster *GetClusterX(int ip){TrkCluster *pt = (TrkCluster*)(clx->At(ip)); return pt;}; |
void SetMeasure(double *xmeas, double *ymeas, double *zmeas); |
140 |
TrkCluster *GetClusterY(int ip){TrkCluster *pt = (TrkCluster*)(cly->At(ip)); return pt;}; |
void SetResolution(double *rx, double *ry); |
141 |
|
void SetGood(int *xg, int *yg); |
142 |
|
void LoadField(TString s); |
143 |
|
void Fit(double pfixed, int& fail, int iprint); |
144 |
|
void FitReset(); |
145 |
|
|
146 |
|
TrkCluster *GetClusterX(int ip){TrkCluster *pt = (TrkCluster*)(clx->At(ip)); return pt;}; |
147 |
|
TrkCluster *GetClusterY(int ip){TrkCluster *pt = (TrkCluster*)(cly->At(ip)); return pt;}; |
148 |
|
|
149 |
TrkTrack* GetTrkTrack(){return this;}; |
TrkTrack* GetTrkTrack(){return this;}; |
150 |
|
|
151 |
friend class TrkLevel2; |
friend class TrkLevel2; |