Re: using ROOT from Netscape

From: Valery Fine (fine@bnl.gov)
Date: Mon Feb 23 1998 - 21:52:33 MET


On 23 Feb 98 at 13:36, Pasha Murat wrote:


> There was one thing which I failed to do though, namely to tell
> Netscape to run TBrowser on  a .root file...

  You need to link this with some sort of "UNIX
 script (sorry  I am not UNIX expert)

  echo void RootBrowser(char *URL); >/tmp/RootBrowser.C
  echo {                             >>/tmp/RootBrowser.C
  echo  TWebFile f(URL);             >>/tmp/RootBrowser.C
  echo  TBrowser b;                  >>/tmp/RootBrowser.C
  echo }                             >>/tmp/RootBrowser.C
  root -q -l /tmp/RootBrowser.C(\".root file name\")


 or may be more sophisticated to check the connection first.

                               Valery  
   

  

=================================================================
Dr. Valeri Faine (Fine)
    -------------------          Phone: +1 516 344 7806
Brookhaven National Laboratory   FAX  : +1 516 344 4206
Bldg. 510A /STAR                 mailto:fine@rsgi01.rhic.bnl.gov
Upton, New York, 11973-5000      http://nicewww.cern.ch/~fine
USA
                                 
Dr. Valery Fine                  Telex : 911621 dubna su
    -----------
LCTA/Joint Inst.for Nuclear Res. Phone : +7 09621 6 40 80
141980 Dubna, Moscow region      Fax   : +7 09621 6 51 45
Russia                           mailto:fine@main1.jinr.dubna.su                              



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:30 MET