11#ifndef ROOSTATS_BernsteinCorrection
12#define ROOSTATS_BernsteinCorrection
32 const char* nominalName,
#define ClassDef(name, id)
BernsteinCorrection is a utility in RooStats to augment a nominal PDF with a polynomial correction te...
Int_t ImportCorrectedPdf(RooWorkspace *, const char *, const char *, const char *)
Main method for Bernstein correction.
double fMaxCorrection
maximum correction factor at any point (default is 100)
void SetMaxDegree(Int_t maxDegree)
double fTolerance
probability to add an unnecessary term
Int_t fMaxDegree
maximum polynomial degree correction (default is 10)
void CreateQSamplingDist(RooWorkspace *wks, const char *nominalName, const char *varName, const char *dataName, TH1F *, TH1F *, Int_t degree, Int_t nToys=500)
Create sampling distribution for q given degree-1 vs. degree corrections.
void SetMaxCorrection(double maxCorr)
virtual ~BernsteinCorrection()
Persistable container for RooFit projects.
1-D histogram with a float per channel (see TH1 documentation)
Namespace for the RooStats classes.