1 #ifndef RecoLocalCalo_HcalRecAlgos_SimpleHBHEPhase1Algo_h_
2 #define RecoLocalCalo_HcalRecAlgos_SimpleHBHEPhase1Algo_h_
47 std::unique_ptr<PulseShapeFitOOTPileupCorrection> m2,
48 std::unique_ptr<HcalDeterministicFit> detFit);
54 virtual void endRun()
override;
61 bool isRealData)
override;
73 float energy,
bool isRealData)
const;
79 double reconstructedCharge,
80 bool applyContainmentCorrection,
81 double phaseNS,
int nSamplesToAdd);
85 double reconstructedCharge,
87 int nSamplesToExamine)
const;
107 #endif // RecoLocalCalo_HcalRecAlgos_SimpleHBHEPhase1Algo_h_
virtual HBHERecHit reconstruct(const HBHEChannelInfo &info, const HcalRecoParam *params, const HcalCalibrations &calibs, bool isRealData) override
std::unique_ptr< HcalDeterministicFit > hltOOTpuCorr_
virtual void beginRun(const edm::Run &, const edm::EventSetup &) override
int getFirstSampleShift() const
HcalPulseContainmentManager pulseCorr_
float getTimeShift() const
int getSamplesToAdd() const
virtual bool isConfigurable() const override
float m0Time(const HBHEChannelInfo &info, double reconstructedCharge, const HcalCalibrations &calibs, int nSamplesToExamine) const
SimpleHBHEPhase1Algo(int firstSampleShift, int samplesToAdd, float phaseNS, float timeShift, bool correctForPhaseContainment, std::unique_ptr< PulseShapeFitOOTPileupCorrection > m2, std::unique_ptr< HcalDeterministicFit > detFit)
float hbminusCorrectionFactor(const HcalDetId &cell, float energy, bool isRealData) const
virtual void endRun() override
tuple correctForPhaseContainment
HcalPulseShapes theHcalPulseShapes_
float m0Energy(const HBHEChannelInfo &info, double reconstructedCharge, bool applyContainmentCorrection, double phaseNS, int nSamplesToAdd)
bool isCorrectingForPhaseContainment() const
virtual ~SimpleHBHEPhase1Algo()
std::unique_ptr< PulseShapeFitOOTPileupCorrection > psFitOOTpuCorr_