protection added
authormorsch <andreas.morsch@cern.ch>
Thu, 5 Jun 2014 15:50:38 +0000 (17:50 +0200)
committermorsch <andreas.morsch@cern.ch>
Thu, 5 Jun 2014 15:50:38 +0000 (17:50 +0200)
EVGEN/AliDecayerExodus.cxx

index 866a8f5..f004a13 100644 (file)
@@ -315,8 +315,10 @@ Double_t AliDecayerExodus::GounarisSakurai(Float_t mass, Double_t vmass, Double_
 
   Double_t pimass = 0.13956995;
  
+  if(mass>pimass){
   corr = vwidth*(vmass/mass)*exp(1.5*log((mass*mass/4.0-pimass*pimass)
          /(vmass*vmass/4.0-pimass*pimass)));
+  }
 
   epsilon = (emass/mass)*(emass/mass);