'ADDITION AND CONVOLUTION' RooFit tutorial macro #211
Working a with a p.d.f. with a convolution operator in terms of a parameter
(require ROOT to be compiled with –enable-fftw3)
Processing /mnt/build/workspace/root-makedoc-v608/rootspi/rdoc/src/v6-08-00-patches/tutorials/roofit/rf211_paramconv.C...
void rf211_paramconv()
{
x.setBins(1000,"cache") ;
mean.setBins(50,"cache") ;
model.setCacheObservables(x) ;
model.setBufferFraction(1.0) ;
RooAbsPdf* projModel = model.createProjection(mean) ;
hh->
SetTitle(
"histogram of model(x|mean)") ;
TCanvas* c =
new TCanvas(
"rf211_paramconv",
"rf211_paramconv",800,400) ;
}
- Author
- 04/2009 - Wouter Verkerke
Definition in file rf211_paramconv.C.