[ROOT] TGeo-class

From: Niels van Eldik (nveldik@nikhef.nl)
Date: Fri Nov 22 2002 - 16:27:51 MET


Hi,

I'm working on muon reconstruction for ATLAS and am trying to use the 
TVirtualMC for the track propagation and the TGeo-classes to define my 
geometry and as an event display. 
I'm having problems saving my geometry, it is not clear to me how this 
should be done. Just saving the top volume should not be enough and when I 
try to do this. I get an segmentation fault when I try to draw the volume.
Could you tell me how geometries can be saved on disk?

Further more I would like to change the color of the sensitive detectors 
that are hit in my setup. The problem that occures is that if I change the 
color of a "tube" placed in the mother volume "chamber", the color is 
changed in all "chambers".   
This is a logical consequence of the way the geometry is build, but 
is there a way around this problem. A solution is to create a new volume 
for every chamber that is placed, but this is not a premanent solution.
Is there a way to avoid this problem?


I using ROOT v3.03.09 on Red Hat 6.2 

Thanks Niels van Eldik



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:20 MET