@@ -500,14 +500,12 @@ void PatternRecognitionbyCLUE3D<TILES>::calculateLocalDensity(
500500 // Skip masked layer clusters
501501 if ((layerandSoa.first == -1 ) && (layerandSoa.second == -1 ))
502502 continue ;
503- auto const & clustersLayer = clusters_[layerandSoa.first ];
503+ auto const & clustersLayer = clusters_[layerandSoa.first ];
504504 if (PatternRecognitionAlgoBaseT<TILES>::algo_verbosity_ > PatternRecognitionAlgoBaseT<TILES>::Advanced) {
505505 edm::LogVerbatim (" PatternRecogntionbyCLUE3D" )
506506 << " OtherLayer: " << layerandSoa.first << " SoaIDX: " << layerandSoa.second ;
507- edm::LogVerbatim (" PatternRecogntionbyCLUE3D" )
508- << " OtherEta: " << clustersLayer.eta [layerandSoa.second ];
509- edm::LogVerbatim (" PatternRecogntionbyCLUE3D" )
510- << " OtherPhi: " << clustersLayer.phi [layerandSoa.second ];
507+ edm::LogVerbatim (" PatternRecogntionbyCLUE3D" ) << " OtherEta: " << clustersLayer.eta [layerandSoa.second ];
508+ edm::LogVerbatim (" PatternRecogntionbyCLUE3D" ) << " OtherPhi: " << clustersLayer.phi [layerandSoa.second ];
511509 }
512510 // extend by 26 mm, roughly 2 cells, more wrt sum of radii
513511 float delta = clustersOnLayer.radius [i] + clustersLayer.radius [layerandSoa.second ] + 2 .6f ;
@@ -530,11 +528,11 @@ void PatternRecognitionbyCLUE3D<TILES>::calculateLocalDensity(
530528 clusters_[layerandSoa.first ].energy [layerandSoa.second ];
531529 }
532530 }
533- } // end of loop on possible compatible clusters
534- } // end of loop over phi-bin region
535- } // end of loop over eta-bin region
536- } // end of loop on the sibling layers
537- } // end of loop over clusters on this layer
531+ } // end of loop on possible compatible clusters
532+ } // end of loop over phi-bin region
533+ } // end of loop over eta-bin region
534+ } // end of loop on the sibling layers
535+ } // end of loop over clusters on this layer
538536 if (PatternRecognitionAlgoBaseT<TILES>::algo_verbosity_ > PatternRecognitionAlgoBaseT<TILES>::Advanced) {
539537 edm::LogVerbatim (" PatternRecogntionbyCLUE3D" ) << std::endl;
540538 }
@@ -593,9 +591,9 @@ void PatternRecognitionbyCLUE3D<TILES>::calculateDistanceToHigher(
593591 continue ;
594592 auto const &clustersOnOtherLayer = clusters_[layerandSoa.first ];
595593 float dist = reco::deltaR2 (clustersOnLayer.eta [i],
596- clustersOnLayer.phi [i],
597- clustersOnOtherLayer.eta [layerandSoa.second ],
598- clustersOnOtherLayer.phi [layerandSoa.second ]);
594+ clustersOnLayer.phi [i],
595+ clustersOnOtherLayer.eta [layerandSoa.second ],
596+ clustersOnOtherLayer.phi [layerandSoa.second ]);
599597 bool foundHigher = (clustersOnOtherLayer.rho [layerandSoa.second ] > clustersOnLayer.rho [i]) ||
600598 (clustersOnOtherLayer.rho [layerandSoa.second ] == clustersOnLayer.rho [i] &&
601599 clustersOnOtherLayer.layerClusterOriginalIdx [layerandSoa.second ] >
@@ -621,8 +619,8 @@ void PatternRecognitionbyCLUE3D<TILES>::calculateDistanceToHigher(
621619 bool foundNearestHigherInEtaPhiCylinder = (i_delta != maxDelta);
622620 if (PatternRecognitionAlgoBaseT<TILES>::algo_verbosity_ > PatternRecognitionAlgoBaseT<TILES>::Advanced) {
623621 edm::LogVerbatim (" PatternRecogntionbyCLUE3D" )
624- << " i_delta: " << sqrt (i_delta) << " passed: " << foundNearestHigherInEtaPhiCylinder << " " << i_nearestHigher. first
625- << " " << i_nearestHigher.second ;
622+ << " i_delta: " << sqrt (i_delta) << " passed: " << foundNearestHigherInEtaPhiCylinder << " "
623+ << i_nearestHigher. first << " " << i_nearestHigher.second ;
626624 }
627625 if (foundNearestHigherInEtaPhiCylinder) {
628626 clustersOnLayer.delta [i] = sqrt (i_delta);
@@ -697,7 +695,7 @@ int PatternRecognitionbyCLUE3D<TILES>::findAndAssignTracksters(
697695}
698696
699697template <typename TILES>
700- void PatternRecognitionbyCLUE3D<TILES>::fillPSetDescription(edm::ParameterSetDescription& iDesc) {
698+ void PatternRecognitionbyCLUE3D<TILES>::fillPSetDescription(edm::ParameterSetDescription & iDesc) {
701699 iDesc.add <int >(" algo_verbosity" , 0 );
702700 iDesc.add <double >(" criticalDensity" , 4 )->setComment (" in GeV" );
703701 iDesc.add <int >(" densitySiblingLayers" , 3 );
0 commit comments