11#ifndef ALICEO2_EMCAL_PEDESTAL_H
12#define ALICEO2_EMCAL_PEDESTAL_H
65 void addPedestalValue(
unsigned short cellID,
short pedestal,
bool isLowGain,
bool isLEDMON);
72 short getPedestalValue(
unsigned short cellID,
bool isLowGain,
bool isLEDMON)
const;
85 std::array<short, 17664> mPedestalValuesHG;
86 std::array<short, 17664> mPedestalValuesLG;
87 std::array<short, 480> mPedestalValuesLEDMONHG;
88 std::array<short, 480> mPedestalValuesLEDMONLG;
CCDB container for pedestal values.
short getPedestalValue(unsigned short cellID, bool isLowGain, bool isLEDMON) const
Get the time calibration coefficient for a certain cell.
bool operator==(const Pedestal &other) const
Comparison of two pedestal containers.
Pedestal()=default
Constructor.
void addPedestalValue(unsigned short cellID, short pedestal, bool isLowGain, bool isLEDMON)
Add pedestal to the container.
TH1 * getHistogramRepresentation(bool isLowGain, bool isLEDMON) const
Convert the pedestal container to a histogram.
TH2 * getHistogramRepresentation2D(bool isLowGain, bool isLEDMON) const
Convert the pedestal container to a 2D histogram.
~Pedestal()=default
Destructor.
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
VectorOfTObjectPtrs other