Overlaps and extrrusions in the volume PWTI are fixed
authorkharlov <kharlov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 1 Jul 2008 19:20:43 +0000 (19:20 +0000)
committerkharlov <kharlov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 1 Jul 2008 19:20:43 +0000 (19:20 +0000)
PHOS/AliPHOSEMCAGeometry.cxx
PHOS/AliPHOSv0.cxx

index 94ff443..e92f140 100644 (file)
@@ -257,7 +257,7 @@ AliPHOSEMCAGeometry::AliPHOSEMCAGeometry():
 
   //Fiberglass support
   fFiberGlassSup1X = 6.0 ;
-  fFiberGlassSup1Y = 4.0 + fWarmUpperThickness ; 
+  fFiberGlassSup1Y = 3.9 + fWarmUpperThickness ; 
 
   fFiberGlassSup2X = 3.0 ;
   fFiberGlassSup2Y = fFrameHeight ;
index 875d93f..27a2bda 100644 (file)
@@ -576,7 +576,7 @@ void AliPHOSv0::CreateGeometryforEMC()
        gMC->Gspos("PBE1", isup, "PCA1", x, 0.0, 0.0, 0, "ONLY") ;
       }
 
-      z = -warmthermo[2] + cbox[2] - 0.1 ;
+      z = -warmthermo[2] + cbox[2];
       gMC->Gspos("PCA1", 1, "PWTI", 0.0, 0.0, z, 0, "ONLY") ;     
 
       gMC->Gsvolu("PCA2", "BOX ", idtmed[718], emcg->GetTCables2HalfSize(), 3) ; 
@@ -588,7 +588,7 @@ void AliPHOSv0::CreateGeometryforEMC()
        gMC->Gspos("PBE2", isup, "PCA2", x, 0.0, 0.0, 0, "ONLY") ;
       }
 
-      z = -warmthermo[2] + 2*cbox[2] + cbox2[2] - 0.1 ;
+      z = -warmthermo[2] + 2*cbox[2] + cbox2[2];
       gMC->Gspos("PCA2", 1, "PWTI", 0.0, 0.0, z, 0, "ONLY") ;     
 
 
@@ -610,7 +610,7 @@ void AliPHOSv0::CreateGeometryforEMC()
       gMC->Gspos("PFG1", 2, "PWTI", posit[0], -posit[1], posit[2], 0, "ONLY") ;
 
       gMC->Gsvolu("PFG2", "BOX ", idtmed[717], emcg->GetFGupZHalfSize(), 3) ; 
-      posit = emcg->GetFGupZPosition() ;
+      posit = emcg->GetFGupZPosition();
       gMC->Gspos("PFG2", 1, "PWTI",  posit[0], posit[1], posit[2], 0, "ONLY") ;
       gMC->Gspos("PFG2", 2, "PWTI", -posit[0], posit[1], posit[2], 0, "ONLY") ;