Revision: | 1.1 |
Committed: | Sat Oct 22 15:08:08 2011 UTC (13 years, 6 months ago) by bendavid |
Branch: | MAIN |
CVS Tags: | Mit_032, Mit_031, Mit_025c_branch2, Mit_025c_branch1, Mit_030, Mit_029c, Mit_029b, Mit_030_pre1, Mit_029a, Mit_029, Mit_029_pre1, Mit_028a, Mit_025c_branch0, Mit_028, Mit_027a, Mit_027, Mit_026, Mit_025e, Mit_025d, Mit_025c, Mit_025b, Mit_025a, HEAD |
Branch point for: | Mit_025c_branch |
Log Message: | update setup script for 441 and patch hitpattern issue |
# | User | Rev | Content |
---|---|---|---|
1 | bendavid | 1.1 | Index: DataFormats/TrackReco/src/HitPattern.cc |
2 | =================================================================== | ||
3 | RCS file: /cvs/CMSSW/CMSSW/DataFormats/TrackReco/src/HitPattern.cc,v | ||
4 | retrieving revision 1.24 | ||
5 | diff -u -r1.24 HitPattern.cc | ||
6 | --- DataFormats/TrackReco/src/HitPattern.cc 9 Apr 2011 17:20:00 -0000 1.24 | ||
7 | +++ DataFormats/TrackReco/src/HitPattern.cc 22 Oct 2011 13:52:17 -0000 | ||
8 | @@ -156,7 +156,7 @@ | ||
9 | int count = 0; | ||
10 | for (int i=0; i<(PatternSize * 32) / HitSize; i++) { | ||
11 | uint32_t pattern = getHitPattern(i); | ||
12 | - if (pattern == 0) break; | ||
13 | + if (pattern == 0) continue; | ||
14 | ++count; | ||
15 | } | ||
16 | return count; |