How to plot a histogram hidden in a subdirectory in a ROOT file (the equivalent of hi/pl //lun1/1023): TFile f("bla.root"); f.Get("h1023").Draw("hist") or (TH2D*)(gROOT->FindObject("/deraw/h18d820m"))->Draw("colz")