Versions Compared

Key

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

...

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> --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., 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 layer for pattern reconstruction
min_nhit_theta = 4
# maximum number of hits per 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

The command line options dataset and maxevn are not mandatory, they can be defined in the configuration file