Dc calib work (#430)
* set wire t0 = card t0 in card mode (fixes anomaly in parameter file) :: set good event definition as ndata==1 && cal_energy>0.1 && cer_npe>1.0 * minor fix in wire t0 tzero determination from card tzero * added t0_card_err criteria to determine whether to set t0 per card to zero because of low statistics. (Some edge cards also have low statistics when the calibration has PID cuts ) * Added GetCardT0_alternative() method, which determines the T0 of the per-card drift time if certain criteria are met, such as the number of entries per card. This method was developed to correctly account for the T0 for edge cards with low statistics. Although this is rare to find, there were ocassions in which entries for edge cards were low adter applying PID cuts.
Showing
- CALIBRATION/dc_calib/scripts/DC_calib.C 130 additions, 23 deletionsCALIBRATION/dc_calib/scripts/DC_calib.C
- CALIBRATION/dc_calib/scripts/DC_calib.h 6 additions, 1 deletionCALIBRATION/dc_calib/scripts/DC_calib.h
- CALIBRATION/dc_calib/scripts/main_calib.C 3 additions, 2 deletionsCALIBRATION/dc_calib/scripts/main_calib.C
Loading
Please register or sign in to comment