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