Skip to content

Commit

Permalink
Update doCompare_truth_real_widebins_mom.C
Browse files Browse the repository at this point in the history
  • Loading branch information
Simple-Shyam authored Jul 28, 2024
1 parent c46707e commit 0a6f4d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ void doCompare_truth_real_widebins_mom(TString particle = "pi-",double etamin=-1
mgMom->Add(gr2);
c_mom->cd();
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");
lmom->AddEntry(gr1,"Truth Seeding");
lmom->AddEntry(gr2,"Realistic Seeding");
Expand Down

0 comments on commit 0a6f4d1

Please sign in to comment.