#include <EcalUncalibRecHitWorkerGlobal.h>
Public Member Functions | |
EcalUncalibRecHitWorkerGlobal (const edm::ParameterSet &, edm::ConsumesCollector &c) | |
EcalUncalibRecHitWorkerGlobal (const edm::ParameterSet &) | |
bool | run (const edm::Event &evt, const EcalDigiCollection::const_iterator &digi, EcalUncalibratedRecHitCollection &result) |
void | set (const edm::EventSetup &es) |
virtual | ~EcalUncalibRecHitWorkerGlobal () |
Public Member Functions inherited from EcalUncalibRecHitWorkerBaseClass | |
EcalUncalibRecHitWorkerBaseClass (const edm::ParameterSet &, edm::ConsumesCollector &c) | |
EcalUncalibRecHitWorkerBaseClass (const edm::ParameterSet &) | |
virtual | ~EcalUncalibRecHitWorkerBaseClass () |
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 36 of file EcalUncalibRecHitWorkerGlobal.h.
EcalUncalibRecHitWorkerGlobal::EcalUncalibRecHitWorkerGlobal | ( | const edm::ParameterSet & | ps, |
edm::ConsumesCollector & | c | ||
) |
Definition at line 17 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_.
EcalUncalibRecHitWorkerGlobal::EcalUncalibRecHitWorkerGlobal | ( | const edm::ParameterSet & | ps | ) |
Definition at line 60 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_.
|
inlinevirtual |
Definition at line 41 of file EcalUncalibRecHitWorkerGlobal.h.
|
protected |
Definition at line 140 of file EcalUncalibRecHitWorkerGlobal.cc.
|
virtual |
Implements EcalUncalibRecHitWorkerBaseClass.
Definition at line 220 of file EcalUncalibRecHitWorkerGlobal.cc.
References EcalUncalibratedRecHit::amplitude(), amplitudeThreshEB_, amplitudeThreshEE_, EcalUncalibRecHitRecChi2Algo< C >::chi2(), chi2ThreshEB_, chi2ThreshEE_, EcalUncalibRecHitRatioMethodAlgo< C >::computeAmplitude(), EcalUncalibRecHitRatioMethodAlgo< C >::computeTime(), cond::rpcobgas::detid, EBamplitudeFitParameters_, EBchi2Parameters_, ebPulseShape_, EBtimeConstantTerm_, EBtimeFitLimits_, EBtimeFitParameters_, EBtimeNconst_, EcalBarrel, EcalEndcap, EEamplitudeFitParameters_, EEchi2Parameters_, eePulseShape_, EEtimeConstantTerm_, EEtimeFitLimits_, EEtimeFitParameters_, EEtimeNconst_, EcalUncalibRecHitRatioMethodAlgo< C >::fixMGPAslew(), 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(), itime, EcalUncalibratedRecHit::jitter(), EcalUncalibratedRecHit::kHasSwitchToGain1, EcalUncalibratedRecHit::kHasSwitchToGain6, EcalUncalibratedRecHit::kLeadingEdgeRecovered, EcalUncalibratedRecHit::kOutOfTime, EcalUncalibratedRecHit::kPoorReco, kPoorRecoFlagEB_, kPoorRecoFlagEE_, EcalUncalibratedRecHit::kSaturated, leadingEdgeMethod_barrel_, leadingEdgeMethod_endcap_, EcalUncalibRecHitRecWeightsAlgo< C >::makeRecHit(), EcalUncalibRecHitLeadingEdgeAlgo< C >::makeRecHit(), EcalDataFrame::MAXSAMPLES, EcalPedestal::mean_x1, EcalPedestal::mean_x12, EcalPedestal::mean_x6, offtime, outOfTimeThreshG12mEB_, outOfTimeThreshG12mEE_, outOfTimeThreshG12pEB_, outOfTimeThreshG12pEE_, outOfTimeThreshG61mEB_, outOfTimeThreshG61mEE_, outOfTimeThreshG61pEB_, outOfTimeThreshG61pEE_, 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, compare_using_db::sample, sampleMaskHand_, EcalUncalibratedRecHit::setChi2(), EcalUncalibratedRecHit::setFlagBit(), EcalUncalibratedRecHit::setJitter(), EcalUncalibratedRecHit::setJitterError(), EcalUncalibRecHitLeadingEdgeAlgo< C >::setLeadingEdgeSample(), EcalUncalibRecHitLeadingEdgeAlgo< C >::setPulseShape(), mathSSE::sqrt(), testbeamEBShape, testbeamEEShape, timeCorrBias_, timeCorrection(), weights, weightsMethod_barrel_, weightsMethod_endcap_, and wgts.
|
virtual |
Implements EcalUncalibRecHitWorkerBaseClass.
Definition at line 114 of file EcalUncalibRecHitWorkerGlobal.cc.
References gains, edm::EventSetup::get(), grps, itime, 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 163 of file EcalUncalibRecHitWorkerGlobal.cc.
References newFWLiteAna::bin.
Referenced by run().
|
protected |
Definition at line 96 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 97 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 64 of file EcalUncalibRecHitWorkerGlobal.h.
|
protected |
Definition at line 113 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 114 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 76 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 115 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 98 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal().
|
protected |
Definition at line 84 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 78 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 74 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 85 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 77 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 116 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 86 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 79 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 75 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 87 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 50 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by run().
|
protected |
Definition at line 53 of file EcalUncalibRecHitWorkerGlobal.h.
|
protected |
Definition at line 61 of file EcalUncalibRecHitWorkerGlobal.h.
|
protected |
Definition at line 103 of file EcalUncalibRecHitWorkerGlobal.h.
|
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 107 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by run().
|
protected |
Definition at line 108 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by run().
|
protected |
Definition at line 104 of file EcalUncalibRecHitWorkerGlobal.h.
|
protected |
Definition at line 89 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 88 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 91 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 95 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 94 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 49 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by run().
|
protected |
Definition at line 52 of file EcalUncalibRecHitWorkerGlobal.h.
|
protected |
Definition at line 48 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by run().
|
protected |
Definition at line 81 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by run().
|
protected |
Definition at line 82 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by run().
|
protected |
Definition at line 71 of file EcalUncalibRecHitWorkerGlobal.h.
|
protected |
Definition at line 68 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by run().
|
protected |
Definition at line 67 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by run().
|
protected |
Definition at line 100 of file EcalUncalibRecHitWorkerGlobal.h.
|
protected |
Definition at line 63 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by run().
|
protected |
Definition at line 65 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by run().
|
protected |
Definition at line 66 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by run().
|
protected |
Definition at line 62 of file EcalUncalibRecHitWorkerGlobal.h.