#include <PulseShapeFitOOTPileupCorrection.h>
Public Member Functions | |
double | doublePulseShapeFunc (const double *x) |
double | EvalPulse (const double *pars, unsigned int nPar) |
int | getcntNANinfit () |
PulseShapeFunctor (const HcalPulseShapes::Shape &pulse, bool iPedestalConstraint, bool iTimeConstraint, bool iAddPulseJitter, bool iAddTimeSlew, double iPulseJitter, double iTimeMean, double iTimeSig, double iPedMean, double iPedSig, double iNoise) | |
void | setDefaultcntNANinfit () |
void | setpsFiterry (double *erry) |
void | setpsFiterry2 (double *erry2) |
void | setpsFitslew (double *slew) |
void | setpsFitx (double *x) |
void | setpsFity (double *y) |
double | sigma (double ifC) |
double | singlePulseShapeFunc (const double *x) |
double | triplePulseShapeFunc (const double *x) |
~PulseShapeFunctor () | |
Private Member Functions | |
void | funcHPDShape (std::array< float, HcalConst::maxSamples > &ntmpbin, const double &pulseTime, const double &pulseHeight, const double &slew) |
Private Attributes | |
std::vector< float > | acc25nsVec |
std::vector< float > | accVarLenIdxMinusOneVec |
std::vector< float > | accVarLenIdxZEROVec |
bool | addPulseJitter_ |
int | cntNANinfit |
std::vector< float > | diff25nsItvlVec |
std::vector< float > | diffVarItvlIdxMinusOneVec |
std::vector< float > | diffVarItvlIdxZEROVec |
double | invertpedSig2_ |
double | invertpedSig_ |
double | inverttimeSig2_ |
double | inverttimeSig_ |
double | noise_ |
bool | pedestalConstraint_ |
double | pedMean_ |
double | pedSig_ |
double | psFit_erry [HcalConst::maxSamples] |
double | psFit_erry2 [HcalConst::maxSamples] |
double | psFit_slew [HcalConst::maxSamples] |
double | psFit_x [HcalConst::maxSamples] |
double | psFit_y [HcalConst::maxSamples] |
std::array< float, HcalConst::maxPSshapeBin > | pulse_hist |
std::array< float, HcalConst::maxSamples > | pulse_shape_ |
std::array< float, HcalConst::maxSamples > | pulse_shape_sum_ |
double | pulseJitter_ |
bool | timeConstraint_ |
double | timeMean_ |
double | timeShift_ |
double | timeSig_ |
bool | unConstrainedFit_ |
Definition at line 33 of file PulseShapeFitOOTPileupCorrection.h.
FitterFuncs::PulseShapeFunctor::PulseShapeFunctor | ( | const HcalPulseShapes::Shape & | pulse, |
bool | iPedestalConstraint, | ||
bool | iTimeConstraint, | ||
bool | iAddPulseJitter, | ||
bool | iAddTimeSlew, | ||
double | iPulseJitter, | ||
double | iTimeMean, | ||
double | iTimeSig, | ||
double | iPedMean, | ||
double | iPedSig, | ||
double | iNoise | ||
) |
Definition at line 10 of file PulseShapeFitOOTPileupCorrection.cc.
References acc25nsVec, accVarLenIdxMinusOneVec, accVarLenIdxZEROVec, addPulseJitter_, diff25nsItvlVec, diffVarItvlIdxMinusOneVec, diffVarItvlIdxZEROVec, i, invertpedSig2_, invertpedSig_, inverttimeSig2_, inverttimeSig_, j, HcalConst::maxPSshapeBin, HcalConst::maxSamples, noise_, HcalConst::nsPerBX, pedestalConstraint_, pedMean_, pedSig_, psFit_erry, psFit_erry2, psFit_slew, psFit_x, psFit_y, pulse_hist, pulseJitter_, timeConstraint_, timeMean_, timeShift_, and timeSig_.
FitterFuncs::PulseShapeFunctor::~PulseShapeFunctor | ( | ) |
Definition at line 106 of file PulseShapeFitOOTPileupCorrection.cc.
double FitterFuncs::PulseShapeFunctor::doublePulseShapeFunc | ( | const double * | x | ) |
Definition at line 184 of file PulseShapeFitOOTPileupCorrection.cc.
References EvalPulse().
Referenced by PulseShapeFitOOTPileupCorrection::resetPulseShapeTemplate(), and PulseShapeFitOOTPileupCorrection::setPulseShapeTemplate().
double FitterFuncs::PulseShapeFunctor::EvalPulse | ( | const double * | pars, |
unsigned int | nPar | ||
) |
Definition at line 109 of file PulseShapeFitOOTPileupCorrection.cc.
References addPulseJitter_, cntNANinfit, constexpr, funcHPDShape(), i, HcalConst::invertnsPerBx, invertpedSig2_, inverttimeSig2_, edm::isNotFinite(), j, HcalConst::maxSamples, hlt_dqm_clientPB-live_cfg::nbins, HcalConst::nsPerBX, pedestalConstraint_, pedMean_, psFit_erry, psFit_erry2, psFit_slew, psFit_y, pulse_shape_, pulse_shape_sum_, pulseJitter_, timeConstraint_, timeMean_, and timeShift_.
Referenced by doublePulseShapeFunc(), singlePulseShapeFunc(), and triplePulseShapeFunc().
|
private |
Definition at line 65 of file PulseShapeFitOOTPileupCorrection.cc.
References funct::abs(), acc25nsVec, accVarLenIdxMinusOneVec, accVarLenIdxZEROVec, cntNANinfit, constexpr, diff25nsItvlVec, diffVarItvlIdxMinusOneVec, diffVarItvlIdxZEROVec, V0MonitoringClient_cfi::factor, i, HcalConst::iniTimeShift, edm::isNotFinite(), HcalConst::maxSamples, and HcalConst::nsPerBX.
Referenced by EvalPulse().
|
inline |
Definition at line 43 of file PulseShapeFitOOTPileupCorrection.h.
References cntNANinfit.
|
inline |
Definition at line 42 of file PulseShapeFitOOTPileupCorrection.h.
References cntNANinfit.
|
inline |
Definition at line 47 of file PulseShapeFitOOTPileupCorrection.h.
References i, HcalConst::maxSamples, and psFit_erry.
|
inline |
Definition at line 48 of file PulseShapeFitOOTPileupCorrection.h.
References i, HcalConst::maxSamples, and psFit_erry2.
|
inline |
Definition at line 49 of file PulseShapeFitOOTPileupCorrection.h.
References i, HcalConst::maxSamples, and psFit_slew.
|
inline |
Definition at line 45 of file PulseShapeFitOOTPileupCorrection.h.
References i, HcalConst::maxSamples, and psFit_x.
|
inline |
Definition at line 46 of file PulseShapeFitOOTPileupCorrection.h.
References i, HcalConst::maxSamples, and psFit_y.
double FitterFuncs::PulseShapeFunctor::sigma | ( | double | ifC | ) |
double FitterFuncs::PulseShapeFunctor::singlePulseShapeFunc | ( | const double * | x | ) |
Definition at line 180 of file PulseShapeFitOOTPileupCorrection.cc.
References EvalPulse().
Referenced by PulseShapeFitOOTPileupCorrection::resetPulseShapeTemplate(), and PulseShapeFitOOTPileupCorrection::setPulseShapeTemplate().
double FitterFuncs::PulseShapeFunctor::triplePulseShapeFunc | ( | const double * | x | ) |
Definition at line 188 of file PulseShapeFitOOTPileupCorrection.cc.
References EvalPulse().
Referenced by PulseShapeFitOOTPileupCorrection::resetPulseShapeTemplate(), and PulseShapeFitOOTPileupCorrection::setPulseShapeTemplate().
|
private |
Definition at line 59 of file PulseShapeFitOOTPileupCorrection.h.
Referenced by funcHPDShape(), and PulseShapeFunctor().
|
private |
Definition at line 61 of file PulseShapeFitOOTPileupCorrection.h.
Referenced by funcHPDShape(), and PulseShapeFunctor().
|
private |
Definition at line 60 of file PulseShapeFitOOTPileupCorrection.h.
Referenced by funcHPDShape(), and PulseShapeFunctor().
|
private |
Definition at line 67 of file PulseShapeFitOOTPileupCorrection.h.
Referenced by EvalPulse(), and PulseShapeFunctor().
|
private |
Definition at line 58 of file PulseShapeFitOOTPileupCorrection.h.
Referenced by EvalPulse(), funcHPDShape(), getcntNANinfit(), and setDefaultcntNANinfit().
|
private |
Definition at line 59 of file PulseShapeFitOOTPileupCorrection.h.
Referenced by funcHPDShape(), and PulseShapeFunctor().
|
private |
Definition at line 61 of file PulseShapeFitOOTPileupCorrection.h.
Referenced by funcHPDShape(), and PulseShapeFunctor().
|
private |
Definition at line 60 of file PulseShapeFitOOTPileupCorrection.h.
Referenced by funcHPDShape(), and PulseShapeFunctor().
|
private |
Definition at line 78 of file PulseShapeFitOOTPileupCorrection.h.
Referenced by EvalPulse(), and PulseShapeFunctor().
|
private |
Definition at line 78 of file PulseShapeFitOOTPileupCorrection.h.
Referenced by PulseShapeFunctor().
|
private |
Definition at line 77 of file PulseShapeFitOOTPileupCorrection.h.
Referenced by EvalPulse(), and PulseShapeFunctor().
|
private |
Definition at line 77 of file PulseShapeFitOOTPileupCorrection.h.
Referenced by PulseShapeFunctor().
|
private |
Definition at line 74 of file PulseShapeFitOOTPileupCorrection.h.
Referenced by PulseShapeFunctor().
|
private |
Definition at line 65 of file PulseShapeFitOOTPileupCorrection.h.
Referenced by EvalPulse(), and PulseShapeFunctor().
|
private |
Definition at line 72 of file PulseShapeFitOOTPileupCorrection.h.
Referenced by EvalPulse(), and PulseShapeFunctor().
|
private |
Definition at line 73 of file PulseShapeFitOOTPileupCorrection.h.
Referenced by PulseShapeFunctor().
|
private |
Definition at line 63 of file PulseShapeFitOOTPileupCorrection.h.
Referenced by EvalPulse(), PulseShapeFunctor(), and setpsFiterry().
|
private |
Definition at line 63 of file PulseShapeFitOOTPileupCorrection.h.
Referenced by EvalPulse(), PulseShapeFunctor(), and setpsFiterry2().
|
private |
Definition at line 63 of file PulseShapeFitOOTPileupCorrection.h.
Referenced by EvalPulse(), PulseShapeFunctor(), and setpsFitslew().
|
private |
Definition at line 63 of file PulseShapeFitOOTPileupCorrection.h.
Referenced by PulseShapeFunctor(), and setpsFitx().
|
private |
Definition at line 63 of file PulseShapeFitOOTPileupCorrection.h.
Referenced by EvalPulse(), PulseShapeFunctor(), and setpsFity().
|
private |
Definition at line 56 of file PulseShapeFitOOTPileupCorrection.h.
Referenced by PulseShapeFunctor().
|
private |
Definition at line 79 of file PulseShapeFitOOTPileupCorrection.h.
Referenced by EvalPulse().
|
private |
Definition at line 80 of file PulseShapeFitOOTPileupCorrection.h.
Referenced by EvalPulse().
|
private |
Definition at line 69 of file PulseShapeFitOOTPileupCorrection.h.
Referenced by EvalPulse(), and PulseShapeFunctor().
|
private |
Definition at line 66 of file PulseShapeFitOOTPileupCorrection.h.
Referenced by EvalPulse(), and PulseShapeFunctor().
|
private |
Definition at line 70 of file PulseShapeFitOOTPileupCorrection.h.
Referenced by EvalPulse(), and PulseShapeFunctor().
|
private |
Definition at line 75 of file PulseShapeFitOOTPileupCorrection.h.
Referenced by EvalPulse(), and PulseShapeFunctor().
|
private |
Definition at line 71 of file PulseShapeFitOOTPileupCorrection.h.
Referenced by PulseShapeFunctor().
|
private |
Definition at line 68 of file PulseShapeFitOOTPileupCorrection.h.