Howdy, I’m wondering if there is an option/solution to the
[fillAnyObject](https://root.cern/doc/master/df005__fillAnyObject_8C.html) in pyROOT yet? I’m trying to fill
[RooUnfoldResponse](https://statisticalmethods.web.cern.ch/StatisticalMethods/unfolding/RooUnfold_01-Methods_PY/)Matrices for unfolding.
Currently the only way I can see it to to make all the 1Dhistograms and 2D histograms and then evaluate each of them with a:
for hist in hist_definitions: histA = Usual rdf.Histo1D(procedure) histB = Usual rdf.Histo1D(procedure) histC = Usual rdf.Histo2D(procedure) response = ROOT.RooUnfoldResponse(histA.GetVal(),histB.GetVal(),histC.GetVal)
which seems horribly inefficient as it will have to evaluate the whole framework for every response I want to make (there will be a couple). Any tips? If there is a way to do that can I also wrap the
Miss() function too (for distributions that have x but not y)
Theres a lot of code involved currently so moving everything to C isn’t an option but a wrapper function might be ok no?
ROOT Version: 6.20