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.;
158 std::cout <<
"Thresh(GeV)=" << thresh << std::endl;
175 float calib = (*itc);
178 float lasercalib = 1.;
191 float calib = (*itc);
194 float lasercalib = 1.;
201 std::cout <<
"Thresh(GeV)=" << thresh << std::endl;
209 std::cout <<
"EcalPFRecHitThresholdsMaker wrote it " << std::endl;
T getParameter(std::string const &) const
static const int MIN_IPHI
EcalPFRecHitThresholdsMap EcalPFRecHitThresholds
~EcalPFRecHitThresholdsMaker() override
EcalPFRecHitThresholdsMaker(const edm::ParameterSet &iConfig)
float getLaserCorrection(DetId const &xid, edm::Timestamp const &iTime) const
constexpr uint32_t rawId() const
get the raw id
static bool validDetId(int i, int j)
check if a valid index combination
void analyze(const edm::Event &evt, const edm::EventSetup &evtSetup) override
float EcalPFRecHitThreshold
cond::Time_t beginOfTime() const
static const int ETAPHIMODE
void createNewIOV(T *firstPayloadObj, cond::Time_t firstSinceTime, cond::Time_t firstTillTime, const std::string &recordName, bool withlogging=false)
void insert(std::pair< uint32_t, Item > const &a)
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
cond::Time_t endOfTime() const
const_iterator find(uint32_t rawId) const
T const * product() const
edm::Timestamp time() const