JetCalibTools: fix overflow/underflow in JMSCorrection
Hello,
This MR is fixing the treatment of underflows and overflows in JMSCorrection, and out-of-range interpolations. The problem was reported in ATEAM-955.
Somehow in the trigger, it happens that we pass pT_uncorr=pTMax
to getMassCorr
.
In that case, if ( pT_uncorr > pTMax ) pT_uncorr = pTMax-1e-6 ;
does nothing, and m_respFactorsMass[etabin]->Interpolate( pT_uncorr, mass_uncorr );
complains that we're out of the validity range.
So I changed >
to >=
and <
to <=
.
Cheers, Bertrand
Merge request reports
Activity
added bugfix label
CI Result SUCCESS (hash cc996825)Athena AnalysisBase AthAnalysis externals cmake make tests Full details available on this CI monitor view. Check the JIRA CI status board for known problems
Athena: number of compilation errors 0, warnings 0
AnalysisBase: number of compilation errors 0, warnings 0
AthAnalysis: number of compilation errors 0, warnings 0
For experts only: Jenkins output [CI-MERGE-REQUEST-EL9 4131]removed analysis-review-required label
added analysis-review-approved label
added review-approved label and removed review-pending-level-1 label
mentioned in commit 49109979