Go to the documentation of this file.
95 : m_timetype(iConfig.getParameter<
std::
string>(
"timetype")) {
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());
175 float calib = (*itc);
178 float lasercalib = 1.;
179 lasercalib =
laser->getLaserCorrection(eedetid, evt.
time());
191 float calib = (*itc);
194 float lasercalib = 1.;
195 lasercalib =
laser->getLaserCorrection(eedetid, evt.
time());
209 std::cout <<
"EcalPFRecHitThresholdsMaker wrote it " << std::endl;
T const * product() const
cond::Time_t beginOfTime() const
EcalPFRecHitThresholdsMap EcalPFRecHitThresholds
edm::Timestamp time() const
void createNewIOV(const T *firstPayloadObj, cond::Time_t firstSinceTime, cond::Time_t, const std::string &recordName)
float EcalPFRecHitThreshold
const_iterator find(uint32_t rawId) const
static const int MAX_IPHI
EcalPFRecHitThresholdsMaker(const edm::ParameterSet &iConfig)
static const int ETAPHIMODE
void analyze(const edm::Event &evt, const edm::EventSetup &evtSetup) override
cond::Time_t endOfTime() const
static bool validDetId(int i, int j)
check if a valid index combination
constexpr uint32_t rawId() const
get the raw id
void insert(std::pair< uint32_t, Item > const &a)
T getParameter(std::string const &) const
static bool validDetId(int crystal_ix, int crystal_iy, int iz)
~EcalPFRecHitThresholdsMaker() override
std::vector< Item >::const_iterator const_iterator
static const int MAX_IETA
static const int MIN_IPHI