#include <EcalUncalibRecHitWorkerMultiFit.h>
Public Member Functions | |
EcalUncalibRecHitWorkerMultiFit (const edm::ParameterSet &, edm::ConsumesCollector &c) | |
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 &) | |
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) |
Private Member Functions | |
void | fillInputs (const edm::ParameterSet ¶ms) |
Definition at line 36 of file EcalUncalibRecHitWorkerMultiFit.h.
EcalUncalibRecHitWorkerMultiFit::EcalUncalibRecHitWorkerMultiFit | ( | const edm::ParameterSet & | ps, |
edm::ConsumesCollector & | c | ||
) |
Definition at line 19 of file EcalUncalibRecHitWorkerMultiFit.cc.
References activeBX, ampErrorCalculation_, bunchSpacing_, chi2ThreshEB_, chi2ThreshEE_, edm::ConsumesCollector::consumes(), doPrefitEB_, doPrefitEE_, EBamplitudeFitParameters_, ebPulseShape_, EBtimeConstantTerm_, EBtimeFitLimits_, EBtimeFitParameters_, EcalPulseShapeParameters_, EEamplitudeFitParameters_, eePulseShape_, EEtimeConstantTerm_, EEtimeFitLimits_, EEtimeFitParameters_, fillInputs(), edm::ParameterSet::getParameter(), kPoorRecoFlagEB_, kPoorRecoFlagEE_, prefitMaxChiSqEB_, prefitMaxChiSqEE_, BXVector< T >::resize(), AlCaHLTBitMon_QueryRunRegistry::string, timealgo_, and useLumiInfoRunHeader_.
|
inlinevirtual |
Definition at line 41 of file EcalUncalibRecHitWorkerMultiFit.h.
|
private |
Definition at line 496 of file EcalUncalibRecHitWorkerMultiFit.cc.
References funct::abs(), fullpulsecovEB, fullpulsecovEE, fullpulseEB, fullpulseEE, edm::ParameterSet::getParameter(), i, j, roll_playback::k, noisecorEBg1, noisecorEBg12, noisecorEBg6, noisecorEEg1, noisecorEEg12, noisecorEEg6, and funct::pow().
Referenced by EcalUncalibRecHitWorkerMultiFit().
|
protected |
Definition at line 468 of file EcalUncalibRecHitWorkerMultiFit.cc.
References noisecorEBg1, noisecorEBg12, noisecorEBg6, noisecorEEg1, noisecorEEg12, and noisecorEEg6.
Referenced by run().
|
overridevirtual |
Implements EcalUncalibRecHitWorkerBaseClass.
Definition at line 251 of file EcalUncalibRecHitWorkerMultiFit.cc.
References activeBX, EcalUncalibratedRecHit::amplitude(), Reference_intrackfit_cff::barrel, EcalUncalibRecHitRatioMethodAlgo< C >::computeAmplitude(), EcalUncalibRecHitRatioMethodAlgo< C >::computeTime(), cond::rpcobgas::detid, doPrefitEB_, doPrefitEE_, EBamplitudeFitParameters_, ebPulseShape_, EBtimeConstantTerm_, EBtimeFitLimits_, EBtimeFitParameters_, EcalBarrel, EcalEndcap, EEamplitudeFitParameters_, eePulseShape_, EEtimeConstantTerm_, EEtimeFitLimits_, EEtimeFitParameters_, EcalUncalibRecHitRatioMethodAlgo< C >::fixMGPAslew(), fullpulsecovEB, fullpulsecovEE, fullpulseEB, fullpulseEE, EcalMGPAGainRatio::gain12Over6(), EcalMGPAGainRatio::gain6Over1(), gainRatios, gains, EcalUncalibRecHitRatioMethodAlgo< C >::getCalculatedRecHit(), EcalWeightSet::getWeightsAfterGainSwitch(), EcalWeightSet::getWeightsBeforeGainSwitch(), grps, ecalpyutils::hashedIndex(), EBDetId::hashedIndex(), EEDetId::hashedIndex(), EcalXtalGroupId::id(), EcalUncalibRecHitRatioMethodAlgo< C >::init(), EcalUncalibratedRecHit::kHasSwitchToGain1, EcalUncalibratedRecHit::kHasSwitchToGain6, EcalUncalibratedRecHit::kLeadingEdgeRecovered, EcalUncalibratedRecHit::kSaturated, leadingEdgeMethod_barrel_, leadingEdgeMethod_endcap_, EcalUncalibRecHitMultiFitAlgo::makeRecHit(), EcalUncalibRecHitLeadingEdgeAlgo< C >::makeRecHit(), EcalPedestal::mean_x1, EcalPedestal::mean_x12, EcalPedestal::mean_x6, multiFitMethod_, noisecor(), EcalUncalibratedRecHit::outOfTimeAmplitude(), pedRMSVec, peds, pedVec, funct::pow(), prefitMaxChiSqEB_, prefitMaxChiSqEE_, edm::ESHandle< class >::product(), edm::SortedCollection< T, SORT >::push_back(), ratioMethod_barrel_, ratioMethod_endcap_, EcalPedestal::rms_x1, EcalPedestal::rms_x12, EcalPedestal::rms_x6, sampleMaskHand_, EcalUncalibratedRecHit::setChi2(), EcalUncalibRecHitMultiFitAlgo::setDoPrefit(), EcalUncalibratedRecHit::setFlagBit(), EcalUncalibratedRecHit::setJitter(), EcalUncalibratedRecHit::setJitterError(), EcalUncalibRecHitLeadingEdgeAlgo< C >::setLeadingEdgeSample(), EcalUncalibRecHitMultiFitAlgo::setPrefitMaxChiSq(), EcalUncalibRecHitLeadingEdgeAlgo< C >::setPulseShape(), BXVector< T >::size(), mathSSE::sqrt(), EcalUncalibRecHitTimeWeightsAlgo< C >::time(), timealgo_, timeCorrBias_, timeCorrection(), weights, weightsMethod_barrel_, weightsMethod_endcap_, and wgts.
Referenced by set().
|
overridevirtual |
Implements EcalUncalibRecHitWorkerBaseClass.
Definition at line 115 of file EcalUncalibRecHitWorkerMultiFit.cc.
References ampErrorCalculation_, EcalUncalibRecHitMultiFitAlgo::disableErrorCalculation(), gains, edm::EventSetup::get(), grps, itime, multiFitMethod_, offtime, peds, sampleMaskHand_, timeCorrBias_, and wgts.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
overridevirtual |
Reimplemented from EcalUncalibRecHitWorkerBaseClass.
Definition at line 143 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 194 of file EcalUncalibRecHitWorkerMultiFit.cc.
References newFWLiteAna::bin.
Referenced by run().
|
protected |
Definition at line 74 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), run(), and set().
|
protected |
Definition at line 75 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and set().
|
protected |
Definition at line 79 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and set().
|
protected |
Definition at line 122 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit().
|
protected |
Definition at line 123 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit().
|
protected |
Definition at line 124 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 97 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 113 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 99 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 95 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 49 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit().
|
protected |
Definition at line 98 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 114 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 100 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 96 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 72 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by fillInputs(), and run().
|
protected |
Definition at line 73 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by fillInputs(), and run().
|
protected |
Definition at line 70 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by fillInputs(), and run().
|
protected |
Definition at line 71 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by fillInputs(), and run().
|
protected |
Definition at line 53 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by run().
|
protected |
Definition at line 56 of file EcalUncalibRecHitWorkerMultiFit.h.
|
protected |
Definition at line 88 of file EcalUncalibRecHitWorkerMultiFit.h.
|
protected |
Definition at line 111 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by set().
|
protected |
Definition at line 120 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit().
|
protected |
Definition at line 121 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit().
|
protected |
Definition at line 115 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by run().
|
protected |
Definition at line 116 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by run().
|
protected |
Definition at line 77 of file EcalUncalibRecHitWorkerMultiFit.h.
|
protected |
Definition at line 68 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by fillInputs(), and noisecor().
|
protected |
Definition at line 64 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by fillInputs(), and noisecor().
|
protected |
Definition at line 66 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by fillInputs(), and noisecor().
|
protected |
Definition at line 69 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by fillInputs(), and noisecor().
|
protected |
Definition at line 65 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by fillInputs(), and noisecor().
|
protected |
Definition at line 67 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by fillInputs(), and noisecor().
|
protected |
Definition at line 112 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by set().
|
protected |
Definition at line 52 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by run().
|
protected |
Definition at line 55 of file EcalUncalibRecHitWorkerMultiFit.h.
|
protected |
Definition at line 51 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by run().
|
protected |
Definition at line 126 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 127 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 102 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by run().
|
protected |
Definition at line 103 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by run().
|
protected |
Definition at line 82 of file EcalUncalibRecHitWorkerMultiFit.h.
|
protected |
Definition at line 85 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 108 of file EcalUncalibRecHitWorkerMultiFit.h.
|
protected |
Definition at line 76 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and set().
|
protected |
Definition at line 90 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by run().
|
protected |
Definition at line 91 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by run().
|
protected |
Definition at line 92 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by run().
|
protected |
Definition at line 89 of file EcalUncalibRecHitWorkerMultiFit.h.