[Halld-offline] root proof
Alexander Austregesilo
aaustreg at jlab.org
Wed Dec 9 08:43:31 EST 2020
Dear Beni,
The cling compiler, which is used since root version 6 for macros, has
to know about the DSelector library. It is not enough to load it inside
the macro (gROOT->ProcessLine(".x Load_DSelector.C").
If you add the following line to the header section of your macro,
besides the #include statements, it will work:
R__LOAD_LIBRARY(libDSelector)
Cheers,
Alex
On 12/9/2020 7:07 AM, zihlmann wrote:
> Hi All,
> I have a weird issue. When trying to use proof with the DSelector the
> command
> DPROOFLiteManager *dproof = new DPROOFLiteManager();
> works perfectly when using it directly in an active root session.
> However if I use the same line in a root script it does not work and
> gives me
> the error that DPROOFLightManager is not defined.
>
> any idea what is going on here?
>
> Beni
>
> _______________________________________________
> Halld-offline mailing list
> Halld-offline at jlab.org
> https://mailman.jlab.org/mailman/listinfo/halld-offline
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/halld-offline/attachments/20201209/ab039cca/attachment.html>
More information about the Halld-offline
mailing list