A collection of custom PDFs for use with
RooFit, which were developed by @mpuccio. I just tweaked some things so that they’ll work in contemporary
pyroot scripts, and tried to write down how to get them working.
First, set up
setupATLAS lsetup root
Now, make the dictionaries required to include these in
rootcint -f RooDSCBShapeDict.cxx -c RooDSCBShape.h rootcint -f RooGausExpDict.cxx -c RooGausExp.h rootcint -f RooGausDExpDict.cxx -c RooGausDExp.h
Then, cross your fingers and
make -f RooDSCBShape.mk make -f RooGausExp.mk make -f RooGausDExp.mk
You can then include things in your
pyroot macros as e.g.
import ROOT ROOT.gSystem.Load('RooCustomPdfs/libRooDSCBShape.so') from ROOT import RooDSCBShape
Submit complaints to @mattleblanc. This was tested with
ROOT 6.04 on