Hi Rene,
I'm aware about all internal developments :)
I see it's possible to display/list a content of ROOT file
(names, types, titles of objects) without having any
ROOT invocations on any side (client, server).
Regards. Valeriy
-----Original Message-----
From: Rene Brun
Sent: Wed 10/3/2007 9:10 AM
To: Valeri Onuchin
Cc: ***@gmail.com; Rene Brun; roottalk (Mailing list discussing all aspects of the ROOT system); roottalk
Subject: Re: [ROOT] remotely root file view
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
Post by Valeri OnuchinHi,
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-----
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,
Post by Rene BrunPost by Rene Brunroot > 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
Post by Rene BrunYou 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
Post by Rene BrunDear 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.