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 correction_coef, float aeta, float phi, int nabs) | |
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 |
The correction table. More... | |
const CxxUtils::Array< 1 > | m_interp_barriers |
Allow breaking up the interpolation into independent regions. More... | |
int | m_degree |
Interpolation degree. More... | |
float | m_correction_coef |
Coefficient by which to scale the entire correction. More... | |
float | m_aeta |
The abs(eta) at which the correction is being evaluated (in cal-local coordinates). More... | |
float | m_phi |
The cluster phi. More... | |
int | m_nabs |
Number of absorbers in \(2\pi\). More... | |
Helper class for calculating the energy interpolation table.
Definition at line 130 of file CaloSwPhimod_v2.h.
CaloSwPhimod_v2::Builder::Builder | ( | const CxxUtils::Array< 3 > & | correction, |
const CxxUtils::Array< 1 > & | interp_barriers, | ||
int | degree, | ||
float | correction_coef, | ||
float | aeta, | ||
float | phi, | ||
int | nabs | ||
) |
Constructor.
Constructor for energy interpolation table helper class.
Gets the correction information, the abs(eta) and phi at which the correction is being evaluated (in cal-local coordinates), and the number of absorbers.
correction | The correction table. |
interp_barriers | Allow breaking up the interpolation into independent regions. |
degree | Interpolation degree. |
correction_coef | Coefficient by which to scale the entire correction. |
aeta | The absolute value of \(\eta\) at which the correction is being evaluated (in cal-local coordinates). |
phi | The \(\phi\) at which the correction is being evaluated (in cal-local coordinates). |
nabs | Number of absorbers in \(2\pi\). |
Definition at line 138 of file CaloSwPhimod_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 162 of file CaloSwPhimod_v2.cxx.
|
private |
The abs(eta) at which the correction is being evaluated (in cal-local coordinates).
Definition at line 162 of file CaloSwPhimod_v2.h.
|
private |
The correction table.
Definition at line 149 of file CaloSwPhimod_v2.h.
|
private |
Coefficient by which to scale the entire correction.
Definition at line 158 of file CaloSwPhimod_v2.h.
|
private |
Interpolation degree.
Definition at line 155 of file CaloSwPhimod_v2.h.
|
private |
Allow breaking up the interpolation into independent regions.
Definition at line 152 of file CaloSwPhimod_v2.h.
|
private |
Number of absorbers in \(2\pi\).
Definition at line 168 of file CaloSwPhimod_v2.h.
|
private |
The cluster phi.
Definition at line 165 of file CaloSwPhimod_v2.h.