38 RooRealVar mjjj(
"mjjj",
"m(3jet) (GeV)", 100, 85., 350.);
42 RooRealVar wtop(
"wtop",
"m(top) resolution", 15.2);
43 RooGaussian sig(
"sig",
"top signal", mjjj, mtop, wtop);
46 RooRealVar c0(
"c0",
"Chebychev coefficient 0", -0.846, -1., 1.);
47 RooRealVar c1(
"c1",
"Chebychev coefficient 1", 0.112, -1., 1.);
48 RooRealVar c2(
"c2",
"Chebychev coefficient 2", 0.076, -1., 1.);
52 RooRealVar nsig(
"nsig",
"number of signal events", 53, 0, 1e3);
53 RooRealVar nbkg(
"nbkg",
"number of background events", 103, 0, 5e3);
103 TCanvas *
c =
new TCanvas(
"rf803_mcstudy_addons2",
"rf802_mcstudy_addons2", 800, 800);
106 gPad->SetLeftMargin(0.15);
108 dll_vs_ngen->
Draw(
"box");
110 gPad->SetLeftMargin(0.15);
112 z_vs_ngen->
Draw(
"box");
114 gPad->SetLeftMargin(0.15);
116 errnsig_vs_ngen->
Draw(
"box");
118 gPad->SetLeftMargin(0.15);
120 errnsig_vs_nsig->
Draw(
"box");
TH1 * createHistogram(const char *name, const RooAbsRealLValue &xvar, const RooCmdArg &arg1={}, const RooCmdArg &arg2={}, const RooCmdArg &arg3={}, const RooCmdArg &arg4={}, const RooCmdArg &arg5={}, const RooCmdArg &arg6={}, const RooCmdArg &arg7={}, const RooCmdArg &arg8={}) const
Calls createHistogram(const char *name, const RooAbsRealLValue& xvar, const RooLinkedList& argList) c...
Efficient implementation of a sum of PDFs of the form.
RooArgList is a container object that can hold multiple RooAbsArg objects.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Chebychev polynomial p.d.f.
Add-on module to RooMCStudy that calculates the significance of a signal by comparing the likelihood ...
Helper class to facilitate Monte Carlo studies such as 'goodness-of-fit' studies, that involve fittin...
const RooDataSet & fitParDataSet()
Return a RooDataSet containing the post-fit parameters of each toy cycle.
bool generateAndFit(Int_t nSamples, Int_t nEvtPerSample=0, bool keepGenData=false, const char *asciiFilePat=nullptr)
Generate and fit 'nSamples' samples of 'nEvtPerSample' events.
void addModule(RooAbsMCStudyModule &module)
Insert given RooMCStudy add-on module to the processing chain of this MCStudy object.
Add-on module to RooMCStudy that allows you to randomize input generation parameters.
void sampleSumUniform(const RooArgSet ¶mSet, double lo, double hi)
Request uniform smearing of sum of parameters in paramSet uniform smearing in range [lo,...
Variable that can be changed from the outside.
virtual void SetTitleOffset(Float_t offset=1)
Set distance between the axis and the axis title.
TH1 is the base class of all histogram classes in ROOT.
void Draw(Option_t *option="") override
Draw this histogram with options.
RooCmdArg FitOptions(const RooCmdArg &arg1, const RooCmdArg &arg2={}, const RooCmdArg &arg3={}, const RooCmdArg &arg4={}, const RooCmdArg &arg5={}, const RooCmdArg &arg6={})
RooCmdArg AutoBinning(Int_t nbins=100, double marginFactor=0.1)
RooCmdArg Silence(bool flag=true)
RooCmdArg Binned(bool flag=true)
RooCmdArg PrintEvalErrors(Int_t numErrors)
RooCmdArg Extended(bool flag=true)
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...