Last version:
FLUKA 2024.1.0, April 30th 2024
(last respin 2024.1.0)
flair-2.3-0e 06-May-2024


-- New Fluka Major Release
( 06.05.2024 )

FLUKA 2024.1.0 is available.
Flair-2.3-0epy3 adapted

font_small font_med font_big print_ascii

 [ 1 ]  [ 2 ]  [ 3 ]  [ 4 ]  [ 5 ]  [ 6 ]  [ back ] 

In this document we describe a possible approach to the problem of obtaining the output of a FLUKA simulation in the form of a ROOT file, like a ROOT tree.

The FLUKA program comes to the users as a huge library of routines entirely written in FORTRAN and is originally designed to provide an output in its own format, that can be manipulated with special tools provided with the code.

Recently, however, a number of users changed their frameworks to the C/C++ environment and started to use ROOT as the main analysis tool, hence a simple method to merge the two packages could be useful.

On the other hand the FLUKA package, as it is now, is the result of many years of development and to rewrite it in some OO language, in order to completely integrate it in the ROOT framework, (even it is possible in principle) could be very dangerous.

The procedure we will describe reduces as much as possible the changes in the FLUKA fortran routines, simply adding calls to external library functions where needed inside the original FLUKA users routines.

The standard scoring mechanisms of FLUKA are strongly recommended for most of the cases, sometimes a custom scoring is needed. While it can be convinient to create customised histograms and n-tuples in ROOT one has to pay special attention on how to interpret the information he is scorring.

Riccardo Brunetti (INFN, Italy); 9 May 2003
Vasilis Vlachoudis (CERN, Geneve); 6 March 2008

Last updated: 10th of October, 2008

© FLUKA Team 2000–2024

Informativa cookies