1 #ifndef RecoLocalCalo_HcalRecAlgos_PulseShapeFunctor_h 2 #define RecoLocalCalo_HcalRecAlgos_PulseShapeFunctor_h 22 double iPulseJitter,
double iTimeMean,
double iPedMean,
23 unsigned int nSamplesToFit);
26 double EvalPulse(
const double *pars,
const unsigned nPar);
36 double getSiPMDarkCurrent(
double darkCurrent,
double fcByPE,
double lambda);
40 double singlePulseShapeFunc(
const double *x );
41 double doublePulseShapeFunc(
const double *x );
42 double triplePulseShapeFunc(
const double *x );
44 void getPulseShape(std::array<double,HcalConst::maxSamples>& fillPulseShape) {
45 fillPulseShape = pulse_shape_;
55 void funcShape(std::array<double,HcalConst::maxSamples> & ntmpbin,
const double pulseTime,
const double pulseHeight,
const double slew);
78 #endif // PulseShapeFunctor_h constexpr double invertnsPerBx
void setpsFitx(double *x)
void setDefaultcntNANinfit()
std::array< double, HcalConst::maxSamples > pulse_shape_
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)
void setpsFiterry(double *erry)
void setpsFity(double *y)
std::array< double, HcalConst::maxSamples > pulse_shape_sum_
void setpsFitslew(double *slew)
void setpsFiterry2(double *erry2)
constexpr int maxPSshapeBin
constexpr float iniTimeShift