void hIHisto() { auto c1 = new TCanvas(); auto h2 = new TH2F("h2", "", 50, -5.0, 5.0, 50, -5.0, 5.0); for (Int_t i = 0; i < 1000; i++) h2->Fill(gRandom->Gaus(), gRandom->Gaus()); h2->Draw(); info = new TText(0.0, -4.0, "please check the event statusbar that there is x,y,binx,biny,binc"); info->SetTextAlign(22); info->SetTextColor(kRed+1); info->SetBit(kCannotPick); info->Draw(); c1->Update(); }