#include <EcalUncalibRecHitWorkerMultiFit.h>
Public Member Functions | |
EcalUncalibRecHitWorkerMultiFit (const edm::ParameterSet &, edm::ConsumesCollector &c) | |
EcalUncalibRecHitWorkerMultiFit () | |
edm::ParameterSetDescription | getAlgoDescription () |
bool | run (const edm::Event &evt, const EcalDigiCollection::const_iterator &digi, EcalUncalibratedRecHitCollection &result) override |
void | set (const edm::EventSetup &es) override |
void | set (const edm::Event &evt) override |
virtual | ~EcalUncalibRecHitWorkerMultiFit () |
Public Member Functions inherited from EcalUncalibRecHitWorkerBaseClass | |
EcalUncalibRecHitWorkerBaseClass (const edm::ParameterSet &, edm::ConsumesCollector &c) | |
EcalUncalibRecHitWorkerBaseClass (const edm::ParameterSet &) | |
EcalUncalibRecHitWorkerBaseClass () | |
virtual | ~EcalUncalibRecHitWorkerBaseClass () |
Protected Member Functions | |
const SampleMatrix & | noisecor (bool barrel, int gain) const |
double | timeCorrection (float ampli, const std::vector< float > &litudeBins, const std::vector< float > &shiftBins) |
Definition at line 40 of file EcalUncalibRecHitWorkerMultiFit.h.
EcalUncalibRecHitWorkerMultiFit::EcalUncalibRecHitWorkerMultiFit | ( | const edm::ParameterSet & | ps, |
edm::ConsumesCollector & | c | ||
) |
Definition at line 25 of file EcalUncalibRecHitWorkerMultiFit.cc.
References activeBX, ampErrorCalculation_, amplitudeThreshEB_, amplitudeThreshEE_, bunchSpacing_, chi2ThreshEB_, chi2ThreshEE_, edm::ConsumesCollector::consumes(), doPrefitEB_, doPrefitEE_, EBamplitudeFitParameters_, ebPulseShape_, ebSpikeThresh_, EBtimeConstantTerm_, EBtimeFitLimits_, EBtimeFitParameters_, EBtimeNconst_, EEamplitudeFitParameters_, eePulseShape_, EEtimeConstantTerm_, EEtimeFitLimits_, EEtimeFitParameters_, EEtimeNconst_, edm::ParameterSet::getParameter(), HLT_25ns14e33_v1_cff::InputTag, kPoorRecoFlagEB_, kPoorRecoFlagEE_, outOfTimeThreshG12mEB_, outOfTimeThreshG12mEE_, outOfTimeThreshG12pEB_, outOfTimeThreshG12pEE_, outOfTimeThreshG61mEB_, outOfTimeThreshG61mEE_, outOfTimeThreshG61pEB_, outOfTimeThreshG61pEE_, prefitMaxChiSqEB_, prefitMaxChiSqEE_, BXVector< T >::resize(), AlCaHLTBitMon_QueryRunRegistry::string, timealgo_, and useLumiInfoRunHeader_.
|
inline |
Definition at line 44 of file EcalUncalibRecHitWorkerMultiFit.h.
|
inlinevirtual |
Definition at line 45 of file EcalUncalibRecHitWorkerMultiFit.h.
|
virtual |
Implements EcalUncalibRecHitWorkerBaseClass.
Definition at line 563 of file EcalUncalibRecHitWorkerMultiFit.cc.
References edm::ParameterSetDescription::addNode(), and edm::ParameterSetDescription::addOptionalNode().
|
protected |
Definition at line 534 of file EcalUncalibRecHitWorkerMultiFit.cc.
References noisecorEBg1, noisecorEBg12, noisecorEBg6, noisecorEEg1, noisecorEEg12, and noisecorEEg6.
Referenced by run().
|
overridevirtual |
Implements EcalUncalibRecHitWorkerBaseClass.
Definition at line 235 of file EcalUncalibRecHitWorkerMultiFit.cc.
References funct::abs(), activeBX, EcalUncalibratedRecHit::amplitude(), amplitudeThreshEB_, amplitudeThreshEE_, Reference_intrackfit_cff::barrel, EcalUncalibRecHitRatioMethodAlgo< C >::computeAmplitude(), EcalUncalibRecHitRatioMethodAlgo< C >::computeTime(), EcalPulseCovariance::covval, cond::rpcobgas::detid, doPrefitEB_, doPrefitEE_, EBamplitudeFitParameters_, EBtimeConstantTerm_, EBtimeFitLimits_, EBtimeFitParameters_, EBtimeNconst_, EcalBarrel, EcalEndcap, EEamplitudeFitParameters_, EEtimeConstantTerm_, EEtimeFitLimits_, EEtimeFitParameters_, EEtimeNconst_, EcalUncalibRecHitRatioMethodAlgo< C >::fixMGPAslew(), fullpulsecovEB, fullpulsecovEE, fullpulseEB, fullpulseEE, EcalMGPAGainRatio::gain12Over6(), EcalMGPAGainRatio::gain6Over1(), ecalMGPA::gainId(), gainRatios, gains, EcalUncalibRecHitRatioMethodAlgo< C >::getCalculatedRecHit(), EcalWeightSet::getWeightsAfterGainSwitch(), EcalWeightSet::getWeightsBeforeGainSwitch(), grps, ecalpyutils::hashedIndex(), EBDetId::hashedIndex(), EEDetId::hashedIndex(), i, EcalXtalGroupId::id(), EcalUncalibRecHitRatioMethodAlgo< C >::init(), itime, j, relval_steps::k, EcalUncalibratedRecHit::kHasSwitchToGain1, EcalUncalibratedRecHit::kHasSwitchToGain6, EcalUncalibratedRecHit::kOutOfTime, EcalUncalibratedRecHit::kSaturated, EcalUncalibRecHitMultiFitAlgo::makeRecHit(), EcalDataFrame::MAXSAMPLES, EcalPedestal::mean_x1, EcalPedestal::mean_x12, EcalPedestal::mean_x6, multiFitMethod_, noisecor(), noisecorEBg1, noisecorEBg12, noisecorEBg6, noisecorEEg1, noisecorEEg12, noisecorEEg6, noisecovariances, offtime, EcalUncalibratedRecHit::outOfTimeAmplitude(), outOfTimeThreshG12mEB_, outOfTimeThreshG12mEE_, outOfTimeThreshG12pEB_, outOfTimeThreshG12pEE_, outOfTimeThreshG61mEB_, outOfTimeThreshG61mEE_, outOfTimeThreshG61pEB_, outOfTimeThreshG61pEE_, EcalPulseShape::pdfval, EcalCondDBWriter_cfi::pedestal, pedRMSVec, peds, pedVec, funct::pow(), prefitMaxChiSqEB_, prefitMaxChiSqEE_, edm::ESHandle< class >::product(), pulsecovariances, pulseshapes, edm::SortedCollection< T, SORT >::push_back(), ratioMethod_barrel_, ratioMethod_endcap_, EcalPedestal::rms_x1, EcalPedestal::rms_x12, EcalPedestal::rms_x6, compare_using_db::sample, sampleMaskHand_, EcalUncalibratedRecHit::setChi2(), EcalUncalibRecHitMultiFitAlgo::setDoPrefit(), EcalUncalibratedRecHit::setFlagBit(), EcalUncalibratedRecHit::setJitter(), EcalUncalibratedRecHit::setJitterError(), EcalUncalibRecHitMultiFitAlgo::setPrefitMaxChiSq(), BXVector< T >::size(), mathSSE::sqrt(), EcalPulseShape::TEMPLATESAMPLES, EcalUncalibRecHitTimeWeightsAlgo< C >::time(), timealgo_, timeCorrBias_, timeCorrection(), weights, weightsMethod_barrel_, weightsMethod_endcap_, and wgts.
Referenced by set().
|
overridevirtual |
Implements EcalUncalibRecHitWorkerBaseClass.
Definition at line 98 of file EcalUncalibRecHitWorkerMultiFit.cc.
References ampErrorCalculation_, EcalUncalibRecHitMultiFitAlgo::disableErrorCalculation(), gains, edm::EventSetup::get(), grps, itime, multiFitMethod_, noisecovariances, offtime, peds, pulsecovariances, pulseshapes, sampleMaskHand_, timeCorrBias_, and wgts.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
overridevirtual |
Reimplemented from EcalUncalibRecHitWorkerBaseClass.
Definition at line 127 of file EcalUncalibRecHitWorkerMultiFit.cc.
References activeBX, bunchSpacing_, edm::Event::getByToken(), edm::EventBase::isRealData(), BXVector< T >::resize(), run(), edm::Event::run(), and useLumiInfoRunHeader_.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
protected |
Amplitude-dependent time corrections; EE and EB have separate corrections: EXtimeCorrAmplitudes (ADC) and EXtimeCorrShifts (ns) need to have the same number of elements Bins must be ordered in amplitude. First-last bins take care of under-overflows.
The algorithm is the same for EE and EB, only the correction vectors are different.
Definition at line 178 of file EcalUncalibRecHitWorkerMultiFit.cc.
References newFWLiteAna::bin.
Referenced by run().
|
protected |
Definition at line 80 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), run(), and set().
|
protected |
Definition at line 81 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and set().
|
protected |
Definition at line 127 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 128 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 85 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and set().
|
protected |
Definition at line 142 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit().
|
protected |
Definition at line 143 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit().
|
protected |
Definition at line 99 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 100 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 107 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 135 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit().
|
protected |
Definition at line 129 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit().
|
protected |
Definition at line 115 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 109 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 105 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 117 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 108 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 136 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit().
|
protected |
Definition at line 116 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 110 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 106 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 118 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 78 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by run().
|
protected |
Definition at line 79 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by run().
|
protected |
Definition at line 76 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by run().
|
protected |
Definition at line 77 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by run().
|
protected |
Definition at line 56 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by run().
|
protected |
Definition at line 59 of file EcalUncalibRecHitWorkerMultiFit.h.
|
protected |
Definition at line 94 of file EcalUncalibRecHitWorkerMultiFit.h.
|
protected |
Definition at line 133 of file EcalUncalibRecHitWorkerMultiFit.h.
|
protected |
Definition at line 140 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit().
|
protected |
Definition at line 141 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit().
|
protected |
Definition at line 83 of file EcalUncalibRecHitWorkerMultiFit.h.
|
protected |
Definition at line 74 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by noisecor(), and run().
|
protected |
Definition at line 70 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by noisecor(), and run().
|
protected |
Definition at line 72 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by noisecor(), and run().
|
protected |
Definition at line 75 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by noisecor(), and run().
|
protected |
Definition at line 71 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by noisecor(), and run().
|
protected |
Definition at line 73 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by noisecor(), and run().
|
protected |
Definition at line 60 of file EcalUncalibRecHitWorkerMultiFit.h.
|
protected |
Definition at line 134 of file EcalUncalibRecHitWorkerMultiFit.h.
|
protected |
Definition at line 120 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 124 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 119 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 123 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 122 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 126 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 121 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 125 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 55 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by run().
|
protected |
Definition at line 58 of file EcalUncalibRecHitWorkerMultiFit.h.
|
protected |
Definition at line 54 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by run().
|
protected |
Definition at line 101 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 102 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 62 of file EcalUncalibRecHitWorkerMultiFit.h.
|
protected |
Definition at line 61 of file EcalUncalibRecHitWorkerMultiFit.h.
|
protected |
Definition at line 112 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by run().
|
protected |
Definition at line 113 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by run().
|
protected |
Definition at line 88 of file EcalUncalibRecHitWorkerMultiFit.h.
|
protected |
Definition at line 91 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 131 of file EcalUncalibRecHitWorkerMultiFit.h.
|
protected |
Definition at line 82 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and set().
|
protected |
Definition at line 96 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by run().
|
protected |
Definition at line 97 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by run().
|
protected |
Definition at line 98 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by run().
|
protected |
Definition at line 95 of file EcalUncalibRecHitWorkerMultiFit.h.