Skip to content

Commit

Permalink
I am committing the requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Aug 9, 2024
1 parent 32adc40 commit f26f83c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ public Collection<ShapeFitParameters> fitShape(RawTrackerHit rth, PulseShape sha
if (singlePulseChiProb < refitThreshold) {
refitAttempts++;
Collection<ShapeFitParameters> 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)){
Expand Down

0 comments on commit f26f83c

Please sign in to comment.