'BASIC FUNCTIONALITY' RooFit tutorial macro #111
Numerical 1st,2nd and 3rd order derivatives w.r.t. observables and parameters
pdf = gauss(x,m,s)
Processing /mnt/vdb/lsf/workspace/root-makedoc-v608/rootspi/rdoc/src/v6-08-00-patches/tutorials/roofit/rf111_derivatives.C...
[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
[#1] INFO:NumericIntegration -- RooRealIntegral::init(gauss_Int[sigma]) using numeric integrator RooIntegrator1D to calculate Int(sigma)
void rf111_derivatives()
{
RooRealVar mean(
"mean",
"mean of gaussian",1,-10,10) ;
RooGaussian gauss(
"gauss",
"gaussian PDF",x,mean,sigma) ;
gauss.plotOn(xframe) ;
gauss.plotOn(sframe) ;
TCanvas* c =
new TCanvas(
"rf111_derivatives",
"rf111_derivatives",800,400) ;
}
- Author
- 07/2008 - Wouter Verkerke
Definition in file rf111_derivatives.C.