Re: [ROOT] CINT scripts (fwd)

From: Olivier Couet (Olivier.Couet@cern.ch)
Date: Thu Feb 21 2002 - 18:49:53 MET


have a look the the FAQ number 22 in the PAW web site:
http://cern.ch.paw
OC

--
Org:    CERN - European Laboratory for Particle Physics.
Mail:   1211 Geneve 23 - Switzerland                                    
E-Mail: Olivier.Couet@cern.ch                      Phone: +41 22 7674886
WWW:    http://cern.ch/Olivier.Couet/              Fax:   +41 22 7677155

On Thu, 21 Feb 2002, Henrique de M. J. Barbosa - mestrado wrote:

> Dear Valio,
> 
> I'm doing something similar with the following commands:
> 
> {
>   cout << "\n Reading utils...";
>   gROOT->LoadMacro("utils2.c");
> 
>   cout << "\n Execute corsika histograms...";
>   gROOT->ProcessLine(".x hcorsika.c");
> 
>   ...
> }
> 
> 
> The command gROOT->LoadMacro("myfile.c") is the same as .L myfile.c
> and gROOT->ProcessLine(".x mymacro.c") is the same as .x mymacro.c
> 
> I think it's also possible to use gROOT->ProcessLine(".L myfile.c"), but I
> haven't tried yet.
> 
> 
> ]['s
> henrique
> ****************************************
> State University at Campinas - BRASIL
> "Gleb Wathagin" Physics Institute
> Department of Cosmic Rays and Chronology
> 
> Henrique Barbosa      The Pierre Auger
> PhD Student             Observatory
> ****************************************
> 
> 
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:42 MET