In our detectors we have approx. 500 or so objects that need to be drawn
(ranging from wires in wire chambers to phototubes and blocks of a shower
counter), instead of have to define each one individually we would like to
draw them using a loop (this is also so that in the future it will be
easier to modify our geometry). Also, each object needs to be accesible
individually (i.e. - wire 4 in the y plane of wire chamber B) so that
physics quantitiets can be displayed. However, with the TShapes, what I
see is that to do something like SetVisibility, each object must have a
unique variable name and to add shapes to a geometry node each object
must have a unique name. Now i guess this could be done by having all the
shapes stored in an array (takes care of the variable names) and then for
the titles of the shapes (i.e. - TBRIK("title"...) we could just make
strings over and over again.
This however seems a bit too much having to name each object twice. Is
there an easier way for doing geometries with many objects.
Thanks for any help.
Michael Katz-Hyman