We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0628981 commit a31466fCopy full SHA for a31466f
1 file changed
src/main/java/org/jlab/clas/timeline/fitter/ALERTFitter.groovy
@@ -47,8 +47,8 @@ class ALERTFitter{
47
f1.setOptStat("1111");
48
double maxz = h1.getBinContent(h1.getMaximumBin());
49
double peak_location = h1.getAxis().getBinCenter(h1.getMaximumBin());
50
- if (h1.getAxis().getBinCenter(h1.getMaximumBin())-h1.getAxis().getBinCenter(0) < 92) f1.setRange(peak_location - 50, peak_location + 10);
51
- else f1.setRange(peak_location - 10, peak_location + 50);
+ if (h1.getAxis().getBinCenter(h1.getMaximumBin())-h1.getAxis().getBinCenter(0) < 93) f1.setRange(peak_location - 50, peak_location + 5);
+ else f1.setRange(peak_location - 5, peak_location + 50);
52
f1.setParameter(0,maxz-h1.getBinContent(0));
53
f1.setParameter(1, peak_location);
54
f1.setParameter(2, 5.0);
0 commit comments