1. Getting fine-time curves
tdisplay -a3 -j10 "trb_calib\*.hld.root"
Check the quality of curves and press "Fine Calib" button to export them into calibFT.root
2. Getting TOT offsets
tdisplay -a3 -j10 -c calibFT.root "trb_calib\*.hld.root"
press "TOT offset" button to export them into calibTO.root
Merge data into one file:
hadd c0.root calibFT.root calibTO.root
3. Getting TOT peaks for walk correction
tdisplay -a3 -j10 -c c0.root "picoquant\*.hld.root"
press "TOT peaks" button to export them into calibTP.root
Merge data into one file:
hadd c1.root c0.root calibTP.root
4. Getting LE offsets from laser runs
tdisplay -a3 -j10 -c c1.root "picoquant\*.hld.root"
press "LE offset" button to export them into calibLO.root
Another merge:
hadd c2.root c1.root calibLO.root
5. Getting event offsets from simulations
Use "studyloop" script to run simulations. procOffsets.C macro will get offset from data and sim. and will put it into beam*.root.off.root file. Merge them with hadd (e.g. hadd off.root beam*.root.off.root)
Final merge:
hadd c3.root c2.root off.root
Example of usage:
tcalibration -m5 -c c3.root beam_15177011203.hld.root