10 <<
"newPixGains detId = " << newPixGains.
getDetId() <<
" ; iBegin = " << newPixGains.
getIBegin()
11 <<
" ; iEnd = " << newPixGains.
getIEnd() <<
" ; nCols = " << newPixGains.
getNCols()
12 <<
" ; nRows =" << newPixGains.
getNRows();
14 int npix = newPixGains.
getIEnd();
18 <<
"newPixGains Ped[0] = " << newPixGains.
getPed(0) <<
" ; Gain[0] = " << newPixGains.
getGain(0)
19 <<
" ; dead = " << newPixGains.
isDead(0) <<
" ; noisy = " << newPixGains.
isNoisy(0);
22 <<
"looks like setting gain calibrations did not work, npix is " << npix;
32 const std::vector<float>& peds,
33 const std::vector<float>& gains) {
42 const std::vector<std::vector<float>>& peds,
43 const std::vector<std::vector<float>>& gains) {
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];
53 const uint32_t& detid)
const {
56 throw cms::Exception(
"CTPPSPixelGainCalibrations: ") <<
" No gain calibrations defined for detid ";