From 33986d773e2847ece9b3f76e8ea1a6307ded145f Mon Sep 17 00:00:00 2001 From: Sean Dobbs Date: Fri, 31 Jan 2020 18:16:01 -0500 Subject: [PATCH] Use actual TDC time instead of the timewalk corrected time for calibrations --- .../Calibration/TAGH_timewalk/JEventProcessor_TAGH_timewalk.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/Calibration/TAGH_timewalk/JEventProcessor_TAGH_timewalk.cc b/src/plugins/Calibration/TAGH_timewalk/JEventProcessor_TAGH_timewalk.cc index d3e3a7d0e..90c6c97e1 100644 --- a/src/plugins/Calibration/TAGH_timewalk/JEventProcessor_TAGH_timewalk.cc +++ b/src/plugins/Calibration/TAGH_timewalk/JEventProcessor_TAGH_timewalk.cc @@ -120,7 +120,7 @@ jerror_t JEventProcessor_TAGH_timewalk::evnt(JEventLoop *loop, uint64_t eventnum const DTAGHHit *hit = taghhits[i]; if (!hit->has_TDC || !hit->has_fADC) continue; int id = hit->counter_id; - double t_tdc = hit->t; + double t_tdc = hit->time_tdc; double t_adc = hit->time_fadc; double pulse_height = hit->pulse_peak; hTAGH_tdcadcTimeDiffVsSlotID->Fill(id,t_tdc-t_adc);