84 edm::LogInfo(
">>> EcalTrivialObjectAnalyzer: processing run ") <<
e.id().run() <<
" event: " <<
e.id().event();
96 << std::setprecision(6) << agc->
getEEValue() <<
" GeV/ADC count";
99 double r1 = (double)std::rand() / (double(RAND_MAX) + double(1));
101 r1 = (double)std::rand() / (double(RAND_MAX) + double(1));
105 edm::LogInfo(
"EcalTrivialObjectAnalyzer: using EBDetId: ") << ebid;
109 if (it != myped->
end()) {
110 edm::LogInfo(
"EcalPedestal: ") <<
" mean_x1: " << std::setprecision(8) << (*it).mean_x1
111 <<
" rms_x1: " << (*it).rms_x1 <<
" mean_x6: " << (*it).mean_x6
112 <<
" rms_x6: " << (*it).rms_x6 <<
" mean_x12: " << (*it).mean_x12
113 <<
" rms_x12: " << (*it).rms_x12;
115 edm::LogInfo(
"No pedestal found for this xtal! something wrong with EcalPedestals in your DB? ");
126 edm::LogInfo(
"XtalGroupId.id() = ") << std::setprecision(3) << (*git).id();
129 edm::LogInfo(
"No group id found for this crystal. something wrong with EcalWeightXtalGroups in your DB?");
145 edm::LogInfo(
"No MGPA Gain Ratio found for this xtal! something wrong with EcalGainRatios in your DB? ");
156 icalconst = (*icalit);
158 edm::LogInfo(
"EcalIntercalibConstant: ") << std::setprecision(6) << icalconst;
160 edm::LogInfo(
"No intercalib const found for this xtal! something wrong with EcalIntercalibConstants in your DB? ");
170 if (icalitErr != icalErr->
getMap().
end()) {
171 icalconstErr = (*icalitErr);
173 edm::LogInfo(
"EcalIntercalibError: ") << std::setprecision(6) << icalconstErr;
175 edm::LogInfo(
"No intercalib const found for this xtal! something wrong with EcalIntercalibErrors in your DB? ");
187 icalconst = (*icalit);
189 edm::LogInfo(
"EcalTimeCalibConstant: ") << std::setprecision(6) << icalconst;
191 edm::LogInfo(
"No intercalib const found for this xtal! something wrong with EcalTimeCalibConstants in your DB? ");
201 if (icalitErr != icalErr->
getMap().
end()) {
202 icalconstErr = (*icalitErr);
204 edm::LogInfo(
"EcalTimeCalibError: ") << std::setprecision(6) << icalconstErr;
206 edm::LogInfo(
"No intercalib const found for this xtal! something wrong with EcalTimeCalibErrors in your DB? ");
225 edm::LogInfo(
"EcalTBWeightMap.size(): ") << std::setprecision(3) << wgts->
getMap().size();
231 edm::LogInfo(
"Lookup EcalWeightSet for groupid: ") << std::setprecision(3) << gid.
id() <<
" and TDC id " << tdcid;
232 EcalTBWeights::EcalTBWeightMap::const_iterator wit = wgts->
getMap().find(std::make_pair(gid, tdcid));
234 if (wit != wgts->
getMap().end()) {
236 edm::LogInfo(
"check size of data members in EcalWeightSet");
246 CLHEP::HepMatrix clmat1(3, 10, 0);
247 CLHEP::HepMatrix clmat2(3, 10, 0);
248 for (
int irow = 0; irow < 3; irow++) {
249 for (
int icol = 0; icol < 10; icol++) {
250 clmat1[irow][icol] = mat1(irow, icol);
251 clmat2[irow][icol] = mat2(irow, icol);
254 edm::LogInfo(
"weight matrix before gain switch:") << clmat1;
255 edm::LogInfo(
"weight matrix after gain switch:") << clmat2;
258 edm::LogInfo(
"No weights found for EcalGroupId: ") << gid.
id() <<
" and EcalTDCId: " << tdcid;
266 for (EcalFunctionParameters::const_iterator it = paramLocalCont->
params().begin();
267 it != paramLocalCont->
params().end();
276 for (EcalFunctionParameters::const_iterator it = paramCrack->
params().begin(); it != paramCrack->
params().end();
285 for (EcalFunctionParameters::const_iterator it = paramEnergyCorrection->
params().begin();
286 it != paramEnergyCorrection->
params().end();
295 for (EcalFunctionParameters::const_iterator it = paramEnergyUncertainty->
params().begin();
296 it != paramEnergyUncertainty->
params().end();
304 pEnergyCorrectionObjectSpecific.
product();
305 edm::LogInfo(
"EnergyCorrectionObjectSpecificParameters:");
306 for (EcalFunctionParameters::const_iterator it = paramEnergyCorrectionObjectSpecific->
params().begin();
307 it != paramEnergyCorrectionObjectSpecific->
params().end();
321 lalphait = lalpha->
getMap().
find(ebid.rawId());
322 if (lalphait != lalpha->
getMap().
end()) {
323 edm::LogInfo(
"EcalLaserAlpha: ") << std::setprecision(6) << (*lalphait);
325 edm::LogInfo(
"No laser alpha found for this xtal! something wrong with EcalLaserAlphas in your DB? ");
341 edm::LogInfo(
"No laser apd/pn ref found for this xtal! something wrong with EcalLaserAPDPNRatiosRef in your DB? ");
354 lratioconst = (*lratioit);
362 edm::LogInfo(
"No laser apd/pn ratio found for this xtal! something wrong with EcalLaserAPDPNRatios in your DB? ");
368 for (
int i = 1;
i <= 92;
i++) {
381 chit = ch_status->
getMap().
find(ebid.rawId());
386 edm::LogInfo(
"No channel status found for this xtal! something wrong with EcalChannelStatus in your DB? ");