Skip to content

Commit

Permalink
- stop making zero-energy hits in the fcal -rtj
Browse files Browse the repository at this point in the history
  • Loading branch information
rjones30 committed Jan 15, 2019
1 parent 3be5c38 commit d1071bc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/GlueXSensitiveDetectorFCAL.cc
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,9 @@ G4bool GlueXSensitiveDetectorFCAL::ProcessHits(G4Step* step,
dEcorr *= (gamma > 1.25)? 1.35 : 0;
}

if (dEcorr == 0)
return true;

// Add the hit to the hits vector, maintaining strict time ordering

int merge_hit = 0;
Expand Down

0 comments on commit d1071bc

Please sign in to comment.