Re: Problem storing the geometry to a root file [message #4746 is a reply to message #4744] |
Thu, 26 July 2007 09:47 |
Ralf Kliemt
Messages: 507 Registered: May 2007 Location: GSI, Darmstadt
|
first-grade participant |
From: 141.30.85*
|
|
Alexandra Wronska replied:
Quote: |
Hi Ralf,
I create the dch geometry "by hand" (=in a macro) and export it into a
file. I tried several options: saving the top node or the complete
TGeoManager. The latter failed completely because framework has already
one TGeoManager of its own (CBMGeom) and although they differed by name
and were refered to by pointers, the program seemed to be confused
anyway
I found your MvdDetector.cxx, of course. Concerning sensitive volumes,
my concern was that you add them when looping over nodes, while some
nodes are copies of the same volume. There, I guess, there is no need to
add it to the list of sensitive volumes many times (?).
What I observed for dch was that although I add explicitely 8 volumes to
the list of sensitives, Geant statistics say there are 17 sensitive
volumes (all built TGeoVolumes seem to be sensitive).
Anyway, the code works somehow, but the final core dump worries me and I
do not know how to fix this. And you say you do not observe it? Do you
work in gsi or locally?
|
|
|
|