Hello, rooters!
I have named script fit_l7b0.C:
{
#include "TH1.h"
#include "TH2.h"
#include "TF1.h"
#include "TProfile.h"
int loop_l7_b0() {
....
}
This script runs fine in root.
When I try to make
root[] .L fit_l7b0.C++
it creates fit_l7b0_C.so.
Trying to make
root -b -q fit_l7b0_C.so >& l7b0_loop.LOG
I am getting:
Error: Function loop_l7_b0_C() is not defined in current scope FILE:
LINE:0
If I rename my function in loop_l7_b0_C(), this lib runs fine in batch
but I cannot use it from root[] prompt.
A bit confusing..
Is it a normal behavior?
Thank you in advance,
Elena
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:52 MET