This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
root:example_ttree [2017/06/12 20:05] – created iwn | root:example_ttree [2017/06/22 15:22] – iwn | ||
---|---|---|---|
Line 5: | Line 5: | ||
- | <code python | + | <code python trees.py> |
#! / | #! / | ||
Line 11: | Line 11: | ||
start = time.time() | start = time.time() | ||
- | from ROOT import gRandom, TFile, TTree, TH1D ,TObject | + | from ROOT import gRandom, TFile, TTree, TH1D, TObject |
from array import array | from array import array | ||
import numpy # alternative to array | import numpy # alternative to array |