For the tracks reconstructed with ITS alone, keep the track parameters at the outer...
authorbelikov <belikov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 11 Jul 2008 08:13:30 +0000 (08:13 +0000)
committerbelikov <belikov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 11 Jul 2008 08:13:30 +0000 (08:13 +0000)
STEER/AliESDtrack.cxx

index ed2da86..f7927a4 100644 (file)
@@ -881,6 +881,12 @@ Bool_t AliESDtrack::UpdateTrackParams(const AliKalmanTrack *t, ULong_t flags){
     fITSchi2=t->GetChi2();
     fITSsignal=t->GetPIDsignal();
     fITSLabel = t->GetLabel();
+    // keep in fOp the parameters outside ITS for ITS stand-alone tracks 
+    if (flags==kITSout) { 
+      if (!fOp) fOp=new AliExternalTrackParam(*t);
+      else 
+        fOp->Set(t->GetX(),t->GetAlpha(),t->GetParameter(),t->GetCovariance());
+    }      
     break;
     
   case kTPCin: case kTPCrefit: