|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
   21 #include "CLHEP/Units/SystemOfUnits.h" 
   40   float aeta = fabs(adj_eta);
 
   41   float eclus = cluster->
e() * (1./
GeV);
 
   50   ATH_MSG_DEBUG( 
" ... e, eta, phi " << cluster->
e() << 
" " << cluster->
eta() << 
" " << cluster->
phi() << 
" " << samp << 
endmsg);
 
   55   if (aeta < EtaFrontier[0]) 
 
   57       qphioff = 
m_EdepA(myctx)[iEtaBin]/sqrt(eclus) + 
m_EdepB(myctx)[iEtaBin];
 
   59   else if (aeta < EtaFrontier[2])
 
   65   else if (aeta < EtaFrontier[3]) 
 
   80   ATH_MSG_DEBUG( 
" ... Phi off " << qphioff << 
" " << adj_eta << 
" " << eclus << 
" " << iEtaBin << 
endmsg);
 
   87   ATH_MSG_DEBUG( 
" ... e, eta, phi " << cluster->
e() << 
" " << cluster->
eta() << 
" " << cluster->
phi() << 
" " << samp << 
endmsg);
 
  
virtual double phi() const
The azimuthal angle ( ) of the particle.
Scalar phi() const
phi method
Constant< float > m_Granularity
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
Constant< CxxUtils::Array< 1 > > m_EtaFrontier
Constant< int > m_FlipPhi
Definition of CaloDetDescrManager.
float eta_raw() const
cell eta_raw
Constant< CxxUtils::Array< 1 > > m_EdepB
Description of a calorimeter cluster.
virtual double eta() const
The pseudorapidity ( ) of the particle.
Constant< CxxUtils::Array< 1 > > m_EdepA
CaloPhiRange class declaration.
static double fix(double phi)
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.
CaloCell_ID::CaloSample getSampling() const
cell sampling
bool setPhi(const CaloSample sampling, const float phi)
Set  in a given sampling. Returns false if the sample isn't part of the cluster.
Context object for retrieving ToolConstant values.
virtual double e() const
The total energy of the particle.
Constant< float > m_EndcapOffset