Implements edm::EDAnalyzer.
Definition at line 105 of file EcalPFRecHitThresholdsMaker.cc.
114 std::cout <<
"ped pointer is: " << ped_db << std::endl;
119 std::cout <<
"adc pointer is: " << adc_db << std::endl;
124 std::cout <<
"inter pointer is: " << ical_db << std::endl;
149 float calib = (*itc);
152 float lasercalib = 1.;
153 lasercalib =
laser->getLaserCorrection(ebdetid, evt.
time());
160 pfthresh->
insert(std::make_pair(ebdetid.rawId(),
thresh));
175 float calib = (*itc);
178 float lasercalib = 1.;
179 lasercalib =
laser->getLaserCorrection(eedetid, evt.
time());
182 pfthresh->
insert(std::make_pair(eedetid.rawId(),
thresh));
191 float calib = (*itc);
194 float lasercalib = 1.;
195 lasercalib =
laser->getLaserCorrection(eedetid, evt.
time());
198 pfthresh->
insert(std::make_pair(eedetid.rawId(),
thresh));
209 std::cout <<
"EcalPFRecHitThresholdsMaker wrote it " << std::endl;
References cond::service::PoolDBOutputService::beginOfTime(), gather_cfg::cout, cond::service::PoolDBOutputService::createNewIOV(), cond::service::PoolDBOutputService::endOfTime(), EBDetId::ETAPHIMODE, Exception, EcalCondObjectContainer< T >::find(), dqmMemoryStats::float, edm::EventSetup::get(), get, EcalADCToGeVConstant::getEBValue(), EcalADCToGeVConstant::getEEValue(), L1TowerCalibrationProducer_cfi::iEta, EcalCondObjectContainer< T >::insert(), edm::Service< T >::isAvailable(), EEDetId::IX_MAX, EEDetId::IX_MIN, EEDetId::IY_MAX, EEDetId::IY_MIN, EcalCondDBWriter_cfi::laser, m_nsigma, EBDetId::MAX_IETA, EBDetId::MAX_IPHI, EBDetId::MIN_IPHI, edm::ESHandle< T >::product(), DetId::rawId(), EcalPedestal::rms_x12, GOODCOLL_filter_cfg::thresh, edm::EventBase::time(), EBDetId::validDetId(), and EEDetId::validDetId().