Re: remotely root file view

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Wed, 03 Oct 2007 09:10:01 +0200


Valeriy,

The solution that I proposed does not require to run ROOT on the remote machine.
You just need a standard httpd (eg Apache) web server. Of course on the client side, you need something that understands the ROOT file.
the current version 5.17 includes the functionality to remote login from a client ROOT session,
and execute scripts on the remote machine, eg   root > some commands on the local machine   root > .R lxplus
  root.lxplus > TFile f("lxplus_file.root"); //open the remote file on lxplus
  root.lxplus > histo.Draw(); // histo will be drawn on the client machine   root.lxplus > .R (leaving lxplus)   root > other local commands
  root > .R lxplus (reconnect again to the lxplus remote session, etc

The version 5.17 includes also the new class TGhtml that allows browsing web pages, opening
remote ROOt files, executing remote macros. This class is being integrated in the new version
of TBrowser that will be part of the December release.

Rene Brun

Valeri Onuchin wrote:
> 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 plots
> and 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 installing
> some 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.
>>>
>>
>
>
>
Received on Wed Oct 03 2007 - 09:09:58 CEST

This archive was generated by hypermail 2.2.0 : Wed Oct 03 2007 - 11:50:01 CEST