ATLAS Offline Software
|
Helper class for calculating the energy interpolation table. More...
Public Member Functions | |
Builder (const CxxUtils::Array< 2 > &corr, float etamod) | |
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< 2 > | m_correction |
Correction parameters. More... | |
float | m_etamod |
The eta offset within the cell. More... | |
Helper class for calculating the energy interpolation table.
Definition at line 121 of file CaloSwEtamod_v2.h.
CaloSwEtamod_v2::Builder::Builder | ( | const CxxUtils::Array< 2 > & | correction, |
float | etamod | ||
) |
Constructor.
Constructor for energy interpolation table helper class.
Gets the correction array and the eta offset within the cell.
correction | The array of correction parameters. |
etamod | The eta offset within the cell. |
Definition at line 122 of file CaloSwEtamod_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 136 of file CaloSwEtamod_v2.cxx.
|
private |
Correction parameters.
Definition at line 134 of file CaloSwEtamod_v2.h.
|
private |
The eta offset within the cell.
Definition at line 137 of file CaloSwEtamod_v2.h.