1 #ifndef RecoLocalCalo_HcalRecAlgos_PulseShapeFunctor_h 2 #define RecoLocalCalo_HcalRecAlgos_PulseShapeFunctor_h 22 bool iPedestalConstraint,
28 unsigned int nSamplesToFit);
31 void EvalPulse(
const float *pars);
32 double EvalPulseM2(
const double *pars,
const unsigned nPar);
47 psFit_erry[
i] = erry[
i];
51 psFit_erry2[
i] = erry2[
i];
55 psFit_slew[
i] = slew[
i];
58 double getSiPMDarkCurrent(
double darkCurrent,
double fcByPE,
double lambda);
67 void getPulseShape(std::array<double, HcalConst::maxSamples> &fillPulseShape) { fillPulseShape = pulse_shape_; }
77 void funcShape(std::array<double, HcalConst::maxSamples> &ntmpbin,
78 const double pulseTime,
79 const double pulseHeight,
104 #endif // PulseShapeFunctor_h
void singlePulseShapeFuncMahi(const float *x)
double singlePulseShapeFunc(const double *x)
void setpsFitx(double *x)
void setDefaultcntNANinfit()
std::array< double, HcalConst::maxSamples > pulse_shape_sum_
std::vector< float > diffVarItvlIdxZEROVec
void getPulseShape(std::array< double, HcalConst::maxSamples > &fillPulseShape)
std::array< float, HcalConst::maxPSshapeBin > pulse_hist
std::vector< float > diff25nsItvlVec
void setinverttimeSig2(double x)
std::vector< float > diffVarItvlIdxMinusOneVec
void setinvertpedSig2(double x)
double pulse(double x, double y, double z, double t)
double triplePulseShapeFunc(const double *x)
double doublePulseShapeFunc(const double *x)
void setpsFiterry(double *erry)
void setpsFity(double *y)
void setpsFitslew(double *slew)
void setpsFiterry2(double *erry2)
std::array< double, HcalConst::maxSamples > pulse_shape_