58 |
|
vector<float> global_ratio_binning; |
59 |
|
int publicmode=0; |
60 |
|
int PaperMode=0; // PaperMode=true will suppress "Preliminary" in DrawPrelim() |
61 |
+ |
int Approved=0; // Approved=true will only plot approved plots |
62 |
|
} |
63 |
|
|
64 |
|
bool dopng=false; |
553 |
|
if(isMC) prelimtext << "CMS Simulation, #sqrt{s} = 7 TeV"; |
554 |
|
else prelimtext << "CMS" << prel << ", #sqrt{s} = 7 TeV"; |
555 |
|
} else { |
556 |
< |
if(isMC) prelimtext << "CMS Simulation, #sqrt{s} = 7 TeV, L_{int} = " << std::setprecision(2) <<writelumi<<" "<<barn<<"^{-1}"; |
557 |
< |
else prelimtext << "CMS" << prel << ", #sqrt{s} = 7 TeV, L_{int} = " << std::setprecision(2) <<writelumi<<" "<<barn<<"^{-1}"; |
556 |
> |
if(isMC) prelimtext << "CMS Simulation, #sqrt{s} = 7 TeV, L_{int} = " << std::setprecision(3) <<writelumi<<" "<<barn<<"^{-1}"; |
557 |
> |
else prelimtext << "CMS" << prel << ", #sqrt{s} = 7 TeV, L_{int} = " << std::setprecision(3) <<writelumi<<" "<<barn<<"^{-1}"; |
558 |
|
} |
559 |
|
TPaveText *eventSelectionPaveText = new TPaveText(0.27, 0.93,0.77, 1.0,"blNDC"); |
560 |
|
eventSelectionPaveText->SetFillStyle(4000); |
561 |
|
eventSelectionPaveText->SetBorderSize(0); |
562 |
|
eventSelectionPaveText->SetFillColor(kWhite); |
563 |
|
eventSelectionPaveText->SetTextFont(42); |
564 |
+ |
//eventSelectionPaveText->SetTextFont(62); // paper style |
565 |
|
eventSelectionPaveText->SetTextSize(0.042); |
566 |
|
eventSelectionPaveText->AddText(prelimtext.str().c_str()); |
567 |
|
eventSelectionPaveText->Draw(); |