RE: Plotting Usrbin card

From: <>
Date: Fri, 14 Aug 2009 18:51:33 +0200

Hi Mario,
thank you for your quick reply. Sorry that I did not attach the .inp
file, I probably had hoped that it was not necessary, however, I
attached it now.

I did look the USRBIN output and could not find any negative numbers.

I am using rectangular coordinates. In order to get a "high resolution"
picture I sliced up the whole geometry into 2 cm-usrbin
pieces and than merged them all together with gnuplot. However, all
the single plots already show this strange behavior so it should not
be the gnuplot skript. Note that I did not run with many primaries (5x 10)
to save cpu time (since there are a lot of usrbin cards).

However when I did run with many primaries and only one usrbin card
the picture looks about the same (the assigment of the colors is the

Thanks for help and advice,


Quoting Mario Santana Leitner <>:

> Hi,
> There is not enough information to determine the ultimate cause of
> the problem (is it in the FLUKA part, or in FLAIR?...).
> We would need to have the input file and the FLAIR file.
> However, there is one thing that you can already try. Did you look
> at the usrbin file data? (convert it to ascii and browse through the
> data). Is there any negative value? In the past when the combined
> number of particles from different values exceeded a certain
> threshold, the resulting usrbin got a little crazy and included some
> negative values which lead to plots like the one you are showing. I
> assume that this is not your case now since your 1d histogram is
> looking fine, but check it anyway. Also try/check the following:
> - Is your usrbin in rectangular or cylindrical coordinates?
> - In case your plot is in rectangular coordinates, are you plotting
> your entire usrbin matrix or just a slice between two planes to the
> left and right of the central (Z) axis?
> Mario
> -----Original Message-----
> From: on behalf of
> Sent: Thu 8/13/2009 11:23 PM
> To:
> Subject: Plotting Usrbin card
> Dear Fluka experts,
> looking at the plot I attached the energy deposition is the lowest in
> the middle of the shower and peaks at the edge of my geometry. That
> does not make sense to me since the 1-D histograms tell me the biggest
> energy deposition is in the middle of the geometry (which makes
> sense). I am using flair to do this plots, and I am wondering if the
> colors might be assigned in the wrong order...If not, what is my fault?
> Thanks for all the help, Johannes

Received on Sun Aug 16 2009 - 18:00:25 CEST

This archive was generated by hypermail 2.2.0 : Sun Aug 16 2009 - 18:00:55 CEST