Hello,
I have one root file, variables are saved as histograms. I plot one histogram from that root file. But I could not modify the bin size.
Can anyone please help me?
Thanks!!
aco.root (7.0 KB)
TCanvas* c = new TCanvas();
TFile* f = new TFile(“aco.root”);
TH1D* h1 =(TH1D* )f->Get(“dilepton_acoplanarity_all_Data”);
h1->GetYaxis()->SetTitle(“Entries”);
c->SetLogy();
h1->Draw(“E1”);
h1->GetXaxis()->SetLimits(0,1);