I’m getting an undeclared identifier error while trying to add two histograms. On running the program, canvas open and shuts instantly without showing any histogram nor any error. The error happens only while accessing the variable from root session but no such thing happened when I tried it with the example on Root Primer.
Please read tips for efficient and successful posting and posting code
ROOT Version: 6.18
Compiler: Not Provided