Skip to content

Debug: odd TF angular fit results (RooFit and TF difference)

Logs for example fit to toy number 10, gen_seed=11 for RooFit/Tensorflow here:

fit2FoldedZW_log.txt

angular_fit_lim_test_log.txt

P5p folded PDF from Michel's thesis p. 207

Screen_Shot_2018-08-21_at_09.55.17

fit2FoldedZW_log.txt - RooFit:

PDF (in makeFoldedPDFs.py) modified to

S5 Folded PDF

pdfS5 = "(3.0/4.0) * (1.0 - FL ) * "+sinTheta2K

pdfS5 += " + FL * cosThetaK * cosThetaK"

pdfS5 += " + (1.0/4.0) * (1.0 - FL) * "+sinTheta2K+" * "+ cos2ThetaL

pdfS5 += " + (-1.0) * FL * cosThetaK * cosThetaK * "+ cos2ThetaL

pdfS5 += " + (1.0/2.0) * (1.0 - FL) * AT2 * "+sinTheta2K+" * "+sinTheta2L+" * cos(2.0 * phi )"

#pdfS5 += " + S5 * "+sin2ThetaK+" * "+sinThetaL+" * cos( phi )"

==>pdfS5 += " + (sqrt(FL*(1-FL)))*S5 * "+sin2ThetaK+" * "+sinThetaL+" * cos( phi )"

Also parameter range and starting values changed

angular_fit_lim_test_log.txt - Tensorflow (old):

from file here: https://gitlab.cern.ch/rsilvaco/Bd2KstEE-AngularAnalysis/blob/master/scripts/framework/work/angular_fit_lim_test.py

Parameter range and starting values changed

Edited by Zhenzi Wang