#include <TPNFit.h>
Public Member Functions | |
double | doFit (int, double *) |
double | getAmpl () |
double | getTimax () |
void | init (int, int, int) |
TPNFit () | |
~TPNFit () override | |
Private Attributes | |
double | ampl |
int | firstsample |
int | fNsamples |
int | fNum_samp_after_max |
int | fNum_samp_bef_max |
double | fv1 [50] |
double | fv2 [50] |
double | fv3 [50] |
int | lastsample |
double | t [50] |
double | timeatmax |
double | val [50] |
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, ampl, b, HltBtagPostValidation_cff::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 31 of file TPNFit.h.
References ampl.
Referenced by EcalPerEvtLaserAnalyzer::analyze(), EcalTestPulseAnalyzer::analyze(), EcalLaserAnalyzer2::analyze(), and EcalLaserAnalyzer::analyze().
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 |
Definition at line 18 of file TPNFit.h.
Referenced by doFit(), and getTimax().
|
private |
Definition at line 15 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().