]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
o fix (Marco)
authorwiechula <wiechula@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 29 May 2013 20:27:01 +0000 (20:27 +0000)
committerwiechula <wiechula@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 29 May 2013 20:27:01 +0000 (20:27 +0000)
ANALYSIS/AliESDpidCuts.cxx

index c46dc83a4f2605a3a5320151b5ee6f3087ceb20a..7290b9b5cb56736cd91ad31e0ed2bbe4a6634225 100644 (file)
@@ -247,7 +247,9 @@ Bool_t AliESDpidCuts::AcceptTrack(const AliESDtrack *track, const AliESDEvent *e
   // Check whether the tracks survived the cuts\r
   //\r
   if(!fPIDresponse){\r
-    AliError("PID Response not available");\r
+    Init();\r
+    if (!fPIDresponse)\r
+      AliError("PID Response not available");\r
     return 0;\r
   }\r
   enum{\r