Skip to content

Commit

Permalink
Fixed indexing error in reclusterize()
Browse files Browse the repository at this point in the history
  • Loading branch information
Burt Betchart committed Apr 7, 2009
1 parent ff2a64d commit 4aed100
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ reclusterize(const edm::ParameterSet& conf) const {
algorithm->initialize(es);

if( algorithm->stripByStripBegin( detId() )) {
for(unsigned strip = firstStrip(); strip < firstStrip()+charges.size(); strip++)
algorithm->stripByStripAdd( strip, charges.at(strip), clusters );
for(unsigned i = 0; i<width(); i++)
algorithm->stripByStripAdd( firstStrip()+i, charges[i], clusters );
algorithm->stripByStripEnd( clusters );
}

Expand Down

0 comments on commit 4aed100

Please sign in to comment.