Sequential Tracking Method

From: OKUMURA, Akira <oxon_at_icrr.u-tokyo.ac.jp>
Date: Wed, 26 Sep 2007 00:34:18 -1000


Hello ROOTers,

I am planning to write a simple raytrace program using the geometry library. I found that FindNextBoundary could work as a primary function for raytracing. However it seems to be a non-sequential tracking calculation which checks all boundaries of volumes. (Actually I have not read the source in detail.)

I would like to know if there is any method which can calculate tracking sequentially because non-sequential calculation will be very expensive for simple optical system,

For instance, if I build a optical system which consists of two lenses and a focal plane, it will be as follows.
/Top/Lens1
/Top/Lens2
/Top/FocalPlane

First, rays pass through /Top/Lens1, and then pass through /Top/ Lens2. Finally they stop at /Top/Focal/Plane. In advance, I know that rays always go through in this sequence. If there is any sequential calculation method, CPU cost will be reduced significantly.

Sincerely

OKUMURA, Akira oxon_at_icrr.u-tokyo.ac.jp
Institute for Cosmic Ray Research, University of Tokyo 5-1-5 Kashiwanoha Kashiwa Chiba 277-8582 Japan Phone/Fax : +81 4-7136-3153
Skype : okumura.akira Received on Wed Sep 26 2007 - 12:35:06 CEST

This archive was generated by hypermail 2.2.0 : Wed Sep 26 2007 - 17:50:02 CEST