#include <EcalUncalibRecHitWorkerGlobal.h>
Protected Member Functions | |
template<class C > | |
int | isSaturated (const C &digi) |
double | timeCorrection (float ampli, const std::vector< float > &litudeBins, const std::vector< float > &shiftBins) |
Definition at line 44 of file EcalUncalibRecHitWorkerGlobal.h.
EcalUncalibRecHitWorkerGlobal::EcalUncalibRecHitWorkerGlobal | ( | const edm::ParameterSet & | ps, |
edm::ConsumesCollector & | c | ||
) |
Definition at line 11 of file EcalUncalibRecHitWorkerGlobal.cc.
References amplitudeThreshEB_, amplitudeThreshEE_, chi2ThreshEB_, chi2ThreshEE_, EBamplitudeFitParameters_, EBchi2Parameters_, ebPulseShape_, ebSpikeThresh_, EBtimeConstantTerm_, EBtimeFitLimits_, EBtimeFitParameters_, EBtimeNconst_, EEamplitudeFitParameters_, EEchi2Parameters_, eePulseShape_, EEtimeConstantTerm_, EEtimeFitLimits_, EEtimeFitParameters_, EEtimeNconst_, edm::ParameterSet::getParameter(), kPoorRecoFlagEB_, kPoorRecoFlagEE_, outOfTimeThreshG12mEB_, outOfTimeThreshG12mEE_, outOfTimeThreshG12pEB_, outOfTimeThreshG12pEE_, outOfTimeThreshG61mEB_, outOfTimeThreshG61mEE_, outOfTimeThreshG61pEB_, and outOfTimeThreshG61pEE_.
|
default |
|
inlineoverride |
Definition at line 48 of file EcalUncalibRecHitWorkerGlobal.h.
|
overridevirtual |
Implements EcalUncalibRecHitWorkerBaseClass.
Definition at line 441 of file EcalUncalibRecHitWorkerGlobal.cc.
References edm::ParameterSetDescription::addNode().
|
protected |
Definition at line 90 of file EcalUncalibRecHitWorkerGlobal.cc.
References mps_fire::i, and dqmiolumiharvest::j.
|
overridevirtual |
Implements EcalUncalibRecHitWorkerRunOneDigiBase.
Definition at line 163 of file EcalUncalibRecHitWorkerGlobal.cc.
References CustomPhysics_cfi::amplitude, EcalUncalibratedRecHit::amplitude(), amplitudeThreshEB_, amplitudeThreshEE_, hltPixelTracks_cff::chi2, EcalUncalibRecHitRecChi2Algo< C >::chi2(), chi2ThreshEB_, chi2ThreshEE_, EcalUncalibRecHitRatioMethodAlgo< C >::computeAmplitude(), EcalUncalibRecHitRatioMethodAlgo< C >::computeTime(), EBamplitudeFitParameters_, EBchi2Parameters_, EBtimeConstantTerm_, EcalTimeBiasCorrections::EBTimeCorrAmplitudeBins, EcalTimeBiasCorrections::EBTimeCorrShiftBins, EBtimeFitLimits_, EBtimeFitParameters_, EBtimeNconst_, EcalEndcap, EEamplitudeFitParameters_, EEchi2Parameters_, EEtimeConstantTerm_, EcalTimeBiasCorrections::EETimeCorrAmplitudeBins, EcalTimeBiasCorrections::EETimeCorrShiftBins, EEtimeFitLimits_, EEtimeFitParameters_, EEtimeNconst_, EcalUncalibRecHitRatioMethodAlgo< C >::fixMGPAslew(), EcalMGPAGainRatio::gain12Over6(), EcalMGPAGainRatio::gain6Over1(), ecalLiteDTU::gainId(), gainRatios, gains_, EcalUncalibRecHitRatioMethodAlgo< C >::getCalculatedRecHit(), EcalTimeOffsetConstant::getEBValue(), EcalTimeOffsetConstant::getEEValue(), EcalTBWeights::getMap(), EcalWeightSet::getWeightsAfterGainSwitch(), EcalWeightSet::getWeightsBeforeGainSwitch(), grps_, ecalpyutils::hashedIndex(), EBDetId::hashedIndex(), EEDetId::hashedIndex(), EcalXtalGroupId::id(), EcalUncalibRecHitRatioMethodAlgo< C >::init(), itime_, EcalUncalibratedRecHit::jitter(), EcalUncalibratedRecHit::kHasSwitchToGain1, EcalUncalibratedRecHit::kHasSwitchToGain6, EcalUncalibratedRecHit::kOutOfTime, EcalUncalibratedRecHit::kPoorReco, kPoorRecoFlagEB_, kPoorRecoFlagEE_, EcalUncalibratedRecHit::kSaturated, EcalUncalibRecHitRecWeightsAlgo< C >::makeRecHit(), EcalDataFrame::MAXSAMPLES, offtime_, outOfTimeThreshG12mEB_, outOfTimeThreshG12mEE_, outOfTimeThreshG12pEB_, outOfTimeThreshG12pEE_, outOfTimeThreshG61mEB_, outOfTimeThreshG61mEE_, outOfTimeThreshG61pEB_, outOfTimeThreshG61pEE_, EcalCondDBWriter_cfi::pedestal, pedRMSVec, peds_, pedVec, funct::pow(), edm::ESHandle< T >::product(), ratioMethod_barrel_, ratioMethod_endcap_, mps_fire::result, ecalGpuTask_cfi::sample, sampleMaskHand_, EcalUncalibratedRecHit::setChi2(), EcalUncalibratedRecHit::setFlagBit(), EcalUncalibratedRecHit::setJitter(), EcalUncalibratedRecHit::setJitterError(), mathSSE::sqrt(), testbeamEBShape, testbeamEEShape, timeCorrBias_, timeCorrection(), weights, weightsMethod_barrel_, weightsMethod_endcap_, and wgts_.
|
overridevirtual |
Implements EcalUncalibRecHitWorkerBaseClass.
Definition at line 63 of file EcalUncalibRecHitWorkerGlobal.cc.
References gains_, edm::EventSetup::getHandle(), grps_, itime_, offtime_, peds_, sampleMaskHand_, EcalShapeBase::setEventSetup(), testbeamEBShape, testbeamEEShape, timeCorrBias_, tokenGains_, tokenGrps_, tokenItime_, tokenOfftime_, tokenPeds_, tokenSampleMask_, tokenTimeCorrBias_, tokenWgts_, and wgts_.
|
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 114 of file EcalUncalibRecHitWorkerGlobal.cc.
References newFWLiteAna::bin, and createfilelist::int.
Referenced by run().
|
protected |
Definition at line 111 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 112 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 78 of file EcalUncalibRecHitWorkerGlobal.h.
|
protected |
Definition at line 128 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 129 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 91 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 130 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 122 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal().
|
protected |
Definition at line 113 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal().
|
protected |
Definition at line 99 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 93 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 89 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 100 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 92 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 131 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 123 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal().
|
protected |
Definition at line 101 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 94 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 90 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 102 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 60 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by run().
|
protected |
Definition at line 65 of file EcalUncalibRecHitWorkerGlobal.h.
|
protected |
Definition at line 75 of file EcalUncalibRecHitWorkerGlobal.h.
|
protected |
Definition at line 120 of file EcalUncalibRecHitWorkerGlobal.h.
|
protected |
Definition at line 126 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 127 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 121 of file EcalUncalibRecHitWorkerGlobal.h.
|
protected |
Definition at line 104 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 108 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 103 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 107 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 106 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 110 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 105 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 109 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 59 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by run().
|
protected |
Definition at line 64 of file EcalUncalibRecHitWorkerGlobal.h.
|
protected |
Definition at line 58 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by run().
|
protected |
Definition at line 96 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by run().
|
protected |
Definition at line 97 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by run().
|
protected |
Definition at line 86 of file EcalUncalibRecHitWorkerGlobal.h.
|
protected |
Definition at line 82 of file EcalUncalibRecHitWorkerGlobal.h.
|
protected |
Definition at line 81 of file EcalUncalibRecHitWorkerGlobal.h.
|
protected |
Definition at line 116 of file EcalUncalibRecHitWorkerGlobal.h.
|
protected |
Definition at line 63 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by set().
|
protected |
Definition at line 73 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by set().
|
protected |
Definition at line 118 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by set().
|
protected |
Definition at line 119 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by set().
|
protected |
Definition at line 62 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by set().
|
protected |
Definition at line 85 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by set().
|
protected |
Definition at line 115 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by set().
|
protected |
Definition at line 74 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by set().
|
protected |
Definition at line 77 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by run().
|
protected |
Definition at line 79 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by run().
|
protected |
Definition at line 80 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by run().
|
protected |
Definition at line 76 of file EcalUncalibRecHitWorkerGlobal.h.