96 m_timetype(iConfig.getParameter<
std::
string>(
"timetype"))
125 std::cout <<
"ped pointer is: "<< ped_db<< std::endl;
131 std::cout <<
"adc pointer is: "<< adc_db<< std::endl;
136 std::cout <<
"inter pointer is: "<< ical_db<< std::endl;
156 if(iEta==0)
continue;
165 float calib = (*itc);
168 float lasercalib = 1.;
173 if(iPhi==100)
std::cout<<
"Thresh(GeV)="<<thresh<<std::endl;
190 float calib = (*itc);
193 float lasercalib = 1.;
207 float calib = (*itc);
210 float lasercalib = 1.;
216 if(iX==50)
std::cout<<
"Thresh(GeV)="<<thresh<<std::endl;
231 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
static bool validDetId(int i, int j)
check if a valid index combination
void analyze(const edm::Event &evt, const edm::EventSetup &evtSetup) override
uint32_t rawId() const
get the raw id
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