1 #ifndef CondFormats_EcalShowerContainmentCorrections_h 2 #define CondFormats_EcalShowerContainmentCorrections_h 40 #include <boost/cstdint.hpp> 71 if (
this == &coeff)
return *
this;
std::map< EBDetId, int > GroupMap
const double correctionXY(const EBDetId &xtal, double position, Direction dir, Type type) const
static const int kNTypes
Number of types of correction: Left, right, 3x3, 5x5, x, y.
GroupMap groupmap_
Maps in which group a particular xtal has been placed.
Structure defining the container for correction coefficients.
std::vector< Coefficients > coefficients_
Holds the coeffiecients. The index corresponds to the group.
static const int kPolynomialDegree
The degree of the polynomial used as correction function plus one.
const double correction3x3(const EBDetId &xtal, const math::XYZPoint &pos) const
The correction factor for 3x3 matrix.
Coefficients & operator=(const Coefficients &coeff)
const double correction5x5(const EBDetId &xtal, const math::XYZPoint &pos) const
The correction factor for 5x5 matrix.
const Coefficients correctionCoefficients(const EBDetId ¢erxtal) const
Get the correction coefficients for the given xtal.
XYZPointD XYZPoint
point in space with cartesian internal representation
Coefficients(const Coefficients &coeff)
#define COND_SERIALIZABLE
static int position[264][3]
static const unsigned int kSize
void fillCorrectionCoefficients(const EBDetId &xtal, int group, const Coefficients &coefficients)
Fill the correction coefficients for a given xtal, part of group .