|
|
Go to the documentation of this file.
45 LogDebug(
"EcalUncalibRecHitDebug") <<
"fetching gainRatios....";
47 LogDebug(
"EcalUncalibRecHitDebug") <<
"done.";
50 LogDebug(
"EcalUncalibRecHitDebug") <<
"fetching pedestals....";
52 LogDebug(
"EcalUncalibRecHitDebug") <<
"done.";
69 DetId detid(itdg->id());
73 pedIter = pedMap.
find(detid);
74 if (pedIter != pedMap.
end()) {
77 edm::LogError(
"EcalUncalibRecHitWorkerAnalFit") <<
"error!! could not find pedestals for channel: ";
83 edm::LogError(
"EcalUncalibRecHitWorkerAnalFit") <<
"\n no uncalib rechit will be made for this digi!";
93 gainIter = gainMap.
find(detid);
94 if (gainIter != gainMap.
end()) {
97 edm::LogError(
"EcalUncalibRecHitWorkerAnalFit") <<
"error!! could not find gain ratios for channel: ";
103 edm::LogError(
"EcalUncalibRecHitWorkerAnalFit") <<
"\n no uncalib rechit will be made for this digi!";
106 double gainRatios[3];
115 LogDebug(
"EcalUncalibRecHitInfo") <<
"EcalUncalibRecHitWorkerAnalFit: processed EBDataFrame with id: "
117 <<
"uncalib rechit amplitude: " << aHit.
amplitude();
123 LogDebug(
"EcalUncalibRecHitInfo") <<
"EcalUncalibRecHitWorkerAnalFit: processed EEDataFrame with id: "
125 <<
"uncalib rechit amplitude: " << aHit.
amplitude();
148 "EcalUncalibRecHitWorkerAnalFit");
const_iterator end() const
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
EcalUncalibRecHitWorkerAnalFit()
EcalUncalibratedRecHit makeRecHit(const C &dataFrame, const double *pedestals, const double *gainRatios, const EcalWeightSet::EcalWeightMatrix **weights, const EcalWeightSet::EcalChi2WeightMatrix **chi2Matrix) override
Compute parameters.
void set(const edm::EventSetup &es) override
edm::ParameterSetDescription getAlgoDescription() override
edm::ESHandle< EcalPedestals > pedHandle
const_iterator find(uint32_t rawId) const
#define DEFINE_EDM_PLUGIN(factory, type, name)
float gain12Over6() const
edm::ESHandle< EcalGainRatios > pRatio
EcalPedestalsMap::const_iterator EcalPedestalsMapIterator
EcalUncalibRecHitRecAnalFitAlgo< EEDataFrame > algoEE_
bool run(const edm::Event &evt, const EcalDigiCollection::const_iterator &digi, EcalUncalibratedRecHitCollection &result) override
std::vector< Item >::const_iterator const_iterator
EcalUncalibRecHitRecAnalFitAlgo< EBDataFrame > algoEB_