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)){