Hi,
I’m trying to load a script that in turn loads in a class :
{
.L runOne.C+;
runOne t1;
t1.Loop();
}
I am told that there is a Syntax Error: .L runOne.C+
It works on the command line. How can I solve this?
Thanks,
Lisa
Hi,
I’m trying to load a script that in turn loads in a class :
{
.L runOne.C+;
runOne t1;
t1.Loop();
}
I am told that there is a Syntax Error: .L runOne.C+
It works on the command line. How can I solve this?
Thanks,
Lisa
Hi,
Use:gROOT->ProcessLine(".L runOne.C+");
.L is a CINT special command.
Cheers,
Philippe
Hi,
Use:gROOT->ProcessLine(".L runOne.C+");
.L is a CINT special command.
Cheers,
Philippe