![]() |
![]() |
Structure defining the container for correction coefficients. More...
#include <EcalShowerContainmentCorrections.h>
Public Member Functions | |
Coefficients () | |
Coefficients (const Coefficients &coeff) | |
Coefficients & | operator= (const Coefficients &coeff) |
Public Attributes | |
double | data [kSize] |
Static Public Attributes | |
static const int | kNTypes = 8 |
Number of types of correction: Left, right, 3x3, 5x5, x, y. | |
static const int | kPolynomialDegree = 4 |
The degree of the polynomial used as correction function plus one. | |
static const unsigned int | kSize = kPolynomialDegree* kNTypes |
Structure defining the container for correction coefficients.
data[0-3] : 3x3, x, right data[4-7] : 3x3, x, left data[8-11] : 3x3, y, right data[12-15] : 3x3, y, left data[16-19] : 5x5, x, right data[20-23] : 5x5, x, left data[24-27] : 5x5, y, right data[28-31] : 5x5, y, left
Definition at line 59 of file EcalShowerContainmentCorrections.h.
EcalShowerContainmentCorrections::Coefficients::Coefficients | ( | ) | [inline] |
EcalShowerContainmentCorrections::Coefficients::Coefficients | ( | const Coefficients & | coeff | ) | [inline] |
Definition at line 62 of file EcalShowerContainmentCorrections.h.
References filterCSVwithJSON::copy, data, and kSize.
{ std::copy(coeff.data, coeff.data+Coefficients::kSize, data); }
Coefficients& EcalShowerContainmentCorrections::Coefficients::operator= | ( | const Coefficients & | coeff | ) | [inline] |
Definition at line 68 of file EcalShowerContainmentCorrections.h.
References filterCSVwithJSON::copy, data, and kSize.
{ if (this == &coeff) return *this; std::copy(coeff.data,coeff.data+Coefficients::kSize,data); return *this; }
Definition at line 81 of file EcalShowerContainmentCorrections.h.
Referenced by Coefficients(), EcalShowerContainmentCorrections::correctionXY(), operator=(), and EcalShowerContainmentCorrectionsESProducer::produce().
const int EcalShowerContainmentCorrections::Coefficients::kNTypes = 8 [static] |
Number of types of correction: Left, right, 3x3, 5x5, x, y.
Definition at line 78 of file EcalShowerContainmentCorrections.h.
const int EcalShowerContainmentCorrections::Coefficients::kPolynomialDegree = 4 [static] |
The degree of the polynomial used as correction function plus one.
Definition at line 75 of file EcalShowerContainmentCorrections.h.
Referenced by EcalShowerContainmentCorrections::correctionXY().
const unsigned int EcalShowerContainmentCorrections::Coefficients::kSize = kPolynomialDegree* kNTypes [static] |
Definition at line 79 of file EcalShowerContainmentCorrections.h.
Referenced by Coefficients(), and operator=().