]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCv0.cxx
Gspos replaced by AddNode for the final positioning in ALICE
[u/mrichter/AliRoot.git] / TPC / AliTPCv0.cxx
index 57bcffeeaed275bb72926adcb1bb51db8a413a9d..4da5cb325a061d16000df10e3bbb9a79b8847eb1 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