52 if (
eta == -999.)
return;
53 float etamax = cluster->
etamax(CaloSampling::EME2);
54 float aeta = fabs(
eta);
71 cluster->
setEta( CaloSampling::EME2, etc2);
77 static const std::string typeName =
"CaloSwEta_g3";
Scalar eta() const
pseudorapidity method
Principal data class for CaloCell clusters.
double etamax(sampling_type sampling) const
Retrieve of cell with maximum energy in given sampling.
virtual void setEta(double eta)
Set eta.
double etaSample(sampling_type sampling) const
Retrieve barycenter in a given sample.
bool inEndcap() const
Returns true if at least one clustered cell in EMEC.
Constant< int > m_correction_degree
Constant< CxxUtils::Array< 2 > > m_correction
static const float s_middle_layer_granularity
virtual const std::string & toolType() const override
Return the name of the type of this tool.
virtual void makeCorrection(const Context &myctx, xAOD::CaloCluster *cluster) const override
Polynomial interpolation in a table.
float interpolate(const CaloRec::Array< 2 > &a, float x, unsigned int degree, unsigned int ycol=1, const CaloRec::Array< 1 > ®ions=CaloRec::Array< 1 >(), int n_points=-1, bool fixZero=false)
Polynomial interpolation in a table.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.