|
ATLAS Offline Software
|
Go to the documentation of this file.
22 #include "GaudiKernel/MsgStream.h"
37 float aeta = fabs(adj_eta);
44 else if (
u < -0.5)
u = -0.5;
49 ATH_MSG_DEBUG(
" ... e, eta, phi " << cluster->
e() <<
" " << cluster->
eta() <<
" " << cluster->
phi() <<
" " << samp <<
endmsg);
54 if (aeta < EtaFrontier[0] || (aeta > EtaFrontier[1] && aeta < EtaFrontier[2]))
59 +
m_P2(myctx)[iEtaBin]*0.01*
u +
m_P3(myctx)[iEtaBin]*1
e-3*fabs(
u)
60 +
m_P4(myctx)[iEtaBin]*1
e-3;
74 <<
" " << adj_eta <<
" " << aeta <<
" " << iEtaBin <<
" " << samp <<
endmsg);
79 if (
eta > 0) qsshape = -qsshape;
83 ATH_MSG_DEBUG(
" ... e, eta, phi " << cluster->
e() <<
" " << cluster->
eta() <<
" " << cluster->
phi() <<
" " << samp <<
endmsg);
float deta() const
cell deta
virtual double phi() const
The azimuthal angle ( ) of the particle.
Constant< CxxUtils::Array< 1 > > m_P3
Constant< CxxUtils::Array< 1 > > m_P4
Scalar eta() const
pseudorapidity method
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
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
Virtual function for the correction-specific code.
Constant< CxxUtils::Array< 1 > > m_P0
Constant< CxxUtils::Array< 1 > > m_EtaFrontier
@ u
Enums for curvilinear frames.
float eta_raw() const
cell eta_raw
Description of a calorimeter cluster.
virtual double eta() const
The pseudorapidity ( ) of the particle.
CaloPhiRange class declaration.
Constant< float > m_Granularity
Constant< CxxUtils::Array< 1 > > m_P2
Constant< CxxUtils::Array< 1 > > m_P1
CaloCell_ID::CaloSample getSampling() const
cell sampling
Context object for retrieving ToolConstant values.
float eta() const
cell eta
bool setEta(const CaloSample sampling, const float eta)
Set in a given sampling. Returns false if the sample isn't part of the cluster.
virtual double e() const
The total energy of the particle.