Difference: FOOTSimulation (1 vs. 19)

Revision 192020-05-16 - AlessioSarti

 
META TOPICPARENT name="FOOTHome"

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.

Added:
>
>
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


<--/commentPlugin-->

META FILEATTACHMENT attachment="FOOT_SimOutput.pdf" attr="" comment="" date="1569442950" name="FOOT_SimOutput.pdf" path="FOOT_SimOutput.pdf" size="1272993" user="SerenaMartaValle" version="2"
META FILEATTACHMENT attachment="FOOT_UserRoutines.pdf" attr="" comment="" date="1569442987" name="FOOT_UserRoutines.pdf" path="FOOT_UserRoutines.pdf" size="791099" user="SerenaMartaValle" version="4"
META FILEATTACHMENT attachment="FLUKA_in_pills.pdf" attr="" comment="" date="1569444706" name="FLUKA_in_pills.pdf" path="FLUKA_in_pills.pdf" size="9244585" user="SerenaMartaValle" version="2"
META FILEATTACHMENT attachment="FLUKA_UserRoutines.pdf" attr="" comment="" date="1569444776" name="FLUKA_UserRoutines.pdf" path="FLUKA_UserRoutines.pdf" size="6201100" user="SerenaMartaValle" version="3"
META FILEATTACHMENT attachment="FOOT_simulation.pdf" attr="" comment="Basic lecture on FOOT simulation using FLUKA" date="1570819441" name="FOOT_simulation.pdf" path="FOOT_simulation.pdf" size="9978382" user="GiuseppeBattistoni" version="1"
META FILEATTACHMENT attachment="FOOT_Geant4.pdf" attr="" comment="How to run Geant4 simulations for FOOT" date="1580979742" name="FOOT_Geant4.pdf" path="FOOT_Geant4.pdf" size="2001710" user="MarieVanstalle" version="1"
META FILEATTACHMENT attachment="G4lecture.pdf" attr="" comment="An introduction to Geant4" date="1581412831" name="G4lecture.pdf" path="G4lecture.pdf" size="9704835" user="MarieVanstalle" version="1"

Revision 182020-02-11 - MarieVanstalle

 
META TOPICPARENT name="FOOTHome"

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.

Changed:
<
<
To learn more about how to use Geant4, see the User's Guide on the Geant4 website.
>
>
To learn more about running Geant4 simulation on SHOE, see FOOT_Geant4.pdf
Added:
>
>
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.

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


<--/commentPlugin-->

META FILEATTACHMENT attachment="FOOT_SimOutput.pdf" attr="" comment="" date="1569442950" name="FOOT_SimOutput.pdf" path="FOOT_SimOutput.pdf" size="1272993" user="SerenaMartaValle" version="2"
META FILEATTACHMENT attachment="FOOT_UserRoutines.pdf" attr="" comment="" date="1569442987" name="FOOT_UserRoutines.pdf" path="FOOT_UserRoutines.pdf" size="791099" user="SerenaMartaValle" version="4"
META FILEATTACHMENT attachment="FLUKA_in_pills.pdf" attr="" comment="" date="1569444706" name="FLUKA_in_pills.pdf" path="FLUKA_in_pills.pdf" size="9244585" user="SerenaMartaValle" version="2"
META FILEATTACHMENT attachment="FLUKA_UserRoutines.pdf" attr="" comment="" date="1569444776" name="FLUKA_UserRoutines.pdf" path="FLUKA_UserRoutines.pdf" size="6201100" user="SerenaMartaValle" version="3"
META FILEATTACHMENT attachment="FOOT_simulation.pdf" attr="" comment="Basic lecture on FOOT simulation using FLUKA" date="1570819441" name="FOOT_simulation.pdf" path="FOOT_simulation.pdf" size="9978382" user="GiuseppeBattistoni" version="1"
META FILEATTACHMENT attachment="FOOT_Geant4.pdf" attr="" comment="How to run Geant4 simulations for FOOT" date="1580979742" name="FOOT_Geant4.pdf" path="FOOT_Geant4.pdf" size="2001710" user="MarieVanstalle" version="1"
Added:
>
>
META FILEATTACHMENT attachment="G4lecture.pdf" attr="" comment="An introduction to Geant4" date="1581412831" name="G4lecture.pdf" path="G4lecture.pdf" size="9704835" user="MarieVanstalle" version="1"
 

Revision 172020-02-06 - MarieVanstalle

 
META TOPICPARENT name="FOOTHome"

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.

