Re: 回复:RE: remotely root file view

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Thu, 04 Oct 2007 07:16:06 +0200


Let me repeat again what I already said in previous messages. Since version 5.16 you do not need any changes (or plug-ins) to the Apache module to read ROOT files. ROOT is now able to communicate directly with the Apache web server to read remote files. The following session should work in your case root > TFile *f = TFile::Open("http://root.cern.ch/files/pippa.root"); root > TBrowser b; //now you can plot any histogram in the file

You can run the ROOT session from ny client (Linux, Windows, mac). The client ROOT
will be able to communicate with the Apache web server on the ROOT site. Of course the same works with any ROOT file at other URLs.

Rene Brun

杨苏立 wrote:
>
>
> I am very interested in writting an apache module that can provide
> online root-file processing, which you've been mentioned in the
> root-talk maillist.
> How much work have been done?
> And I wonder if I can offer any help:)
>
> best wishes:)
>
>
>
> *----- 原邮件 -----* *从*: Valeri Onuchin <Valeri.Onoutchine_at_cern.ch>
> *日期*: 星期三, 十月 3日, 2007 下午2:54 *主题*: RE: [ROOT] remotely
> root file view > Hi,
> > do you need to see just a content of remote ROOT file?
> > You can create a cgi script invoking root remotely creating a
> > plot/histogram image which will be sent to the web browser ..
> > or you can help me to give a new life to the carrot -
> > apache module which had this capability: i.e. browsing
> > ROOT files/trees on remote web server, querying trees and getting
> > results.
> > Regards. Valeriy
> >
> >
> >
> >
> > -----Original Message-----
> > From: owner-roottalk_at_root.cern.ch on behalf of xsatya
> > Sent: Wed 10/3/2007 6:43 AM
> > To: Rene Brun; roottalk (Mailing list discussing all aspects of
> > the ROOT system); roottalk
> > Subject: Re: [ROOT] remotely root file view
> >
> > Hello Rene,
> >
> > >>root > TFile *f = TFile::Open("http://root.cern.ch/files
> > >>/pippa.root");
> >
> > I know this technique. And this is inside root session.
> >
> > But my question is "without opening ROOT session". can we see the
> > plotsand histogram which are saved in a root file. Is it possible
> > in the internet
> > to
> > view contains in remotely where root is not installed? (May be by
> > installingsome plugins in the remote PC). Is it possible?
> >
> > Regards
> > satya
> >
> > On 10/3/07, Rene Brun <Rene.Brun_at_cern.ch> wrote:
> > >
> > > You can open a web file by giving its URL, eg
> > > root > TFile *f =
> > TFile::Open("http://root.cern.ch/files/pippa.root");> root > f-
> > >ls();>
> > > Rene Brun
> > >
> > > xsatya wrote:
> > > > Dear Rooters,
> > > >
> > > > Can any one suggest me how can I view root files over www.
> > Mean to say
> > > > is it possible to view root file over net remotely without
> > opening> > root session
> > > > and TBrowser? My root file contains only histograms and graphs.
> > > >
> > > > Is there any tool or sample code/ macro?
> > > >
> > > > I am using latest version of root. (5.17.02)
> > > > operating system SLC 5.0
> > > >
> > > > Thank you.
> > > > satya
> > > > --
> > > > ---------------
> > > > Research Student,
> > > > High Energy Physics, India.
> > >
> > >
> >
> >
> > --
> > ---------------
> > Research Student,
> > High Energy Physics, India.
> >
> >
Received on Thu Oct 04 2007 - 07:16:27 CEST

This archive was generated by hypermail 2.2.0 : Thu Oct 04 2007 - 17:50:02 CEST