Message: Re: How to apply time cut? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: How to apply time cut? 

Forum: Event and Track Management
Re: Question How to apply time cut? (Angela Lucaci-Timoce)
Re: Feedback Re: How to apply time cut? (Gumplinger Peter)
Re: More Re: How to apply time cut? (Chibueze Zimuzo)
Date: 12 May, 2010
From: Gumplinger Peter <Gumplinger Peter>

Hi Chibueze,

Based on time you can reject secondary, for example decay tracks after a long decay time (positrons from mu+ decay), at the stacking level (UserStackingAction). For tracks that start inside but take more time than your trigger window, you can ask for them to be terminated based on their time at the stepping level with logic in your UserSteppingAction. Or/and you can assign G4UserLimits to a logical volume with a max. allowed time. For the latter, see for example:

http://www-geant4.kek.jp/lxr/source/examples/extended/field/field04/src/F04ElementField.cc#L58

In that case, the kernel will terminate the track.

Hope this helps, Peter

 Add Message Add Message
to: "Re: How to apply time cut?"

 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 ]