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.35 by buchmann, Mon Feb 25 15:36:39 2013 UTC vs.
Revision 1.37 by buchmann, Mon Apr 8 14:10:34 2013 UTC

# Line 597 | Line 597 | void DrawPrelim(float writelumi=generalt
597    string prel=" Preliminary";
598    if(PlottingSetup::PaperMode) prel="";
599    //prelimtext << "CMS Preliminary 2011 , #sqrt{s}= 7 TeV, L= O(1) fb^{-1}"; //temporary replacement
600 <  if(PlottingSetup::is53reco) prel += " 53X";
600 > //  if(PlottingSetup::is53reco) prel += " 53X";
601    string energy="7 TeV";
602    if(PlottingSetup::is2012) energy="8 TeV";
603    if(writelumi == 0) {
604      if(isMC) prelimtext << "CMS Simulation, #sqrt{s} = " << energy;
605      else prelimtext << "CMS" << prel << ", #sqrt{s} = " << energy;
606    } else {
607 <    if(isMC) prelimtext << "CMS Simulation, #sqrt{s} = " << energy << ", L_{int} = " << std::setprecision(3) <<writelumi<<" "<<barn<<"^{-1}";
608 <     else prelimtext << "CMS" << prel << ", #sqrt{s} = " << energy << ", L_{int} = " << std::setprecision(3) <<writelumi<<" "<<barn<<"^{-1}";
607 >    if(isMC) prelimtext << "CMS Simulation, #sqrt{s} = " << energy << ", #scale[0.7]{#int} L = " << std::setprecision(3) <<writelumi<<" "<<barn<<"^{-1}";
608 >     else prelimtext << "CMS" << prel << ", #sqrt{s} = " << energy << ", #scale[0.7]{#int} L = " << std::setprecision(3) <<writelumi<<" "<<barn<<"^{-1}";
609    }
610    TPaveText *eventSelectionPaveText = new TPaveText(0.27, 0.93,0.77, 1.0,"blNDC");
611    eventSelectionPaveText->SetFillStyle(4000);
# Line 1906 | Line 1906 | TPolyLine* GetFitUncertaintyShape(TF1 *f
1906    y[nPoints]=y[0];
1907    
1908    TPolyLine *l = new TPolyLine(nPoints+1,x,y);
1909 <  l->SetFillColor(TColor::GetColor("#5858FA"));
1910 <  l->SetLineColor(TColor::GetColor("#5858FA"));
1909 >  l->SetFillColor(TColor::GetColor("#A2A2FA"));
1910 >  l->SetLineColor(TColor::GetColor("#A2A2FA"));
1911    l->SetLineWidth(1);
1912    return l;
1913   }  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines