#ifndef ROOT_TBinomialEfficiencyFitter
#define ROOT_TBinomialEfficiencyFitter
#include "TObject.h"
class TH1;
class TF1;
class TVirtualFitter;
class TBinomialEfficiencyFitter: public TObject {
protected:
TH1 *fDenominator;
TH1 *fNumerator;
TF1 *fFunction;
Double_t fEpsilon;
Bool_t fFitDone;
Bool_t fAverage;
Bool_t fRange;
static TVirtualFitter *fgFitter;
public:
TBinomialEfficiencyFitter();
TBinomialEfficiencyFitter(const TH1 *numerator, const TH1 *denominator);
virtual ~TBinomialEfficiencyFitter();
void Set(const TH1 *numerator, const TH1 *denominator);
void SetPrecision(Double_t epsilon);
Int_t Fit(TF1 *f1, Option_t* option = "");
static TVirtualFitter* GetFitter();
void ComputeFCN(Int_t& npar, Double_t* , Double_t& f, Double_t* par, Int_t flag);
ClassDef(TBinomialEfficiencyFitter, 1)
};
void BinomialEfficiencyFitterFCN(Int_t& npar, Double_t* gin, Double_t& f, Double_t* par, Int_t flag);
#endif
Last change: Mon Sep 22 15:41:18 2008
Last generated: 2008-09-22 15:41
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.