|
ATLAS Offline Software
|
Go to the documentation of this file.
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);
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
float phiBE(const unsigned layer) const
Get the phi in one layer of the EM Calo.
float etaBE(const unsigned layer) const
Get the eta in one layer of the EM Calo.
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.
virtual double e() const
The total energy of the particle.