_ROOT Version:6.12/08
_Platform:fedora 27
_Compiler:
Dear co-rooters,
I am facing a rather strange issue.
I was given a root file that contains a couple of TTrees and a couple of TCanvas objects.
When I get the a TCanvas from the file using file->GetObject("Canvas;1", c1)
and try to draw c1
using c1->Draw()
the TCanvas really pops-out but the menu bar is not there!
I tried getting it by using GetEditorBar()
but in didn’t work.
Any idea on how to get the menu back to use the editor?
Thanks in advance!
The exact procedure I followed was
root [0] TFile *_file0 = TFile::Open(“FIMG-6_201000-1-s1_1-100.root”)
root [1] TCanvas *c1;
root [2] _file0->GetObject(“Canvas;1”, c1)
root [3] c1->Draw()
The file can be found here