Coverity 19212
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 1 Feb 2012 08:34:37 +0000 (08:34 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 1 Feb 2012 08:34:37 +0000 (08:34 +0000)
ANALYSIS/AliAnalysisTaskESDfilter.cxx

index 2450487..4bf6f02 100644 (file)
@@ -1267,7 +1267,7 @@ void AliAnalysisTaskESDfilter::ConvertGlobalConstrainedTracks(const AliESDEvent&
     // get the DCA to the vertex:\r
     esdTrack->GetImpactParameters(dDCA,cDCA);\r
 \r
-    esdTrack->GetConstrainedPxPyPz(p);\r
+    if (!esdTrack->GetConstrainedPxPyPz(p)) continue;\r
 \r
 \r
     Float_t pT = exParamGC->Pt();\r