Fix for mother volume length.
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALv0.cxx
index 1f9131464553f9827f05b1aa731ca6c3f79ee173..725b7fa0f48657cb57808ae10cb6ebc49c2bae7d 100644 (file)
@@ -312,13 +312,17 @@ void AliEMCALv0::CreateGeometry()
       envelopA[1] = geom->GetArm1PhiMax() - geom->GetArm1PhiMin(); // angular range in phi
       envelopA[2] = geom->GetNPhi();                               // number of sections in phi
       envelopA[3] = 2;                                             // 2 z coordinates
-      envelopA[4] = geom->ZFromEtaR(geom->GetEnvelop(1),
-                                  geom->GetArm1EtaMin());       // z coordinate 1
+      // envelopA[4] = geom->ZFromEtaR(geom->GetEnvelop(1),
+//geom->GetArm1EtaMin());       // z coordinate 1
+      envelopA[4] = -350.; // AM 30/5/2006
+      
     //add some padding for mother volume
       envelopA[5] = geom->GetEnvelop(0) ;                          // rmin at z1
       envelopA[6] = geom->GetEnvelop(1) ;                          // rmax at z1
-      envelopA[7] = geom->ZFromEtaR(geom->GetEnvelop(1),
-                                 geom->GetArm1EtaMax());        // z coordinate 2
+//      envelopA[7] = geom->ZFromEtaR(geom->GetEnvelop(1),
+//                               geom->GetArm1EtaMax());        // z coordinate 2
+      envelopA[7] = 350.; // AM 30/5/2006
+      
       envelopA[8] = envelopA[5] ;                                  // radii are the same.
       envelopA[9] = envelopA[6] ;                                  // radii are the same.