Skip to content

Commit

Permalink
* if a beam photon hits in between a pair of the tagger counters,
Browse files Browse the repository at this point in the history
  don't save the tage as a hit in counter 0, that makes no sense. [rtj]
  • Loading branch information
rjones30 committed Aug 3, 2021
1 parent ecec9e9 commit 93a65eb
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/GlueXPseudoDetectorTAG.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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]) /
Expand All @@ -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;
Expand Down

0 comments on commit 93a65eb

Please sign in to comment.