Re: Discarding particles

From: Giuseppe Battistoni <Giuseppe.Battistoni_at_mi.infn.it>
Date: Fri, 1 Jul 2011 12:21:22 +0200 (CEST)

you can kill every particle but ions by
 resetting to zero the weight WEE=ZERZER in the usrmed.f user routine as a
 function of the particle identity IJ, with the additional possibility of
selecting region number.
To activate usrmed, you need a MAT-PROP card with SDUM=USERDIRE applying
to materials.
 
        Giuseppe Battistoni

On Thu, 30 Jun 2011, Joseph Comfort wrote:

> In a beam-line simulation, we have a region for a magnetic field to
> sweep out charged particles. Rather than setting up the input for
> that, I want simply to discard any charged particle that enters the
> region. In the boundary-crossing section of mgdraw.f (which I use for
> other purposes), I can get the electric charge for any particle that
> enters the region.
>
> How do I tell Fluka to stop tracking that particle and go on to the next
> one (secondary or primary)? I found a variable Lpkill, but I'm not sure
> if it applies to all particles, hadronic and electromagnetic. I do not
> want to discard charged particles everywhere (e.g., downstream of the
> region), just those that enter the region.
>
> Thank you.
> Joe Comfort
>
Received on Fri Jul 01 2011 - 12:59:45 CEST

This archive was generated by hypermail 2.2.0 : Fri Jul 01 2011 - 12:59:46 CEST