int hist() { TH1F* h = new TH1F("hist", "my hist;Bins;Entries", 10, 0, 10); h->Fill(3.5); h->Fill(5.5); h->Draw(); return 0; }