JeffersonLab / hallc_replay

Replay directory for Hall C hcana
0 stars 59 forks source link

On branch shms_hodo_work #539

Closed Yero1990 closed 2 years ago

Yero1990 commented 2 years ago

Changes to be committed: modified: fitHodoCalib.C new file: hallc_parse_utils.h new file: parse_utils.h modified: timeWalkCalib.C modified: timeWalkHistos.C 1) minor improvements to the timeWalkCalib.C to add single hit per plane and get cleaner time-walk distribution for improved fitting 2) minor improvements to the timeWalkHistos.C to save histograms to .png format, (changes were actually made by Jacob Murphy/Nathan Heinrich) 3) major improvements to fitHodoCalib.C to put restrictive contrains on events that are calibrated using the "LITE HIT FILTERING" approach idealized by D. Mack and implemented by me. The are also additional constraints on the velocity parameters to actually write out realistic velocities within a specified range, as well as improved the hodoscope sigma (resolution) parameters. I have also added lines of code to calculate beta from the calibrated parameters, to compare with the beta from HCANA.

  1. added parse_utils.h and hallc_parse_utils.h header files which are used to do the beta calculation from within the fitHodoCalib.C code. These header files can also be useful for other applications which need parameter readout from other param files.