From 4972a031e0b64c521b22d574b3eb955366310f80 Mon Sep 17 00:00:00 2001 From: Maurik Holtrop Date: Wed, 16 Oct 2024 17:27:48 +0200 Subject: [PATCH] Remove requirement for only 2 electrons in the event. --- .../hps/recon/particle/HpsReconParticleDriver.java | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/recon/src/main/java/org/hps/recon/particle/HpsReconParticleDriver.java b/recon/src/main/java/org/hps/recon/particle/HpsReconParticleDriver.java index 45d930916..54c93b14a 100644 --- a/recon/src/main/java/org/hps/recon/particle/HpsReconParticleDriver.java +++ b/recon/src/main/java/org/hps/recon/particle/HpsReconParticleDriver.java @@ -431,15 +431,17 @@ public void findMollers(List electrons) { botElectrons.add(electron); } } - - if (topElectrons.size() > 1 || botElectrons.size() > 1) { - return; - } +// ---- This requirement is too strict, and cuts out a lot of events. +// It can cut *all* moller events if both KF and GBL are used. +// +// if (topElectrons.size() > 1 || botElectrons.size() > 1) { +// return; +// } // Iterate over the collection of electrons and create e-e- pairs for (ReconstructedParticle topElectron : topElectrons) { for (ReconstructedParticle botElectron : botElectrons) { - // Don't vertex a GBL track with a SeedTrack. + // Don't vertex a GBL track with a SeedTrack or KF track. if (TrackType.isGBL(topElectron.getType()) != TrackType.isGBL(botElectron.getType())) { continue; }