![]() |
![]() |
Structure defining the container for correction coefficients. More...
#include <EcalGlobalShowerContainmentCorrectionsVsEta.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 | kCoefficients = 3 |
The degree of the polynomial used as correction function plus one. | |
static const int | kNTypes = 2 |
Number of types of correction: 3x3, 5x5. | |
static const unsigned int | kSize = kCoefficients * kNTypes |
Structure defining the container for correction coefficients.
data[0-2] : 3x3 data[3-5] : 5x5
Definition at line 44 of file EcalGlobalShowerContainmentCorrectionsVsEta.h.
EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients::Coefficients | ( | ) | [inline] |
EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients::Coefficients | ( | const Coefficients & | coeff | ) | [inline] |
Definition at line 47 of file EcalGlobalShowerContainmentCorrectionsVsEta.h.
References filterCSVwithJSON::copy, data, and kSize.
{ std::copy(coeff.data, coeff.data+Coefficients::kSize, data); }
Coefficients& EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients::operator= | ( | const Coefficients & | coeff | ) | [inline] |
Definition at line 53 of file EcalGlobalShowerContainmentCorrectionsVsEta.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 66 of file EcalGlobalShowerContainmentCorrectionsVsEta.h.
Referenced by Coefficients(), EcalGlobalShowerContainmentCorrectionsVsEta::correction(), and operator=().
const int EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients::kCoefficients = 3 [static] |
The degree of the polynomial used as correction function plus one.
Definition at line 60 of file EcalGlobalShowerContainmentCorrectionsVsEta.h.
Referenced by EcalGlobalShowerContainmentCorrectionsVsEta::correction().
const int EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients::kNTypes = 2 [static] |
Number of types of correction: 3x3, 5x5.
Definition at line 63 of file EcalGlobalShowerContainmentCorrectionsVsEta.h.
const unsigned int EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients::kSize = kCoefficients * kNTypes [static] |
Definition at line 64 of file EcalGlobalShowerContainmentCorrectionsVsEta.h.
Referenced by Coefficients(), and operator=().