]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGLF/FORWARD/analysis2/AliLandauGaus.h
Merge branch 'feature-movesplit'
[u/mrichter/AliRoot.git] / PWGLF / FORWARD / analysis2 / AliLandauGaus.h
index e6ee1cf83aac5bde3b775074da5e8de383dd0056..4b26de250ebe47af5a9c8448a610d456c2d8b4e5 100644 (file)
@@ -505,6 +505,7 @@ inline Double_t
 AliLandauGaus::SigmaShift(Int_t i, Double_t xi, Double_t sigma)
 {
   if (xi <= 0) return 0;
+  if (sigma <= 0) return 0;
   const Double_t c = SigmaShiftC();
   const Double_t p = SigmaShiftP();
   const Double_t u = sigma / xi;