Changed:
<
<
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 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 how to use Geant4, see the User's Guide on the Geant4 website.

Event reconstruction

The reconstruction of the decoded MC events is accomplished using the reconstruction software documented in the related web page.

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


<--/commentPlugin-->

META FILEATTACHMENT attachment="FOOT_SimOutput.pdf" attr="" comment="" date="1569442950" name="FOOT_SimOutput.pdf" path="FOOT_SimOutput.pdf" size="1272993" user="SerenaMartaValle" version="2"
META FILEATTACHMENT attachment="FOOT_UserRoutines.pdf" attr="" comment="" date="1569442987" name="FOOT_UserRoutines.pdf" path="FOOT_UserRoutines.pdf" size="791099" user="SerenaMartaValle" version="4"
META FILEATTACHMENT attachment="FLUKA_in_pills.pdf" attr="" comment="" date="1569444706" name="FLUKA_in_pills.pdf" path="FLUKA_in_pills.pdf" size="9244585" user="SerenaMartaValle" version="2"
META FILEATTACHMENT attachment="FLUKA_UserRoutines.pdf" attr="" comment="" date="1569444776" name="FLUKA_UserRoutines.pdf" path="FLUKA_UserRoutines.pdf" size="6201100" user="SerenaMartaValle" version="3"
META FILEATTACHMENT attachment="FOOT_simulation.pdf" attr="" comment="Basic lecture on FOOT simulation using FLUKA" date="1570819441" name="FOOT_simulation.pdf" path="FOOT_simulation.pdf" size="9978382" user="GiuseppeBattistoni" version="1"
META FILEATTACHMENT attachment="FOOT_Geant4.pdf" attr="" comment="How to run Geant4 simulations for FOOT" date="1580979742" name="FOOT_Geant4.pdf" path="FOOT_Geant4.pdf" size="2001710" user="MarieVanstalle" version="1"

Revision 162020-02-06 - MarieVanstalle

 
META TOPICPARENT name="FOOTHome"

Home page of the FOOT simulation software


The simulation framework

Changed:
<
<
The FOOT simulation is performed using the FLUKA software package.
>
>
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

Changed:
<
<
As a prerequisite for running a simulation you need a valid installation of the FLUKA software.
>
>
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

Added:
>
>
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 how to use Geant4, see the User's Guide on the Geant4 website.

 

Event reconstruction

The reconstruction of the decoded MC events is accomplished using the reconstruction software documented in the related web page.

Presently available simulation output files

Changed:
<
<
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
>
>
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


<--/commentPlugin-->

META FILEATTACHMENT attachment="FOOT_SimOutput.pdf" attr="" comment="" date="1569442950" name="FOOT_SimOutput.pdf" path="FOOT_SimOutput.pdf" size="1272993" user="SerenaMartaValle" version="2"
META FILEATTACHMENT attachment="FOOT_UserRoutines.pdf" attr="" comment="" date="1569442987" name="FOOT_UserRoutines.pdf" path="FOOT_UserRoutines.pdf" size="791099" user="SerenaMartaValle" version="4"
META FILEATTACHMENT attachment="FLUKA_in_pills.pdf" attr="" comment="" date="1569444706" name="FLUKA_in_pills.pdf" path="FLUKA_in_pills.pdf" size="9244585" user="SerenaMartaValle" version="2"
META FILEATTACHMENT attachment="FLUKA_UserRoutines.pdf" attr="" comment="" date="1569444776" name="FLUKA_UserRoutines.pdf" path="FLUKA_UserRoutines.pdf" size="6201100" user="SerenaMartaValle" version="3"
META FILEATTACHMENT attachment="FOOT_simulation.pdf" attr="" comment="Basic lecture on FOOT simulation using FLUKA" date="1570819441" name="FOOT_simulation.pdf" path="FOOT_simulation.pdf" size="9978382" user="GiuseppeBattistoni" version="1"
Added:
>
>
META FILEATTACHMENT attachment="FOOT_Geant4.pdf" attr="" comment="How to run Geant4 simulations for FOOT" date="1580979742" name="FOOT_Geant4.pdf" path="FOOT_Geant4.pdf" size="2001710" user="MarieVanstalle" version="1"
 

Revision 152020-01-27 - AlessioSarti

 
META TOPICPARENT name="FOOTHome"

Home page of the FOOT simulation software


The simulation framework

The FOOT simulation is performed using the FLUKA software package.

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 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

Event reconstruction

The reconstruction of the decoded MC events is accomplished using the reconstruction software documented in the related web page.

Presently available simulation output files

Changed:
<
<
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 (Old page, to be updated!!!)
>
>
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


<--/commentPlugin-->

META FILEATTACHMENT attachment="FOOT_SimOutput.pdf" attr="" comment="" date="1569442950" name="FOOT_SimOutput.pdf" path="FOOT_SimOutput.pdf" size="1272993" user="SerenaMartaValle" version="2"
META FILEATTACHMENT attachment="FOOT_UserRoutines.pdf" attr="" comment="" date="1569442987" name="FOOT_UserRoutines.pdf" path="FOOT_UserRoutines.pdf" size="791099" user="SerenaMartaValle" version="4"
META FILEATTACHMENT attachment="FLUKA_in_pills.pdf" attr="" comment="" date="1569444706" name="FLUKA_in_pills.pdf" path="FLUKA_in_pills.pdf" size="9244585" user="SerenaMartaValle" version="2"
META FILEATTACHMENT attachment="FLUKA_UserRoutines.pdf" attr="" comment="" date="1569444776" name="FLUKA_UserRoutines.pdf" path="FLUKA_UserRoutines.pdf" size="6201100" user="SerenaMartaValle" version="3"
META FILEATTACHMENT attachment="FOOT_simulation.pdf" attr="" comment="Basic lecture on FOOT simulation using FLUKA" date="1570819441" name="FOOT_simulation.pdf" path="FOOT_simulation.pdf" size="9978382" user="GiuseppeBattistoni" version="1"

Revision 142019-10-11 - GiuseppeBattistoni

 
META TOPICPARENT name="FOOTHome"

Home page of the FOOT simulation software


The simulation framework

The FOOT simulation is performed using the FLUKA software package.

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 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

Event reconstruction

The reconstruction of the decoded MC events is accomplished using the reconstruction software documented in the related web page.

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 (Old page, to be updated!!!)

-- Alessio Sarti - 2016-07-06

Comments


<--/commentPlugin-->
Deleted:
<
<
META FILEATTACHMENT attachment="FOOT_simulation.pdf" attr="" comment="" date="1569442658" name="FOOT_simulation.pdf" path="FOOT_simulation.pdf" size="9954119" user="SerenaMartaValle" version="1"
 
META FILEATTACHMENT attachment="FOOT_SimOutput.pdf" attr="" comment="" date="1569442950" name="FOOT_SimOutput.pdf" path="FOOT_SimOutput.pdf" size="1272993" user="SerenaMartaValle" version="2"
META FILEATTACHMENT attachment="FOOT_UserRoutines.pdf" attr="" comment="" date="1569442987" name="FOOT_UserRoutines.pdf" path="FOOT_UserRoutines.pdf" size="791099" user="SerenaMartaValle" version="4"
META FILEATTACHMENT attachment="FLUKA_in_pills.pdf" attr="" comment="" date="1569444706" name="FLUKA_in_pills.pdf" path="FLUKA_in_pills.pdf" size="9244585" user="SerenaMartaValle" version="2"
META FILEATTACHMENT attachment="FLUKA_UserRoutines.pdf" attr="" comment="" date="1569444776" name="FLUKA_UserRoutines.pdf" path="FLUKA_UserRoutines.pdf" size="6201100" user="SerenaMartaValle" version="3"
Added:
>
>
META FILEATTACHMENT attachment="FOOT_simulation.pdf" attr="" comment="Basic lecture on FOOT simulation using FLUKA" date="1570819441" name="FOOT_simulation.pdf" path="FOOT_simulation.pdf" size="9978382" user="GiuseppeBattistoni" version="1"
 

Revision 132019-09-25 - SerenaMartaValle

 
META TOPICPARENT name="FOOTHome"

Home page of the FOOT simulation software


The simulation framework

The FOOT simulation is performed using the FLUKA software package.

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 you need a valid installation of the FLUKA software.

Changed:
<
<
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 proceed with the following instructions.
>
>
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.
 
Changed:
<
<
To compile the code you have to:
>
>
To learn about the FLUKA output of FOOT simulations: FOOT_SimOutput.pdf
Deleted:
<
<
  • Go in the Simulation folder.
  • Source the link_FOOT_mag.sh (if you want to simulate with magnetic field ON) or link_FOOT.sh (if you want to simulate with magnetic field OFF) script.
  • After the code is compiled, check that you have a fluka_FOOT_ mag.exe (magnetic field ON) or fluka_FOOT.exe (magnetic field OFF) executable created in your Simulation folder.
  • If you want the magnetic field switched on you have to put the variable MagField =true (=off if you want it switched off) in foot_geo.h to create the correct input file
  • Compile the program to write the input and the geometry files with the command:
make -f Makefile_geo
  • Execute the program with the command:
./foot_geo
 
Changed:
<
<
>
>
To learn about the user routines used in FOOT simulations: FLUKA_in_pills.pdf and FLUKA_UserRoutines.pdf
Deleted:
<
<
To run the code you have to.
  • Go in the Simulation folder.
  • Execute the command:
$FLUPRO/flutil/rfluka -e fluka_FOOT_mag.exe -N0 -M1 foot

or

$FLUPRO/flutil/rfluka -e fluka_FOOT.exe -N0 -M1 foot

  • The output will appear in:
foot001_TXT.dat

Decoding the output

The output format is a dat file. To have access to a tupled file you need to convert it using a converter.

Libraries are kept under TXT2ROOT folder.

  • Compile the converter in TXT2ROOT by issuing the command:
make
  • Then you can run the converter with the following command:
./Txt2Root -in ../foot001_TXT.dat -out foot001_TXT.root

This will generate the output.root file containing all the MC info needed for furher processing.

A descritpion of the structure of the ROOT output file can be found here for an old version of the MC (V13, but the MC simulation information is the same).

 

Event reconstruction

The reconstruction of the decoded MC events is accomplished using the reconstruction software documented in the related web page.

Presently available simulation output files

Changed:
<
<
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
>
>
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 (Old page, to be updated!!!)
  -- Alessio Sarti - 2016-07-06

Comments


<--/commentPlugin-->
Added:
>
>
META FILEATTACHMENT attachment="FOOT_simulation.pdf" attr="" comment="" date="1569442658" name="FOOT_simulation.pdf" path="FOOT_simulation.pdf" size="9954119" user="SerenaMartaValle" version="1"
META FILEATTACHMENT attachment="FOOT_SimOutput.pdf" attr="" comment="" date="1569442950" name="FOOT_SimOutput.pdf" path="FOOT_SimOutput.pdf" size="1272993" user="SerenaMartaValle" version="2"
META FILEATTACHMENT attachment="FOOT_UserRoutines.pdf" attr="" comment="" date="1569442987" name="FOOT_UserRoutines.pdf" path="FOOT_UserRoutines.pdf" size="791099" user="SerenaMartaValle" version="4"
META FILEATTACHMENT attachment="FLUKA_in_pills.pdf" attr="" comment="" date="1569444706" name="FLUKA_in_pills.pdf" path="FLUKA_in_pills.pdf" size="9244585" user="SerenaMartaValle" version="2"
META FILEATTACHMENT attachment="FLUKA_UserRoutines.pdf" attr="" comment="" date="1569444776" name="FLUKA_UserRoutines.pdf" path="FLUKA_UserRoutines.pdf" size="6201100" user="SerenaMartaValle" version="3"

Revision 122018-11-21 - AlessioSarti

 
META TOPICPARENT name="FOOTHome"

Home page of the FOOT simulation software


The simulation framework

The FOOT simulation is performed using the FLUKA software package.

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 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 proceed with the following instructions.

To compile the code you have to:

  • Go in the Simulation folder.
  • Source the link_FOOT_mag.sh (if you want to simulate with magnetic field ON) or link_FOOT.sh (if you want to simulate with magnetic field OFF) script.
  • After the code is compiled, check that you have a fluka_FOOT_ mag.exe (magnetic field ON) or fluka_FOOT.exe (magnetic field OFF) executable created in your Simulation folder.
  • If you want the magnetic field switched on you have to put the variable MagField =true (=off if you want it switched off) in foot_geo.h to create the correct input file
  • Compile the program to write the input and the geometry files with the command:
make -f Makefile_geo
  • Execute the program with the command:
./foot_geo

To run the code you have to.

  • Go in the Simulation folder.
  • Execute the command:
$FLUPRO/flutil/rfluka -e fluka_FOOT_mag.exe -N0 -M1 foot
Changed:
<
<
or
>
>
or
 
$FLUPRO/flutil/rfluka -e fluka_FOOT.exe -N0 -M1 foot

  • The output will appear in:
foot001_TXT.dat

Decoding the output

The output format is a dat file. To have access to a tupled file you need to convert it using a converter.

Libraries are kept under TXT2ROOT folder.

  • Compile the converter in TXT2ROOT by issuing the command:
make
  • Then you can run the converter with the following command:
./Txt2Root -in ../foot001_TXT.dat -out foot001_TXT.root

This will generate the output.root file containing all the MC info needed for furher processing.

Added:
>
>
A descritpion of the structure of the ROOT output file can be found here for an old version of the MC (V13, but the MC simulation information is the same).
 

Event reconstruction

The reconstruction of the decoded MC events is accomplished using the reconstruction software documented in the related web page.

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


<--/commentPlugin-->

Revision 112017-03-17 - SerenaMartaValle

 
META TOPICPARENT name="FOOTHome"

Home page of the FOOT simulation software


The simulation framework

The FOOT simulation is performed using the FLUKA software package.

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 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 proceed with the following instructions.

To compile the code you have to:

  • Go in the Simulation folder.
  • Source the link_FOOT_mag.sh (if you want to simulate with magnetic field ON) or link_FOOT.sh (if you want to simulate with magnetic field OFF) script.
  • After the code is compiled, check that you have a fluka_FOOT_ mag.exe (magnetic field ON) or fluka_FOOT.exe (magnetic field OFF) executable created in your Simulation folder.
  • If you want the magnetic field switched on you have to put the variable MagField =true (=off if you want it switched off) in foot_geo.h to create the correct input file
  • Compile the program to write the input and the geometry files with the command:
make -f Makefile_geo
  • Execute the program with the command:
./foot_geo

To run the code you have to.

  • Go in the Simulation folder.
  • Execute the command:
$FLUPRO/flutil/rfluka -e fluka_FOOT_mag.exe -N0 -M1 foot

or

Changed:
<
<
>
>
$FLUPRO/flutil/rfluka -e fluka_FOOT.exe -N0 -M1 foot
Deleted:
<
<
$FLUPRO/flutil/rfluka -e fluka_FOOT.sh -N0 -M1 foot
 
  • The output will appear in:
foot001_TXT.dat

Decoding the output

The output format is a dat file. To have access to a tupled file you need to convert it using a converter.

Libraries are kept under TXT2ROOT folder.

  • Compile the converter in TXT2ROOT by issuing the command:
make
  • Then you can run the converter with the following command:
./Txt2Root -in ../foot001_TXT.dat -out foot001_TXT.root

This will generate the output.root file containing all the MC info needed for furher processing.

Event reconstruction

The reconstruction of the decoded MC events is accomplished using the reconstruction software documented in the related web page.

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


<--/commentPlugin-->

Revision 102017-02-06 - GiuseppeBattistoni

 
META TOPICPARENT name="FOOTHome"

Home page of the FOOT simulation software


The simulation framework

The FOOT simulation is performed using the FLUKA software package.

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 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 proceed with the following instructions.

To compile the code you have to:

  • Go in the Simulation folder.
  • Source the link_FOOT_mag.sh (if you want to simulate with magnetic field ON) or link_FOOT.sh (if you want to simulate with magnetic field OFF) script.
  • After the code is compiled, check that you have a fluka_FOOT_ mag.exe (magnetic field ON) or fluka_FOOT.exe (magnetic field OFF) executable created in your Simulation folder.
  • If you want the magnetic field switched on you have to put the variable MagField =true (=off if you want it switched off) in foot_geo.h to create the correct input file
  • Compile the program to write the input and the geometry files with the command:
make -f Makefile_geo
  • Execute the program with the command:
./foot_geo

To run the code you have to.

  • Go in the Simulation folder.
  • Execute the command:
$FLUPRO/flutil/rfluka -e fluka_FOOT_mag.exe -N0 -M1 foot

or

$FLUPRO/flutil/rfluka -e fluka_FOOT.sh -N0 -M1 foot

  • The output will appear in:
foot001_TXT.dat

Decoding the output

The output format is a dat file. To have access to a tupled file you need to convert it using a converter.

Libraries are kept under TXT2ROOT folder.

  • Compile the converter in TXT2ROOT by issuing the command:
make
  • Then you can run the converter with the following command:
./Txt2Root -in ../foot001_TXT.dat -out foot001_TXT.root

This will generate the output.root file containing all the MC info needed for furher processing.

Event reconstruction

The reconstruction of the decoded MC events is accomplished using the reconstruction software documented in the related web page.

Added:
>
>

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


<--/commentPlugin-->

Revision 92017-01-16 - SerenaMartaValle

 
META TOPICPARENT name="FOOTHome"

Home page of the FOOT simulation software


The simulation framework

The FOOT simulation is performed using the FLUKA software package.

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 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 proceed with the following instructions.

To compile the code you have to:

  • Go in the Simulation folder.
Changed:
<
<
  • Source the link_FOOT_mag.sh script.
  • After the code is compiled, check that you have a fluka_FOOT.exe executable created in your Simulation folder.
>
>
  • Source the link_FOOT_mag.sh (if you want to simulate with magnetic field ON) or link_FOOT.sh (if you want to simulate with magnetic field OFF) script.
  • After the code is compiled, check that you have a fluka_FOOT_ mag.exe (magnetic field ON) or fluka_FOOT.exe (magnetic field OFF) executable created in your Simulation folder.
Added:
>
>
  • If you want the magnetic field switched on you have to put the variable MagField =true (=off if you want it switched off) in foot_geo.h to create the correct input file
  • Compile the program to write the input and the geometry files with the command:
make -f Makefile_geo
  • Execute the program with the command:
./foot_geo

 To run the code you have to.
  • Go in the Simulation folder.
  • Execute the command:
Changed:
<
<
$FLUPRO/flutil/rfluka -e fluka_FOOT_mag.exe -N0 -M1 FOOT_EMFon
>
>
$FLUPRO/flutil/rfluka -e fluka_FOOT_mag.exe -N0 -M1 foot
Deleted:
<
<
  • The output will appear in:
 
Added:
>
>
or

$FLUPRO/flutil/rfluka -e fluka_FOOT.sh -N0 -M1 foot

  • The output will appear in:
foot001_TXT.dat
 

Decoding the output

The output format is a dat file. To have access to a tupled file you need to convert it using a converter.

Libraries are kept under TXT2ROOT folder.

  • Compile the converter in TXT2ROOT by issuing the command:
make
  • Then you can run the converter with the following command:
Changed:
<
<
./Txt2Root -in ../FOOT_new001_TXT.dat -out FOOT_new001_TXT.root
>
>
./Txt2Root -in ../foot001_TXT.dat -out foot001_TXT.root
  This will generate the output.root file containing all the MC info needed for furher processing.

Event reconstruction

The reconstruction of the decoded MC events is accomplished using the reconstruction software documented in the related web page.

-- Alessio Sarti - 2016-07-06

Comments


<--/commentPlugin-->

Revision 82016-10-21 - AlessioSarti

 
META TOPICPARENT name="FOOTHome"

Home page of the FOOT simulation software


The simulation framework

The FOOT simulation is performed using the FLUKA software package.

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 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 proceed with the following instructions.

To compile the code you have to:

  • Go in the Simulation folder.
  • Source the link_FOOT_mag.sh script.
  • After the code is compiled, check that you have a fluka_FOOT.exe executable created in your Simulation folder.
To run the code you have to.
  • Go in the Simulation folder.
  • Execute the command:
Changed:
<
<
$FLUPRO/flutil/rfluka -e fluka_FOOT.exe -N0 -M1 FOOT_EMFon
>
>
$FLUPRO/flutil/rfluka -e fluka_FOOT_mag.exe -N0 -M1 FOOT_EMFon
 
  • The output will appear in:

Decoding the output

The output format is a dat file. To have access to a tupled file you need to convert it using a converter.

Libraries are kept under TXT2ROOT folder.

  • Compile the converter in TXT2ROOT by issuing the command:
make
  • Then you can run the converter with the following command:
./Txt2Root -in ../FOOT_new001_TXT.dat -out FOOT_new001_TXT.root

This will generate the output.root file containing all the MC info needed for furher processing.

Event reconstruction

The reconstruction of the decoded MC events is accomplished using the reconstruction software documented in the related web page.

-- Alessio Sarti - 2016-07-06

Comments


<--/commentPlugin-->

Revision 72016-10-13 - SerenaMartaValle

 
META TOPICPARENT name="FOOTHome"

Home page of the FOOT simulation software


The simulation framework

The FOOT simulation is performed using the FLUKA software package.

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 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 proceed with the following instructions.

To compile the code you have to:

  • Go in the Simulation folder.
Changed:
<
<
  • Source the link_FOOTpro.sh script.
>
>
  • Source the link_FOOT_mag.sh script.
 
  • After the code is compiled, check that you have a fluka_FOOT.exe executable created in your Simulation folder.
To run the code you have to.
  • Go in the Simulation folder.
  • Execute the command:
$FLUPRO/flutil/rfluka -e fluka_FOOT.exe -N0 -M1 FOOT_EMFon
  • The output will appear in:

Decoding the output

The output format is a dat file. To have access to a tupled file you need to convert it using a converter.

Libraries are kept under TXT2ROOT folder.

  • Compile the converter in TXT2ROOT by issuing the command:
make
  • Then you can run the converter with the following command:
./Txt2Root -in ../FOOT_new001_TXT.dat -out FOOT_new001_TXT.root

This will generate the output.root file containing all the MC info needed for furher processing.

Event reconstruction

The reconstruction of the decoded MC events is accomplished using the reconstruction software documented in the related web page.

-- Alessio Sarti - 2016-07-06

Comments


<--/commentPlugin-->

Revision 62016-10-13 - AlessioSarti

 
META TOPICPARENT name="FOOTHome"

Home page of the FOOT simulation software


The simulation framework

The FOOT simulation is performed using the FLUKA software package.

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 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 proceed with the following instructions.

To compile the code you have to:

  • Go in the Simulation folder.
  • Source the link_FOOTpro.sh script.
  • After the code is compiled, check that you have a fluka_FOOT.exe executable created in your Simulation folder.
To run the code you have to.
  • Go in the Simulation folder.
  • Execute the command:
Changed:
<
<
$FLUPRO/flutil/rfluka -e fluka_FOOT.exe -N0 -M1 FOOT_new
>
>
$FLUPRO/flutil/rfluka -e fluka_FOOT.exe -N0 -M1 FOOT_EMFon
 
  • The output will appear in:

Decoding the output

The output format is a dat file. To have access to a tupled file you need to convert it using a converter.

Libraries are kept under TXT2ROOT folder.

  • Compile the converter in TXT2ROOT by issuing the command:
make
  • Then you can run the converter with the following command:
./Txt2Root -in ../FOOT_new001_TXT.dat -out FOOT_new001_TXT.root

This will generate the output.root file containing all the MC info needed for furher processing.

Event reconstruction

The reconstruction of the decoded MC events is accomplished using the reconstruction software documented in the related web page.

-- Alessio Sarti - 2016-07-06

Comments


<--/commentPlugin-->

Revision 52016-07-22 - GiuseppeBattistoni

 
META TOPICPARENT name="FOOTHome"

Home page of the FOOT simulation software


The simulation framework

The FOOT simulation is performed using the FLUKA software package.

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 you need a valid installation of the FLUKA software.

Changed:
<
<
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 proceed with the following instructions.
>
>
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 proceed with the following instructions.
  To compile the code you have to:
  • Go in the Simulation folder.
  • Source the link_FOOTpro.sh script.
  • After the code is compiled, check that you have a fluka_FOOT.exe executable created in your Simulation folder.
To run the code you have to.
  • Go in the Simulation folder.
  • Execute the command:
$FLUPRO/flutil/rfluka -e fluka_FOOT.exe -N0 -M1 FOOT_new
  • The output will appear in:

Decoding the output

The output format is a dat file. To have access to a tupled file you need to convert it using a converter.

Libraries are kept under TXT2ROOT folder.

  • Compile the converter in TXT2ROOT by issuing the command:
make
  • Then you can run the converter with the following command:
./Txt2Root -in ../FOOT_new001_TXT.dat -out FOOT_new001_TXT.root

This will generate the output.root file containing all the MC info needed for furher processing.

Event reconstruction

The reconstruction of the decoded MC events is accomplished using the reconstruction software documented in the related web page.

-- Alessio Sarti - 2016-07-06

Comments


<--/commentPlugin-->

Revision 42016-07-21 - GiuseppeBattistoni

 
META TOPICPARENT name="FOOTHome"

Home page of the FOOT simulation software


The simulation framework

The FOOT simulation is performed using the FLUKA software package.

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 you need a valid installation of the FLUKA software.

Changed:
<
<
You have to setup the $FLUKA, $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 proceed with the following instructions.
>
>
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 proceed with the following instructions.
  To compile the code you have to:
  • Go in the Simulation folder.
Changed:
<
<
  • Source the link_FOOT.sh script.
>
>
  • Source the link_FOOTpro.sh script.
 
  • After the code is compiled, check that you have a fluka_FOOT.exe executable created in your Simulation folder.
