#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N21-02-25/CAFAna/Core/Utilities.h"
Public Member Functions | |
FitToFourier (TH1 *h, double xlo, double xhi, int NOsc) | |
~FitToFourier () | |
TF1 * | Fit () const |
double | operator() (double *x, double *par) const |
Private Attributes | |
const TH1 * | fHist |
const double | fxlo |
const double | fxhi |
const int | fNOsc |
Definition at line 210 of file Utilities.h.
ana::FitToFourier::FitToFourier | ( | TH1 * | h, |
double | xlo, | ||
double | xhi, | ||
int | NOsc | ||
) |
Definition at line 482 of file Utilities.cxx.
ana::FitToFourier::~FitToFourier | ( | ) |
Definition at line 488 of file Utilities.cxx.
TF1 * ana::FitToFourier::Fit | ( | ) | const |
Definition at line 503 of file Utilities.cxx.
References plot_validation_datamc::c, std::cos(), MakeMiniprodValidationCuts::f, fHist, fNOsc, fxhi, fxlo, MECModelEnuComparisons::i, M_PI, cet::sqlite::max(), min(), getGoodRuns4SAM::n, plotROC::nBins, std::sin(), ana::UniqueName(), submit_syst::x, and submit_syst::y.
Referenced by SmoothWithFourierFit().
double ana::FitToFourier::operator() | ( | double * | x, |
double * | par | ||
) | const |
Definition at line 493 of file Utilities.cxx.
References std::cos(), fNOsc, MECModelEnuComparisons::i, M_PI, std::sin(), and febshutoff_auto::val.
|
private |
Definition at line 219 of file Utilities.h.
Referenced by Fit().
|
private |
Definition at line 222 of file Utilities.h.
Referenced by Fit(), and operator()().
|
private |
Definition at line 221 of file Utilities.h.
Referenced by Fit().
|
private |
Definition at line 220 of file Utilities.h.
Referenced by Fit().