32 void rf803_mcstudy_addons2()
41 RooRealVar mjjj(
"mjjj",
"m(3jet) (GeV)",100,85.,350.) ;
45 RooRealVar wtop(
"wtop",
"m(top) resolution",15.2) ;
46 RooGaussian sig(
"sig",
"top signal",mjjj,mtop,wtop) ;
49 RooRealVar c0(
"c0",
"Chebychev coefficient 0",-0.846,-1.,1.) ;
50 RooRealVar c1(
"c1",
"Chebychev coefficient 1", 0.112,-1.,1.) ;
51 RooRealVar c2(
"c2",
"Chebychev coefficient 2", 0.076,-1.,1.) ;
55 RooRealVar nsig(
"nsig",
"number of signal events",53,0,1e3) ;
56 RooRealVar nbkg(
"nbkg",
"number of background events",103,0,5e3) ;
114 TCanvas* c =
new TCanvas(
"rf803_mcstudy_addons2",
"rf802_mcstudy_addons2",800,800) ;
virtual void SetTitleOffset(Float_t offset=1)
Set distance between the axis and the axis title Offset is a correction factor with respect to the "s...
void sampleSumUniform(const RooArgSet ¶mSet, Double_t lo, Double_t hi)
Request uniform smearing of sum of parameters in paramSet uniform smearing in range [lo...
RooMCStudy is a help class to facilitate Monte Carlo studies such as 'goodness-of-fit' studies...
RooAddPdf is an efficient implementation of a sum of PDFs of the form.
RooCmdArg Binned(Bool_t flag=kTRUE)
const RooDataSet & fitParDataSet()
Return a RooDataSet the resulting fit parameters of each toy cycle.
TVirtualPad * cd(Int_t subpadnumber=0)
Set current canvas & pad.
RooCmdArg PrintEvalErrors(Int_t numErrors)
RooCmdArg Extended(Bool_t flag=kTRUE)
void addModule(RooAbsMCStudyModule &module)
Insert given RooMCStudy add-on module to the processing chain of this MCStudy object.
Bool_t generateAndFit(Int_t nSamples, Int_t nEvtPerSample=0, Bool_t keepGenData=kFALSE, const char *asciiFilePat=0)
Generate and fit 'nSamples' samples of 'nEvtPerSample' events.
RooCmdArg Silence(Bool_t flag=kTRUE)
RooDLLSignificanceMCSModule is an add-on modules to RooMCStudy that calculates the significance of a ...
RooCmdArg FitOptions(const char *opts)
RooRealVar represents a fundamental (non-derived) real valued object.
virtual void Draw(Option_t *option="")
Draw this histogram with options.
RooRandomizeParamMCSModule is an add-on modules to RooMCStudy that allows you to randomize input gene...
TH2F * createHistogram(const RooAbsRealLValue &var1, const RooAbsRealLValue &var2, const char *cuts="", const char *name="hist") const
Create a TH2F histogram of the distribution of the specified variable using this dataset.
virtual void Divide(Int_t nx=1, Int_t ny=1, Float_t xmargin=0.01, Float_t ymargin=0.01, Int_t color=0)
Automatic pad generation by division.
Chebychev polynomial p.d.f.