#include <CSCThrTurnOnFcn.h>
Public Member Functions | |
double | operator() (const std::vector< 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 18 of file CSCThrTurnOnFcn.h.
|
override |
Provide the chi-squared function for the given data.
Definition at line 9 of file CSCThrTurnOnFcn.cc.
References vertices_cff::chi2, diffTreeTool::diff, mps_fire::i, LogDebug, N, findQualityFiles::size, vertices_cff::x, and detailsBasic3DVector::y.
Referenced by setNorm().
|
inline |
Cache the current data, x and y.
Definition at line 29 of file CSCThrTurnOnFcn.h.
References mps_fire::i.
Referenced by CSCFitAFEBThr::ThresholdNoise().
|
inline |
Set the errors.
Definition at line 36 of file CSCThrTurnOnFcn.h.
References mps_fire::i.
Referenced by CSCFitAFEBThr::ThresholdNoise().
|
inline |
Set the norm (if needed)
Definition at line 41 of file CSCThrTurnOnFcn.h.
References gen::n, and operator()().
Referenced by CSCFitAFEBThr::ThresholdNoise().
|
inlineoverride |
|
private |
Definition at line 24 of file CSCThrTurnOnFcn.h.
|
private |
Definition at line 25 of file CSCThrTurnOnFcn.h.
|
private |
data
Definition at line 22 of file CSCThrTurnOnFcn.h.
|
private |
Definition at line 23 of file CSCThrTurnOnFcn.h.