Re: [fluka-discuss]: About the use of MGDRAW

From: Francesco Cerutti <>
Date: Tue, 20 Mar 2018 22:06:09 +0100

Dear Qi Wei,

there is nothing strange in your mgdraw output.

NTRACK = 1 just means that the particle step is not subdivided in
substeps, as it happens instead for tracking in magnetic field. The step
coordinates are then given in the following line, as also explained in the
Chapter 11 of the Manual, fully dedicated to mgdraw output discussion.

On the other hand, MTRACK = 1 means that the electron deposited some
energy along the step, while MTRACK = 0 indicates that the photon didn't,
which is perfectly normal considering that the first, contrary to the
latter, is subject to stopping power.

Best regards


Francesco Cerutti
CH-1211 Geneva 23
tel. +41 22 7678962
fax +41 22 7668854

On Mon, 19 Mar 2018, wrote:

> Dear Fluka experts,
> I want to simulate the transport process of electrons being injected into a Ta target and
> record the trajectories of electrons and bremsstrahlung photons. So I used the routines of
> MGDRAW as the Fluka Manual said, but the result is strange. The values of NTRACK for all
> recorded particles were the same, 1, while that of MTRACK were either 0(for photons) or 1(for
> electrons). I checked the user version of MGDRAW and found nothing wrong. I have attached the
> MGDRAW routine, the .inp file and the formated(testMGD001_inform)&unformated(testMGD001_MGD)
> output file below so you can check where I made mistakes. 
> Thank you
> Best Regards
> Qi Wei

You can manage unsubscription from this mailing list at
Received on Tue Mar 20 2018 - 23:37:26 CET

This archive was generated by hypermail 2.3.0 : Wed Mar 21 2018 - 00:30:58 CET