From 93a65eb6243daa0562cbd8105518d13dfee877cf Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Tue, 3 Aug 2021 16:08:35 -0400 Subject: [PATCH] * if a beam photon hits in between a pair of the tagger counters, don't save the tage as a hit in counter 0, that makes no sense. [rtj] --- src/GlueXPseudoDetectorTAG.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/GlueXPseudoDetectorTAG.cc b/src/GlueXPseudoDetectorTAG.cc index 6ec712a..b98f6d6 100644 --- a/src/GlueXPseudoDetectorTAG.cc +++ b/src/GlueXPseudoDetectorTAG.cc @@ -132,9 +132,6 @@ int GlueXPseudoDetectorTAG::addTaggerPhoton(const G4Event *event, E = (MICRO_CHANNEL_EMIN[i] + MICRO_CHANNEL_EMAX[i]) / 2; micro_channel = MICRO_CHANNEL_NUMBER[i]; } - else { - micro_channel = 0; - } } else if (E < HODO_LIMITS_ERANGE[0] && E > HODO_LIMITS_ERANGE[1]) { int i = HODO_NCHANNELS * (E - HODO_LIMITS_ERANGE[0]) / @@ -147,9 +144,6 @@ int GlueXPseudoDetectorTAG::addTaggerPhoton(const G4Event *event, E = (HODO_CHANNEL_EMIN[i] + HODO_CHANNEL_EMAX[i]) / 2; hodo_channel = HODO_CHANNEL_NUMBER[i]; } - else { - hodo_channel = 0; - } } if (micro_channel < 0 && hodo_channel < 0) return false;