modifying geometries after gGeoManager->CloseGeometry()

From: OKUMURA, Akira <oxon_at_astro.isas.jaxa.jp>
Date: Fri, 1 Jul 2011 22:16:43 -0700


Hello ROOTers,

I would like to know how to modify the shape of a geo volume after calling gGeoManager->CloseGeometry(). What I want to do is to optimize the shape of a TGeoPgon to obtain the maximum collection efficiency of a light guide in my simulation. In the optimization process, I would like to tweak the shape the TGeoPgon slightly but other volume will not be changed.

Do I have to re-build all volumes again? or is there any way to change the shape after closing the geometry as following example?

gGeoManager->CloseGeometry();
(some simulation code here)

gGeoManager->ReopenGeometry(); // I could not a similar method myPgonVolume->DefineSection(i, z, rmin, rmax); // change the shape of a Pgon gGeoManager->CloseGeometry(); // close again
(some simulation code here again)

Regards,

--
OKUMURA, Akira oxon@{astro.isas.jaxa.jp,stanford.edu}
Institute of Space and Astronautical Science (ISAS/JAXA)
Now at KIPAC/SLAC/Stanford
Varian Physics #306, 382 Via Pueblo Mall, MC 4060
Stanford, CA 94305-4060
TEL 650-736-0971/FAX 650-724-5065
Skype : okumura.akira
Received on Sat Jul 02 2011 - 07:16:57 CEST

This archive was generated by hypermail 2.2.0 : Mon Jul 04 2011 - 11:50:02 CEST