25void rf316_llratioplot()
52 std::unique_ptr<RooDataSet>
data{model.generate({
x,
y, z}, 20000)};
80 std::unique_ptr<RooAbsData>
dataSel{
data->reduce(
Cut(
"llratio>0.7"))};
92 std::unique_ptr<RooDataSet>
mcprojData{model.generate({
x,
y, z}, 10000)};
102 TCanvas *
c =
new TCanvas(
"rf316_llratioplot",
"rf316_llratioplot", 800, 400);
105 gPad->SetLeftMargin(0.15);
109 gPad->SetLeftMargin(0.15);
110 frame2->GetYaxis()->SetTitleOffset(1.4);
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
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.
Plot frame and a container for graphics objects within that frame.
static RooPlot * frame(const RooAbsRealLValue &var, double xmin, double xmax, Int_t nBins)
Create a new frame for a given variable in x.
void Draw(Option_t *options=nullptr) override
Draw this plot and all of the elements it contains.
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.
virtual void SetTitleOffset(Float_t offset=1)
Set distance between the axis and the axis title.
RooCmdArg Bins(Int_t nbin)
RooCmdArg ProjWData(const RooAbsData &projData, bool binData=false)
RooCmdArg Cut(const char *cutSpec)
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...