48 RooFormulaVar effFunc(
"effFunc",
"((1-ax)+ax*cos((x-cx)/bx))*((1-ay)+ay*cos((y-cy)/by))",
52 RooCategory cut(
"cut",
"cutr", { {
"accept", 1}, {
"reject", 0} });
71 std::unique_ptr<RooDataSet>
data{model.generate({
x,
y, cut}, 10000)};
94 TCanvas *
ca =
new TCanvas(
"rf702_efficiency_2D",
"rf702_efficiency_2D", 1200, 400);
97 gPad->SetLeftMargin(0.15);
101 gPad->SetLeftMargin(0.15);
105 gPad->SetLeftMargin(0.15);
106 hh_eff->GetZaxis()->SetTitleOffset(1.8);
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
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.
A PDF helper class to fit efficiencies parameterized by a supplied function F.
RooPolynomial implements a polynomial p.d.f of the form.
Efficient implementation of a product of PDFs of the form.
Variable that can be changed from the outside.
TH1 is the base class of all histogram classes in ROOT.
RooCmdArg YVar(const RooAbsRealLValue &var, const RooCmdArg &arg={})
RooCmdArg Conditional(const RooArgSet &pdfSet, const RooArgSet &depSet, bool depsAreCond=false)
RooConstVar & RooConst(double val)
RooCmdArg PrintLevel(Int_t code)
RooCmdArg ConditionalObservables(Args_t &&... argsOrArgSet)
Create a RooCmdArg to declare conditional observables.
RooCmdArg Binning(const RooAbsBinning &binning)
RooCmdArg Cut(const char *cutSpec)
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...