JeffersonLab / hallc_replay

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

Cal calib update #524

Closed MarkKJones closed 5 years ago

MarkKJones commented 5 years ago

Update THcShowerCalib in shms_cal_calib and hms_cal_calib

Recently ROOT had a problem with the way that the track "tr" variables which are array were being read-in the code. Decide just to use the "gtr" variables which are not arrays.

Update hms_cal_calib THcShowerCalib.h

Used the "golden" track, gtr , variables instead of "tr" variables.

Used H.cer.NpeSum instead of individual H.cer.npe[0] and [1]

USe H.hod.beta instead of H.tr.beta

Updated shms_cal_calib/THcPShowerCalib.h

Use the golden track, "gtr" or drift chamber "dc", "dc" instead of "tr" variables.

use npeSum instead of individual npe for Cherenkov.

Use hod.beta instead of tr.beta