Skip to content

Commit

Permalink
HTCC: do not stop clustering if a cluster fails the cuts
Browse files Browse the repository at this point in the history
  • Loading branch information
raffaelladevita authored and baltzell committed Dec 5, 2024
1 parent 8e265ae commit ad5cdb4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ public void processEvent(DataEvent event) {

// Place all of the hits into clusters
List<HTCCCluster> clusters = new ArrayList();
HTCCCluster cluster;
while (!remainingHits.isEmpty() && (cluster = findCluster(remainingHits)) != null) {
clusters.add(cluster);
while (!remainingHits.isEmpty()) {
HTCCCluster cluster = findCluster(remainingHits);
if(cluster!=null) clusters.add(cluster);
}

// Push all of the clusters into the bank and print the results
Expand Down

0 comments on commit ad5cdb4

Please sign in to comment.