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();
T getParameter(std::string const &) const
std::vector< double > HFlongwindowMaxTime_
~HcalHFStatusBitFromDigis()
double respcorrgain(int fCapId) const
get response corrected gain for capid=0..3
std::vector< double > HFshortwindowMinTime_
void hfSetFlagFromDigi(HFRecHit &hf, const HFDataFrame &digi, const HcalCoder &coder, const HcalCalibrations &calib)
void setFlagField(uint32_t value, int base, int width=1)
double pedestal(int fCapId) const
get pedestal for capid=0..3
void resetParamsFromDB(int firstSample, int samplesToAdd, int expectedPeak, double minthreshold, const std::vector< double > &coef)
HcalHFStatusBitFromDigis()
int depth() const
get the tower depth
void resetFlagTimeSamples(int firstSample, int samplesToAdd, int expectedPeak)
double HFshortwindowEthresh_
std::vector< double > HFlongwindowMinTime_
const HcalQIESample & sample(int i) const
access a sample
std::vector< double > coef_
virtual void adc2fC(const HBHEDataFrame &df, CaloSamples &lf) const =0
int size() const
total number of samples in the digi
int capid() const
get the Capacitor id
std::vector< double > HFshortwindowMaxTime_
double HFlongwindowEthresh_