Re: Discarding particles

From: Giuseppe Battistoni <Giuseppe.Battistoni_at_mi.infn.it>
Date: Fri, 1 Jul 2011 14:39:32 +0200 (CEST)

Sorry, of course you can kill also ions, rememberig that
IJ in that case is -2 (or in the range from -6 to -3 if they
are reaction products)

        G.B.

On Fri, 1 Jul 2011, Giuseppe Battistoni wrote:

> 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 - 15:08:23 CEST

This archive was generated by hypermail 2.2.0 : Fri Jul 01 2011 - 15:08:26 CEST