Skip to content
Snippets Groups Projects
Unverified Commit 0a6f4d17 authored by Shyam Kumar's avatar Shyam Kumar Committed by GitHub
Browse files

Update doCompare_truth_real_widebins_mom.C

parent c46707ed
No related branches found
No related tags found
No related merge requests found
Pipeline #98615 canceled with stages
...@@ -151,7 +151,7 @@ void doCompare_truth_real_widebins_mom(TString particle = "pi-",double etamin=-1 ...@@ -151,7 +151,7 @@ void doCompare_truth_real_widebins_mom(TString particle = "pi-",double etamin=-1
mgMom->Add(gr2); mgMom->Add(gr2);
c_mom->cd(); c_mom->cd();
mgMom->GetXaxis()->SetRangeUser(0.40,20.2); mgMom->GetXaxis()->SetRangeUser(0.40,20.2);
mgMom->GetYaxis()->SetRangeUser(0.,10.0); mgMom->GetYaxis()->SetRangeUser(0.0,1.50*TMath::MaxElement(gr2->GetN(),gr2->GetY())); // 50% more of the maximum value on yaxis
mgMom->Draw("AP"); mgMom->Draw("AP");
lmom->AddEntry(gr1,"Truth Seeding"); lmom->AddEntry(gr1,"Truth Seeding");
lmom->AddEntry(gr2,"Realistic Seeding"); lmom->AddEntry(gr2,"Realistic Seeding");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment