|
ATLAS Offline Software
|
Go to the documentation of this file.
37 #ifndef CALOCLUSTERCORRECTION_CALOSWETAMOD_V2_H
38 #define CALOCLUSTERCORRECTION_CALOSWETAMOD_V2_H
142 {
this,
"correction",
"Tabulated arrays of function parameters." };
147 {
this,
"rfac",
"Correction factors for crude containment correction used internally for the energy interpolation." };
152 {
this,
"rfac_degree",
"Interpolation degree for crude containment correction used internally for the energy interpolation." };
157 {
this,
"energies",
"Table of energies at which the correction was tabulated." };
161 {
this,
"energy_degree",
"Degree of the polynomial interpolation in energy." };
165 #endif // not CALOCLUSTERCORRECTION_CALOSWETAMOD_V2_H
float m_etamod
The eta offset within the cell.
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.
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
Simple multidimensional arrays.
def etamod(flags, cells_name, *args, **kw)
Helper, used to calculate the values of the energy interpolation table.
Constant< int > m_energy_degree
Calibration constant: degree of the polynomial interpolation in energy.
Description of a calorimeter cluster.
Constant< CxxUtils::Array< 2 > > m_correction
Calibration constant: tabulated arrays of function parameters.
virtual float calculate(int energy_ndx, bool &good) const
Calculate the correction for tabulated energy ENERGY_NDX.
CaloClusterCorrectionCommon(const std::string &type, const std::string &name, const IInterface *parent)
Inherit constructor.
Constant< int > m_rfac_degree
Builder(const CxxUtils::Array< 2 > &corr, float etamod)
Constructor.
const CxxUtils::Array< 2 > m_correction
Correction parameters.
Helper class for calculating the energy interpolation table.
Constant< CxxUtils::Array< 1 > > m_energies
Calibration constant: table of energies at which the correction was tabulated.
Constant< CxxUtils::Array< 2 > > m_rfac
Context object for retrieving ToolConstant values.
Code common to cluster corrections.