{ c1 = new TCanvas("c1","c1 title",200,100,400,300); h1 = new TH1F("h1","h1 title",100,0., 500.); // for (int i = 0; i<50000; i++){ double x = gRandom.Gaus(0.,3.); h1->Fill(gRandom->Landau(72., 11.8)); } // h1->SetXTitle("numder of eh pairs / #mum in Silicon"); h1->Draw(); c1->Print("Landau.png"); }