#include <CSCThrTurnOnFcn.h>
Public Member Functions | |
double | operator() (std::span< const double >) const override |
Provide the chi-squared function for the given data. More... | |
void | setData (const std::vector< float > &x, const std::vector< float > &y) |
Cache the current data, x and y. More... | |
void | setErrors (const std::vector< float > &er) |
Set the errors. More... | |
void | setNorm (float n) |
Set the norm (if needed) More... | |
double | Up () const override |
@ What? More... | |
Private Attributes | |
std::vector< float > | ery |
float | norm |
std::vector< float > | xdata |
data More... | |
std::vector< float > | ydata |
Model functional form for fitting AFEB turn-on threshold information from Muon Endcap CSC's. This version is for ROOT Minuit2. Based on CSCPulseHeightFcn as an example.
Definition at line 19 of file CSCThrTurnOnFcn.h.
|
override |
Provide the chi-squared function for the given data.
Definition at line 9 of file CSCThrTurnOnFcn.cc.
References isoTrack_cff::chi2, change_name::diff, ery, personalPlayback::fn, mps_fire::i, LogDebug, N, norm, findQualityFiles::size, x, xdata, y, and ydata.
|
inline |
Cache the current data, x and y.
Definition at line 29 of file CSCThrTurnOnFcn.h.
References mps_fire::i, x, xdata, y, and ydata.
Referenced by CSCFitAFEBThr::ThresholdNoise().
|
inline |
Set the errors.
Definition at line 37 of file CSCThrTurnOnFcn.h.
References ery, and mps_fire::i.
Referenced by CSCFitAFEBThr::ThresholdNoise().
|
inline |
Set the norm (if needed)
Definition at line 43 of file CSCThrTurnOnFcn.h.
References create_idmaps::n, and norm.
Referenced by CSCFitAFEBThr::ThresholdNoise().
|
inlineoverride |
|
private |
Definition at line 24 of file CSCThrTurnOnFcn.h.
Referenced by operator()(), and setErrors().
|
private |
Definition at line 25 of file CSCThrTurnOnFcn.h.
Referenced by operator()(), and setNorm().
|
private |
|
private |
Definition at line 23 of file CSCThrTurnOnFcn.h.
Referenced by operator()(), and setData().