Dear rooters,
When I started, I was told to compile my C++ code, which uses ROOT libs, as a binary (outside ROOT). I have used gROOT few times, without worrying about the TROOT class.
-
Is there any advantage in declaring a custom instance of TROOT in the beginning of the code, rather than doing nothing (and using the global gROOT)?
-
Does it have any impact when running several binaries at the same time? (for instance, I do not use global variables, but I am aware ROOT does, and I do not know if this may be a problem if these globals are shared between processes that use ROOT)
Thank you in advance.
Regards,
atd
Ref: https://root.cern.ch/doc/master/classTROOT.html
ROOT Version: 6.18
Platform: CC7
Compiler: gcc 4.8