41 RooCategory mixState(
"mixState",
"B0/B0bar mixing state") ;
42 mixState.defineType(
"mixed",-1) ;
43 mixState.defineType(
"unmixed",1) ;
44 RooCategory tagFlav(
"tagFlav",
"Flavour of the tagged B0") ;
45 tagFlav.defineType(
"B0",1) ;
46 tagFlav.defineType(
"B0bar",-1) ;
54 RooBMixDecay bmix(
"bmix",
"decay",dt,mixState,tagFlav,tau,dm,w,dw,gm1,
RooBMixDecay::DoubleSided) ;
74 tbins.addUniform(60,-15,0) ;
77 tbins.addUniform(15,0,15) ;
80 RooPlot* dtframe = dt.frame(
Range(-15,15),
Title(
"dt distribution with custom binning")) ;
82 bmix.plotOn(dtframe) ;
97 abins.addBoundary(0) ;
98 abins.addBoundaryPair(1) ;
99 abins.addBoundaryPair(2) ;
100 abins.addBoundaryPair(3) ;
101 abins.addBoundaryPair(4) ;
102 abins.addBoundaryPair(6) ;
105 RooPlot* aframe = dt.frame(
Range(-10,10),
Title(
"mixState asymmetry distribution with custom binning")) ;
111 bmix.plotOn(aframe,
Asymmetry(mixState)) ;
121 TCanvas*
c =
new TCanvas(
"rf108_plotbinning",
"rf108_plotbinning",800,400) ;
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.
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 fundamental (non-derived) real valued object.
virtual void SetTitleOffset(Float_t offset=1)
Set distance between the axis and the axis title Offset is a correction factor with respect to the "s...
RooCmdArg Binning(const RooAbsBinning &binning)
RooCmdArg Asymmetry(const RooCategory &cat)