38 RooCategory mixState(
"mixState",
"B0/B0bar mixing state");
39 mixState.defineType(
"mixed", -1);
40 mixState.defineType(
"unmixed", 1);
41 RooCategory tagFlav(
"tagFlav",
"Flavour of the tagged B0");
42 tagFlav.defineType(
"B0", 1);
43 tagFlav.defineType(
"B0bar", -1);
51 RooBMixDecay bmix(
"bmix",
"decay", dt, mixState, tagFlav, tau, dm, w, dw, gm1,
RooBMixDecay::DoubleSided);
68 tbins.addUniform(60, -15, 0);
71 tbins.addUniform(15, 0, 15);
91 abins.addBoundaryPair(1);
92 abins.addBoundaryPair(2);
93 abins.addBoundaryPair(3);
94 abins.addBoundaryPair(4);
95 abins.addBoundaryPair(6);
104 bmix.plotOn(aframe,
Asymmetry(mixState));
113 TCanvas *
c =
new TCanvas(
"rf108_plotbinning",
"rf108_plotbinning", 800, 400);
116 gPad->SetLeftMargin(0.15);
120 gPad->SetLeftMargin(0.15);
virtual RooPlot * plotOn(RooPlot *frame, const RooCmdArg &arg1=RooCmdArg::none(), const RooCmdArg &arg2=RooCmdArg::none(), const RooCmdArg &arg3=RooCmdArg::none(), const RooCmdArg &arg4=RooCmdArg::none(), const RooCmdArg &arg5=RooCmdArg::none(), const RooCmdArg &arg6=RooCmdArg::none(), const RooCmdArg &arg7=RooCmdArg::none(), const RooCmdArg &arg8=RooCmdArg::none()) const
Calls RooPlot* plotOn(RooPlot* frame, const RooLinkedList& cmdList) const ;.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Class RooBMixDecay is a RooAbsAnaConvPdf implementation that describes the decay of B mesons with the...
Class RooBinning is an implements RooAbsBinning in terms of an array of boundary values,...
RooCategory represents a fundamental (non-derived) discrete value object.
RooDataSet is a container class to hold unbinned data.
Class RooGaussModel implements a RooResolutionModel that models a Gaussian distribution.
A RooPlot is a plot frame and a container for graphics objects within that frame.
virtual void SetMinimum(Double_t minimum=-1111)
Set minimum value of Y axis.
static RooPlot * frame(const RooAbsRealLValue &var, Double_t xmin, Double_t xmax, Int_t nBins)
Create a new frame for a given variable in x.
virtual void SetMaximum(Double_t maximum=-1111)
Set maximum value of Y axis.
virtual void Draw(Option_t *options=0)
Draw this plot and all of the elements it contains.
RooRealVar represents a variable that can be changed from the outside.
virtual void SetTitleOffset(Float_t offset=1)
Set distance between the axis and the axis title.
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
RooCmdArg Binning(const RooAbsBinning &binning)
RooCmdArg Asymmetry(const RooCategory &cat)