Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tools

The

...

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: 

No Format
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 -DBOOST_INCLUDEDIR=/usr/include/boost169/ -DBOOST_LIBRARYDIR=/usr/lib64/boost169/ ..
make
make install
cd $HOME/Software/PattRec
ln -s bin/runPR .

Reconstruction: running the application

Assumed that the dataset files:

  • are stored in the directory $HOME/Data
  • have an extension .i<serial number>

The track reconstruction can be run with the following command: 

No Format
./runPR --conf=$HOME/Software/PattRec/chamber0.ini --dataset=$HOME/Data/<dataset name without extension> --maxevn=1000000 

The executable produces a set of data files in the OUTPUT  directory, the dataset name (without the extension) is used as a prefix for the output files. The option conf specifies the full name of a configuration file; an example of configuration file, with documented items, is the file mutomca_pr.ini, located in the working directory: 

No Format
# directory for output files
outdir = ./OUTPUT
# minimum number of hits per super-layer for pattern reconstruction
min_nhit_theta = 4
# maximum number of hits per super-layer for pattern reconstruction
max_nhit_theta = 8
# number of event to be processed (default 100000000) if not specified in the command line
maxevn = 100000000

# dataset path (withou extension .i*) if not specified in the command line
#dataset=/mnt/muotom-data/data/castor/altea/rawdata/3_V_100_TrgAndPhi_5hits-4layers_mask_2404_3316_43

# tubes to be excluded from the pattern reconstruction (space-separated list of <layerid>,<tubeid>)
#bad_tubes = 0,12 1,32 2,9

# mean timer threshold (default 10.0)
mtimer_threshold = 10.0

...

following applications can be used to reconstruct tracks from the CMS Super-Layers (SL) detectors: