1 #ifndef RecoLocalCalo_HcalRecAlgos_PulseShapeFunctor_h 2 #define RecoLocalCalo_HcalRecAlgos_PulseShapeFunctor_h 22 double iPulseJitter,
double iTimeMean,
double iTimeSig,
double iPedMean,
double iPedSig,
23 double iNoise,
unsigned int nSamplesToFit);
26 double EvalPulse(
const double *pars,
unsigned int nPar);
36 double getSiPMDarkCurrent(
double darkCurrent,
double fcByPE,
double lambda);
39 double singlePulseShapeFunc(
const double *x );
40 double doublePulseShapeFunc(
const double *x );
41 double triplePulseShapeFunc(
const double *x );
43 void getPulseShape(std::array<double,HcalConst::maxSamples>& fillPulseShape) {
44 fillPulseShape = pulse_shape_;
54 void funcShape(std::array<double,HcalConst::maxSamples> & ntmpbin,
const double &pulseTime,
const double &pulseHeight,
const double &slew);
79 #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
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