Re: Can't score the primary particles by BEAMPART(210) in subroutine of BXDRAW in mgdraw.f?

From: Olaf Hartmann <olaf.hartmann_at_oeaw.ac.at>
Date: Sun, 22 Jul 2012 20:36:45 +0200

Dear Hantao,

you can look in addition to the variable LTRACK ... for primary
particles which do not interact LTRACK is equal to 1.

Best regards
Olaf.

On 07/16/2012 03:58 AM, Hantao Jing wrote:
> Dear FLUKA experts,
> The primary particle is proton. I want to score the primary
> particles by using the mgdraw.f, but I score nothing by the following
> code in BXDRAW,
>
> IF( JTRACK.EQ.210) THEN
> IF(ETRACK.GT.AM(JTRACK)) THEN
> TPPTRACK = ETRACK - AM(JTRACK)
>
> IF(MREG.EQ.3 .AND. NEWREG.EQ.4) THEN
>
> WRITE(62,200) XSCO,YSCO, PTRACK, WTRACK
>
> ENDIF
>
> ENDIF
> ENDIF
>
> If I score the proton (namely JTRACK.EQ. 1), everything is OK. How can
> separate the primary protons and produced protons in BXDRAW?
> Thank you very much!
>
Received on Mon Jul 23 2012 - 15:53:05 CEST

This archive was generated by hypermail 2.2.0 : Mon Jul 23 2012 - 15:53:36 CEST