Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73086
b: "refs/heads/CMSSW_7_1_X"
c: 4d0e5a2
h: "refs/heads/CMSSW_7_1_X"
v: v3
  • Loading branch information
Dmytro Kovalskyi committed Sep 6, 2009
1 parent 6f62144 commit 6166e13
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
refs/heads/gh-pages: 09c786f70121f131b3715aaf3464996502bbeb7e
"refs/heads/CMSSW_7_1_X": cea8df6b81b9c15817d256119c01de4c82b4d315
"refs/heads/CMSSW_7_1_X": 4d0e5a217f434e1160dcee1b31aa535b0e91a962
9 changes: 9 additions & 0 deletions trunk/TrackingTools/TrackAssociator/src/TrackDetMatchInfo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,15 @@ DetId TrackDetMatchInfo::findMaxDeposition( EnergyType type )
}
}
break;
case HORecHits:
{
for(std::vector<const HORecHit*>::const_iterator hit=hoRecHits.begin(); hit!=hoRecHits.end(); hit++)
if ( (*hit)->energy() > maxEnergy ) {
maxEnergy = (*hit)->energy();
id = (*hit)->detid();
}
}
break;
case TowerTotal:
case TowerEcal:
case TowerHcal:
Expand Down

0 comments on commit 6166e13

Please sign in to comment.