RE: Can't score the primary particles by BEAMPART(210) in

From: Joachim Vollaire <joachim.vollaire_at_cern.ch>
Date: Sun, 22 Jul 2012 12:12:02 +0000

Dear Hantao Jing

I am not sure that the general particle number 210 which is defined for scoring purpose
(USRBIN) not transport can be used to select primary particles only in BXDRAW.
An alternative would be to use the SODRAW entry in MGDRAW...
Hoping this help
Regards
Joachim

-----Original Message-----
From: owner-fluka-discuss_at_mi.infn.it [mailto:owner-fluka-discuss_at_mi.infn.it=] On Behalf Of Hantao Jing
Sent: 16 July 2012 03:58
To: fluka-discuss_at_fluka.org
Subject: Can't score the primary particles by BEAMPART(210) in subroutine of BXDRAW in mgdraw.f?

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 =3D 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!

--
With my best regards,
                                Hantao Jing
Received on Sun Jul 22 2012 - 20:05:51 CEST

This archive was generated by hypermail 2.2.0 : Sun Jul 22 2012 - 20:06:03 CEST