11 #ifndef ROOSTATS_BernsteinCorrection 12 #define ROOSTATS_BernsteinCorrection 34 const char* nominalName,
tomato 1-D histogram with a float per channel (see TH1 documentation)}
BernsteinCorrection(double tolerance=0.05)
#define ClassDef(name, id)
Int_t ImportCorrectedPdf(RooWorkspace *, const char *, const char *, const char *)
Main method for Bernstein correction.
void SetMaxDegree(Int_t maxDegree)
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.
Namespace for the RooStats classes.
void SetMaxCorrection(Double_t maxCorr)
virtual ~BernsteinCorrection()
BernsteinCorrection is a utility in RooStats to augment a nominal PDF with a polynomial correction te...
The RooWorkspace is a persistable container for RooFit projects.