Hi ROOTers,
I am trying to open root file as
TFile *f1 = TFile::Open(“po.root”);
TCanvas c1 = (TCanvas)f1->Get(“c1”);
c1->Draw();
but illegal pointer error.
but if I am trying on other root file then these lines working well.
Can anybody tell, where I am wrong?
Thanks,
Regards,