35 RooRealVar mean(
"mean",
"mean of gaussians", 5);
49 RooRealVar bkg1frac(
"bkg1frac",
"fraction of component 1 in background", 0.2, 0., 1.);
53 RooRealVar bkgfrac(
"bkgfrac",
"fraction of background", 0.5, 0., 1.);
73 std::unique_ptr<RooArgSet> model_obs{model.getObservables(
data)};
74 model_obs->Print(
"v");
80 std::unique_ptr<RooArgSet> model_params{model.getParameters(
x)};
81 model_params->Print(
"v");
85 std::unique_ptr<RooArgSet> model_params2{model.getParameters(
data)};
86 model_params2->Print();
92 std::unique_ptr<RooArgSet> model_comps{model.getComponents()};
93 model_comps->Print(
"v");
100 RooRealVar sigma2(
"sigma2",
"width of gaussians", 1);
101 RooGaussian sig2(
"sig2",
"Signal component 1",
x, mean, sigma2);
104 RooRealVar sig1frac(
"sig1frac",
"fraction of component 1 in signal", 0.8, 0., 1.);
111 cust.replaceArg(sig, sigsum);
124 cust_clone->
Print(
"t");
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
void Print(Option_t *options=nullptr) const override
Print the object to the defaultPrintStream().
Abstract interface for all probability density functions.
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.
RooCustomizer is a factory class to produce clones of a prototype composite PDF object with the same ...
Container class to hold unbinned data.
Variable that can be changed from the outside.
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...