Moving a TGeoVolume inside the geometry

Suppose you have build a whole geometry, you have called gGeoManager->CloseGeometry() and you want to make a series of runs where you want to move a given TGeoVolume from run to run. Is it possible to call


to do that? Or is it too late because CloseGeometry() has been called? If it is not possible, is the only solution to delete the whole geometry and rebuild it entirely from run to run?
Thanks for your help

Indeed, once the geometry closed it is too late to remove nodes. The RemoveNode() method is more intended for the geometry builder GUI.

But you can “misalign” an existing (physical) node. See: page 340


I have tried your solution and it works perfectly. Many thanks.


This link does not work anymore. Can you please provide a description how to perform this “misalignment”?

I need to remove a node from the existing geometry saved in a ROOT file.

Thank you,


I think I have found it: