|
ATLAS Offline Software
|
Go to the documentation of this file.
65 assert (residuals.
size(1)-1 == residual_bins.
size());
69 if (
eta == -999.)
return;
70 float aeta = fabs(
eta);
85 unsigned int shape[] = {residual_bins.
size(), 2};
88 for (
unsigned int i=0;
i < residual_bins.
size();
i++) {
89 w[
i][0] = residual_bins[
i];
111 static const std::string
typeName =
"CaloSwEta_g3";
Constant< CxxUtils::Array< 2 > > m_correction
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.
static const float s_middle_layer_granularity
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
Constant< float > m_residual_coef
double etaSample(sampling_type sampling) const
Retrieve barycenter in a given sample.
Principal data class for CaloCell clusters.
Constant< float > m_correction_coef
virtual void setEta(double eta)
Set eta.
virtual const std::string & toolType() const override
virtual void makeCorrection(const Context &myctx, xAOD::CaloCluster *cluster) const override
Constant< CxxUtils::Array< 1 > > m_residual_bins
Constant< int > m_residual_eval_degree
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.
Constant< int > m_correction_degree
Constant< CxxUtils::Array< 2 > > m_residuals
Polynomial interpolation in a table.
Constant< int > m_residual_degree