Skip to content

Commit

Permalink
Fix of dRNNC2D
Browse files Browse the repository at this point in the history
Fix for dRNNC2D (to get C2Ds with more than one cell)
  • Loading branch information
tstreble authored Jan 22, 2018
1 parent df242f2 commit 398f593
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 398f593

Please sign in to comment.