Addition and convolution: decay function pdfs with optional B physics effects (mixing and CP violation)
that can be analytically convolved with e.g. Gaussian resolution functions
pdf1 = decay(t,tau) (
x) delta(t)
pdf2 = decay(t,tau) (
x) gauss(t,
m,s)
pdf3 = decay(t,tau) (
x) (
f*gauss1(t,m1,
s1) + (1-
f)*gauss2(t,m1,
s1))
␛[1mRooFit v3.60 -- Developed by Wouter Verkerke and David Kirkby␛[0m
Copyright (C) 2000-2013 NIKHEF, University of California & Stanford University
All rights reserved, please read http://roofit.sourceforge.net/license.txt
{
decay_tm.plotOn(frame, LineStyle(
kDashed));
decay_gm1.plotOn(frame);
RooRealVar gm1frac(
"gm1frac",
"fraction of gm1", 0.5);
decay_gmsum.plotOn(frame, LineColor(
kRed));
new TCanvas(
"rf209_anaconv",
"rf209_anaconv", 600, 600);
gPad->SetLeftMargin(0.15);
}
RooAddModel is an efficient implementation of a sum of PDFs of the form.
RooArgList is a container object that can hold multiple RooAbsArg objects.
Single or double sided decay function that can be analytically convolved with any RooResolutionModel ...
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.
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 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.
RooTruthModel is an implementation of RooResolution model that provides a delta-function resolution m...
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...
- Date
- July 2008
- Author
- Wouter Verkerke
Definition in file rf209_anaconv.C.