20 : m_timetype(iConfig.getParameter<std::
string>(
"timetype")),
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;
96 float lasercalib = 1.;
97 lasercalib =
laser->getLaserCorrection(eedetid, evt.
time());
109 float calib = (*itc);
112 float lasercalib = 1.;
113 lasercalib =
laser->getLaserCorrection(eedetid, evt.
time());
119 edm::LogInfo(
"EcalPFRecHitThresholdsMaker") <<
"Thresh(GeV)=" << thresh << std::endl;
126 edm::LogInfo(
"EcalPFRecHitThresholdsMaker") <<
"EcalPFRecHitThresholdsMaker wrote it " << std::endl;
static const int MIN_IPHI
~EcalPFRecHitThresholdsMaker() override
EcalPFRecHitThresholdsMaker(const edm::ParameterSet &iConfig)
constexpr uint32_t rawId() const
get the raw id
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
void analyze(const edm::Event &evt, const edm::EventSetup &evtSetup) override
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
T getParameter(std::string const &) const
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