Skip to content

Commit

Permalink
Fix HitPattern::stripHitFilter
Browse files Browse the repository at this point in the history
Fixes the failing unit test.
  • Loading branch information
makortel committed Jan 25, 2019
1 parent f214ef9 commit 0a80e58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DataFormats/TrackReco/interface/HitPattern.h
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ inline bool HitPattern::pixelEndcapHitFilter(uint16_t pattern)

inline bool HitPattern::stripHitFilter(uint16_t pattern)
{
return pattern > minStripWord;
return pattern > minStripWord && pattern <= maxTrackerWord;
}


Expand Down

0 comments on commit 0a80e58

Please sign in to comment.