Skip to content

Commit

Permalink
Update CaloSD.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
mrodozov committed Dec 16, 2019
1 parent 74d2913 commit b4ba518
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SimG4CMS/Calo/src/CaloSD.cc
Expand Up @@ -323,7 +323,7 @@ bool CaloSD::checkHit() {
} else if (nCheckedHits > 0) {
int nhits = theHC->entries();
int minhit = std::max(nhits - nCheckedHits, 0);
int maxhit = - 1;
int maxhit = -1;

for (int j = maxhit; j > minhit; --j) {
if ((*theHC)[j]->getID() == currentID) {
Expand Down

0 comments on commit b4ba518

Please sign in to comment.