19 coef_.push_back(0.93);
20 coef_.push_back(-0.38275);
21 coef_.push_back(-0.012667);
87 double RecomputedEnergy=0;
123 powRE*=RecomputedEnergy;
125 cutoff-=
exp(expo_arg);
127 if (peakCharge/totalCharge<cutoff)
137 float mult=1./hf.
energy();
155 float mult=1./hf.
energy();
constexpr float energy() const
T getParameter(std::string const &) const
std::vector< double > HFlongwindowMaxTime_
~HcalHFStatusBitFromDigis()
std::vector< double > HFshortwindowMinTime_
void hfSetFlagFromDigi(HFRecHit &hf, const HFDataFrame &digi, const HcalCoder &coder, const HcalCalibrations &calib)
HcalQIESample const & sample(int i) const
access a sample
void resetParamsFromDB(int firstSample, int samplesToAdd, int expectedPeak, double minthreshold, const std::vector< double > &coef)
constexpr void setFlagField(uint32_t value, int base, int width=1)
HcalHFStatusBitFromDigis()
int depth() const
get the tower depth
void resetFlagTimeSamples(int firstSample, int samplesToAdd, int expectedPeak)
double HFshortwindowEthresh_
constexpr float time() const
std::vector< double > HFlongwindowMinTime_
std::vector< double > coef_
virtual void adc2fC(const HBHEDataFrame &df, CaloSamples &lf) const =0
constexpr double pedestal(int fCapId) const
get pedestal for capid=0..3
int size() const
total number of samples in the digi
constexpr int capid() const
get the Capacitor id
std::vector< double > HFshortwindowMaxTime_
double HFlongwindowEthresh_
constexpr double respcorrgain(int fCapId) const
get response corrected gain for capid=0..3