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());
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());
126 edm::LogInfo(
"EcalPFRecHitThresholdsMaker") <<
"EcalPFRecHitThresholdsMaker wrote it " << std::endl;
T getParameter(std::string const &) const
static const int MIN_IPHI
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
~EcalPFRecHitThresholdsMaker() override
EcalPFRecHitThresholdsMaker(const edm::ParameterSet &iConfig)
cond::Time_t beginOfTime() const
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
edm::Timestamp time() const
float EcalPFRecHitThreshold
edm::ESGetToken< EcalPedestals, EcalPedestalsRcd > ecalPedestalsToken_
edm::ESGetToken< EcalLaserDbService, EcalLaserDbRecord > ecalLaserDbServiceToken_
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
static const int ETAPHIMODE
const_iterator find(uint32_t rawId) const
edm::ESGetToken< EcalIntercalibConstants, EcalIntercalibConstantsRcd > ecalIntercalibConstantsToken_
void insert(std::pair< uint32_t, Item > const &a)
Log< level::Info, false > LogInfo
static const int MAX_IPHI
constexpr uint32_t rawId() const
get the raw id
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_