overlapp between PUCP and PTCB corrected
[u/mrichter/AliRoot.git] / PHOS / AliPHOSv0.cxx
index 9d24e78af5d4edc9cf2a7256241a68b7cad30099..97af9321530ba954e39e59834801501924d69182 100644 (file)
@@ -914,9 +914,9 @@ void AliPHOSv0::CreateGeometryforPHOS()
   
   gMC->Gsvolu("PUCP", "BOX ", idtmed[701], dpucp,3) ;
   
   
   gMC->Gsvolu("PUCP", "BOX ", idtmed[701], dpucp,3) ;
   
-  yO = (  fGeom->GetAirFilledBoxSize(1) -  fGeom->GetUpperCoolingPlateThickness() ) / 2. 
-       - ( fGeom->GetIPtoCrystalSurface() - fGeom->GetIPtoOuterCoverDistance() - fGeom->GetModuleBoxThickness()
-           - fGeom->GetUpperPlateThickness() - fGeom->GetSecondUpperPlateThickness() - fGeom->GetUpperCoolingPlateThickness() ) ; 
+  yO = fGeom->GetAirFilledBoxSize(1) / 2. 
+    -( fGeom->GetIPtoCrystalSurface()  - fGeom->GetIPtoOuterCoverDistance()    - fGeom->GetModuleBoxThickness()
+      -fGeom->GetUpperPlateThickness() - fGeom->GetSecondUpperPlateThickness() - fGeom->GetUpperCoolingPlateThickness() ) ; 
   
   gMC->Gspos("PUCP", 1, "PAIR", 0.0, yO, 0.0, 0, "ONLY") ;
 
   
   gMC->Gspos("PUCP", 1, "PAIR", 0.0, yO, 0.0, 0, "ONLY") ;