Skip to content

Commit

Permalink
Update GateCoincidenceSorter.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
Oudihat-Radia authored Sep 3, 2024
1 parent c7e61c6 commit 45ef057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/digits_hits/src/GateCoincidenceSorter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ G4bool GateCoincidenceSorter::IsForbiddenCoincidence(const GateDigi* digi1, cons


// Check the distance 's' against the maximum threshold
if ((m_minS > 0) && (fabs(s) > m_minS)) {
if ((m_minS < 0) && (fabs(s) < m_minS)) {
if (nVerboseLevel > 1)
G4cout << "[GateCoincidenceSorter::IsForbiddenCoincidence]: distance s too large --> refused\n";
return true;
Expand Down

0 comments on commit 45ef057

Please sign in to comment.