Home page of the FOOT simulation software
The simulation framework
The FOOT simulation is performed using the
FLUKA software package and the
Geant4 code.
Running the simulation: how to
There are several steps needed to get, compile, run, access the simulation output.
Getting the code
The instructions to download the code are available in the
FOOT software page.
Compiling and running
As a prerequisite for running a simulation with FLUKA you need a valid installation of the FLUKA software.
You have to setup the $FLUPRO, $FLUTIL and $FLUFOR variables before compiling the code (help with the FLUKA installation phase is provided in the
FLUKA web page, FLUKA mailing lists and, if everything else failed, from the FOOT FLUKA "experts": V. Patera, G. Battistoni, A. Sarti). Once everything is installed and setup, you can compile the code and run the simulation. Instructions can be found in the following presentatation
FOOT_simulation.pdf.
To learn about the FLUKA output of FOOT simulations:
FOOT_SimOutput.pdf
To learn about the user routines used in FOOT simulations:
FLUKA_in_pills.pdf and
FLUKA_UserRoutines.pdf
To run simulation with Geant4, you need to install the Geant4 software (see the
download page of the Geant4 collaboration).
The FOOT software needs to be installed by adding the option -DGeant4_DIR=G4BUILD in the cmake command, before compiling SHOE. The
G4BUILD variable points to the path to the build directory of your Geant4 installation. the Geant4 source simulation files for FOOT is located in the trunk/G4simulation directory of SHOE.
To compile the FOOT simulation, go in the build/G4simulation directory, than the simulation can be executed with the
TAGsimulation command (don't forget to switch on/off the detectors you want to simulate in the
FootGlobal.par file located in the build/G4simulation/config directory). In case of problems, do not hesitate to contact M. Vanstalle.
To learn more about running Geant4 simulation on SHOE, see
FOOT_Geant4.pdf
To learn more about how to use Geant4, see the
User's Guide on the Geant4 website, or
G4lecture.pdf.
Event reconstruction
The reconstruction of the decoded MC events is accomplished using the reconstruction software
documented in the related web page.
Starting from May 2020 an update of the input root format has been provided by C. Finck. It is now possible to use the
Txt2NtuRoot executable in the bin folder to process the output from FLUKA (dat files) and produce a root file that contains directly the tupled TAG* classes. Oncec you have the root files with the root objects, to process them while using the
DecodeMC executable, you
need to pass the -obj flag.
Presently available simulation output files
On the tier3 there are Root output files of simulation available as reference for the study of detector performances. They are
documented in the related web page
--
Alessio Sarti - 2016-07-06
Comments