From 052f12a2ffb20d00ee6caa62125f7423b75dc8ad Mon Sep 17 00:00:00 2001
From: "Stephen A. Wood" <saw@jlab.org>
Date: Mon, 24 Oct 2016 10:57:03 -0400
Subject: [PATCH] Bug fix in track tests part of THcHodoscope::FineProcess  
 Replace > with >= so fGoodScinHits can get set

---
 src/THcHodoscope.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/THcHodoscope.cxx b/src/THcHodoscope.cxx
index 1db52ac..39d1c9c 100644
--- a/src/THcHodoscope.cxx
+++ b/src/THcHodoscope.cxx
@@ -1494,7 +1494,7 @@ Int_t THcHodoscope::FineProcess( TClonesArray& tracks )
 
   // * now define a 3/4 or 4/4 trigger of only good scintillators the value
   // * is specified in htracking.param...
-  if ( fTestSum > fTrackEffTestNScinPlanes ){
+  if ( fTestSum >= fTrackEffTestNScinPlanes ){
     fGoodScinHits = 1;
     for (Int_t ifidx = fxLoScin[0]; ifidx < fxHiScin[0]; ifidx ++ ){
       if ( fSweet1XScin == ifidx )
-- 
GitLab