'ADDITION AND CONVOLUTION' RooFit tutorial macro #209
Decay function p.d.fs 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_gm1.plotOn(frame) ;
RooRealVar gm1frac(
"gm1frac",
"fraction of gm1",0.5) ;
new TCanvas(
"rf209_anaconv",
"rf209_anaconv",600, 600);
}
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.
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.
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 Offset is a correction factor with respect to the "s...
RooCmdArg LineColor(Color_t color)
RooCmdArg LineStyle(Style_t style)
- Author
- 07/2008 - Wouter Verkerke
Definition in file rf209_anaconv.C.