Using small security distance to avoid FPE (A.Morsch)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 27 Feb 2004 15:06:55 +0000 (15:06 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 27 Feb 2004 15:06:55 +0000 (15:06 +0000)
ZDC/AliZDCv2.cxx

index c7914b8..59d2b7b 100644 (file)
@@ -498,7 +498,7 @@ void AliZDCv2::CreateBeamLine()
   // --  Insert horizontal Cu plates inside D1 
   // --   (to simulate the vacuum chamber)
   
-  boxpar[0] = TMath::Sqrt(tubpar[1]*tubpar[1]-(2.98+0.2)*(2.98+0.2));
+  boxpar[0] = TMath::Sqrt(tubpar[1]*tubpar[1]-(2.98+0.2)*(2.98+0.2)) - 0.05;
   boxpar[1] = 0.2/2.;
   boxpar[2] =945./2.;
   gMC->Gsvolu("MD1V", "BOX ", idtmed[6], boxpar, 3);