65 edm::LogPrint(
"CTPPSPixGainCalibsReader") <<
"###CTPPSPixGainCalibsESAnalyzer::analyze";
66 edm::LogPrint(
"CTPPSPixGainCalibsReader") <<
" I AM IN RUN NUMBER " <<
e.id().run();
67 edm::LogPrint(
"CTPPSPixGainCalibsReader") <<
" ---EVENT NUMBER " <<
e.id().event();
72 edm::LogPrint(
"CTPPSPixGainCalibsReader") <<
"Record \"CTPPSPixelGainCalibrationsRcd"
73 <<
"\" does not exist ";
81 edm::LogPrint(
"CTPPSPixGainCalibsReader") <<
"got CTPPSPixelGainCalibrations* ";
82 edm::LogPrint(
"CTPPSPixGainCalibsReader") <<
"print pointer address : ";
83 edm::LogPrint(
"CTPPSPixGainCalibsReader") << pPixelGainCalibrations;
92 edm::LogPrint(
"CTPPSPixGainCalibsReader") <<
"Size " << pPixelGainCalibrations->
size();
95 for (CTPPSPixelGainCalibrations::CalibMap::const_iterator it = mymap.begin(); it != mymap.end(); ++it) {
96 uint32_t detId = it->first;
99 <<
"Address of detId = " << (&detId) <<
" and of it = " << (&it) <<
" and of it->first = " << (&(it->first));
101 edm::LogPrint(
"CTPPSPixGainCalibsReader") <<
"Content of pPixelGainCalibrations for key: detId= " << detId;
106 <<
"Address of mycalibs0 = " << (&mycalibs0) <<
" and of mycalibs = " << (&mycalibs) <<
" and of it->second "
113 TH2D mypeds(namep.c_str(), tlp.c_str(), 156, 0., 156., 160, 0., 160.);
114 TH2D mygains(nameg.c_str(), tlg.c_str(), 156, 0., 156., 160, 0., 160.);
119 edm::LogPrint(
"CTPPSPixGainCalibsReader") <<
"Here ncols = " <<
ncols <<
" nrows =" << nrows <<
" npix=" << npix;
120 for (
int jrow = 0; jrow < nrows; ++jrow)
121 for (
int icol = 0; icol <
ncols; ++icol) {
123 edm::LogPrint(
"CTPPSPixGainCalibsReader") <<
"Dead Pixel icol =" << icol <<
" jrow =" << jrow;
127 edm::LogPrint(
"CTPPSPixGainCalibsReader") <<
"Noisy Pixel icol =" << icol <<
" jrow =" << jrow;
130 mygains.Fill(icol, jrow, mycalibs.
getGain(icol, jrow));
131 mypeds.Fill(icol, jrow, mycalibs.
getPed(icol, jrow));