Changes for making plots for the thesis and some other things...
One VERY important change for creating correct root files from the postproc, is to undo one of the changes that the nanoAODTools_python3_debug.sh
script used to do (or you'll end up with lots of copied events from the golden json pre-selection). I.e. in treeReaderArrayTools.py
, replace (unless you start from a new repo after this has merged):
tree._ttreereader = ROOT.TTreeReader(tree) ——> tree._ttreereader = ROOT.TTreeReader(tree, tree._entrylist)
_ttreereader = ROOT.TTreeReader(tree) ——> _ttreereader = ROOT.TTreeReader(tree, getattr(tree, '_entrylist', None))