Go to the documentation of this file. 1 #ifndef RecoLocalCalo_HcalRecAlgos_PulseShapeFunctor_h
2 #define RecoLocalCalo_HcalRecAlgos_PulseShapeFunctor_h
22 bool iPedestalConstraint,
28 unsigned int nSamplesToFit);
77 void funcShape(std::array<double, HcalConst::maxSamples> &ntmpbin,
78 const double pulseTime,
79 const double pulseHeight,
104 #endif // PulseShapeFunctor_h
void setDefaultcntNANinfit()
std::vector< float > diff25nsItvlVec
void setinvertpedSig2(double x)
void singlePulseShapeFuncMahi(const float *x)
double psFit_slew[HcalConst::maxSamples]
double pulse(double x, double y, double z, double t)
double doublePulseShapeFunc(const double *x)
void setinverttimeSig2(double x)
constexpr float iniTimeShift
void setpsFiterry(double *erry)
double psFit_erry2[HcalConst::maxSamples]
void EvalPulse(const float *pars)
std::vector< float > accVarLenIdxZEROVec
void funcShape(std::array< double, HcalConst::maxSamples > &ntmpbin, const double pulseTime, const double pulseHeight, const double slew, bool scalePulse)
std::array< double, HcalConst::maxSamples > pulse_shape_
double psFit_y[HcalConst::maxSamples]
void setpsFitslew(double *slew)
std::array< float, HcalConst::maxPSshapeBin > pulse_hist
double singlePulseShapeFunc(const double *x)
std::vector< float > accVarLenIdxMinusOneVec
void setpsFitx(double *x)
double EvalPulseM2(const double *pars, const unsigned nPar)
double triplePulseShapeFunc(const double *x)
double psFit_x[HcalConst::maxSamples]
constexpr float invertnsPerBx
constexpr int maxPSshapeBin
double psFit_erry[HcalConst::maxSamples]
void getPulseShape(std::array< double, HcalConst::maxSamples > &fillPulseShape)
std::vector< float > diffVarItvlIdxZEROVec
std::vector< float > acc25nsVec
std::vector< float > diffVarItvlIdxMinusOneVec
std::array< double, HcalConst::maxSamples > pulse_shape_sum_
void setpsFiterry2(double *erry2)
PulseShapeFunctor(const HcalPulseShapes::Shape &pulse, bool iPedestalConstraint, bool iTimeConstraint, bool iAddPulseJitter, double iPulseJitter, double iTimeMean, double iPedMean, unsigned int nSamplesToFit)
void setpsFity(double *y)
double getSiPMDarkCurrent(double darkCurrent, double fcByPE, double lambda)