Let’s say that I develop a program that will create a TH1 and store it to file amongst many other things.
Is is necessary to create a TApplication object ? Is it recommended ? why ?
afaik it is not necessary. At least I haven’t experienced any problem when
using parts of root in stand-alone applications.
Search for “TApplication” in the “ROOT Primer (5.34)” and the “ROOT User’s Guide (5.34)”.
See also some examples: