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;
175 pfthresh->
insert(std::make_pair(ebdetid.rawId(),
thresh));
190 float calib = (*itc);
193 float lasercalib = 1.;
197 pfthresh->
insert(std::make_pair(eedetid.rawId(),
thresh));
207 float calib = (*itc);
210 float lasercalib = 1.;
214 pfthresh->
insert(std::make_pair(eedetid.rawId(),
thresh));
216 if(iX==50)
std::cout<<
"Thresh(GeV)="<<thresh<<std::endl;
231 std::cout<<
"EcalPFRecHitThresholdsMaker wrote it " << std::endl;
static const int MIN_IPHI
EcalPFRecHitThresholdsMap EcalPFRecHitThresholds
float getLaserCorrection(DetId const &xid, edm::Timestamp const &iTime) const
static bool validDetId(int i, int j)
check if a valid index combination
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