void read_from_file(){ // Let's open the TFile TFile in_file("my_rootfile.root"); // Get the Histogram out TH1F* h; in_file.GetObject("my_histogram",h); // Draw it h->Draw(); }