Changes needed by the new TOF reconstruction (M.Ivanov)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 7 Apr 2004 16:21:16 +0000 (16:21 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 7 Apr 2004 16:21:16 +0000 (16:21 +0000)
TRD/AliTRDtracker.cxx

index 5267362..5950f9a 100644 (file)
@@ -940,10 +940,10 @@ Int_t AliTRDtracker::PropagateBack(AliESD* event) {
     
     if (track->GetStop()==kFALSE){
       
-      Double_t xtof=378.;
+      Double_t xtof=371.;
       Double_t c2=track->GetC()*xtof - track->GetEta();
       if (TMath::Abs(c2)>=0.85) continue;
-      Double_t xTOF0 = 375.5;          
+      Double_t xTOF0 = 371. ;          
       PropagateToOuterPlane(*track,xTOF0); 
       //      
       Double_t ymax=xtof*TMath::Tan(0.5*AliTRDgeometry::GetAlpha());
@@ -967,7 +967,7 @@ Int_t AliTRDtracker::PropagateBack(AliESD* event) {
     }else{
       if (track->GetNumberOfClusters()>15&&track->GetNumberOfClusters()>0.5*expectedClr){
        seed->UpdateTrackParams(track, AliESDtrack::kTRDout);
-       seed->UpdateTrackParams(track, AliESDtrack::kTRDStop);    
+       seed->SetStatus(AliESDtrack::kTRDStop);    
        found++;
       }
     }