User Tools

Site Tools


root:example_ttree

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
root:example_ttree [2017/06/12 21:51] iwnroot:example_ttree [2017/06/22 15:25] iwn
Line 1: Line 1:
-Below is an example on the use of ''TTree'' in ''pyROOT''. Run with+Below is an example on the use of ''TTree'' in ''pyROOT''. Run in the command line with
 <code> <code>
-python trees.py+python trees.py 
 +</code> 
 +and check output with 
 +<code> 
 +$ root -l tree.root 
 +root [1] TBrowser a
 </code> </code>
  
- +<code python trees.py>
-<code python trees.py>+
 #! /usr/bin/env python #! /usr/bin/env python
  
root/example_ttree.txt · Last modified: 2017/06/22 15:25 by iwn