Wrong error condition in CalcSingleHard corrected. (M. van Leeuwen)
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 23 Oct 2008 14:43:24 +0000 (14:43 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 23 Oct 2008 14:43:24 +0000 (14:43 +0000)
FASTSIM/AliQuenchingWeights.cxx

index e1e06c0..bbb2820 100644 (file)
@@ -736,7 +736,7 @@ Int_t AliQuenchingWeights::CalcSingleHard(Int_t ipart, Double_t rrrr,Double_t xx
     Error("CalcSingleHard","Tables are not loaded.");
     return -1;
   }
-  if(!fMultSoft){
+  if(fMultSoft){
     Error("CalcSingleHard","Tables are not loaded for Single Hard Scattering.");
     return -1;
   }