Skip to content

Add decomposition for pion and rewrite BasePdfParam

Ivan Novikov requested to merge GRV_PionPdfDecomposition into test_ceres

BasePdfParam now keeps an array of pointers to parameters, and also has a method setMoment. I rewrote HERAPDF parameterisation and UvDvUbarDbarS and GRV decompositions to use the new interface of BasePdfParam. Structure changed significantly.

BasePdfParam has a "initFromYaml" method, which should be used for its initialisation. However, the YAML format I proposed is not implemented, so I initialize parameterisations in a hacky way. As parameterisations and not decompositions now keep track of the parameters, I moved the code that creates parameters, sets their value/step/etc, registers them with minuit and stores them in a global map from decomposition to parameterisation. Now decompositions know nothing about parameters, as they should.

I also edited python script AddPdfParam to correspond to new BasePdfParam. Didn't test it, though.

I checked that the code builds and runs ok, but I have old parameter values, so chi2/Ndf is about 30

Edited by Alexander Glazov

Merge request reports

Loading