]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Ignoring the misaligned positions of the virtual clusters (Yuri)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 6 Feb 2007 17:12:32 +0000 (17:12 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 6 Feb 2007 17:12:32 +0000 (17:12 +0000)
ITS/AliITStrackerMI.cxx

index df8e62c5b1887dda7c8c242221ff98a28e807a68..ed71611daaa142fad69e2ea9596514abca987eea 100644 (file)
@@ -3245,7 +3245,8 @@ Int_t    AliITStrackerMI::UpdateMI(AliITStrackMI* track, const AliITSRecPoint* c
     track->SetdEdxMismatch(track->GetdEdxMismatch()+(0.5-track->GetNormQ(layer)/track->GetExpQ())*10.);
   }
 
-  if (!track->PropagateTo(cl->GetX(),0.,0.)) return 0; // Alignment
+  if (cl->GetQ()>0)  // ingore the "virtual" clusters
+     if (!track->PropagateTo(cl->GetX(),0.,0.)) return 0; // Alignment
 
   return track->UpdateMI(cl->GetY(),cl->GetZ(),track->GetSigmaY(layer),track->GetSigmaZ(layer),chi2,index);
 }