Re: [ROOT] update a TTree in a python script

From: Rene Brun (Rene.Brun@cern.ch)
Date: Sat Feb 08 2003 - 11:10:01 MET


Hi HP,

At the ROOT workshop in October (see slides at
   http://root.cern.ch/root/R2002/Program.html
Pere Mato (Pere.Mato@cern.ch) presented RootPython, a few C++
classes to automatically interface Python to any class
having a CINT dictionary. You can download his presentation
from: ftp://root.cern.ch/root/R2002/Root_Python_Oct_16_2002.pdf

At the workshop, we also had a presentation by Subir Sarkar
on JavaRoot showing how to invoke any Root class or class
having a CINT dictionary from Java, Jython and other interpreters.
His presentation is also on the workshop site. Subir is
maintaining his page at:
  http://sarkar.home.cern.ch/sarkar/jroot/main.html
This page has an interesting comparison of most Root tutorials
implemented in CINT/C++, Java, Jython and BeanShell.
I strongly encourage readers to look at this page.

Rene Brun


On Fri, 
7 
Feb 
2003, HP Wei 
wrote:

> I am doing some system maitenance type of jobs 
> using python scripts under Solaris.
> 
> I want to store some data obtained in those scripts in
> a tree in a Root file.
> There may be a general way to interface ROOT with python.
> But I just want, ASAP, a few basic tree functions 
> like creating a tree, SetBranch...(), Fill()
> to be accessible in python scripts.
> 
> Does anyone have an example of foo.C and foo.py,
> plus a setup procedure 
> on how to do this?
> Thanks,
> HP
> 
> 
> 
> 
> 
> 



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET