Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
62 float u = (eta - elt->
eta()) / elt->
deta() * 2;
77 unsigned int n_energies = energies.
size();
78 unsigned int shape[] = {n_energies, 4};
86 float energy = cluster->e();
89 else if (
energy >= energies[n_energies-1])
93 partab[
i][0] = energies[
i];
94 for (
int j=0; j < 3; j++)
106 for (
int i=0;
i < 3;
i++) {
118 double sq = std::sqrt (
b/atanb - 1);
121 par[2]*(1-std::abs(
u)));
126 cluster->setEta (samp, eta + offs);
float deta() const
cell deta
Constant< CxxUtils::Array< 3 > > m_correction
Calibration constant: tabulated arrays of function parameters.
EM calorimeter eta offset (S-shape) corrections.
Scalar eta() const
pseudorapidity method
unsigned int size(unsigned int dim=0) const
Return the size of the array along one dimension.
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.
@ u
Enums for curvilinear frames.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
Definition of CaloDetDescrManager.
float eta_raw() const
cell eta_raw
Constant< int > m_degree
Calibration constant: degree of the polynomial interpolation.
Constant< int > m_energy_degree
Calibration constant: degree of the polynomial interpolation in energy.
Principal data class for CaloCell clusters.
CaloPhiRange class declaration.
Constant< CxxUtils::Array< 1 > > m_interp_barriers
Calibration constant: allow breaking up the interpolation into independent regions.
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.
Context object for retrieving ToolConstant values.
float eta() const
cell eta
Polynomial interpolation in a table.