Skip to content

Commit

Permalink
Merge pull request #46813 from CMSTrackerDPG/DropFakePixelsFromFinalC…
Browse files Browse the repository at this point in the history
…lusters_from-CMSSW_14_2_0_pre4

Allow using fake pixels from the digi morphing algorithm as cluster seeds but drop them from final clusters
  • Loading branch information
cmsbuild authored Nov 29, 2024
2 parents dbc4504 + ad18068 commit 37e72b5
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,9 @@ SiPixelCluster PixelThresholdClusterizer::make_cluster(const SiPixelCluster::Pix

AccretionCluster acluster, cldata;
acluster.add(pix, seed_adc);
cldata.add(pix, seed_adc);
if (!theFakePixels[pix.row() * theNumOfCols + pix.col()]) {
cldata.add(pix, seed_adc);
}

//Here we search all pixels adjacent to all pixels in the cluster.
bool dead_flag = false;
Expand Down

0 comments on commit 37e72b5

Please sign in to comment.