User Tools

Site Tools


root:pyroot_ttree

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
root:pyroot_ttree [2018/02/28 13:57] – [TChain] iwnroot:pyroot_ttree [2018/02/28 13:58] – [TChain] iwn
Line 195: Line 195:
 chain.Add("sample_3.root") chain.Add("sample_3.root")
 for event in chain: for event in chain:
-  ...+  print event.px
 </code> </code>
 Note it's also possible to use a glob wildcard: ''chain.Add("sample_*.root")'' Note it's also possible to use a glob wildcard: ''chain.Add("sample_*.root")''
root/pyroot_ttree.txt · Last modified: 2018/02/28 14:03 by iwn