#include <EcalUncalibRecHitWorkerMultiFit.h>
Public Member Functions | |
EcalUncalibRecHitWorkerMultiFit (const edm::ParameterSet &, edm::ConsumesCollector &c) | |
EcalUncalibRecHitWorkerMultiFit () | |
edm::ParameterSetDescription | getAlgoDescription () |
virtual | ~EcalUncalibRecHitWorkerMultiFit () |
Public Member Functions inherited from EcalUncalibRecHitWorkerBaseClass | |
EcalUncalibRecHitWorkerBaseClass (const edm::ParameterSet &, edm::ConsumesCollector &c) | |
EcalUncalibRecHitWorkerBaseClass (const edm::ParameterSet &) | |
EcalUncalibRecHitWorkerBaseClass () | |
virtual | ~EcalUncalibRecHitWorkerBaseClass () |
Private Types | |
enum | TimeAlgo { noMethod, ratioMethod, weightsMethod } |
Private Member Functions | |
const SampleMatrix & | noisecor (bool barrel, int gain) const |
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 |
double | timeCorrection (float ampli, const std::vector< float > &litudeBins, const std::vector< float > &shiftBins) |
Definition at line 40 of file EcalUncalibRecHitWorkerMultiFit.h.
|
private |
Enumerator | |
---|---|
noMethod | |
ratioMethod | |
weightsMethod |
Definition at line 87 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_, bunchSpacingManual_, chi2ThreshEB_, chi2ThreshEE_, edm::ConsumesCollector::consumes(), doPrefitEB_, doPrefitEE_, EBamplitudeFitParameters_, ebPulseShape_, ebSpikeThresh_, EBtimeConstantTerm_, EBtimeFitLimits_, EBtimeFitParameters_, EBtimeNconst_, EEamplitudeFitParameters_, eePulseShape_, EEtimeConstantTerm_, EEtimeFitLimits_, EEtimeFitParameters_, EEtimeNconst_, edm::ParameterSet::getParameter(), HLT_25ns10e33_v2_cff::InputTag, kPoorRecoFlagEB_, kPoorRecoFlagEE_, outOfTimeThreshG12mEB_, outOfTimeThreshG12mEE_, outOfTimeThreshG12pEB_, outOfTimeThreshG12pEE_, outOfTimeThreshG61mEB_, outOfTimeThreshG61mEE_, outOfTimeThreshG61pEB_, outOfTimeThreshG61pEE_, prefitMaxChiSqEB_, prefitMaxChiSqEE_, ratioMethod, BXVector< T >::resize(), AlCaHLTBitMon_QueryRunRegistry::string, timealgo_, useLumiInfoRunHeader_, and weightsMethod.
|
inline |
Definition at line 44 of file EcalUncalibRecHitWorkerMultiFit.h.
|
inlinevirtual |
Definition at line 45 of file EcalUncalibRecHitWorkerMultiFit.h.
|
virtual |
Implements EcalUncalibRecHitWorkerBaseClass.
Definition at line 527 of file EcalUncalibRecHitWorkerMultiFit.cc.
References edm::ParameterSetDescription::addNode(), and edm::ParameterSetDescription::addOptionalNode().
|
inlineprivate |
Definition at line 63 of file EcalUncalibRecHitWorkerMultiFit.h.
References noisecors.
Referenced by run().
|
overrideprivatevirtual |
Implements EcalUncalibRecHitWorkerBaseClass.
Definition at line 239 of file EcalUncalibRecHitWorkerMultiFit.cc.
References activeBX, EcalUncalibratedRecHit::amplitude(), amplitudeThreshEB_, amplitudeThreshEE_, Reference_intrackfit_cff::barrel, EcalUncalibRecHitRatioMethodAlgo< C >::computeAmplitude(), EcalUncalibRecHitRatioMethodAlgo< C >::computeTime(), constexpr, EcalPulseCovariance::covval, doPrefitEB_, doPrefitEE_, EBamplitudeFitParameters_, EBtimeConstantTerm_, EBtimeFitLimits_, EBtimeFitParameters_, EBtimeNconst_, EcalBarrel, EcalEndcap, EEamplitudeFitParameters_, EEtimeConstantTerm_, EEtimeFitLimits_, EEtimeFitParameters_, EEtimeNconst_, EcalUncalibRecHitRatioMethodAlgo< C >::fixMGPAslew(), EcalMGPAGainRatio::gain12Over6(), EcalMGPAGainRatio::gain6Over1(), ecalMGPA::gainId(), gains, EcalUncalibRecHitRatioMethodAlgo< C >::getCalculatedRecHit(), EcalWeightSet::getWeightsAfterGainSwitch(), EcalWeightSet::getWeightsBeforeGainSwitch(), grps, ecalpyutils::hashedIndex(), EBDetId::hashedIndex(), EEDetId::hashedIndex(), i, EcalXtalGroupId::id(), EcalUncalibRecHitRatioMethodAlgo< C >::init(), itime, j, EcalUncalibratedRecHit::kHasSwitchToGain1, EcalUncalibratedRecHit::kHasSwitchToGain6, EcalUncalibratedRecHit::kOutOfTime, EcalUncalibratedRecHit::kSaturated, EcalUncalibRecHitMultiFitAlgo::makeRecHit(), EcalDataFrame::MAXSAMPLES, EcalPedestal::mean_x1, EcalPedestal::mean_x12, EcalPedestal::mean_x6, multiFitMethod_, noisecor(), offtime, EcalUncalibratedRecHit::outOfTimeAmplitude(), outOfTimeThreshG12mEB_, outOfTimeThreshG12mEE_, outOfTimeThreshG12pEB_, outOfTimeThreshG12pEE_, outOfTimeThreshG61mEB_, outOfTimeThreshG61mEE_, outOfTimeThreshG61pEB_, outOfTimeThreshG61pEE_, EcalPulseShape::pdfval, EcalCondDBWriter_cfi::pedestal, peds, funct::pow(), prefitMaxChiSqEB_, prefitMaxChiSqEE_, edm::ESHandle< class >::product(), pulsecovariances, pulseshapes, edm::SortedCollection< T, SORT >::push_back(), ratioMethod, 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, weightsMethod_barrel_, weightsMethod_endcap_, and wgts.
|
overrideprivatevirtual |
Implements EcalUncalibRecHitWorkerBaseClass.
Definition at line 104 of file EcalUncalibRecHitWorkerMultiFit.cc.
References funct::abs(), ampErrorCalculation_, EcalUncalibRecHitMultiFitAlgo::disableErrorCalculation(), gains, edm::EventSetup::get(), grps, i, itime, j, multiFitMethod_, noisecorEBg1, noisecorEBg12, noisecorEBg6, noisecorEEg1, noisecorEEg12, noisecorEEg6, noisecovariances, offtime, peds, pulsecovariances, pulseshapes, sampleMaskHand_, timeCorrBias_, and wgts.
|
overrideprivatevirtual |
Reimplemented from EcalUncalibRecHitWorkerBaseClass.
Definition at line 146 of file EcalUncalibRecHitWorkerMultiFit.cc.
References activeBX, bunchSpacing_, bunchSpacingManual_, edm::Event::getByToken(), BXVector< T >::resize(), and useLumiInfoRunHeader_.
|
private |
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 184 of file EcalUncalibRecHitWorkerMultiFit.cc.
References newFWLiteAna::bin, and constexpr.
Referenced by run().
|
private |
Definition at line 75 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), run(), and set().
|
private |
Definition at line 76 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and set().
|
private |
Definition at line 124 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
private |
Definition at line 125 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
private |
Definition at line 81 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and set().
|
private |
Definition at line 80 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and set().
|
private |
Definition at line 139 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit().
|
private |
Definition at line 140 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit().
|
private |
Definition at line 96 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
private |
Definition at line 97 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
private |
Definition at line 104 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
private |
Definition at line 132 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit().
|
private |
Definition at line 126 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit().
|
private |
Definition at line 112 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
private |
Definition at line 106 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
private |
Definition at line 102 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
private |
Definition at line 114 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
private |
Definition at line 105 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
private |
Definition at line 133 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit().
|
private |
Definition at line 113 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
private |
Definition at line 107 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
private |
Definition at line 103 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
private |
Definition at line 115 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
private |
Definition at line 55 of file EcalUncalibRecHitWorkerMultiFit.h.
|
private |
Definition at line 91 of file EcalUncalibRecHitWorkerMultiFit.h.
|
private |
Definition at line 130 of file EcalUncalibRecHitWorkerMultiFit.h.
|
private |
Definition at line 137 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit().
|
private |
Definition at line 138 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit().
|
private |
Definition at line 78 of file EcalUncalibRecHitWorkerMultiFit.h.
|
private |
Definition at line 70 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by set().
|
private |
Definition at line 66 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by set().
|
private |
Definition at line 68 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by set().
|
private |
Definition at line 71 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by set().
|
private |
Definition at line 67 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by set().
|
private |
Definition at line 69 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by set().
|
private |
Definition at line 72 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by noisecor().
|
private |
Definition at line 56 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by set().
|
private |
Definition at line 131 of file EcalUncalibRecHitWorkerMultiFit.h.
|
private |
Definition at line 117 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
private |
Definition at line 121 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
private |
Definition at line 116 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
private |
Definition at line 120 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
private |
Definition at line 119 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
private |
Definition at line 123 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
private |
Definition at line 118 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
private |
Definition at line 122 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
private |
Definition at line 54 of file EcalUncalibRecHitWorkerMultiFit.h.
|
private |
Definition at line 98 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
private |
Definition at line 99 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
private |
Definition at line 58 of file EcalUncalibRecHitWorkerMultiFit.h.
|
private |
Definition at line 57 of file EcalUncalibRecHitWorkerMultiFit.h.
|
private |
Definition at line 109 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by run().
|
private |
Definition at line 110 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by run().
|
private |
Definition at line 84 of file EcalUncalibRecHitWorkerMultiFit.h.
Definition at line 88 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
private |
Definition at line 128 of file EcalUncalibRecHitWorkerMultiFit.h.
|
private |
Definition at line 77 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and set().
|
private |
Definition at line 93 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by run().
|
private |
Definition at line 94 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by run().
|
private |
Definition at line 95 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by run().
|
private |
Definition at line 92 of file EcalUncalibRecHitWorkerMultiFit.h.