|
ATLAS Offline Software
|
Go to the documentation of this file.
39 #include "GaudiKernel/MsgStream.h"
50 const float etamax =
m_etamax (myctx);
52 float eta = cluster->
eta();
53 float aeta = fabs(eta);
54 if (aeta < etamin || aeta >= etamax)
return;
61 int i =
static_cast<int> ((aeta -
etamin)/granularity);
virtual void setenergy(xAOD::CaloCluster *cluster, float energy) const
virtual int version() const
Currently at version==1.
Constant< CxxUtils::Array< 1 > > m_correction
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
virtual void makeCorrection(const Context &myctx, xAOD::CaloCluster *cluster) const override
Principal data class for CaloCell clusters.
Helpers for checking error return status codes and reporting errors.
virtual double eta() const
Retrieve eta independent of signal state.
virtual double e() const
Retrieve energy independent of signal state.
Context object for retrieving ToolConstant values.
Constant< float > m_etamax
Constant< float > m_etamin