4 #ifndef ROOT_TFractionFitter 5 #define ROOT_TFractionFitter 7 #ifndef ROOT_TVirtualFitter 11 #ifndef ROOT_TObjArray 15 #ifndef ROOT_TFitResultPtr 44 void ExcludeBin(
Int_t bin);
45 void IncludeBin(
Int_t bin);
47 void UnConstrain(
Int_t parm);
48 void SetData(
TH1 *data);
50 void SetWeight(
Int_t parm,
TH1* weight);
65 TH1* GetMCPrediction(
Int_t parm)
const;
70 ComputeFCN(f, par, 0);
75 void CheckParNo(
Int_t parm)
const;
76 void CheckConsistency();
77 void FindPrediction(
int bin,
double& t_i,
int& k_0,
double& A_ki)
const;
81 void ComputeChisquareLambda();
82 bool IsExcluded(
Int_t bin)
const;
123 #endif // ROOT_TFractionFitter Double_t EvaluateFCN(const Double_t *par)
This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecu...
std::vector< Int_t > fExcludedBins
void TFractionFitFCN(Int_t &npar, Double_t *gin, Double_t &f, Double_t *par, Int_t flag)
#define ClassDef(name, id)
ROOT::Fit::Fitter * fFractionFitter
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.
Fits MC fractions to data histogram.
RooCmdArg Constrain(const RooArgSet ¶ms)