Instructions on how to run drivers for SVT hit efficiency studies and general unbiased residual studies. This must be run on readout files for MC and evio files for data.

SVT Hit Efficiencies Presentation

TODO:

  1. Update track extrapolations to latest functions
  2. Correct computation of track extrapolation errors
  3. Move general functions to a different driver
  4. Write driver and steering file to combine the hit efficiencies of multiple files
  5. Fix some plots on python analysis code and include fits as functions of u and v
  6. Move python analysis code to HPS-CODE

Run the following command on an input file of interest for an MC readout file.

java -jar <jar file> steering-files/src/main/resources/org/hps/steering/analysis/SVTHitPlots.lcsim -i <input file> -DoutputFile=<output file base name>

OR run the following command on an input file of interest for a data evio file.

java -cp <jar file> org.hps.evio.EvioToLcio -x steering-files/src/main/resources/org/hps/steering/analysis/SVTHitPlots.lcsim <input file> -DoutputFile=<output file base name>

 

Output files:

  1. <output file base name>.root (root file of all histograms)
  2. <output file base name>.slcio (lcio file of reconstructed tracks with missing layer)
  3. <output file base name>.txt (text file of column 1 = channel ID, column 2 = hit efficiency)

To analyze, you will need to clone the following git repository (this will be moved into the HPS-CODE in the near future).

git clone https://github.com/mrsolt/HPS

Run the following command where <input file base name>.root is the output file from above.

python HPS/SVT/PlotAllSensorEffPlots.py <output file base name> <input file base name>.root

This will output dozens of pdf files showing hit efficiencies, unbiased residuals, and u pulls and functions of u, v, and momentum. Track parameter errors are also computed. These are separated by positron and electron.

  • No labels