Message: Fast offline navigation Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Fast offline navigation 

Forum: Geometry
Date: 16 Dec, 2011
From: Nicola Mori <Nicola Mori>

Dear experts, I'm trying to write a program which allows for offline navigation in Geant4 geometries. For "offline" I mean building the geometry in my program, enquire it for some parameters (eg. which physical volume contains a certain point in space) and then exit without actually simulating anything. My main concern is just about the example above: how can I quickly retrieve the ohysical volume which contains a given point in space? Right now I navigate the geometry starting from world, checking which logical daughter contains the point, then navigate its children etc. It works but it is damn slow, so I tried something smarter like using voxels, but I've not been able to understand if it is actually feasible nor how to do it, eventually. Can anyone give me some hints on how to solve this problem? Thanks.

 Add Message Add Message
to: "Fast offline navigation"

 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 ]