Skip to content

Commit

Permalink
Merge pull request #4924 from mark-grimes/implementLangeSpeedup
Browse files Browse the repository at this point in the history
Small Shashlik reco speed improvement
  • Loading branch information
cmsbuild committed Aug 13, 2014
2 parents 906536e + 7b6a377 commit 5b1ad52
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions RecoParticleFlow/PFClusterTools/src/ClusterClusterMapping.cc
Expand Up @@ -16,13 +16,13 @@ bool ClusterClusterMapping::overlap(const reco::CaloCluster & sc1, const reco::C
}
for(unsigned i2=0;i2<nhits2;++i2)
{
// consider only with a minimum fraction of minfract (default 1%) of the RecHit
if(hits2[i2].second<minfrac ) {
if(debug) std::cout << " Discarding " << hits2[i2].first << " with " << hits2[i2].second << std::endl;
continue;
}
if(hits1[i1].first==hits2[i2].first)
{
// consider only with a minimum fraction of minfract (default 1%) of the RecHit
if(hits2[i2].second<minfrac ) {
if(debug) std::cout << " Discarding " << hits2[i2].first << " with " << hits2[i2].second << std::endl;
continue;
}
if(debug)
{
std::cout << " Matching hits " << hits1[i1].first << " with " << hits1[i1].second << " and " << hits2[i2].first;
Expand Down

0 comments on commit 5b1ad52

Please sign in to comment.