12 <<
" ; iBegin = "<< newPixGains.
getIBegin()
13 <<
" ; iEnd = "<< newPixGains.
getIEnd()
14 <<
" ; nCols = "<< newPixGains.
getNCols()
15 <<
" ; nRows ="<<newPixGains.
getNRows();
17 int npix = newPixGains.
getIEnd() ;
21 <<
"newPixGains Ped[0] = "<< newPixGains.
getPed(0)
22 <<
" ; Gain[0] = " << newPixGains.
getGain(0)
23 <<
" ; dead = " << newPixGains.
isDead(0)
24 <<
" ; noisy = "<< newPixGains.
isNoisy(0) ;
26 edm::LogError(
"CTPPSPixelGainCalibrations") <<
"looks like setting gain calibrations did not work, npix is "<< npix ;
44 int nids=detidlist.size();
45 for (
int detid=0; detid<nids ; ++detid){
46 const std::vector<float>& pedsvec = peds[detid];
47 const std::vector<float>& gainsvec = gains[detid];
55 throw cms::Exception(
"CTPPSPixelGainCalibrations: ") <<
" No gain calibrations defined for detid ";
bool isDead(const uint32_t ipix) const
const CTPPSPixelGainCalibration & getGainCalibration(const uint32_t &detid) const
std::map< uint32_t, CTPPSPixelGainCalibration > CalibMap
uint32_t getIBegin() const
void setGainCalibrations(const CalibMap &PixGainsCalibs)
uint32_t getDetId() const
void setGainCalibration(const uint32_t &DetId, const CTPPSPixelGainCalibration &PixGains)
uint32_t getNCols() const
uint32_t getNRows() const
float getPed(const int &col, const int &row) const
bool isNoisy(const uint32_t ipix) const
void setIndexes(const uint32_t &detId)
float getGain(const int &col, const int &row) const