title: Reading a TTree in root using PyRoot
body: <p>I just started using pyroot to read root files and I can't read the data from a file using jupyter notebook. Here is how the TBrowser looks like:</p>
  
  <p><a href="https://i.stack.imgur.com/mt1ZZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mt1ZZ.png" alt="enter image description here"></a></p>
  
  <p>I started like this:</p>
  
  <pre><code>import ROOT as root
  import numpy as np
  
  f = root.TFile("RealData.root")
  myTree = f.Get("tree")
  
  entries = myTree.GetEntriesFast()
  </code></pre>
  
  <p>Up to here it is working and if I print entries I get the right number of entires I have in the file. But i don't know how to read actual data from the tree (event_number, n_channels, etc.) If I try something like <code>myTree.events</code> or <code>myTree.event_number</code> the kernel stops working. What should I do to read the data from the tree?</p>