From d79f228d31754d1ea464496562e64bd9c94b9f1c Mon Sep 17 00:00:00 2001 From: "Stephen A. Wood" <saw@jlab.org> Date: Mon, 7 May 2018 14:51:16 -0400 Subject: [PATCH] THcHodoscope: Fill twogoodtimes properly by increment ihit properly --- src/THcHodoscope.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/THcHodoscope.cxx b/src/THcHodoscope.cxx index 4b6b8a3..58c076f 100644 --- a/src/THcHodoscope.cxx +++ b/src/THcHodoscope.cxx @@ -751,8 +751,8 @@ void THcHodoscope::EstimateFocalPlaneTime() hit->SetTwoGoodTimes(kFALSE); } } + ihit++; } - ihit++; fPlanes[ip]->SetFpTime(Plane_fptime_sum/float(Ngood_hits_plane)); fPlanes[ip]->SetNGoodHits(Ngood_hits_plane); } -- GitLab