'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/build/workspace/root-makedoc-v608/rootspi/rdoc/src/v6-08-00-patches/tutorials/roofit/rf111_derivatives.C...
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.