Skip to content

Instantly share code, notes, and snippets.

@gadamc
Created January 25, 2012 14:26
Show Gist options
  • Save gadamc/1676501 to your computer and use it in GitHub Desktop.
Save gadamc/1676501 to your computer and use it in GitHub Desktop.
from ROOT import TF1
import pickle
f = pickle.loads(doc['formula']['tf1'])
f.Draw() #now f is a TF1 object and the parameters should have already been set for you
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment