Message: Re: aStep->IsFirstStepInVolume()==false Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Warning Re: aStep->IsFirstStepInVolume()==false 

Forum: Event and Track Management
Re: Question aStep->IsFirstStepInVolume()==false
Date: 31 Mar, 2009
From: Gumplinger Peter <Gumplinger Peter>

Please, see posting #829 in this forum. With other words, the IsFirstStepInVolume flag is NOT implemented, or rather NOT implemented correctly!

The way to find when a track enters a volume is by asking that the volume associated with the PreStepPoint != the name of the volume in question, and that the name associated with the PostStepPoint == the name. To identify the first step INSIDE a volume, you have to ask that the PreStepPoint's volume name is correct and that the PreStepPoint's StepStatus == fGeomBoundary

 Add Message Add Message
to: "Re: aStep->IsFirstStepInVolume()==false"

 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 ]