Hi Andre,
On Wed, 2006-11-15 at 14:42 -0500, Andre Lebedev wrote:
> Hello, ROOTers.
>
> Can I reposition a volume and change its dimensions in geometry after it
> has been created with
> gGeoManager->MakeTube()
> and inserted through
> TGeoVolume::AddNode(...)
>
> The issue is that I have a default geometry for the experiment and a few
> volumes are repositioned depending on the run.
A better option, is to keep the `default' geometry, and then do perturbations of that geometry by using `TGeoPhysicalNode::Align'. `TGeoPhysicalNode' is defined by `TGeoManager::MakePhysicalNode(name)'. This can also be done _after_ closing the geometry.
This approach is used by ALICE.
Yours,
-- ___ | Christian Holm Christensen |_| | ------------------------------------------------------------- | | Address: Sankt Hansgade 23, 1. th. Phone: (+45) 35 35 96 91 _| DK-2200 Copenhagen N Cell: (+45) 24 61 85 91 _| Denmark Office: (+45) 353 25 404 ____| Email: cholm_at_nbi.dk Web: www.nbi.dk/~cholm | |Received on Thu Nov 16 2006 - 09:34:43 MET
This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:02 MET