ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/cbrown/Development/Plotting/Modules/GeneralToolBox.C
(Generate patch)

Comparing UserCode/cbrown/Development/Plotting/Modules/GeneralToolBox.C (file contents):
Revision 1.20 by buchmann, Wed Sep 19 09:16:24 2012 UTC vs.
Revision 1.22 by fronga, Tue Nov 13 13:27:37 2012 UTC

# Line 1424 | Line 1424 | void save_with_ratio(TH1F *nominator, TH
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());
# Line 1589 | Line 1589 | void save_with_ratio_and_sys_band(TH1F *
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;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines