#include <EcalUncalibRecHitWorkerGlobal.h>
Public Member Functions | |
EcalUncalibRecHitWorkerGlobal (const edm::ParameterSet &, edm::ConsumesCollector &c) | |
EcalUncalibRecHitWorkerGlobal (const edm::ParameterSet &) | |
EcalUncalibRecHitWorkerGlobal () | |
edm::ParameterSetDescription | getAlgoDescription () |
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 &) | |
EcalUncalibRecHitWorkerBaseClass () | |
virtual void | set (const edm::Event &evt) |
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 20 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 64 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_.
|
inline |
Definition at line 41 of file EcalUncalibRecHitWorkerGlobal.h.
|
inlinevirtual |
Definition at line 42 of file EcalUncalibRecHitWorkerGlobal.h.
|
virtual |
Implements EcalUncalibRecHitWorkerBaseClass.
Definition at line 502 of file EcalUncalibRecHitWorkerGlobal.cc.
References edm::ParameterSetDescription::addNode().
|
protected |
Definition at line 131 of file EcalUncalibRecHitWorkerGlobal.cc.
|
virtual |
Implements EcalUncalibRecHitWorkerBaseClass.
Definition at line 211 of file EcalUncalibRecHitWorkerGlobal.cc.
References EcalUncalibratedRecHit::amplitude(), amplitudeThreshEB_, amplitudeThreshEE_, EcalUncalibRecHitRecChi2Algo< C >::chi2(), beam_dqm_sourceclient-live_cfg::chi2, chi2ThreshEB_, chi2ThreshEE_, EcalUncalibRecHitRatioMethodAlgo< C >::computeAmplitude(), EcalUncalibRecHitRatioMethodAlgo< C >::computeTime(), EBamplitudeFitParameters_, EBchi2Parameters_, EBtimeConstantTerm_, EBtimeFitLimits_, EBtimeFitParameters_, EBtimeNconst_, EcalEndcap, EEamplitudeFitParameters_, EEchi2Parameters_, EEtimeConstantTerm_, EEtimeFitLimits_, EEtimeFitParameters_, EEtimeNconst_, EcalUncalibRecHitRatioMethodAlgo< C >::fixMGPAslew(), EcalMGPAGainRatio::gain12Over6(), EcalMGPAGainRatio::gain6Over1(), ecalMGPA::gainId(), 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::kOutOfTime, EcalUncalibratedRecHit::kPoorReco, kPoorRecoFlagEB_, kPoorRecoFlagEE_, EcalUncalibratedRecHit::kSaturated, EcalUncalibRecHitRecWeightsAlgo< C >::makeRecHit(), EcalDataFrame::MAXSAMPLES, EcalPedestal::mean_x1, EcalPedestal::mean_x12, EcalPedestal::mean_x6, offtime, outOfTimeThreshG12mEB_, outOfTimeThreshG12mEE_, outOfTimeThreshG12pEB_, outOfTimeThreshG12pEE_, outOfTimeThreshG61mEB_, outOfTimeThreshG61mEE_, outOfTimeThreshG61pEB_, outOfTimeThreshG61pEE_, EcalCondDBWriter_cfi::pedestal, 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(), mathSSE::sqrt(), testbeamEBShape, testbeamEEShape, timeCorrBias_, timeCorrection(), weights, weightsMethod_barrel_, weightsMethod_endcap_, and wgts.
|
virtual |
Implements EcalUncalibRecHitWorkerBaseClass.
Definition at line 106 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 154 of file EcalUncalibRecHitWorkerGlobal.cc.
References newFWLiteAna::bin.
Referenced by run().
|
protected |
Definition at line 98 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 99 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 66 of file EcalUncalibRecHitWorkerGlobal.h.
|
protected |
Definition at line 112 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 113 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 114 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 106 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal().
|
protected |
Definition at line 100 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal().
|
protected |
Definition at line 86 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 80 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 87 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 115 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 107 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal().
|
protected |
Definition at line 88 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 81 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 89 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 52 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by run().
|
protected |
Definition at line 55 of file EcalUncalibRecHitWorkerGlobal.h.
|
protected |
Definition at line 63 of file EcalUncalibRecHitWorkerGlobal.h.
|
protected |
Definition at line 104 of file EcalUncalibRecHitWorkerGlobal.h.
|
protected |
Definition at line 110 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 111 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 105 of file EcalUncalibRecHitWorkerGlobal.h.
|
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 93 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 92 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 96 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by EcalUncalibRecHitWorkerGlobal(), and run().
|
protected |
Definition at line 51 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by run().
|
protected |
Definition at line 54 of file EcalUncalibRecHitWorkerGlobal.h.
|
protected |
Definition at line 50 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by run().
|
protected |
Definition at line 83 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by run().
|
protected |
Definition at line 84 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by run().
|
protected |
Definition at line 73 of file EcalUncalibRecHitWorkerGlobal.h.
|
protected |
Definition at line 70 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by run().
|
protected |
Definition at line 69 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by run().
|
protected |
Definition at line 102 of file EcalUncalibRecHitWorkerGlobal.h.
|
protected |
Definition at line 65 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by run().
|
protected |
Definition at line 67 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by run().
|
protected |
Definition at line 68 of file EcalUncalibRecHitWorkerGlobal.h.
Referenced by run().
|
protected |
Definition at line 64 of file EcalUncalibRecHitWorkerGlobal.h.