1424 |
|
|
1425 |
|
|
1426 |
|
ratio->SetTitle(""); |
1427 |
< |
ratio->GetYaxis()->SetRangeUser(0.5,1.5); |
1427 |
> |
ratio->GetYaxis()->SetRangeUser(0.0,2.0); |
1428 |
|
if(do_bpred_ratio) ratio->GetYaxis()->SetRangeUser(0.0,2.0); |
1429 |
|
if(extendrange) ratio->GetYaxis()->SetRangeUser(0.0,4.0); |
1430 |
|
ratio->GetXaxis()->SetTitle(nominator->GetXaxis()->GetTitle()); |
1589 |
|
delete MainCanvas; |
1590 |
|
} |
1591 |
|
|
1592 |
< |
TH1F* CollapseStack(THStack stack) { |
1592 |
> |
TH1F* CollapseStack(THStack stack,TString hname="base") { |
1593 |
|
TH1F *bhist = ((TH1F*)((stack.GetHists())->At(0))); |
1594 |
< |
TH1F *basehisto = (TH1F*)bhist->Clone("base"); |
1594 |
> |
TH1F *basehisto = (TH1F*)bhist->Clone(hname); |
1595 |
|
TIter next(stack.GetHists()); |
1596 |
|
TH1F *h; |
1597 |
|
int counter=0; |