From d1577920b5513d6c468c8fb1b140b97915314925 Mon Sep 17 00:00:00 2001 From: Sarah Gaiser Date: Wed, 29 May 2024 13:53:13 -0700 Subject: [PATCH 1/2] adding singles2 trigger for overlay reconstruction --- ...2019TrigSinglesWithPulserDataMerging.lcsim | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/steering-files/src/main/resources/org/hps/steering/readout/PhysicsRun2019TrigSinglesWithPulserDataMerging.lcsim b/steering-files/src/main/resources/org/hps/steering/readout/PhysicsRun2019TrigSinglesWithPulserDataMerging.lcsim index 27bb2227a..f1afda715 100644 --- a/steering-files/src/main/resources/org/hps/steering/readout/PhysicsRun2019TrigSinglesWithPulserDataMerging.lcsim +++ b/steering-files/src/main/resources/org/hps/steering/readout/PhysicsRun2019TrigSinglesWithPulserDataMerging.lcsim @@ -35,7 +35,8 @@ - + + @@ -395,7 +396,7 @@ - + EcalClustersGTP HodoscopePatterns @@ -406,6 +407,20 @@ 15 + + + EcalClustersGTP + + HodoscopePatterns + + singles2 + + true + + + 15 + + From 619d83bd56209fbf0f78088f4caf653158e193dc Mon Sep 17 00:00:00 2001 From: Cameron Bravo Date: Thu, 18 Jul 2024 10:00:41 -0700 Subject: [PATCH 2/2] 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){