Tags:
create new tag
view all tags

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


Topic attachments
I Attachment History Action Size Date Who Comment
PDFpdf FLUKA_UserRoutines.pdf r3 r2 r1 manage 6055.8 K 2019-09-25 - 20:52 SerenaMartaValle  
PDFpdf FLUKA_in_pills.pdf r2 r1 manage 9027.9 K 2019-09-25 - 20:51 SerenaMartaValle  
PDFpdf FOOT_Geant4.pdf r1 manage 1954.8 K 2020-02-06 - 09:02 MarieVanstalle How to run Geant4 simulations for FOOT
PDFpdf FOOT_SimOutput.pdf r2 r1 manage 1243.2 K 2019-09-25 - 20:22 SerenaMartaValle  
PDFpdf FOOT_UserRoutines.pdf r4 r3 r2 r1 manage 772.6 K 2019-09-25 - 20:23 SerenaMartaValle  
PDFpdf FOOT_simulation.pdf r1 manage 9744.5 K 2019-10-11 - 18:44 GiuseppeBattistoni Basic lecture on FOOT simulation using FLUKA
PDFpdf G4lecture.pdf r1 manage 9477.4 K 2020-02-11 - 09:20 MarieVanstalle An introduction to Geant4
Edit | Attach | Watch | Print version | History: r19 < r18 < r17 < r16 < r15 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r19 - 2020-05-16 - AlessioSarti
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback