|
ATLAS Offline Software
|
Go to the documentation of this file.
86 float adj_aeta = std::abs (adj_eta);
96 if (adj_aeta >= 1.4 && adj_aeta <= 1.475)
97 etamod = fmod (adj_aeta, 0.025);
float deta() const
cell deta
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.
Scalar eta() const
pseudorapidity method
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
virtual void setenergy(xAOD::CaloCluster *cluster, float energy) const
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
Definition of CaloDetDescrManager.
float eta_raw() const
cell eta_raw
def etamod(flags, cells_name, *args, **kw)
Constant< int > m_energy_degree
Calibration constant: degree of the polynomial interpolation in energy.
def rfac(flags, cells_name, *args, **kw)
Constant< CxxUtils::Array< 2 > > m_correction
Calibration constant: tabulated arrays of function parameters.
EM calorimeter modulation corrections.
virtual float calculate(int energy_ndx, bool &good) const
Calculate the correction for tabulated energy ENERGY_NDX.
Principal data class for CaloCell clusters.
Constant< int > m_rfac_degree
Builder(const CxxUtils::Array< 2 > &corr, float etamod)
Constructor.
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
static float energy_interpolation(float energy, const TableBuilder &builder, const CaloRec::Array< 1 > &energies, int energy_degree)
Many of the corrections use the same method for doing the final interpolation in energy.
float interpolate(const CaloRec::Array< 2 > &a, float x, unsigned int degree, unsigned int ycol=1, const CaloRec::Array< 1 > ®ions=CaloRec::Array< 1 >(), int n_points=-1, bool fixZero=false)
Polynomial interpolation in a table.
virtual double e() const
Retrieve energy independent of signal state.
Context object for retrieving ToolConstant values.
float eta() const
cell eta
Polynomial interpolation in a table.