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