Analysis framework for manipulating root files in a python setting