]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG2/RESONANCES/AliRsnExpression.cxx
New values and cuts
[u/mrichter/AliRoot.git] / PWG2 / RESONANCES / AliRsnExpression.cxx
index 3d0d033b1d8ada36802fadb8aad316300b08a744..943248d4e5d115b3964fe4d530d67d3e583079d4 100644 (file)
@@ -101,6 +101,10 @@ Bool_t AliRsnExpression::Value(TObjArray &vars)
       AliError("Expression undefined.");
       return kFALSE;
    }
+   if (fArg2 == 0) {
+      AliError("Needed second parameter");
+      return kFALSE;
+   }
 
 //   AliDebug(AliLog::kDebug,Form("fOperator %d",fOperator));