#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) |
void | set (const edm::EventSetup &es) |
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 37 of file EcalUncalibRecHitWorkerMultiFit.h.
EcalUncalibRecHitWorkerMultiFit::EcalUncalibRecHitWorkerMultiFit | ( | const edm::ParameterSet & | ps, |
edm::ConsumesCollector & | c | ||
) |
Definition at line 18 of file EcalUncalibRecHitWorkerMultiFit.cc.
References activeBX, ampErrorCalculation_, chi2ThreshEB_, chi2ThreshEE_, EBamplitudeFitParameters_, ebPulseShape_, EBtimeConstantTerm_, EBtimeFitLimits_, EBtimeFitParameters_, EcalPulseShapeParameters_, EEamplitudeFitParameters_, eePulseShape_, EEtimeConstantTerm_, EEtimeFitLimits_, EEtimeFitParameters_, fillInputs(), edm::ParameterSet::getParameter(), kPoorRecoFlagEB_, kPoorRecoFlagEE_, BXVector< T >::resize(), AlCaHLTBitMon_QueryRunRegistry::string, and timealgo_.
|
inlinevirtual |
Definition at line 42 of file EcalUncalibRecHitWorkerMultiFit.h.
|
private |
Definition at line 437 of file EcalUncalibRecHitWorkerMultiFit.cc.
References funct::abs(), fullpulsecovEB, fullpulsecovEE, fullpulseEB, fullpulseEE, edm::ParameterSet::getParameter(), i, j, gen::k, noisecorEBg1, noisecorEBg12, noisecorEBg6, noisecorEEg1, noisecorEEg12, noisecorEEg6, and funct::pow().
Referenced by EcalUncalibRecHitWorkerMultiFit().
|
protected |
Definition at line 409 of file EcalUncalibRecHitWorkerMultiFit.cc.
References noisecorEBg1, noisecorEBg12, noisecorEBg6, noisecorEEg1, noisecorEEg12, and noisecorEEg6.
Referenced by run().
|
virtual |
Implements EcalUncalibRecHitWorkerBaseClass.
Definition at line 196 of file EcalUncalibRecHitWorkerMultiFit.cc.
References activeBX, EcalUncalibratedRecHit::amplitude(), Reference_intrackfit_cff::barrel, EcalUncalibRecHitRatioMethodAlgo< C >::computeAmplitude(), EcalUncalibRecHitRatioMethodAlgo< C >::computeTime(), cond::rpcobgas::detid, 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(), 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(), EcalUncalibratedRecHit::setFlagBit(), EcalUncalibratedRecHit::setJitter(), EcalUncalibratedRecHit::setJitterError(), EcalUncalibRecHitLeadingEdgeAlgo< C >::setLeadingEdgeSample(), EcalUncalibRecHitLeadingEdgeAlgo< C >::setPulseShape(), BXVector< T >::size(), mathSSE::sqrt(), EcalUncalibRecHitTimeWeightsAlgo< C >::time(), timealgo_, timeCorrBias_, timeCorrection(), weights, weightsMethod_barrel_, weightsMethod_endcap_, and wgts.
|
virtual |
Implements EcalUncalibRecHitWorkerBaseClass.
Definition at line 103 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().
|
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 139 of file EcalUncalibRecHitWorkerMultiFit.cc.
References newFWLiteAna::bin.
Referenced by run().
|
protected |
Definition at line 74 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 75 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and 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 95 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 111 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 103 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 93 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 96 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 112 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 104 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 98 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 94 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 86 of file EcalUncalibRecHitWorkerMultiFit.h.
|
protected |
Definition at line 109 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by set().
|
protected |
Definition at line 118 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit().
|
protected |
Definition at line 119 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit().
|
protected |
Definition at line 113 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by run().
|
protected |
Definition at line 114 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by run().
|
protected |
Definition at line 76 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 110 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 100 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by run().
|
protected |
Definition at line 101 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by run().
|
protected |
Definition at line 80 of file EcalUncalibRecHitWorkerMultiFit.h.
|
protected |
Definition at line 83 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by EcalUncalibRecHitWorkerMultiFit(), and run().
|
protected |
Definition at line 106 of file EcalUncalibRecHitWorkerMultiFit.h.
|
protected |
Definition at line 88 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by run().
|
protected |
Definition at line 89 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by run().
|
protected |
Definition at line 90 of file EcalUncalibRecHitWorkerMultiFit.h.
Referenced by run().
|
protected |
Definition at line 87 of file EcalUncalibRecHitWorkerMultiFit.h.