31void rf802_mcstudy_addons()
 
   40   RooRealVar mean(
"mean", 
"mean of gaussian", 0, -2., 1.8);
 
   57   mcs->generateAndFit(2000, 1000);
 
   65   hist_chi2->SetTitle(
"#chi^{2} values of all toy runs;#chi^{2}");
 
   67   hist_prob->SetTitle(
"Corresponding #chi^{2} probability;Prob(#chi^{2},ndof)");
 
   88   mcs2->generateAndFit(2000, 1000);
 
  108   leg.SetBorderSize(0);
 
  111   TCanvas *
c = 
new TCanvas(
"rf802_mcstudy_addons", 
"rf802_mcstudy_addons", 800, 400);
 
  114   gPad->SetLeftMargin(0.15);
 
  115   hist_chi2->GetYaxis()->SetTitleOffset(1.4);
 
  120   gPad->SetLeftMargin(0.15);
 
  121   hist_prob->GetYaxis()->SetTitleOffset(1.4);
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
RooChi2MCSModule is an add-on module to RooMCStudy that calculates the chi-squared of fitted p....
 
Helper class to facilitate Monte Carlo studies such as 'goodness-of-fit' studies, that involve fittin...
 
Variable that can be changed from the outside.
 
virtual void SetFillStyle(Style_t fstyle)
Set the fill area style.
 
TH1 is the base class of all histogram classes in ROOT.
 
This class displays a legend box (TPaveText) containing several legend entries.
 
TLegendEntry * AddEntry(const TObject *obj, const char *label="", Option_t *option="lpf")
Add a new entry to this legend.
 
RooCmdArg FitModel(RooAbsPdf &pdf)
 
RooCmdArg AutoBinning(Int_t nbins=100, double marginFactor=0.1)
 
RooCmdArg Silence(bool flag=true)
 
RooCmdArg Binned(bool flag=true)
 
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...