root-framework

python return None

python return None Question: I am trying to return objects from a function, in the format of dictionary. It seems it is working fine inside of function, but return “None”. =================================================== The printed result is :: {‘tree1’: [<ROOT.TH1D object (“root2_tree_tree1_px_hist”) at 0x7fa40eec05b0>, <ROOT.TH1D object (“root2_tree_tree1_py_hist”) at 0x7fa40eec0cd0>, <ROOT.TH1D object (“root2_tree_tree1_pz_hist”) at 0x7fa40eec13f0>], ‘tree2’: [<ROOT.TH1D object …

Total answers: 1

Python garbage collection can be that slow?

Python garbage collection can be that slow? Question: I have a problem with my python application, and I think it’s related to the python garbage collection, even if I’m not sure… The problem is that my application takes a lot of time to exit and to switch to one function to the next one. In …

Total answers: 3