Gspos replaced by AddNode for the final positioning in ALICE
[u/mrichter/AliRoot.git] / TPC / AliTPCv2.cxx
index 28576bf..5e7bcdc 100644 (file)
@@ -869,8 +869,9 @@ void AliTPCv2::CreateGeometry()
     gGeoManager->Node("TPC_Rod",i+54,"TPC_Drift",x,y,-z,0,kTRUE,upar,3);
   }
 
+  TGeoVolume *alice = gGeoManager->GetVolume("ALIC");
+  alice->AddNode(v1,1);  
   
-  gMC->Gspos("TPC_M ",1,"ALIC",0.,0.,0.,0,"ONLY");
 
 } // end of function