ATLAS Offline Software
|
Helper class for calculating the energy interpolation table. More...
Public Member Functions | |
Builder (const CxxUtils::Array< 3 > &correction, const CxxUtils::Array< 1 > &interp_barriers, int degree, float aeta) | |
Constructor. More... | |
virtual float | calculate (int energy_ndx, bool &good) const |
Calculate the correction for tabulated energy ENERGY_NDX. More... | |
Private Attributes | |
const CxxUtils::Array< 3 > | m_correction |
Tabulated arrays of function parameters. More... | |
const CxxUtils::Array< 1 > | m_interp_barriers |
Allow breaking up the interpolation into independent regions. More... | |
int | m_degree |
Degree of the polynomial interpolation. More... | |
float | m_aeta |
The abs(eta) at which the correction is being evaluated (in cal-local coordinates). More... | |
Helper class for calculating the energy interpolation table.
Definition at line 97 of file CaloSwPhioff_v2.h.
CaloSwPhioff_v2::Builder::Builder | ( | const CxxUtils::Array< 3 > & | correction, |
const CxxUtils::Array< 1 > & | interp_barriers, | ||
int | degree, | ||
float | aeta | ||
) |
Constructor.
Constructor for energy interpolation table helper class.
Gets the correction information, and the abs(eta) at which the correction is being evaluated (in cal-local coordinates).
correction | Tabulated arrays of function parameters. |
interp_barriers | Allow breaking up the interpolation into independent regions. |
degree | Degree of the polynomial interpolation. |
aeta | The absolute value of \(\eta\) at which the correction is being evaluated (in cal-local coordinates). |
Definition at line 108 of file CaloSwPhioff_v2.cxx.
|
virtual |
Calculate the correction for tabulated energy ENERGY_NDX.
Calculate the correction for one tabulated energy index.
energy_ndx | The tabulated energy index for which the correction should be calculated. |
good[out] | Set to true if the calculation succeeds. |
Implements CaloClusterCorrectionCommon::TableBuilder.
Definition at line 126 of file CaloSwPhioff_v2.cxx.
|
private |
The abs(eta) at which the correction is being evaluated (in cal-local coordinates).
Definition at line 124 of file CaloSwPhioff_v2.h.
|
private |
Tabulated arrays of function parameters.
Definition at line 114 of file CaloSwPhioff_v2.h.
|
private |
Degree of the polynomial interpolation.
Definition at line 120 of file CaloSwPhioff_v2.h.
|
private |
Allow breaking up the interpolation into independent regions.
Definition at line 117 of file CaloSwPhioff_v2.h.