mattleblanc / RooCustomPdfs

This is a small collection of custom PDFs for RooFit.

Home Page:https://mattleblanc.github.io/physics/2017/01/07/roocustompdfs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RooCustomPdfs

First, set up ATLASLocalRootBase and ROOT:

setupATLAS
lsetup root

Now, make the dictionaries required to include these in pyroot scripts:

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:

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 SL6.

🍻

About

This is a small collection of custom PDFs for RooFit.

https://mattleblanc.github.io/physics/2017/01/07/roocustompdfs/

License:GNU Lesser General Public License v3.0


Languages

Language:C++ 84.9%Language:Makefile 14.3%Language:Objective-C 0.8%