Message: Re: Stopping all tracks at a specified plane Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Idea Re: Stopping all tracks at a specified plane 

Forum: Geometry
Re: Question Stopping all tracks at a specified plane (Tom Roberts)
Date: 03 Jul, 2012
From: Michael H. Kelsey <Michael H. Kelsey>

On Wed, 04 Jul 2012 02:02:05 GMT, Tom Roberts wrote:
> I want to force all tracks to stop at a specified plane bounded by a
> circle or rectangle; my SteppingAction will then sample the track.
> I don't want to use a Tubs or Box with a thickness of a few nanometers
> or microns, as that requires setting the tracking parameters so small
> that efficiency is lost.

Why? Tracking _always_ terminates a step at a volume boundary, unconditionally. If you create an "infinitesimal" box, as you describe, then what will happen is that a single G4Step will traverse the volume (the PreStepPoint will be on the entry side, and the PostStepPoint on the exit side). I think that is what you want.

      -- Michael Kelsey

 Add Message Add Message
to: "Re: Stopping all tracks at a specified plane"

 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 ]