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

Comparing UserCode/cbrown/Development/Plotting/Modules/ExclusionPlot.C (file contents):
Revision 1.2 by buchmann, Tue Mar 20 12:54:50 2012 UTC vs.
Revision 1.3 by buchmann, Fri Mar 23 10:49:23 2012 UTC

# Line 409 | Line 409 | void make_SMS_exclusion(TH2F *rawlimits,
409    TCanvas *finalcanvas = new TCanvas("finalcanvas","finalcanvas");
410    finalcanvas->SetLogz(1);
411    finalcanvas->cd();
412 <  limits->Draw("COLZ");
412 >  finalcanvas->SetRightMargin(0.1);
413 > //  limits->Draw("COLZ");
414  
415  
416    TLine *desertline;
# Line 420 | Line 421 | void make_SMS_exclusion(TH2F *rawlimits,
421          desertline->Draw("same");
422    }
423  
424 <  TH2F *emptyh = (TH2F*)limits->Clone("emptyh");
425 <  for(int i=1;i<=emptyh->GetNbinsX();i++) {
425 <    for(int j=1;j<=emptyh->GetNbinsX();j++) {
426 <       emptyh->SetBinContent(i,j,0);
427 <    }
428 <  }
429 <
424 >  TH2F *emptyh = new TH2F("emptyh","emptyh",1,1,2,1,1,2);
425 >  
426    SugarCoatThis(finalcanvas,10,emptyh,exclline);
427   //  exclline->Draw("c");
428  
# Line 707 | Line 703 | void draw_mSUGRA_exclusion(TH2F *crossse
703    if(draw2sigma) smooth_line(expected2);
704    
705    TCanvas *te = new TCanvas("te","te");
706 +  te->SetRightMargin(standardmargin);
707   //  decorate_mSUGRA(cleanhisto,te,expected,expected2,observed);
708 <  SugarCoatThis(te,10,cleanhisto,observed);
708 >  TH2F *noh = new TH2F("noh","noh",1,1,2,1,1,2);
709 >  SugarCoatThis(te,10,noh,observed);
710   //  expected->Draw("c");
711   //  observed->Draw("c");
712    stringstream saveas;
# Line 744 | Line 742 | void draw_mSUGRA_exclusion(TH2F *crossse
742    title2->Draw("same");
743    observed->Draw("c");
744    overview->cd(4);
745 +  overview->cd(4)->SetRightMargin(standardmargin);
746   //  decorate_mSUGRA(cleanhisto,overview->cd(4),expected,expected2,observed);
747 <  SugarCoatThis(overview->cd(4),10,cleanhisto,observed);
747 >  SugarCoatThis(overview->cd(4),10,noh,observed);
748   //  observed->Draw("c");
749    stringstream saveas2;
750    if((int)((string)limitmap->GetName()).find("limitmap")>0) saveas2 << "Limits/exclusion_overview_for_JZB_geq_" << ((string)limitmap->GetName()).substr(((string)limitmap->GetName()).find("limitmap")+8,10);
751    else saveas2 << "Limits/exclusion_overview_for_bestlimits";
752    CompleteSave(overview,saveas2.str());
753    delete overview;
754 +  delete noh;
755  
756    
757   }
# Line 862 | Line 862 | TH2F *make_best_limits(vector<TH2F*> exp
862    bestlimitsource->GetYaxis()->CenterTitle(0);
863    bestlimitsource->Draw("COL");
864    gPad->Update();
865  if(scantype!=PlottingSetup::mSUGRA) bestlimitsource->Draw("TEXT,same");
865    TLegend *sourceleg = new TLegend(0.2,0.5,0.55,0.75);
866    for(int i=0;i<explimits.size();i++) {
867      stringstream legendentry;
# Line 1166 | Line 1165 | void process_file(TFile* file, float std
1165        if(name.Contains("mSUGRA")) scantype=PlottingSetup::mSUGRA;
1166        if(name.Contains("GMSB")) scantype=PlottingSetup::GMSB;
1167      }
1168 <  if(systematics_histos.size()>0) make_all_syst_plots(systematics_histos,scantype,scanx);
1168 >    write_warning(__FUNCTION__,"Deactivated systematics plots");
1169 > //  if(systematics_histos.size()>0) make_all_syst_plots(systematics_histos,scantype,scanx);
1170    if(limits_histos.size()>0) create_exclusion_plots(limits_histos,scantype,scanx);
1171   }
1172  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines