Difference: FOOTReconstruction (12 vs. 13)

Revision 132019-12-16 - AlessioSarti

 
META TOPICPARENT name="FOOTSoftware"

SHOE Reconstruction software (of the FOOT experiment)


Architecture of the SHOE-Reconstuction code

The part of SHOE dedicated to the event reconstracion is divided in 3 parts:

  1. Libraries of general interest, containing the main classes used by the reconstruction (and in part by the generation) code. The GenFit external libraries are also here.
  2. Level0 reconstruction code that is in charge of the interpretation of both MC and acquired data, digitization, alignment and clustering of the events and the track reconstruction.
  3. HighLevel reconstruction that is in charge of the fragment identification and of the cross section measurement.

A breaf scheme of SHOE-reco follows.

FOOT_code_schema.png

Running SHOE

Getting the code

The instructions on how to get the code can be found in the sotfware page.

Environment setup

Every time you enter in your machine, you have to setup the SHOE environment doing:

# starting from where you installed the software
cd shoe
source setupFOOT.sh
source /opt/rh/devtoolset-6/enable; source  /opt/exp_software/foot/root4foot.sh

SHOE compilation and run

The software compilatin proceeds in 2 steps:

  1. GenFit compile
  2. SHOE libraries compilation;
  3. Level0 compilation;
GenFit compile

Setup the environment and go to the folder

source /opt/rh/devtoolset-6/enable; source  /opt/exp_software/foot/root4foot.sh

cd $FOOTMAIN/libs/GenFit

and follow the instructions in the file README.build

SHOE libraries compilation

Go to the SHOE libraries folder

cd $FOOTMAIN
source setupFOOT.sh
source /opt/rh/devtoolset-6/enable; source  /opt/exp_software/foot/root4foot.sh
Changed:
<
<
cd $FOOTREF
>
>
cd $FOOTREF
  and compile
make -j8

Then you can check out that the libraries are properly compiled and placed inside the libs/lib folder.

Level0 compilation and run

Go to the level0 folder and compile the code using the command:

cd $FOOTLEVEL0
make DecodeMC -j8

This will produce as output the DecodeMC executable. You can run it by doing:

./DecodeMC -in MCinputFile.root

Before running, have a look at the global parameters defined in the global configuration file:

nano $FOOTCONFIG/FootGlobal.par

(exit with ctrl-x).

Input Files

You can find the available MC samples lsted and described here. They are stored in the Bologna-tier3 site under: /home/FOOT-T3/battistfoott3/SimulatedData.

The current version of SHOE supports V12.4 simulated samples.

Output Files

The SHOE-reconstuction code stores the information in an ntuple file and in ah histogram file:

DecodedMC.root
DecodeMC_histo.root

The KalmanFilter tracking info are plotter in the results folder as .root and .png files.

The reconstruction of data events

Still a long way to go...

Deleted:
<
<
Developer instructions

Anyone who wants to develop its own part of the code and wants to add it back on a second time, should please follows the instrctions below:

  1. Contact the code managers.
  2. Download (git clone) of update (git pull) to the latest version of the code (master branch).
  3. Create your new branch (git checkout -b branchName).
  4. Work on your branch and commit regularly.
  5. When your task is done and you wants to merge back to the main (master) branch, contact the code managers (or make a merge request on baltig page).

You can find more information in the following slides done at the SHOE tutorial in Bologna on 7-8th March 2018: Reconsturction slides & Ntuple descrition slides
I recall you can find the exercises solution in in the git branch "xxx02", to be compared with the tutorial stable branch "tutorial01".

  -- Alessio Sarti - 2016-07-06 -- Schiccio Frank - 2017-07-03

Comments


<--/commentPlugin-->

META FILEATTACHMENT attachment="FOOT_code_schema.png" attr="" comment="" date="1499098607" name="FOOT_code_schema.png" path="FOOT_code_schema.png" size="630444" user="SchiccioFrank" version="1"
 
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