#include <TPNFit.h>
Public Member Functions | |
double | doFit (int, double *) |
double | getAmpl () |
double | getTimax () |
void | init (int, int, int) |
TPNFit () | |
~TPNFit () override | |
Static Public Attributes | |
static constexpr int | NMAXSAMP2 = 50 |
Private Attributes | |
double | ampl |
int | firstsample |
int | fNsamples |
int | fNum_samp_after_max |
int | fNum_samp_bef_max |
double | fv1 [NMAXSAMP2] |
double | fv2 [NMAXSAMP2] |
double | fv3 [NMAXSAMP2] |
int | lastsample |
double | t [NMAXSAMP2] |
double | timeatmax |
double | val [NMAXSAMP2] |
TPNFit::TPNFit | ( | ) |
Definition at line 15 of file TPNFit.cc.
References fNsamples, fNum_samp_after_max, and fNum_samp_bef_max.
double TPNFit::doFit | ( | int | maxsample, |
double * | adc | ||
) |
Definition at line 39 of file TPNFit.cc.
References a, gpuClustering::adc, ampl, b, c, hltPixelTracks_cff::chi2, DeadROC_duringRun::f1, DeadROC_duringRun::f2, firstsample, fNsamples, fNum_samp_after_max, fNum_samp_bef_max, fv1, fv2, fv3, mps_fire::i, lastsample, timeatmax, val, and y.
Referenced by EcalPerEvtLaserAnalyzer::analyze(), EcalTestPulseAnalyzer::analyze(), EcalLaserAnalyzer2::analyze(), and EcalLaserAnalyzer::analyze().
|
inline |
Definition at line 32 of file TPNFit.h.
References ampl.
Referenced by EcalPerEvtLaserAnalyzer::analyze(), EcalTestPulseAnalyzer::analyze(), EcalLaserAnalyzer2::analyze(), and EcalLaserAnalyzer::analyze().
|
inline |
void TPNFit::init | ( | int | nsamples, |
int | firstsample, | ||
int | lastsample | ||
) |
Definition at line 24 of file TPNFit.cc.
References firstsample, fNsamples, fNum_samp_after_max, fNum_samp_bef_max, dqmdumpme::k, lastsample, NMAXSAMP2, and t.
Referenced by EcalPerEvtLaserAnalyzer::analyze(), EcalTestPulseAnalyzer::analyze(), EcalLaserAnalyzer2::analyze(), and EcalLaserAnalyzer::analyze().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticconstexpr |
|
private |
Definition at line 19 of file TPNFit.h.
Referenced by doFit(), and getTimax().
|
private |
Definition at line 16 of file TPNFit.h.
Referenced by value.Value::__eq__(), value.Value::__iadd__(), value.Value::__idiv__(), value.Value::__isub__(), value.Value::__str__(), doFit(), and value.Value::relerr().