Skip to content

Commit

Permalink
Remove requirement for only 2 electrons in the event.
Browse files Browse the repository at this point in the history
  • Loading branch information
mholtrop committed Oct 16, 2024
1 parent ebef32b commit 4972a03
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -431,15 +431,17 @@ public void findMollers(List<ReconstructedParticle> 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;
}
Expand Down

0 comments on commit 4972a03

Please sign in to comment.