23void rf514_RooCustomizer() {
44 std::cout <<
"The proto model before customisation:" << std::endl;
77 RooFormulaVar yield1(
"yieldSig_Sample1",
"Signal yield in the first sample",
"M/3.360779", mass);
87 auto pdf1 =
cust.build(
"Sample1");
88 auto pdf2 =
cust.build(
"Sample2");
92 std::cout <<
"\nPDF 1 with a yield depending on M:" << std::endl;
94 std::cout <<
"\nPDF 2 with a yield depending on M:" << std::endl;
96 std::cout <<
"\nPDF 3 with a free yield:" << std::endl;
99 std::cout <<
"\nThe following leaves have been created automatically while customising:" << std::endl;
109 std::cout <<
"\nThe following leaves have been used while customising"
110 <<
"\n\t(partial overlap with the set of automatically created leaves."
111 <<
"\n\ta new customiser for a different PDF could reuse them if necessary.):" << std::endl;
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
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.
Object to represent discrete states.
RooCustomizer is a factory class to produce clones of a prototype composite PDF object with the same ...
RooPolynomial implements a polynomial p.d.f of the form.
Variable that can be changed from the outside.
constexpr Double_t E()
Base of natural log: .