Requirements

The enviroment must be set up according to the guide

Reconstruction: building the code

The source code for the trace reconstruction application is available in baltig

These are the steps required for building and install the application locally: 

mkdir $HOME/Software
cd $HOME/Software
git clone https://baltig.infn.it/muontomography/trace-reco.git PattRec
cd PattRec
mkdir build
cd build
cmake3 -DCMAKE_INSTALL_PREFIX=$HOME/Software/PattRec -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
make
make install
cd $HOME/Software/PattRec
ln -s bin/runPR .

Reconstruction: running the application

Assumed that the dataset files:

The track reconstruction can be run with the following command: 

./runPR --dataset=$HOME/Data/<dataset name without extension> --run=<run number> --maxevn=1000000 >& LOG/log_<run number>.txt

The executable produces a set of data files in the OUTPUT  directory and log files in the LOG  directory.