This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ROOT | |
import numpy as np | |
def makeBSpline(w,interpParam, observable, pdfList, paramPoints): | |
# source code for these classes can be found here: | |
# https://github.com/svenkreiss/roostats/tree/development/roofit/histfactory | |
#if you don't have this class in your ROOT library, but have it locally | |
ROOT.gROOT.ProcessLine(".L RooBSpline.cxx+") | |
paramVec = ROOT.TVectorD(len(paramPoints)) |