Message: Descending volume tree Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Descending volume tree 

Forum: Geometry
Date: 19 Jun, 2009
From: Kevin Sapp <Kevin Sapp>

Hi GEANT wizards,
I have been looking for a way to access a GEANT4 geometry and determine its tree structure with two important criteria:

1) I must be able to descend from one volume to all its daughters, and
2) I must be able to access each touchable element independently.

Is this going to be possible? I've looked into the geometry navigation tools as much as possible, and it seems if I navigate by daughter volumes I lose (2), while if I navigate by touchables I lose (1), and while I can move from touchable to physical volume, there isn't a way to go from physical volume to touchable (I understand that the physical volume information itself wouldn't be enough, but it seems that including GetCopyNumber information should allow this). Anyone have any suggestions?

Kevin Sapp
(University of Pittsburgh)

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 More: Re: Descending volume tree   (Ivana Hrivnacova - 22 Jul, 2009)
 Add Message Add Message
to: "Descending volume tree"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]