|
ATLAS Offline Software
|
Go to the documentation of this file.
53 float adj_aeta = std::abs (adj_eta);
55 if (std::abs (adj_eta) >
m_etamax (myctx)) {
68 cluster->
setE (cluster->
e() / fac);
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
Scale cluster energy by an eta-dependent factor.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
Principal data class for CaloCell clusters.
Constant< CxxUtils::Array< 2 > > m_correction
Calibration constant: tabulated arrays of function parameters.
virtual void setE(double e)
Set energy.
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 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.
Polynomial interpolation in a table.
Constant< int > m_degree
Calibration constant: degree of the polynomial interpolation.
Constant< float > m_etamax
Calibration constant: maximum eta for which this correction is defined.