|
ATLAS Offline Software
|
Go to the documentation of this file.
58 if (
eta == -999.)
return;
59 float aeta = fabs(
eta);
64 unsigned int shape[] = {correction_bins.
size(), 2};
67 for (
unsigned int i=0;
i<correction_bins.
size();
i++) {
68 w[
i][0] = correction_bins[
i];
84 static const std::string
typeName =
"CaloSwEta_g3";
Constant< CxxUtils::Array< 2 > > m_correction
Constant< int > m_interp_degree
Scalar eta() const
pseudorapidity method
bool inBarrel() const
Returns true if at least one clustered cell in EMB.
unsigned int size(unsigned int dim=0) const
Return the size of the array along one dimension.
virtual const std::string & toolType() const override
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
double etaSample(sampling_type sampling) const
Retrieve barycenter in a given sample.
static const float s_strip_granularity
Principal data class for CaloCell clusters.
virtual void setEta(double eta)
Set eta.
virtual void makeCorrection(const Context &myctx, xAOD::CaloCluster *cluster) const override
Constant< CxxUtils::Array< 1 > > m_correction_bins
Constant< float > m_correction_coef
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.
Context object for retrieving ToolConstant values.
Polynomial interpolation in a table.
Constant< int > m_correction_degree