To run the code you have to.
  • Go in the Simulation folder.
  • Execute the command:
Changed:
<
<
$FLUTIL/rfluka -e fluka_FOOT.exe -N0 -M1 FOOT_new
>
>
$FLUPRO/flutil/rfluka -e fluka_FOOT.exe -N0 -M1 FOOT_new
 
  • The output will appear in:

Decoding the output

The output format is a dat file. To have access to a tupled file you need to convert it using a converter.

Libraries are kept under TXT2ROOT folder.

  • Compile the converter in TXT2ROOT by issuing the command:
make
  • Then you can run the converter with the following command:
./Txt2Root -in ../FOOT_new001_TXT.dat -out FOOT_new001_TXT.root

This will generate the output.root file containing all the MC info needed for furher processing.

Event reconstruction

The reconstruction of the decoded MC events is accomplished using the reconstruction software documented in the related web page.

-- Alessio Sarti - 2016-07-06

Comments


<--/commentPlugin-->

Revision 32016-07-07 - AlessioSarti

 
META TOPICPARENT name="FOOTHome"

Home page of the FOOT simulation software


The simulation framework

The FOOT simulation is performed using the FLUKA software package.

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 you need a valid installation of the FLUKA software.

You have to setup the $FLUKA, $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 proceed with the following instructions.

To compile the code you have to:

  • Go in the Simulation folder.
  • Source the link_FOOT.sh script.
  • After the code is compiled, check that you have a fluka_FOOT.exe executable created in your Simulation folder.
To run the code you have to.
  • Go in the Simulation folder.
  • Execute the command:
$FLUTIL/rfluka -e fluka_FOOT.exe -N0 -M1 FOOT_new
  • The output will appear in:

Decoding the output

The output format is a dat file. To have access to a tupled file you need to convert it using a converter.

Libraries are kept under TXT2ROOT folder.

  • Compile the converter in TXT2ROOT by issuing the command:
make
  • Then you can run the converter with the following command:
./Txt2Root -in ../FOOT_new001_TXT.dat -out FOOT_new001_TXT.root

This will generate the output.root file containing all the MC info needed for furher processing.

Added:
>
>

Event reconstruction

The reconstruction of the decoded MC events is accomplished using the reconstruction software documented in the related web page.

  -- Alessio Sarti - 2016-07-06

Comments


<--/commentPlugin-->

Revision 22016-07-07 - AlessioSarti

 
META TOPICPARENT name="FOOTHome"

Home page of the FOOT simulation software


The simulation framework

The FOOT simulation is performed using the FLUKA software package.

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 you need a valid installation of the FLUKA software.

You have to setup the $FLUKA, $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 proceed with the following instructions.

To compile the code you have to:

  • Go in the Simulation folder.
  • Source the link_FOOT.sh script.
  • After the code is compiled, check that you have a fluka_FOOT.exe executable created in your Simulation folder.
To run the code you have to.
  • Go in the Simulation folder.
  • Execute the command:
$FLUTIL/rfluka -e fluka_FOOT.exe -N0 -M1 FOOT_new
  • The output will appear in:
Added:
>
>

Decoding the output

The output format is a dat file. To have access to a tupled file you need to convert it using a converter.

Libraries are kept under TXT2ROOT folder.

  • Compile the converter in TXT2ROOT by issuing the command:
make
  • Then you can run the converter with the following command:
./Txt2Root -in ../FOOT_new001_TXT.dat -out FOOT_new001_TXT.root

This will generate the output.root file containing all the MC info needed for furher processing.

 -- Alessio Sarti - 2016-07-06

Comments


<--/commentPlugin-->

Revision 12016-07-06 - AlessioSarti

 
META TOPICPARENT name="FOOTHome"

Home page of the FOOT simulation software


The simulation framework

The FOOT simulation is performed using the FLUKA software package.

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 you need a valid installation of the FLUKA software.

You have to setup the $FLUKA, $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 proceed with the following instructions.

To compile the code you have to:

  • Go in the Simulation folder.
  • Source the link_FOOT.sh script.
  • After the code is compiled, check that you have a fluka_FOOT.exe executable created in your Simulation folder.
To run the code you have to.
  • Go in the Simulation folder.
  • Execute the command:
$FLUTIL/rfluka -e fluka_FOOT.exe -N0 -M1 FOOT_new
  • The output will appear in:
-- Alessio Sarti - 2016-07-06

Comments


<--/commentPlugin-->
 
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