Back to home page

EIC code displayed by LXR

 
 

    


Warning, /snippets/Tracking/PerformanceStudy/SinglePion/README.md is written in an unsupported language. File is not indexed.

0001 # Scripts to generate preTDR (sec 8.3.3) style plots for single particle tracking performance study
0002 Shujie Li  at lbl dot gov, Oct 2025
0003 * this only works for single particle (pi+ by default) simualtion. Only take first track per event to bypass the track-particle matching.
0004   
0005 Steps:
0006 0. generate rec rootfiles at a range of eta slices (e.g. -3.5, -2.5, -1, 1, 2.5, 3.5) and fixed momentum. Default output file name format:
0007    `rec_{setting}_eta_{eta_list[ii]:g}_{eta_list[ii+1]:g}_{mom}GeV_{nev}.root`
0008    One can also adjust this code to use the single particle simulation campaign file. 
0009 1. run run_performance_study.py to pull out bin-by-bin efficiency and dp/p, theta, phi, DCA_r resolutions. By default, results are saved at `eff_out.txt` and `resol_out_whole.txt`, one row = one momentum and eta slice.
0010 2. run run_performnace_plot.py to generate plots.