31 return (ieta>0)?(
abs(ieta)-29+13):(41-
abs(ieta));
34 return (indx>13)?(indx+29-13):(indx-41);
50 int indx=indexByIeta(ieta);
51 if(doEnCor_)
return hfvv_[indx];
54 int indx=indexByIeta(ieta)+26;
55 if(doPU_)
return hfvv_[indx];
58 int indx=indexByIeta(ieta)+52;
59 if(doPU_)
return hfvv_[indx];
64 int indx=indexByIeta(ieta);
67 int indx=indexByIeta(ieta)+26;
70 int indx=indexByIeta(ieta)+52;
77 std::vector<double> vct;
80 vct.push_back(hfvv_[
ii]);
88 std::vector<double> vct;
91 vct.push_back(hfvv_[
ii+26]);
99 std::vector<double> vct;
102 vct.push_back(hfvv_[
ii+52]);
113 for(
int ii=0;
ii<13;
ii++) hfvv_[
ii+26]=val[
ii];}
115 for(
int ii=0;
ii<13;
ii++) hfvv_[
ii+52]=val[
ii];
int ietaByIndex(int &indx) const
void setEnCor(int ieta, double val)
std::vector< double > EnCor() const
std::vector< double > PUSlope() const
void setPUSlope(int ieta, double val)
std::vector< double > PUIntercept() const
int indexByIeta(int &ieta) const
void setPUIntercept(int ieta, double val)