#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, bool applyFixPCC, std::unique_ptr< PulseShapeFitOOTPileupCorrection > m2, std::unique_ptr< HcalDeterministicFit > detFit, std::unique_ptr< MahiFit > mahi, edm::ConsumesCollector iC) | |
~SimpleHBHEPhase1Algo () override | |
Public Member Functions inherited from AbsHBHEPhase1Algo | |
virtual bool | configure (const AbsHcalAlgoData *) |
virtual | ~AbsHBHEPhase1Algo () |
Public Attributes | |
edm::ESGetToken< HcalTimeSlew, HcalTimeSlewRecord > | delayToken_ |
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, 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, | ||
bool | applyFixPCC, | ||
std::unique_ptr< PulseShapeFitOOTPileupCorrection > | m2, | ||
std::unique_ptr< HcalDeterministicFit > | detFit, | ||
std::unique_ptr< MahiFit > | mahi, | ||
edm::ConsumesCollector | iC | ||
) |
Definition at line 22 of file SimpleHBHEPhase1Algo.cc.
References hcalTimeSlew_delay_.
|
inlineoverride |
Definition at line 54 of file SimpleHBHEPhase1Algo.h.
|
overridevirtual |
Reimplemented from AbsHBHEPhase1Algo.
Definition at line 48 of file SimpleHBHEPhase1Algo.cc.
References HcalPulseContainmentManager::beginRun(), delayToken_, edm::EventSetup::getData(), hcalTimeSlew_delay_, pulseCorr_, alignCSCRings::r, and runnum_.
|
overridevirtual |
Reimplemented from AbsHBHEPhase1Algo.
Definition at line 55 of file SimpleHBHEPhase1Algo.cc.
References runnum_.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
Definition at line 155 of file SimpleHBHEPhase1Algo.cc.
References applyLegacyHBMCorrection_, alignCSCRings::corr, HCALHighEnergyHPDFilter_cfi::energy, hbminus_special_ecorr(), HcalBarrel, LEDCalibrationChannels::ieta, HcalDetId::ieta(), LEDCalibrationChannels::iphi, HcalDetId::iphi(), runnum_, and HcalDetId::subdet().
Referenced by reconstruct().
|
inlineoverridevirtual |
Implements AbsHBHEPhase1Algo.
Definition at line 60 of file SimpleHBHEPhase1Algo.h.
|
inline |
|
protected |
Definition at line 168 of file SimpleHBHEPhase1Algo.cc.
References MillePedeFileConverter_cfg::e, firstSampleShift_, HcalPulseContainmentManager::get(), info(), and pulseCorr_.
Referenced by reconstruct().
|
protected |
Definition at line 189 of file SimpleHBHEPhase1Algo.cc.
References HcalTimeSlew::delay(), f, firstSampleShift_, dqmMemoryStats::float, hcalTimeSlew_delay_, info(), createfilelist::int, SiStripPI::max, findQualityFiles::maxI, HBHEChannelInfo::MAXSAMPLES, HcalTimeSlew::Medium, SiStripPI::min, PresampleTask_cfi::nSamples, position, protons_cff::time, and mitigatedMETSequence_cff::U.
Referenced by reconstruct().
|
overridevirtual |
Implements AbsHBHEPhase1Algo.
Definition at line 57 of file SimpleHBHEPhase1Algo.cc.
References totem::nt2::vfat::channelId(), hltPixelTracks_cff::chi2, corrFPC_, firstSampleShift_, HcalPulseShapes::getShape(), HcalPhase1FlagLabels::HBHEPulseFitBit, hbminusCorrectionFactor(), hcalTimeSlew_delay_, hltOOTpuCorr_, info(), HLTBitAnalyser_cfi::isData, HcalSpecialTimes::isSpecial(), m0Energy(), m0Time(), mahiOOTpuCorr_, submitPVValidationJobs::params, HcalDeterministicFit::phase1Apply(), PulseShapeFitOOTPileupCorrection::phase1Apply(), MahiFit::phase1Apply(), phaseNS_, psFitOOTpuCorr_, samplesToAdd_, HBHERecHitAuxSetter::setAux(), HBHERecHit::setAuxEnergy(), HBHERecHit::setChiSquared(), CaloRecHit::setFlagField(), HBHERecHit::setRawEnergy(), theHcalPulseShapes_, and timeShift_.
|
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().
edm::ESGetToken<HcalTimeSlew, HcalTimeSlewRecord> SimpleHBHEPhase1Algo::delayToken_ |
Definition at line 74 of file SimpleHBHEPhase1Algo.h.
Referenced by beginRun().
|
private |
Definition at line 96 of file SimpleHBHEPhase1Algo.h.
Referenced by getFirstSampleShift(), m0Energy(), m0Time(), and reconstruct().
const HcalTimeSlew* SimpleHBHEPhase1Algo::hcalTimeSlew_delay_ |
Definition at line 75 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().