Skip to content

Commit

Permalink
Merge pull request #84 from JeffersonLab/drop_zero_energy_fcal_hits_rtj
Browse files Browse the repository at this point in the history
- stop making zero-energy hits in the fcal -rtj
  • Loading branch information
markito3 authored Jan 16, 2019
2 parents 3be5c38 + d1071bc commit 9d45e10
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 9d45e10

Please sign in to comment.