|
ATLAS Offline Software
|
Go to the documentation of this file.
37 #ifndef CALOCLUSTERCORRECTION_CALOSWPHIMOD_V2_H
38 #define CALOCLUSTERCORRECTION_CALOSWPHIMOD_V2_H
141 float correction_coef,
142 float aeta,
float phi,
int nabs);
173 {
this,
"correction",
"Tabulated arrays of function parameters." };
178 {
this,
"interp_barriers",
"Allow breaking up the interpolation into independent regions." };
182 {
this,
"degree",
"Degree of the polynomial interpolation." };
187 {
this,
"correction_coef",
"Coefficient by which to scale the entire correction." };
192 {
this,
"rfac",
"Correction factors for crude containment correction used internally for the energy interpolation." };
197 {
this,
"rfac_degree",
"Interpolation degree for crude containment correction used internally for the energy interpolation." };
202 {
this,
"energies",
"Table of energies at which the correction was tabulated." };
206 {
this,
"energy_degree",
"Degree of the polynomial interpolation in energy." };
211 {
this,
"use_raw_eta",
"If true, tabulated values are in terms of raw (local) eta." };
215 #endif // not CALOCLUSTERCORRECTION_CALOSWPHIMOD_V2_H
Helper class for calculating the energy interpolation table.
float m_aeta
The abs(eta) at which the correction is being evaluated (in cal-local coordinates).
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
virtual float calculate(int energy_ndx, bool &good) const
Calculate the correction for tabulated energy ENERGY_NDX.
const CxxUtils::Array< 3 > m_correction
The correction table.
const CxxUtils::Array< 1 > m_interp_barriers
Allow breaking up the interpolation into independent regions.
Simple multidimensional arrays.
float m_phi
The cluster phi.
Constant< CxxUtils::Array< 1 > > m_interp_barriers
Calibration constant: allow breaking up the interpolation into independent regions.
Helper, used to calculate the values of the energy interpolation table.
Description of a calorimeter cluster.
CaloClusterCorrectionCommon(const std::string &type, const std::string &name, const IInterface *parent)
Inherit constructor.
Constant< int > m_rfac_degree
Constant< CxxUtils::Array< 2 > > m_rfac
int m_nabs
Number of absorbers in .
Constant< int > m_energy_degree
Calibration constant: degree of the polynomial interpolation in energy.
float m_correction_coef
Coefficient by which to scale the entire correction.
Constant< bool > m_use_raw_eta
Calibration constant: If true, tabulated values are in terms of raw (local) eta.
Constant< CxxUtils::Array< 1 > > m_energies
Calibration constant: table of energies at which the correction was tabulated.
Context object for retrieving ToolConstant values.
Builder(const CxxUtils::Array< 3 > &correction, const CxxUtils::Array< 1 > &interp_barriers, int degree, float correction_coef, float aeta, float phi, int nabs)
Constructor.
int m_degree
Interpolation degree.
Constant< int > m_degree
Calibration constant: degree of the polynomial interpolation.
Constant< CxxUtils::Array< 3 > > m_correction
Calibration constant: tabulated arrays of function parameters.
Code common to cluster corrections.
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.
Constant< float > m_correction_coef
Calibration constant: coefficient by which to scale the entire correction.