Dimitri : bug in PPSD geometry fixed
authorschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 3 Nov 2000 16:04:10 +0000 (16:04 +0000)
committerschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 3 Nov 2000 16:04:10 +0000 (16:04 +0000)
PHOS/AliPHOSv0.cxx

index f82db4e..c77c203 100644 (file)
@@ -1027,7 +1027,7 @@ void AliPHOSv0::CreateGeometryforPPSD()
 
   gMC->Gsvolu("CAPS", "BOX ", idtmed[710], cappsd, 3) ; 
 
-  y0 = y0 - ( fGeom->GetAvalancheGap() +  fGeom->GetAvalancheGap() ) / 2. - fGeom->GetCathodeThickness()  / 2. ; 
+  y0 = y0 - ( fGeom->GetConversionGap() +  fGeom->GetAvalancheGap() ) / 2. - fGeom->GetCathodeThickness()  / 2. ; 
 
   gMC->Gspos("CAPS", 1, "MPPS", 0.0, y0, 0.0, 0, "ONLY") ;