Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
42 float eta2 = cluster->etaBE(2);
43 float phi2 = cluster->phiBE(2);
44 if (
eta2 < -900 || phi2 < -900)
47 float aeta2 = fabs(
eta2);
56 std::vector<float> tab =
qphmop (myctx, aeta2);
57 assert (tab.size() == 5);
60 tab[1] *
cos(nabs*phi2) +
61 tab[2] *
cos(2.*nabs*phi2)+
62 tab[3] *
cos(3.*nabs*phi2)+
63 tab[4] *
sin(nabs*phi2);
66 setenergy(cluster, qphimod * cluster->e());
81 for (
unsigned int j = 1; j <
correction.size(1); j++)
105 for (
unsigned int j = 1; j <
correction.size(1); j++) {
virtual void setenergy(xAOD::CaloCluster *cluster, float energy) const
Description of a calorimeter cluster.
Constant< CxxUtils::Array< 2 > > m_correction
virtual void makeCorrection(const Context &myctx, xAOD::CaloCluster *cluster) const override
std::vector< float > qphmop(const Context &myctx, float eta) const
Context object for retrieving ToolConstant values.