#include <SimpleHBHEPhase1Algo.h>
Public Member Functions | |
void | beginRun (const edm::Run &, const edm::EventSetup &) override |
void | endRun () override |
int | getFirstSampleShift () const |
float | getPhaseNS () const |
int | getRunNumber () const |
int | getSamplesToAdd () const |
float | getTimeShift () const |
bool | isConfigurable () const override |
bool | isCorrectingForPhaseContainment () const |
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, bool applyLegacyHBMCorrection, std::unique_ptr< PulseShapeFitOOTPileupCorrection > m2, std::unique_ptr< HcalDeterministicFit > detFit, std::unique_ptr< MahiFit > mahi) | |
~SimpleHBHEPhase1Algo () override | |
Public Member Functions inherited from AbsHBHEPhase1Algo | |
virtual bool | configure (const AbsHcalAlgoData *) |
virtual | ~AbsHBHEPhase1Algo () |
Public Attributes | |
const HcalTimeSlew * | hcalTimeSlew_delay_ |
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 | applyLegacyHBMCorrection_ |
bool | corrFPC_ |
int | firstSampleShift_ |
std::unique_ptr< HcalDeterministicFit > | hltOOTpuCorr_ |
std::unique_ptr< MahiFit > | mahiOOTpuCorr_ |
float | phaseNS_ |
std::unique_ptr< PulseShapeFitOOTPileupCorrection > | psFitOOTpuCorr_ |
HcalPulseContainmentManager | pulseCorr_ |
int | runnum_ |
int | samplesToAdd_ |
HcalPulseShapes | theHcalPulseShapes_ |
float | timeShift_ |
Definition at line 18 of file SimpleHBHEPhase1Algo.h.
SimpleHBHEPhase1Algo::SimpleHBHEPhase1Algo | ( | int | firstSampleShift, |
int | samplesToAdd, | ||
float | phaseNS, | ||
float | timeShift, | ||
bool | correctForPhaseContainment, | ||
bool | applyLegacyHBMCorrection, | ||
std::unique_ptr< PulseShapeFitOOTPileupCorrection > | m2, | ||
std::unique_ptr< HcalDeterministicFit > | detFit, | ||
std::unique_ptr< MahiFit > | mahi | ||
) |
Definition at line 20 of file SimpleHBHEPhase1Algo.cc.
References hcalTimeSlew_delay_.
|
inlineoverride |
|
overridevirtual |
Reimplemented from AbsHBHEPhase1Algo.
Definition at line 45 of file SimpleHBHEPhase1Algo.cc.
References HcalPulseContainmentManager::beginRun(), edm::EventSetup::get(), hcalTimeSlew_delay_, pulseCorr_, edm::RunBase::run(), and runnum_.
Referenced by ~SimpleHBHEPhase1Algo().
|
overridevirtual |
Reimplemented from AbsHBHEPhase1Algo.
Definition at line 56 of file SimpleHBHEPhase1Algo.cc.
References runnum_.
Referenced by ~SimpleHBHEPhase1Algo().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
Definition at line 161 of file SimpleHBHEPhase1Algo.cc.
References applyLegacyHBMCorrection_, corr, hbminus_special_ecorr(), HcalBarrel, HcalDetId::ieta(), HcalDetId::iphi(), runnum_, and HcalDetId::subdet().
Referenced by reconstruct().
|
inlineoverridevirtual |
Implements AbsHBHEPhase1Algo.
Definition at line 59 of file SimpleHBHEPhase1Algo.h.
References info(), and reconstruct().
|
inline |
|
protected |
Definition at line 176 of file SimpleHBHEPhase1Algo.cc.
References MillePedeFileConverter_cfg::e, HBHEChannelInfo::energyInWindow(), firstSampleShift_, HcalPulseContainmentManager::get(), HBHEChannelInfo::id(), pulseCorr_, and HBHEChannelInfo::soi().
Referenced by reconstruct().
|
protected |
Definition at line 198 of file SimpleHBHEPhase1Algo.cc.
References HcalTimeSlew::delay(), f, firstSampleShift_, objects.autophobj::float, hcalTimeSlew_delay_, createfilelist::int, SiStripPI::max, findQualityFiles::maxI, HBHEChannelInfo::MAXSAMPLES, HcalTimeSlew::Medium, min(), hgc_digi::nSamples, HBHEChannelInfo::nSamples(), HBHEChannelInfo::peakEnergyTS(), position, HBHEChannelInfo::soi(), ntuplemaker::time, HBHEChannelInfo::tsEnergy(), and mitigatedMETSequence_cff::U.
Referenced by reconstruct().
|
overridevirtual |
Implements AbsHBHEPhase1Algo.
Definition at line 61 of file SimpleHBHEPhase1Algo.cc.
References HBHEChannelInfo::chargeInWindow(), vertices_cff::chi2, HcalRecoParam::correctForPhaseContainment(), HcalRecoParam::correctionPhaseNS(), corrFPC_, firstSampleShift_, HcalPulseShapes::getShape(), HBHEChannelInfo::hasTimeInfo(), HcalPhase1FlagLabels::HBHEPulseFitBit, hbminusCorrectionFactor(), hcalTimeSlew_delay_, hltOOTpuCorr_, HBHEChannelInfo::id(), HcalSpecialTimes::isSpecial(), m0Energy(), m0Time(), mahiOOTpuCorr_, HBHEChannelInfo::nSamples(), HcalDeterministicFit::phase1Apply(), PulseShapeFitOOTPileupCorrection::phase1Apply(), MahiFit::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 102 of file SimpleHBHEPhase1Algo.h.
Referenced by hbminusCorrectionFactor().
|
private |
Definition at line 101 of file SimpleHBHEPhase1Algo.h.
Referenced by isCorrectingForPhaseContainment(), and reconstruct().
|
private |
Definition at line 96 of file SimpleHBHEPhase1Algo.h.
Referenced by getFirstSampleShift(), m0Energy(), m0Time(), and reconstruct().
const HcalTimeSlew* SimpleHBHEPhase1Algo::hcalTimeSlew_delay_ |
Definition at line 73 of file SimpleHBHEPhase1Algo.h.
Referenced by beginRun(), m0Time(), reconstruct(), and SimpleHBHEPhase1Algo().
|
private |
Definition at line 108 of file SimpleHBHEPhase1Algo.h.
Referenced by reconstruct().
|
private |
Definition at line 111 of file SimpleHBHEPhase1Algo.h.
Referenced by reconstruct().
|
private |
Definition at line 98 of file SimpleHBHEPhase1Algo.h.
Referenced by getPhaseNS(), and reconstruct().
|
private |
Definition at line 105 of file SimpleHBHEPhase1Algo.h.
Referenced by reconstruct().
|
private |
Definition at line 94 of file SimpleHBHEPhase1Algo.h.
Referenced by beginRun(), and m0Energy().
|
private |
Definition at line 100 of file SimpleHBHEPhase1Algo.h.
Referenced by beginRun(), endRun(), getRunNumber(), and hbminusCorrectionFactor().
|
private |
Definition at line 97 of file SimpleHBHEPhase1Algo.h.
Referenced by getSamplesToAdd(), and reconstruct().
|
private |
Definition at line 113 of file SimpleHBHEPhase1Algo.h.
Referenced by reconstruct().
|
private |
Definition at line 99 of file SimpleHBHEPhase1Algo.h.
Referenced by getTimeShift(), and reconstruct().