R: Re: [fluka-discuss]: I: 18 MeV Neutrons on Carbon

From: <francesca.belloni_at_libero.it>
Date: Thu, 16 Jul 2015 10:45:53 +0200 (CEST)

Dear Alberto,

         I apologize for sending files this way. The browser I use at work is preventing me to attach files, and I
am not allowed to make any change on the computer I am using.

I had interfaced the FLUKA output with ROOT because I am terrible in fortran...in one
command line I insert 5 mistakes :)

A TFile is practically a folder and a TTree is a way to store data, like ntuple.
But you are right that the TTRee is not necesary (in my case it is even empty...).

I cleaned the input and put test.inp and mgdraw.f at the follwoing link


If i use instead than 18 MeV neutron, 0.1 GeV neutrons I obtain also residual nuclei....
Is the fact that I obtain practically nothing with 18 MeV neutrons linked to the low energy neutron treatment, please?
Or do i make some other basic mistake, please?

Thanks a lot,

----Messaggio originale----

Da: fasso_at_slac.stanford.edu

Data: 16/07/2015 10.19

A: "fluka-discuss_at_fluka.org"<fluka-discuss_at_fluka.org>, "francesca.belloni_at_libero.it"<francesca.belloni_at_libero.it>

Ogg: Re: [fluka-discuss]: I: 18 MeV Neutrons on Carbon


Dear Francesca,

please forgive a Paleolithic person...

1) What is a TTree? I looked it up on Google and it looks that it is something to do with ROOT. But please consider that not everybody is using ROOT! In particular,

it is not necessary to know ROOT for using FLUKA

2) I had a look at the link you sent, and I was able to download the following:

NeutCarb.tar.gz_files/ (a directory)


The stuff seems to gzipped, but the .gz is an extension in the middle of the file (or directory) name. How does one gunzip them?

The bottom line is: can you please provide input file and user routines in a less sophisticated way, if you want to be helped by Paleolithic people? :-):-):-)

Just two simple ASCII files would be ok...


From: owner-fluka-discuss_at_mi.infn.it <owner-fluka-discuss_at_mi.infn.it> on behalf of francesca.belloni_at_libero.it <francesca.belloni_at_libero.it>

Sent: Wednesday, July 15, 2015 11:29 AM

To: fluka-discuss_at_fluka.org

Subject: [fluka-discuss]: I: 18 MeV Neutrons on Carbon

Dear all,

     I made a mistake. The link is





----Messaggio originale----

Da: francesca.belloni_at_libero.it

Data: 15/07/2015 19.35

A: <fluka-discuss_at_fluka.org>

Ogg: 18 MeV Neutrons on Carbon

Dear all,

           I am trying to simulate the response of a diamond detector to a monochromatic pencil-like neutron beam.

I was expecting different reactions to take place and, as a consequence, to be able to score with mgdraw the

energy deposited by charged particles, for example alphas, in the carbon.

But I must be doing something completely wrong, since the energy deposited in the diamond is always 0

(not to get a large TTree for nothing, in the mgdraw routine I asked to dump the energy deposited only if it is higher than 0.

As a cosnequence nothing is written on the TTree).

To understand what'sgoing on, I edited also usdraw by following


and dump the results on the *.log file.

But I get always only neutrons.

I have problems in attaching files using the browser at work, therefore I uploaded the simulation at the link


(this time everyone should have direct access, at least for the download).

Could anyone give a look please?






To run the simulation:

-expand the file in a folder

-add to your .bashrc

        export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/folder_where_you_put_the_simulation

-source .bashrc

-digit make

-digit $FLUPRO/flutil/rfluka -e rootfluka -N0 -M5 test &amp;

You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Thu Jul 16 2015 - 12:12:52 CEST

This archive was generated by hypermail 2.3.0 : Thu Jul 16 2015 - 12:12:53 CEST