Ensure vacuum inside the beam pipe for upgrade (Mario)
authorshahoian <ruben.shahoyan@cern.ch>
Wed, 12 Nov 2014 18:43:29 +0000 (19:43 +0100)
committershahoian <ruben.shahoyan@cern.ch>
Wed, 12 Nov 2014 18:43:29 +0000 (19:43 +0100)
STRUCT/AliPIPEupgrade.cxx

index 918e55b..295677e 100644 (file)
@@ -262,8 +262,10 @@ void AliPIPEupgrade::CreateGeometry()
   voberylliumTubeVacuum->SetVisibility(0);
   voberylliumTubeVacuum->SetLineColor(kGreen);
 
-  voberylliumTube->AddNode(voberylliumTubeVacuum, 1,
-                          new TGeoTranslation(0., 0., 0.));
+  beamPipeCsideSection->AddNode(voberylliumTubeVacuum, 1,
+                             new TGeoTranslation(0.,0.,
+                             (fBeryliumSectionZmax+fBeryliumSectionZmin)/2));
+
   beamPipeCsideSection->AddNode(voberylliumTube, 1, new TGeoTranslation(0., 0.,
                              (fBeryliumSectionZmax+fBeryliumSectionZmin)/2));
   //-------------------------------------------------