#include <SimpleHBHEPhase1Algo.h>
Public Member Functions | |
virtual void | beginRun (const edm::Run &, const edm::EventSetup &) override |
virtual void | endRun () override |
int | getFirstSampleShift () const |
float | getPhaseNS () const |
int | getRunNumber () const |
int | getSamplesToAdd () const |
float | getTimeShift () const |
virtual bool | isConfigurable () const override |
bool | isCorrectingForPhaseContainment () const |
virtual HBHERecHit | reconstruct (const HBHEChannelInfo &info, const HcalRecoParam *params, const HcalCalibrations &calibs, bool isRealData) override |
SimpleHBHEPhase1Algo (int firstSampleShift, int samplesToAdd, float phaseNS, float timeShift, bool correctForPhaseContainment, std::unique_ptr< PulseShapeFitOOTPileupCorrection > m2, std::unique_ptr< HcalDeterministicFit > detFit) | |
virtual | ~SimpleHBHEPhase1Algo () |
Public Member Functions inherited from AbsHBHEPhase1Algo | |
virtual bool | configure (const AbsHcalAlgoData *) |
virtual | ~AbsHBHEPhase1Algo () |
Protected Member Functions | |
float | hbminusCorrectionFactor (const HcalDetId &cell, float energy, bool isRealData) const |
float | m0Energy (const HBHEChannelInfo &info, double reconstructedCharge, bool applyContainmentCorrection, double phaseNS, int nSamplesToAdd) |
float | m0Time (const HBHEChannelInfo &info, double reconstructedCharge, const HcalCalibrations &calibs, int nSamplesToExamine) const |
Private Attributes | |
bool | corrFPC_ |
int | firstSampleShift_ |
std::unique_ptr< HcalDeterministicFit > | hltOOTpuCorr_ |
float | phaseNS_ |
std::unique_ptr< PulseShapeFitOOTPileupCorrection > | psFitOOTpuCorr_ |
HcalPulseContainmentManager | pulseCorr_ |
int | runnum_ |
int | samplesToAdd_ |
HcalPulseShapes | theHcalPulseShapes_ |
float | timeShift_ |
Definition at line 17 of file SimpleHBHEPhase1Algo.h.
SimpleHBHEPhase1Algo::SimpleHBHEPhase1Algo | ( | int | firstSampleShift, |
int | samplesToAdd, | ||
float | phaseNS, | ||
float | timeShift, | ||
bool | correctForPhaseContainment, | ||
std::unique_ptr< PulseShapeFitOOTPileupCorrection > | m2, | ||
std::unique_ptr< HcalDeterministicFit > | detFit | ||
) |
Definition at line 18 of file SimpleHBHEPhase1Algo.cc.
|
inlinevirtual |
|
overridevirtual |
Reimplemented from AbsHBHEPhase1Algo.
Definition at line 38 of file SimpleHBHEPhase1Algo.cc.
References HcalPulseContainmentManager::beginRun(), pulseCorr_, edm::RunBase::run(), and runnum_.
Referenced by ~SimpleHBHEPhase1Algo().
|
overridevirtual |
Reimplemented from AbsHBHEPhase1Algo.
Definition at line 45 of file SimpleHBHEPhase1Algo.cc.
References HcalPulseContainmentManager::endRun(), pulseCorr_, and runnum_.
Referenced by ~SimpleHBHEPhase1Algo().
|
inline |
|
inline |
|
inline |
Definition at line 68 of file SimpleHBHEPhase1Algo.h.
References hbminusCorrectionFactor(), m0Energy(), m0Time(), and runnum_.
|
inline |
|
inline |
|
protected |
Definition at line 130 of file SimpleHBHEPhase1Algo.cc.
References corr, hbminus_special_ecorr(), HcalBarrel, HcalDetId::ieta(), HcalDetId::iphi(), runnum_, and HcalDetId::subdet().
Referenced by getRunNumber(), and reconstruct().
|
inlineoverridevirtual |
Implements AbsHBHEPhase1Algo.
Definition at line 56 of file SimpleHBHEPhase1Algo.h.
References info(), and reconstruct().
|
inline |
|
protected |
Definition at line 145 of file SimpleHBHEPhase1Algo.cc.
References MillePedeFileConverter_cfg::e, HBHEChannelInfo::energyInWindow(), firstSampleShift_, HcalPulseContainmentManager::get(), HBHEChannelInfo::id(), pulseCorr_, and HBHEChannelInfo::soi().
Referenced by getRunNumber(), and reconstruct().
|
protected |
Definition at line 167 of file SimpleHBHEPhase1Algo.cc.
References HcalTimeSlew::delay(), f, firstSampleShift_, hpstanc_transforms::max, findQualityFiles::maxI, HBHEChannelInfo::MAXSAMPLES, HcalTimeSlew::Medium, hgc_digi::nSamples, HBHEChannelInfo::nSamples(), HBHEChannelInfo::peakEnergyTS(), HBHEChannelInfo::soi(), cscNeutronWriter_cfi::t0, reco::t2, ntuplemaker::time, HcalCalibrations::timecorr(), timeshift_ns_hbheho(), HBHEChannelInfo::tsEnergy(), and mitigatedMETSequence_cff::U.
Referenced by getRunNumber(), and reconstruct().
|
overridevirtual |
Implements AbsHBHEPhase1Algo.
Definition at line 51 of file SimpleHBHEPhase1Algo.cc.
References HBHEChannelInfo::chargeInWindow(), HiEvtPlane_cfi::chi2, HcalRecoParam::correctForPhaseContainment(), HcalRecoParam::correctionPhaseNS(), corrFPC_, firstSampleShift_, HcalPulseShapes::getShape(), HBHEChannelInfo::hasTimeInfo(), HcalPhase1FlagLabels::HBHEPulseFitBit, hbminusCorrectionFactor(), hltOOTpuCorr_, HBHEChannelInfo::id(), HcalSpecialTimes::isSpecial(), m0Energy(), m0Time(), HcalDeterministicFit::phase1Apply(), PulseShapeFitOOTPileupCorrection::phase1Apply(), phaseNS_, psFitOOTpuCorr_, HBHEChannelInfo::recoShape(), HcalRecoParam::samplesToAdd(), samplesToAdd_, HBHERecHitAuxSetter::setAux(), HBHERecHit::setAuxEnergy(), HBHERecHit::setChiSquared(), CaloRecHit::setFlagField(), HBHERecHit::setRawEnergy(), HBHEChannelInfo::soi(), HBHEChannelInfo::soiRiseTime(), theHcalPulseShapes_, and timeShift_.
Referenced by isConfigurable().
|
private |
Definition at line 96 of file SimpleHBHEPhase1Algo.h.
Referenced by isCorrectingForPhaseContainment(), and reconstruct().
|
private |
Definition at line 91 of file SimpleHBHEPhase1Algo.h.
Referenced by getFirstSampleShift(), m0Energy(), m0Time(), and reconstruct().
|
private |
Definition at line 102 of file SimpleHBHEPhase1Algo.h.
Referenced by reconstruct().
|
private |
Definition at line 93 of file SimpleHBHEPhase1Algo.h.
Referenced by getPhaseNS(), and reconstruct().
|
private |
Definition at line 99 of file SimpleHBHEPhase1Algo.h.
Referenced by reconstruct().
|
private |
Definition at line 89 of file SimpleHBHEPhase1Algo.h.
Referenced by beginRun(), endRun(), and m0Energy().
|
private |
Definition at line 95 of file SimpleHBHEPhase1Algo.h.
Referenced by beginRun(), endRun(), getRunNumber(), and hbminusCorrectionFactor().
|
private |
Definition at line 92 of file SimpleHBHEPhase1Algo.h.
Referenced by getSamplesToAdd(), and reconstruct().
|
private |
Definition at line 104 of file SimpleHBHEPhase1Algo.h.
Referenced by reconstruct().
|
private |
Definition at line 94 of file SimpleHBHEPhase1Algo.h.
Referenced by getTimeShift(), and reconstruct().