rootpy.io.pickler.dump

rootpy.io.pickler.dump(obj, root_file, proto=0, key=None)[source]

Dump an object into a ROOT TFile.

root_file may be an open ROOT file or directory, or a string path to an existing ROOT file.