53 std::unique_ptr<RooDataSet> modelData{model.generate({
x,
y}, 10000)};
74 x.setRange(
"SB1", -10, +10);
75 y.setRange(
"SB1", -10, 0);
77 x.setRange(
"SB2", -10, 0);
78 y.setRange(
"SB2", 0, +10);
80 x.setRange(
"SIG", 0, +10);
81 y.setRange(
"SIG", 0, +10);
83 x.setRange(
"FULL", -10, +10);
84 y.setRange(
"FULL", -10, +10);
90 std::unique_ptr<RooFitResult> r_sb1{model.fitTo(*modelData,
Range(
"SB1"),
Save(),
PrintLevel(-1))};
93 std::unique_ptr<RooFitResult> r_sb2{model.fitTo(*modelData,
Range(
"SB2"),
Save(),
PrintLevel(-1))};
100 std::unique_ptr<RooFitResult> r_sb12{model.fitTo(*modelData,
Range(
"SB1,SB2"),
Save(),
PrintLevel(-1))};
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char mx
Efficient implementation of a sum of PDFs of the form.
RooArgList is a container object that can hold multiple RooAbsArg objects.
RooPolynomial implements a polynomial p.d.f of the form.
Efficient implementation of a product of PDFs of the form.
RooRealVar represents a variable that can be changed from the outside.
RooCmdArg Save(bool flag=true)
RooCmdArg PrintLevel(Int_t code)
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...