From f26f83cfb78e8311f711d09dcaf1cb11c59842e7 Mon Sep 17 00:00:00 2001 From: "rodwyer@stanford.edu" Date: Fri, 9 Aug 2024 14:54:35 -0700 Subject: [PATCH] I am committing the requested changes --- .../org/hps/recon/tracking/ShaperPileupFitAlgorithm.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tracking/src/main/java/org/hps/recon/tracking/ShaperPileupFitAlgorithm.java b/tracking/src/main/java/org/hps/recon/tracking/ShaperPileupFitAlgorithm.java index 7e79bbb9a..ce8a05eca 100644 --- a/tracking/src/main/java/org/hps/recon/tracking/ShaperPileupFitAlgorithm.java +++ b/tracking/src/main/java/org/hps/recon/tracking/ShaperPileupFitAlgorithm.java @@ -37,9 +37,9 @@ public Collection fitShape(RawTrackerHit rth, PulseShape sha if (singlePulseChiProb < refitThreshold) { refitAttempts++; Collection doublePulse = twoPulseFitter.fitShape(rth, shape); - ShapeFitParameters Hello = doublePulse.iterator().next(); - double doublePulseChiProb = Hello.getChiProb(); - double time1 = Hello.getT0(); + ShapeFitParameters doubleParam = doublePulse.iterator().next(); + double doublePulseChiProb = doubleParam.getChiProb(); + double time1 = doubleParam.getT0(); double time2 = fittedPulses.iterator().next().getT0(); if (doublePulseChiProb > singlePulseChiProb) { if(((time2-time1)*(time2-time1)>40.0)||(doOldDT==1)){