12 #ifndef ROOT_TBinomialEfficiencyFitter
13 #define ROOT_TBinomialEfficiencyFitter
31 #ifndef ROOT_TFitResultPtr
67 void Set(
const TH1 *numerator,
const TH1 *denominator);
Double_t EvaluateFCN(const Double_t *par)
Namespace for new ROOT classes and functions.
Binomial fitter for the division of two histograms.
virtual ~TBinomialEfficiencyFitter()
destructor
void ComputeFCN(Double_t &f, const Double_t *par)
Compute the likelihood.
#define ClassDef(name, id)
void Set(const TH1 *numerator, const TH1 *denominator)
Initialize with a new set of inputs.
TBinomialEfficiencyFitter()
ROOT::Fit::Fitter * fFitter
void SetPrecision(Double_t epsilon)
Set the required integration precision, see TF1::Integral()
Fitter class, entry point for performing all type of fits.
Provides an indirection to the TFitResult class and with a semantics identical to a TFitResult pointe...
TFitResultPtr Fit(FitObject *h1, TF1 *f1, Foption_t &option, const ROOT::Math::MinimizerOptions &moption, const char *goption, ROOT::Fit::DataRange &range)
Mother of all ROOT objects.
TFitResultPtr Fit(TF1 *f1, Option_t *option="")
Carry out the fit of the given function to the given histograms.
ROOT::Fit::Fitter * GetFitter()
Provide access to the underlying fitter object.