return kFALSE;
}
if(ref->Pt()<1.e-3) return kFALSE;
-
+ Float_t prod(t.GetBz()*t.Charge());
// Initialize TRD track to the reference
AliTRDtrackV1 tt;
}
if(HasTrkltRefit()){
// if(!tr->FitRobust(tt.Charge()>0.)) printf("W - AliTRDcheckTRK::PropagateKalman :: FitRobust() failed for Det[%03d]\n", det);
- if(!tr->FitRobust(AliTRDgeometry::GetPadPlane(det))) printf("W - AliTRDcheckTRK::PropagateKalman :: FitRobust() failed for Det[%03d]\n", det);
- else {
- TGeoHMatrix *matrix = AliTRDgeometry::GetClusterMatrix(det);
- if (matrix) tr->SetXYZ(matrix);
- }
+ TGeoHMatrix *matrix = AliTRDgeometry::GetClusterMatrix(det);
+ if(!tr->FitRobust(AliTRDgeometry::GetPadPlane(det), matrix, tt.GetBz(), tt.Charge())) printf("W - AliTRDcheckTRK::PropagateKalman :: FitRobust() failed for Det[%03d]\n", det);
+ else tr->SetXYZ(matrix);
}
if(!AliTRDtrackerV1::PropagateToX(tt, tr->GetX0(), fgKalmanStep)) continue;
if(!tt.GetTrackIn()) tt.SetTrackIn();