1 #ifndef CondFormats_PPSObjects_CTPPSPixelGainCalibration_h 2 #define CondFormats_PPSObjects_CTPPSPixelGainCalibration_h 45 const std::vector<float>& peds,
46 const std::vector<float>&
gains,
50 float maxGain = 255.);
69 float getPed(
const int&
col,
const int& row)
const;
70 float getGain(
const int&
col,
const int& row)
const;
74 bool isNoisy(
const uint32_t ipix)
const {
return (
v_gains[ipix] == -9999.); }
float getPed(const int &col, const int &row) const
double getPedHigh() const
float getPed(const uint32_t ipix) const
void resetPixData(uint32_t ipix, float ped, float gain)
bool isNoisy(const uint32_t ipix) const
CTPPSPixelGainCalibration()
uint32_t getIBegin() const
uint32_t getNCols() const
float getGain(const int &col, const int &row) const
uint32_t getDetId() const
std::vector< float > v_pedestals
uint32_t getNRows() const
float getGain(const uint32_t ipix) const
void setGainsPeds(const uint32_t &detId, const std::vector< float > &peds, const std::vector< float > &gains)
constexpr float gains[NGAINS]
std::vector< float > v_gains
~CTPPSPixelGainCalibration()
bool isDead(const uint32_t ipix) const
#define COND_SERIALIZABLE
void setDeadPixel(int ipix)
void setNoisyPixel(int ipix)
double getGainLow() const
double getGainHigh() const
void setIndexes(const uint32_t &detId)
void putData(uint32_t ipix, float ped, float gain)