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.
void SetMaxDegree(Int_t maxDegree)
BernsteinCorrection(double tolerance=0.05)
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.
virtual ~BernsteinCorrection()
void SetMaxCorrection(Double_t maxCorr)
The RooWorkspace is a persistable container for RooFit projects.
1-D histogram with a float per channel (see TH1 documentation)}
Namespace for the RooStats classes.
static constexpr double degree