37 edm::LogInfo(
"EcalPFRecHitThresholdsMaker") <<
"ped pointer is: " << ped_db << std::endl;
40 edm::LogInfo(
"EcalPFRecHitThresholdsMaker") <<
"adc pointer is: " << adc_db << std::endl;
43 edm::LogInfo(
"EcalPFRecHitThresholdsMaker") <<
"inter pointer is: " << ical_db << std::endl;
70 float lasercalib = 1.;
71 lasercalib =
laser->getLaserCorrection(ebdetid, evt.
time());
76 edm::LogInfo(
"EcalPFRecHitThresholdsMaker") <<
"Thresh(GeV)=" << thresh << std::endl;
78 pfthresh.
insert(std::make_pair(ebdetid.rawId(),
thresh));
96 float lasercalib = 1.;
97 lasercalib =
laser->getLaserCorrection(eedetid, evt.
time());
100 pfthresh.
insert(std::make_pair(eedetid.rawId(),
thresh));
109 float calib = (*itc);
112 float lasercalib = 1.;
113 lasercalib =
laser->getLaserCorrection(eedetid, evt.
time());
116 pfthresh.
insert(std::make_pair(eedetid.rawId(),
thresh));
119 edm::LogInfo(
"EcalPFRecHitThresholdsMaker") <<
"Thresh(GeV)=" << thresh << std::endl;
126 edm::LogInfo(
"EcalPFRecHitThresholdsMaker") <<
"EcalPFRecHitThresholdsMaker wrote it " << std::endl;
static const int MIN_IPHI
void createOneIOV(const T &payload, cond::Time_t firstSinceTime, const std::string &recordName)
static bool validDetId(int i, int j)
check if a valid index combination
bool getData(T &iHolder) const
float EcalPFRecHitThreshold
cond::Time_t beginOfTime() const
edm::ESGetToken< EcalPedestals, EcalPedestalsRcd > ecalPedestalsToken_
edm::ESGetToken< EcalLaserDbService, EcalLaserDbRecord > ecalLaserDbServiceToken_
static const int ETAPHIMODE
edm::ESGetToken< EcalIntercalibConstants, EcalIntercalibConstantsRcd > ecalIntercalibConstantsToken_
void insert(std::pair< uint32_t, Item > const &a)
Log< level::Info, false > LogInfo
static const int MAX_IPHI
static bool validDetId(int crystal_ix, int crystal_iy, int iz)
std::vector< Item >::const_iterator const_iterator
static const int MAX_IETA
edm::ESGetToken< EcalADCToGeVConstant, EcalADCToGeVConstantRcd > ecalADCToGeVConstantToken_
const_iterator find(uint32_t rawId) const
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
edm::Timestamp time() const