I’ve got:
- a ROOT-file resident: KEY: TGeoManager DetectorGeometry;1 Detector Geometry
- two “space” points “P0(x0, y0, z0)” and “P1(x1, y1, z1)”
I need to find the list of all “DetectorGeometry” volumes that a straight line from “P0” to “P1” crosses.
And maybe also another way … I’d like to be able to simply ask whether a particular “DetectorGeometry” volume will be crossed by a straight line from “P0” to “P1” (without creating the full list of all volumes that are crossed first).
Is there any example source code which I could start with?
Thanks in advance.