From: hristov Date: Wed, 31 May 2006 19:36:23 +0000 (+0000) Subject: Additional protection X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=8fc1985d8b356638f822bfe9dd70d61004561f58 Additional protection --- diff --git a/STEER/AliExternalTrackParam.cxx b/STEER/AliExternalTrackParam.cxx index 4cb5a542b8a..d91056f91f0 100644 --- a/STEER/AliExternalTrackParam.cxx +++ b/STEER/AliExternalTrackParam.cxx @@ -171,7 +171,7 @@ CorrectForMaterial(Double_t d, Double_t x0, Double_t mass) { } //Energy losses************************ - if (x0!=0.) { + if (x0!=0. && beta2<1) { d*=x0; Double_t dE=0.153e-3/beta2*(log(5940*beta2/(1-beta2)) - beta2)*d; if (beta2/(1-beta2)>3.5*3.5)