Skip to content

Commit

Permalink
Merge pull request #176 from tstreble/dRNNC2d_update
Browse files Browse the repository at this point in the history
dRNNC2D update
  • Loading branch information
jbsauvan authored Jan 23, 2018
2 parents 584abd2 + 398f593 commit e8d1163
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ void HGCalClusteringImpl::removeUnconnectedTCinCluster( l1t::HGCalCluster & clus
const edm::Ptr<l1t::HGCalTriggerCell>& tcToStudy = distances[itc].first;

/* compare with the tc in the cluster */
for( unsigned itc_ref=1; itc_ref<itc; itc_ref++ ){
for( unsigned itc_ref=0; itc_ref<itc; itc_ref++ ){
if( !toRemove[itc_ref] ) {
if( areTCneighbour( tcToStudy->detId(), distances.at( itc_ref ).first->detId(), triggerGeometry ) ) {
toRemove[itc] = false;
Expand Down

0 comments on commit e8d1163

Please sign in to comment.