Coverity 19415
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 22 Feb 2012 22:18:50 +0000 (22:18 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 22 Feb 2012 22:18:50 +0000 (22:18 +0000)
PWGLF/STRANGENESS/LambdaK0PbPb/AliAnalysisTaskPerformanceStrange.cxx

index 93cecbb..cacf3b8 100644 (file)
@@ -2207,7 +2207,7 @@ void AliAnalysisTaskPerformanceStrange::UserExec(Option_t *)
       if (myTrackNeg) lDcaNegToPrimVertex = TMath::Abs(myTrackNeg->GetD(lPrimaryVtxPosition[0],lPrimaryVtxPosition[1],lMagneticField) );
       
       // Quality tracks cuts:
-      if ( !(fTracksCuts->IsSelected(myTrackPos)) || !(fTracksCuts->IsSelected(myTrackNeg)) ) 
+      if ( !(myTrackPos && fTracksCuts->IsSelected(myTrackPos)) || !(myTrackNeg && fTracksCuts->IsSelected(myTrackNeg)) ) 
 
 
        {