Go to the documentation of this file. 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.);
55 void setGainsPeds(
const uint32_t& detId,
const std::vector<float>& peds,
const std::vector<float>& gains);
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.); }
uint32_t getIBegin() const
float getGain(const uint32_t ipix) const
uint32_t getNCols() const
std::vector< float > v_pedestals
uint32_t getDetId() const
void setIndexes(const uint32_t &detId)
#define COND_SERIALIZABLE
void setDeadPixel(int ipix)
bool isDead(const uint32_t ipix) const
double getPedHigh() const
double getGainHigh() const
double getGainLow() const
float getGain(const int &col, const int &row) const
std::vector< float > v_gains
~CTPPSPixelGainCalibration()
uint32_t getNRows() const
CTPPSPixelGainCalibration()
float getPed(const int &col, const int &row) const
void setGainsPeds(const uint32_t &detId, const std::vector< float > &peds, const std::vector< float > &gains)
float getPed(const uint32_t ipix) const
void resetPixData(uint32_t ipix, float ped, float gain)
void setNoisyPixel(int ipix)
void putData(uint32_t ipix, float ped, float gain)
bool isNoisy(const uint32_t ipix) const