Definition at line 64 of file EcalLaserCondTools.h.
Reimplemented from EcalLaserCondTools::CorrReader.
Definition at line 521 of file EcalLaserCondTools.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), alignCSCRings::corr, ALCARECOPPSCalTrackBasedSel_cff::detid, EcalBarrel, EcalEndcap, Exception, EcalLaserCondTools::fnames_, mps_fire::i, EBDetId::ietaAbs(), EBDetId::iphi(), EEDetId::ix(), EEDetId::iy(), create_idmaps::n, trim(), EBDetId::validDetId(), EEDetId::validDetId(), EcalLaserCondTools::verb_, and EEDetId::zside().
524 edm::LogPrint(
"EcalLaserCondTools") <<
"Requested to read p1..p3 parameter line while no file is closed.\n";
535 <<
": unexpected line type, '" << (char)
i <<
"' while expecting 'P'\n";
538 edm::LogPrint(
"EcalLaserCondTools") <<
"Failed to read p1..p3 parameter line\n";
544 int n = fscanf(
f_,
"%d %f %f %f\n", &rawdetid, &
corr.p1, &
corr.p2, &
corr.p3);
552 <<
" raw id" << rawdetid <<
": " <<
corr.p1 <<
", " <<
corr.p2;
556 if (
detid.det() != ECALID)
558 <<
" contains an invalid det ID (detector code is not ECAL!)\n";
563 <<
" contains an invalid det ID (detector code is not ECAL!)\n";
569 <<
" contains an invalid det ID (detector code is not ECAL!)\n";
static bool validDetId(int i, int j)
check if a valid index combination
Log< level::Warning, true > LogPrint
static bool validDetId(int crystal_ix, int crystal_iy, int iz)