|
float | calc0 (float, float, const CaloRec::Array< 2 > &) const |
|
float | calc3 (float, float, const CaloRec::Array< 2 > &) const |
|
float | calc4 (float, float, const CaloRec::Array< 2 > &) const |
|
float | calc5 (float, float, const CaloRec::Array< 2 > &) const |
|
float | calc10 (float, float, const CaloRec::Array< 2 > &) const |
|
float | calc11 (float, float, const CaloRec::Array< 2 > &) const |
|
Definition at line 50 of file EgammaSshapeCalibration.h.
◆ Builder()
Constructor.
Gets the parent correction object, the abs(eta) at which the correction is being evaluated (in cal-local coordinates), the fractional cell offset u, and the index of the region for this correction.
Definition at line 234 of file EgammaSshapeCalibration.cxx.
◆ calc0()
float EgammaSshapeCalibration::Builder::calc0 |
( |
float |
aeta, |
|
|
float |
u, |
|
|
const CaloRec::Array< 2 > & |
coef |
|
) |
| const |
|
private |
◆ calc10()
float EgammaSshapeCalibration::Builder::calc10 |
( |
float |
aeta, |
|
|
float |
u, |
|
|
const CaloRec::Array< 2 > & |
coef |
|
) |
| const |
|
private |
Definition at line 399 of file EgammaSshapeCalibration.cxx.
403 const unsigned int NPAR = 7;
407 for (
unsigned int i=0;
i < NPAR;
i++) {
409 double out = xcoef[0];
410 for (
unsigned int j=1; j<
degree; j++)
411 out =
out * aeta + xcoef[j];
421 if (
u > 0.9 ||
u < -0.9) {
425 offs -= (
u-0.9)/0.1 * xdiff/2;
427 offs += (-0.9-
u)/0.1 * xdiff/2;
◆ calc11()
float EgammaSshapeCalibration::Builder::calc11 |
( |
float |
aeta, |
|
|
float |
u, |
|
|
const CaloRec::Array< 2 > & |
coef |
|
) |
| const |
|
private |
◆ calc3()
float EgammaSshapeCalibration::Builder::calc3 |
( |
float |
aeta, |
|
|
float |
u, |
|
|
const CaloRec::Array< 2 > & |
coef |
|
) |
| const |
|
private |
◆ calc4()
float EgammaSshapeCalibration::Builder::calc4 |
( |
float |
aeta, |
|
|
float |
u, |
|
|
const CaloRec::Array< 2 > & |
coef |
|
) |
| const |
|
private |
Definition at line 349 of file EgammaSshapeCalibration.cxx.
353 const unsigned int NPAR = 3;
357 for (
unsigned int i=0;
i < NPAR;
i++) {
359 double out = xcoef[0];
360 for (
unsigned int j=1; j<
degree; j++)
361 out =
out * aeta + xcoef[j];
367 double sq = std::sqrt (
b/atanb - 1);
370 pars[2]*(1-std::abs(
u)));
◆ calc5()
float EgammaSshapeCalibration::Builder::calc5 |
( |
float |
aeta, |
|
|
float |
, |
|
|
const CaloRec::Array< 2 > & |
coef |
|
) |
| const |
|
private |
◆ calculate()
float EgammaSshapeCalibration::Builder::calculate |
( |
int |
energy_ndx, |
|
|
bool & |
good |
|
) |
| const |
|
virtual |
◆ m_aeta
double EgammaSshapeCalibration::Builder::m_aeta |
|
private |
◆ m_corr
◆ m_form
int EgammaSshapeCalibration::Builder::m_form |
|
private |
◆ m_region_ndx
int EgammaSshapeCalibration::Builder::m_region_ndx |
|
private |
◆ m_u
double EgammaSshapeCalibration::Builder::m_u |
|
private |
The documentation for this class was generated from the following files: