|
ATLAS Offline Software
|
Go to the documentation of this file.
33 #ifndef CALOCLUSTERCORRECTION_CALOSWPHIOFF_V2_H
34 #define CALOCLUSTERCORRECTION_CALOSWPHIOFF_V2_H
129 {
this,
"correction",
"Tabulated arrays of function parameters." };
134 {
this,
"interp_barriers",
"Allow breaking up the interpolation into independent regions." };
138 {
this,
"degree",
"Degree of the polynomial interpolation." };
143 {
this,
"correction_coef",
"Coefficient by which to scale the entire correction." };
148 {
this,
"flip_phi",
"If true, the correction gets an opposite sign if eta < 0." };
153 {
this,
"energies",
"Table of energies at which the correction was tabulated." };
157 {
this,
"energy_degree",
"Degree of the polynomial interpolation in energy." };
161 #endif // not CALOCLUSTERCORRECTION_CALOSWPHIOFF_V2_H
virtual void makeTheCorrection(const Context &myctx, xAOD::CaloCluster *cluster, const CaloDetDescrElement *elt, float eta, float adj_eta, float phi, float adj_phi, CaloSampling::CaloSample samp) const override
Virtual function for the correction-specific code.
float m_aeta
The abs(eta) at which the correction is being evaluated (in cal-local coordinates).
virtual float calculate(int energy_ndx, bool &good) const
Calculate the correction for tabulated energy ENERGY_NDX.
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
Constant< CxxUtils::Array< 1 > > m_energies
Calibration constant: table of energies at which the correction was tabulated.
Constant< int > m_energy_degree
Calibration constant: degree of the polynomial interpolation in energy.
Simple multidimensional arrays.
Helper, used to calculate the values of the energy interpolation table.
Description of a calorimeter cluster.
Helper class for calculating the energy interpolation table.
CaloClusterCorrectionCommon(const std::string &type, const std::string &name, const IInterface *parent)
Inherit constructor.
const CxxUtils::Array< 3 > m_correction
Tabulated arrays of function parameters.
Constant< int > m_degree
Calibration constant: degree of the polynomial interpolation.
Constant< float > m_correction_coef
Calibration constant: coefficient by which to scale the entire correction.
Constant< CaloRec::Array< 3 > > m_correction
Calibration constant: tabulated arrays of function parameters.
Context object for retrieving ToolConstant values.
Constant< bool > m_flip_phi
Calibration constant: if true, the correction gets an opposite sign if eta < 0.
Builder(const CxxUtils::Array< 3 > &correction, const CxxUtils::Array< 1 > &interp_barriers, int degree, float aeta)
Constructor.
Code common to cluster corrections.
Constant< CxxUtils::Array< 1 > > m_interp_barriers
Calibration constant: allow breaking up the interpolation into independent regions.
const CxxUtils::Array< 1 > m_interp_barriers
Allow breaking up the interpolation into independent regions.
int m_degree
Degree of the polynomial interpolation.