Go to the documentation of this file.
33 DetId detid(itdg->id());
52 pedVec[0] = aped->mean_x12;
64 EcalTBWeights::EcalTBWeightMap::const_iterator wit;
65 wit = wgtsMap.find(std::make_pair(*gid, tdcid));
66 if (wit == wgtsMap.end()) {
68 <<
"No weights found for EcalGroupId: " << gid->
id() <<
" and EcalTDCId: " << tdcid
69 <<
"\n skipping digi with id: " << detid.rawId();
107 result.emplace_back(rhit);
123 "EcalUncalibRecHitWorkerWeights");
EcalUncalibRecHitRecWeightsAlgo< EEDataFrame > uncalibMaker_endcap_
int hashedIndex() const
get a compact index for arrays
const EcalTBWeightMap & getMap() const
void setEventSetup(const edm::EventSetup &evtSetup)
void set(const edm::EventSetup &es) override
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
edm::ParameterSetDescription getAlgoDescription() override
edm::ESHandle< EcalTBWeights > wgts
void setFlagBit(Flags flag)
math::Matrix< 3, 10 >::type EcalWeightMatrix
EcalUncalibRecHitWorkerWeights()
edm::ESHandle< EcalWeightXtalGroups > grps
EcalWeightMatrix & getWeightsAfterGainSwitch()
#define DEFINE_EDM_PLUGIN(factory, type, name)
float gain12Over6() const
edm::ESHandle< EcalPedestals > peds
EcalWeightMatrix & getWeightsBeforeGainSwitch()
const EcalWeightSet::EcalWeightMatrix * weights[2]
Log< level::Error, false > LogError
std::map< std::pair< EcalXtalGroupId, EcalTDCId >, EcalWeightSet > EcalTBWeightMap
bool run(const edm::Event &evt, const EcalDigiCollection::const_iterator &digi, EcalUncalibratedRecHitCollection &result) override
virtual EcalUncalibratedRecHit makeRecHit(const C &dataFrame, const double *pedestals, const double *pedestalsRMS, const double *gainRatios, const EcalWeightSet::EcalWeightMatrix **weights, const EcalShapeBase &testbeamPulseShape)
Compute parameters.
int hashedIndex(int ieta, int iphi)
edm::ESHandle< EcalGainRatios > gains