1#ifndef TPULSE_ANALYZER_H
2#define TPULSE_ANALYZER_H
124 explicit TPulseAnalyzer(
const std::vector<Short_t>& wave,
double = 0, std::string name =
"");
132 void SetData(const std::vector<Short_t>& wave,
double = 0);
133 void Clear(Option_t* opt = "");
144 bool GetSiliShapeTF1(
double tauDecay,
double tauRise,
double baseline,
double basefreq = 0);
153 double fit_rf(
double = 2 * 8.48409);
225 double get_tfrac(
double,
double,
double);
long double lineq_solution[20]
std::vector< Short_t > cWavebuffer
void GetCsIExclusionZone()
double fit_rf(double=2 *8.48409)
long double determinant(int)
static const int BADCHISQ_PAR_T0
static const int BADCHISQ_LIN_T0
bool GetSiliShapeTF1(double tauDecay, double tauRise, double baseline, double basefreq=0)
static const int CSI_BASELINE_RANGE
static const int BAD_EXCLUSION_ZONE
double GetCsIt0(ShapePar *, WaveFormPar *)
double get_tfrac(double, double, double)
TPulseAnalyzer(const TPulseAnalyzer &)=default
void SetCsI(bool option=true)
static const int BADCHISQ_FAIL_DIRECT
void Clear(Option_t *opt="")
double GetCsITau(int, ShapePar *)
static const int BAD_BASELINE_RANGE
static double SiLiFitFunction(double *i, double *p)
long double copy_matrix[20][20]
ShapePar * csiTestShpar[4]
static const int BADCHISQ_SMOOTH_T0
long double lineq_vector[20]
bool SiliShapePrepare(double tauDecay, double tauRise)
int fit_parabola(int, int, ParPar *)
int fit_line(int, int, LinePar *)
TPulseAnalyzer(TPulseAnalyzer &&) noexcept=default
static const int BADCHISQ_AMPL
int fit_smooth_parabola(int, int, double, ParPar *)
static const int MAX_SAMPLES
static const int BADCHISQ_MAT
static const int PIN_BASELINE_RANGE
WaveFormPar * csiTestWpar[4]
long double lineq_matrix[20][20]
int FitCsIShape(int, ShapePar *, WaveFormPar *)
double get_parabolic_T0()
static const int NOISE_LEVEL_CSI
static const int BADCHISQ_NEG
static const int BADCHISQ_T0
void SetData(const TFragment &fragment, double=0)
bool GetSiliShape(double tauDecay, double tauRise)
double Get_wpar_amplitude()
double Get_wpar_baselinefin()
double get_sin_par(double)