How to read root tree's
See more details in http://java.freehep.org/freehep-rootio/

Here are deatils how to work with jHepWork:

1) Get root file: Event.root
   wget http://jwork.org/jhepwork/examples/data/Event.root
  
   or
  
    wget http://projects.hepforge.org/jhepwork/examples/data/Event.root

2) It's good idea to see what is inside of this file.
   Run the script:

   a_gui.sh Event.root


3) Generate interface for this ROOT file as:

   a_lib.sh Event.root

 
4) Compile and run Java code to access trees:

   ./a_run.sh 
 
5) Run jHepWork example to fill PT2 distribution as:

   ./a_jython.sh



Good luck

 Sergei

