]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
fix ME KF usage off in case of AOD (since theres no moving of the vertex in AOD so...
authorjbook <jbook>
Mon, 11 Aug 2014 07:35:46 +0000 (09:35 +0200)
committerjbook <jbook@cern.ch>
Mon, 11 Aug 2014 07:35:46 +0000 (09:35 +0200)
PWGDQ/dielectron/AliDielectron.cxx

index 37eeb02ac69bb21f3d5c01adfe100accd435712b..816138b7f3e4a51472558bd208c8d71ca2eda0f1 100644 (file)
@@ -1243,7 +1243,8 @@ void AliDielectron::FillPairArrays(Int_t arr1, Int_t arr2)
       PairArray(pairIndex)->Add(candidate);
       //get a new candidate
       candidate=new AliDielectronPair;
-         candidate->SetKFUsage(fUseKF);
+      candidate->SetKFUsage(fUseKF);
+      if(!isESD && pairIndex>AliDielectron::kEv1MM) candidate->SetKFUsage(kFALSE);
     }
   }
   //delete the surplus candidate