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); |
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 |
|
} |