97   rnd->SetSeed(191101303);
 
  100   TH1 *
haccepted = 
new TH1D(
"haccepted", 
"Generated events;cos(#theta);#events", 40, -1.0, 1.0);
 
  101   TH1 *
hweighted = 
new TH1D(
"hweighted", 
"Generated events;cos(#theta);#events", 40, -1.0, 1.0);
 
  106   std::array<std::string, 3> 
methodLabels{
"Inverse weighted Hessian matrix [SumW2Error(false)]",
 
  107                                           "Hessian matrix with squared weights [SumW2Error(true)]",
 
  108                                           "Asymptotically correct approach [Asymptotic(true)]"};
 
  112   for (std::size_t i = 0; i < 3; ++i) {
 
  113      std::string 
const &
iLabel = std::to_string(i);
 
  126   constexpr std::size_t 
ntoys = 500;
 
  127   constexpr std::size_t 
nstats = 500;
 
  129   constexpr double c0gen = 0.0;
 
  130   constexpr double c1gen = 0.0;
 
  137   std::cout << 
"Running " << 
ntoys * 3 << 
" toy fits ..." << std::endl;
 
  141   for (std::size_t i = 0; i < 
ntoys; i++) {
 
  146      RooRealVar weight(
"weight", 
"weight", 0.0, 1000.0);
 
  158         ngen *= 2.0 / (23.0 / 15.0);
 
  160         ngen *= 2.0 / (16.0 / 15.0);
 
  170         bool finished = 
false;
 
  183            if (10.0 * 
rnd->Rndm() < eff * 
pol.getVal())
 
  213   std::cout << 
"... done." << std::endl;
 
  243   for (std::size_t i = 0; i < 
pullHistos.size(); ++i) {
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
 
R__EXTERN TStyle * gStyle
 
Container class to hold unbinned data.
 
RooExtendPdf is a wrapper around an existing PDF that adds a parameteric extended likelihood term to ...
 
static RooMsgService & instance()
Return reference to singleton instance.
 
RooPolynomial implements a polynomial p.d.f of the form.
 
Variable that can be changed from the outside.
 
virtual void SetMarkerStyle(Style_t mstyle=1)
Set the marker style.
 
virtual void SetMarkerSize(Size_t msize=1)
Set the marker size.
 
virtual void SetTextSize(Float_t tsize=1)
Set the text size.
 
1-D histogram with a double per channel (see TH1 documentation)
 
TH1 is the base class of all histogram classes in ROOT.
 
This class displays a legend box (TPaveText) containing several legend entries.
 
Random number generator class based on M.
 
void SetPadTopMargin(Float_t margin=0.1)
 
void SetOptStat(Int_t stat=1)
The type of information printed in the histogram statistics box can be selected via the parameter mod...
 
void SetPadBottomMargin(Float_t margin=0.1)
 
void SetPaintTextFormat(const char *format="g")
 
void SetEndErrorSize(Float_t np=2)
Set the size (in pixels) of the small lines drawn at the end of the error bars (TH1 or TGraphErrors).
 
void SetPadRightMargin(Float_t margin=0.1)
 
void SetTitleOffset(Float_t offset=1, Option_t *axis="X")
Specify a parameter offset to control the distance between the axis and the axis title.
 
void SetPadLeftMargin(Float_t margin=0.1)
 
void SetHistLineColor(Color_t color=1)
 
void SetTitleSize(Float_t size=0.02, Option_t *axis="X")
 
void SetHistLineWidth(Width_t width=1)
 
void SetLabelSize(Float_t size=0.04, Option_t *axis="X")
Set size of axis labels.
 
void SetOptFit(Int_t fit=1)
The type of information about fit parameters printed in the histogram statistics box can be selected ...
 
RooCmdArg WeightVar(const char *name="weight", bool reinterpretAsWeight=false)
 
RooCmdArg AsymptoticError(bool flag)
 
RooCmdArg SumW2Error(bool flag)
 
RooCmdArg PrintLevel(Int_t code)
 
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...