From 619d83bd56209fbf0f78088f4caf653158e193dc Mon Sep 17 00:00:00 2001 From: Cameron Bravo Date: Thu, 18 Jul 2024 10:00:41 -0700 Subject: [PATCH] Fix vspliting to add both cluster instead just one --- .../org/hps/recon/tracking/NearestNeighborRMSClusterer.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tracking/src/main/java/org/hps/recon/tracking/NearestNeighborRMSClusterer.java b/tracking/src/main/java/org/hps/recon/tracking/NearestNeighborRMSClusterer.java index 6adebd33e..87a0c74ca 100644 --- a/tracking/src/main/java/org/hps/recon/tracking/NearestNeighborRMSClusterer.java +++ b/tracking/src/main/java/org/hps/recon/tracking/NearestNeighborRMSClusterer.java @@ -340,6 +340,7 @@ private ArrayList> hasV(List cluster){ } vloc.add(maxChan); ArrayList> clusters = new ArrayList>(); + //System.out.println("Start of New Clustering"); for(int I=0;I clusterS = new ArrayList(); for(int II=vloc.get(I);II<=vloc.get(I+1);II++){ @@ -350,9 +351,11 @@ private ArrayList> hasV(List cluster){ int channel_number = sid_helper.getElectrodeValue(id); if(channel_number==II){ clusterS.add(cluster.get(III)); + //System.out.println(channel_number); } } } + //System.out.print("\n\n"); clusters.add(clusterS); } if(clusters.size()==0){