ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/auterman/SusyScan/PlotScript/plot3tb.cc
(Generate patch)

Comparing UserCode/auterman/SusyScan/PlotScript/plot3tb.cc (file contents):
Revision 1.7 by auterman, Thu Mar 10 20:59:52 2011 UTC vs.
Revision 1.9 by auterman, Wed Jun 22 15:03:36 2011 UTC

# Line 85 | Line 85 | int plot(int argc, char** argv)
85     //Get limits and generator masses ---------------------------------------------------
86     TheLimits * genpoints = new TheLimits();
87     //genpoints->Fill(argc, argv);
88 <   //genpoints->Fill("limits_MHT_tb3_20110303/filelist.txt");
89 <   genpoints->Fill("limits_MHT_20110310/filelist_tb3.txt");
88 >   //genpoints->Fill("limits_MHT_tb3_20110303/filelist_tb3.txt");
89 >   //genpoints->Fill("limits_MHT_20110609/filelist_tb3.txt");
90 >   genpoints->Fill("limits_moriond_MHT.old/filelist_tb3.txt");
91  
92     TheLimits * genpointsHT = new TheLimits();
93 <   //genpointsHT->Fill("limits_HT_tb3_20110303/filelist.txt");
94 <   genpointsHT->Fill("limits_HT_20110310/filelist_tb3.txt");
93 >   //genpointsHT->Fill("limits_HT_tb3_20110303/filelist_tb3.txt");
94 >   //genpointsHT->Fill("limits_HT_20110609/filelist_tb3.txt");
95 >   genpointsHT->Fill("limits_moriond_HT.old/filelist_tb3.txt");
96  
97    
98     //Replace read limits with specific numbers
# Line 123 | Line 125 | int plot(int argc, char** argv)
125  
126   /**/
127     // cross-section in M0 - M1/2
128 +   c1->SetLogz(0);
129 +   c1->SetRightMargin ( 0.2 );
130     TH2F*hxsec = new TH2F("xsec",";m_{0} [GeV]; m_{1/2} [GeV]; cross section [pb]",
131 <                     50,0,509.9,25,100,350);
132 <   plotTools->Area(hxsec, Mzero, Mhalf, Xsection);
131 >                     50,0,504.9,25,100,350);
132 >   hxsec->SetNdivisions(505);
133 >   plotTools->Area(hxsec, Mzero, Mhalf, NLOXsection);
134 >   hxsec->SetMaximum(50);
135     hxsec->SetMinimum(0.01);
136     //sq500->Draw();
137     //gl500->Draw();
138     hxsec->Draw("colz");
139 <   c1->SaveAs("results_tb3/Xsection_m0_m12_tb3.pdf");
140 <   std::string wait;
141 <   //std::cin>>wait;
139 >   c1->SaveAs("results_tb3/XsectionMHT_m0_m12_tb3.pdf");
140 >
141 >   c1->SetLogz(0);
142 >   TH2F*hxsecHT = new TH2F("xsecHT",";m_{0} [GeV]; m_{1/2} [GeV]; cross section [pb]",
143 >                     50,0,504.9,25,100,350);
144 >   hxsecHT->SetNdivisions(505);
145 >   plotToolsHT->Area(hxsecHT, Mzero, Mhalf, NLOXsection);
146 >   hxsecHT->SetMaximum(50);
147 >   hxsecHT->SetMinimum(0.01);
148 >   //sq500->Draw();
149 >   //gl500->Draw();
150 >   hxsecHT->Draw("colz");
151 >   c1->SaveAs("results_tb3/XsectionHT_m0_m12_tb3.pdf");
152  
153     // Observed Limit in M0 - M1/2
154     TH2F*hobslimit = new TH2F("obslimit",";m_{0} [GeV]; m_{1/2} [GeV]; 95% CL Observed Limit [pb]",
155 <                     50,0,509.9,25,100,350);
155 >                     50,0,504.9,25,100,350);
156     plotTools->Area(hobslimit, Mzero, Mhalf, ObsXsecLimit);
157     hobslimit->SetMinimum(0.01);
158     hobslimit->Draw("colz");
# Line 144 | Line 160 | int plot(int argc, char** argv)
160    
161     // Expected Limit in M0 - M1/2
162     TH2F*hexplimit = new TH2F("explimit",";m_{0} [GeV]; m_{1/2} [GeV]; 95% CL Expected Limit [pb]",
163 <                     50,0,509.9,25,100,350);
163 >                     50,0,504.9,25,100,350);
164     plotTools->Area(hexplimit, Mzero, Mhalf, ExpXsecLimit);
165     hexplimit->SetMinimum(0.01);
166     hexplimit->Draw("colz");
167     c1->SaveAs("results_tb3/ExpLimit_m0_m12_tb3.pdf");
168    
169     // Signal Acceptance in M0 - M1/2  
170 +   c1->SetRightMargin ( 0.2 );
171 +   c1->SetTopMargin ( 0.11 );
172 +   c1->SetLogz(0);
173     TH2F*hsigacc = new TH2F("sigacc",";m_{0} [GeV]; m_{1/2} [GeV]; Signal Acceptance",
174 <                     50,0,509.9,25,100,350);
175 <   plotTools->Area(hsigacc, Mzero, Mhalf, SignalAcceptance);
176 <   hsigacc->SetMinimum(0.01);
177 <   hsigacc->SetMaximum(1.0);
174 >                     50,0,504.9,25,100,350);
175 >   plotTools->Area(hsigacc, Mzero, Mhalf, NLOSignalAcceptance);
176 >   hsigacc->SetNdivisions(505);
177 >   hsigacc->SetMinimum(0.0);
178 >   hsigacc->SetMaximum(0.35);
179 >   hsigacc->SetContour(14);
180 >   hsigacc->GetZaxis()->SetTitleOffset(1.5);
181     hsigacc->Draw("colz");
182 <   chi100->Draw();
183 <   cha200->Draw();
184 <   gl500 ->Draw();
185 <   sq500 ->Draw();
186 <   c1->SaveAs("results_tb3/SigAcc_m0_m12_tb3.pdf");
182 >   TLatex as; as.SetTextSize(0.025); as.SetTextFont(42);//ms.SetTextColor(12);
183 >   as.DrawLatex(520,461,"MHT selection, tan #beta=3, #mu>0, A_{0}=0");
184 >   as.SetTextSize(0.04);  
185 >   as.DrawLatex( 50,461,"CMS");
186 >   c1->SaveAs("results_tb3/SigAccMHT_m0_m12_tb3.pdf");
187 >
188 >  
189 >   // Signal Acceptance in M0 - M1/2  
190 >   TH2F*hsigaccHT = new TH2F("sigaccHT",";m_{0} [GeV]; m_{1/2} [GeV]; Signal Acceptance",
191 >                     50,0,504.9,25,100,350);
192 >   hsigaccHT->SetNdivisions(505);
193 >   plotToolsHT->Area(hsigaccHT, Mzero, Mhalf, NLOSignalAcceptance);
194 >   hsigaccHT->SetMinimum(0.0);
195 >   hsigaccHT->SetMaximum(0.35);
196 >   hsigaccHT->SetContour(14);
197 >   hsigaccHT->GetZaxis()->SetTitleOffset(1.5);
198 >   hsigaccHT->Draw("colz");
199 >   as.SetTextSize(0.025); as.SetTextFont(42);//ms.SetTextColor(12);
200 >   as.DrawLatex(525,461,"HT selection, tan #beta=3, #mu>0, A_{0}=0");
201 >   as.SetTextSize(0.04);  
202 >   as.DrawLatex( 50,461,"CMS");
203 >   c1->SaveAs("results_tb3/SigAccHT_m0_m12_tb3.pdf");
204 >   c1->SetTopMargin ( 0.1 );
205 >
206    
207     // Exp. Limit on Number of Signal Events in M0 - M1/2
208     c1->SetLogz(0);
209     TH2F*hexplimitnsig = new TH2F("explimitnsig",";m_{0} [GeV]; m_{1/2} [GeV]; 95% CL exp. limit signal events [# ]",
210 <                     50,0,509.9,25,100,350);
210 >                     50,0,504.9,25,100,350);
211     plotTools->Area(hexplimitnsig, Mzero, Mhalf, ExpNSignLimit);
212     hexplimitnsig->SetMinimum(0.0);
213     hexplimitnsig->SetMaximum(20);
# Line 175 | Line 216 | int plot(int argc, char** argv)
216    
217     // Obs. Limit on Number of Signal Events in M0 - M1/2
218     TH2F*hobslimitnsig = new TH2F("obslimitnsig",";m_{0} [GeV]; m_{1/2} [GeV]; 95% CL obs. limit signal events [# ]",
219 <                     50,0,509.9,25,100,350);
219 >                     50,0,504.9,25,100,350);
220     plotTools->Area(hobslimitnsig, Mzero, Mhalf, ObsNSignLimit);
221     hobslimitnsig->SetMinimum(0.0);
222     hobslimitnsig->SetMaximum(20);
# Line 185 | Line 226 | int plot(int argc, char** argv)
226     c1->SetLogz(0);
227     // Expected Exclusion in M0 - M1/2
228     TH2F*hexpexcl = new TH2F("expexcl",";m_{0} [GeV]; m_{1/2} [GeV]; 95% CL Expected Exclusion",
229 <                     50,0,509.9,35,100,450);
230 <   plotTools->Area(hexpexcl, Mzero, Mhalf, ExpExclCL);
229 >                     50,0,504.9,35,100,450);
230 >   plotTools->Area(hexpexcl, Mzero, Mhalf, NLOExpExclCL);
231     hexpexcl->Draw("colz");
232 <   c1->SaveAs("results_tb3/ExpExclusion_m0_m12_tb3.pdf");
232 >   c1->SaveAs("results_tb3/ExpExclusionMHT_m0_m12_tb3.pdf");
233    
234     // Observed Exclusion in M0 - M1/2
235     TH2F*hobsexcl = new TH2F("obsexcl",";m_{0} [GeV]; m_{1/2} [GeV]; 95% CL Observed Exclusion",
236 <                     50,0,509.9,35,100,450);
237 <   plotTools->Area(hobsexcl, Mzero, Mhalf, ObsExclCL);
236 >                     50,0,504.9,35,100,450);
237 >   plotTools->Area(hobsexcl, Mzero, Mhalf, NLOObsExclCL);
238     hobsexcl->Draw("colz");
239 <   c1->SaveAs("results_tb3/ObsExclusion_m0_m12_tb3.pdf");
239 >   c1->SaveAs("results_tb3/ObsExclusionMHT_m0_m12_tb3.pdf");
240  
241     // Observed Exclusion in M0 - M1/2
242 <   TH2F*hPLobsexcl = new TH2F("plobsexcl",";m_{0} [GeV]; m_{1/2} [GeV]; 95% CL Observed Exclusion",
243 <                     50,0,509.9,35,100,450);
244 <   plotTools->Area(hPLobsexcl, Mzero, Mhalf, PLObsExclusion);
245 <   hPLobsexcl->Draw("colz");
246 <   c1->SaveAs("results_tb3/PL_ObsExclusion_m0_m12_tb3.pdf");
242 >   //TH2F*hPLobsexcl = new TH2F("plobsexcl",";m_{0} [GeV]; m_{1/2} [GeV]; 95% CL Observed Exclusion",
243 >   //                  50,0,504.9,35,100,450);
244 >   //plotTools->Area(hPLobsexcl, Mzero, Mhalf, PLObsExclusion);
245 >   //hPLobsexcl->Draw("colz");
246 >   //c1->SaveAs("results_tb3/PL_ObsExclusion_m0_m12_tb3.pdf");
247  
248     // TestContours in M0 - M1/2  ===================================================================
249     TH2F*texcl = new TH2F("texcl",";m_{0} [GeV]; m_{1/2} [GeV]; 95% CL Expected Exclusion",
250 <                     50,0,509.9,35,100,450);
250 >                     50,0,504.9,35,100,450);
251     TH2F*texpexcl=(TH2F*)texcl->Clone();
252 <   plotTools->Area(texpexcl, Mzero, Mhalf, ObsExclCL);
252 >   plotToolsHT->Area(texpexcl, Mzero, Mhalf, NLOExpNoSigExclCL);
253     std::vector<TGraph*> contours = plotToolsHT->GetContours(texpexcl,3);
254     texpexcl->Draw("colz");
255     int col=kBlue-10;
# Line 223 | Line 264 | int plot(int argc, char** argv)
264       sprintf(val,"%d",(int)(cont-contours.begin()));
265       l.DrawLatex(x,y,val);
266     }
267 +   c1->SaveAs("results/ExclusionTestContours_m0_m12_tb3.pdf");
268     c1->SaveAs("results_tb3/ExclusionTestContours_m0_m12_tb3.pdf");
269  
270  
271     // Exclusion in M0 - M1/2
272 <   TH2F*hexcl = new TH2F("hexcl",";m_{0} [GeV]; m_{1/2} [GeV]; 95% CL Expected Exclusion",
273 <                     50,0,509.9,35,100,500);
274 <   TH2F*hs = new TH2F("hs","",50,0,509.9,35,100,450);
275 <   TGraph * gexpexcl         = plotTools  ->GetContour(hs,Mzero,Mhalf,NLOExpExclCL,       3,2, 2,2);
272 >   c1->SetRightMargin ( 0.1 );
273 >   TH2F*hexcl = new TH2F("hexcl",";m_{0} (GeV); m_{1/2} (GeV); 95% CL Expected Exclusion",
274 >                     50,0,504.9,35,100,450);
275 >   //hexcl->SetNdivisions(505);
276 >   TH2F*hs = new TH2F("hs","",50,0,504.9,35,100,450);
277 >   TGraph * gexpexcl         = plotTools  ->GetContour(hs,Mzero,Mhalf,NLOExpExclCL,       3,3, 2,2);
278     TGraph * gexpexcl_LO      = plotTools  ->GetContour(hs,Mzero,Mhalf,ExpExclCL,          3,0, 2,4);
279 <   TGraph * gobsexcl         = plotTools  ->GetContour(hs,Mzero,Mhalf,NLOObsExclCL,       3,2, 2,1);
280 <   TGraph * gobsexcl_LO      = plotTools  ->GetContour(hs,Mzero,Mhalf,ObsExclCL,       3,0, 2,1);
279 >   TGraph * gobsexcl         = plotTools  ->GetContour(hs,Mzero,Mhalf,NLOObsExclCL,       3,3, 2,1);
280 >   TGraph * gobsexcl_LO      = plotTools  ->GetContour(hs,Mzero,Mhalf,ObsExclCL,          3,0, 2,1);
281     TGraph * gMCMCexpexcl     = plotToolsHT->GetContour(hs,Mzero,Mhalf,MCMCExpExclusion,   3,0, 3,2);
282     TGraph * gMCMCobsexcl     = plotToolsHT->GetContour(hs,Mzero,Mhalf,MCMCObsExclusion,   3,0, 3,1);
283     TGraph * gFCexpexclHT     = plotToolsHT->GetContour(hs,Mzero,Mhalf,NLOFCExpExclusion,  3,0, 3,2);
# Line 242 | Line 286 | int plot(int argc, char** argv)
286     TGraph * gFCexpexclMHT_LO = plotTools->GetContour(hs,Mzero,Mhalf,FCExpExclusion,       3,0, 3,4);
287     TGraph * gFCobsexclHT     = plotToolsHT->GetContour(hs,Mzero,Mhalf,NLOFCObsExclusion,  3,0, 3,1);
288     TGraph * gFCobsexclMHT    = plotToolsHT->GetContour(hs,Mzero,Mhalf,NLOFCObsExclusion,  3,0, 3,1);
289 <   TGraph * gCLsExpExclHT    = plotToolsHT->GetContour(hs,Mzero,Mhalf,NLOExpExclCL,       3,2, 1,2);
290 <   TGraph * gCLsObsExclHT    = plotToolsHT->GetContour(hs,Mzero,Mhalf,NLOObsExclCL,       3,0, 1,1);
289 >   TGraph * gCLsExpExclHT    = plotToolsHT->GetContour(hs,Mzero,Mhalf,NLOExpExclCL,       3,3, 1,2);
290 >   TGraph * gCLsObsExclHT    = plotToolsHT->GetContour(hs,Mzero,Mhalf,NLOObsExclCL,       3,3, 1,1);
291     TGraph * gCLsExpExclHT_LO = plotToolsHT->GetContour(hs,Mzero,Mhalf,ExpExclCL,          3,0, 1,4);
292     TGraph * gCLsObsExclHT_LO = plotToolsHT->GetContour(hs,Mzero,Mhalf,ObsExclCL,          3,0, 2,1);
293     TGraph * gCLsExpExclHTm1  = plotToolsHT->GetContour(hs,Mzero,Mhalf,NLOExpExclCLm1sigma,3,2, 5,2);
# Line 342 | Line 386 | int plot(int argc, char** argv)
386     //sThird->Draw("same");
387     Atlas->Draw("c,same");
388     TLatex ms; ms.SetTextSize(0.025); ms.SetTextFont(42);//ms.SetTextColor(12);
389 <   ms.DrawLatex(395,508,"tan#beta=3, #mu>0, A_{0}=0");
389 >   //ms.DrawLatex(395,508,"tan #beta=3, #mu>0, A_{0}=0");
390     //gCheck1->Draw("same");
391     //gCheck2->Draw("same");
392 <   TLegend* legexp = new TLegend(0.66,0.65,0.98,0.93,NULL,"brNDC");
393 <   legexp->SetFillColor(0);legexp->SetShadowColor(0);legexp->SetFillStyle(4000);legexp->SetTextFont(42);legexp->SetTextSize(0.025);legexp->SetBorderSize(0);
392 >   //TLegend* legexp = new TLegend(0.66,0.65,0.98,0.93,NULL,"brNDC");
393 >   TLegend* legexp = new TLegend(0.61,0.61,0.93,0.88,NULL,"brNDC");
394 > legexp->SetFillColor(0);legexp->SetShadowColor(0);legexp->SetFillStyle(4000);legexp->SetTextFont(42);legexp->SetTextSize(0.025);legexp->SetBorderSize(0);
395     //TEV_sg_cdf.SetLineColor(1);  
396 <   legexp->SetHeader("CMS preliminary");
397 <   legexp->AddEntry(TEV_sg_cdf,"CDF  #tilde{#font[12]{g}}, #tilde{#font[12]{q}}, #scale[0.8]{tan#beta=5, #mu<0}","f");
396 >   legexp->SetHeader("CMS   tan #beta=3, #mu>0, A_{0}=0");
397 >   legexp->AddEntry(TEV_sg_cdf,"CDF  #tilde{#font[12]{g}}, #tilde{#font[12]{q}}, #scale[0.8]{tan #beta=5, #mu<0}","f");
398     legexp->AddEntry(TEV_sg_d0,"D0   #tilde{#font[12]{g}}, #tilde{#font[12]{q}}, #scale[0.8]{#mu<0}","f");  
399     //ch_gr.SetLineColor(1);
400     legexp->AddEntry(LEP_ch,"LEP2   #tilde{#chi}_{1}^{#pm}","f");  
# Line 358 | Line 403 | int plot(int argc, char** argv)
403     //if(tanbeta == 3)
404     legexp->AddEntry(TEV_sn_d0_1,"D0  #chi^{#pm}_{1}, #chi^{0}_{2}","f");  
405     legexp->AddEntry(sFirst, "CMS #alpha_{T}");
406 <   legexp->AddEntry(Atlas,  "Atlas","l");
406 >   //legexp->AddEntry(Atlas,  "Atlas","l");
407     legexp->Draw();
408    
409     CLsObsNLO->Draw("l");
# Line 371 | Line 416 | int plot(int argc, char** argv)
416     TF1* lngl[4];
417     TLatex sqt; sqt.SetTextSize(0.02); sqt.SetTextAngle(-14);sqt.SetTextColor(kGray+2);
418     sqt.DrawLatex(148,218,"#font[92]{#tilde{q}(500)GeV}");
419 <   sqt.DrawLatex(220,385,"#font[92]{#tilde{q}(800)GeV}");
419 >   sqt.DrawLatex(300,365,"#font[92]{#tilde{q}(800)GeV}");
420     TLatex glt; glt.SetTextSize(0.02); sqt.SetTextAngle(-4); glt.SetTextColor(kGray+2);
421     glt.DrawLatex(430,184,"#font[92]{#tilde{g}(500)GeV}");
422     //glt.DrawLatex(450,235,"#font[92]{#tilde{g}(650)GeV}");
# Line 383 | Line 428 | int plot(int argc, char** argv)
428      lngl[i]->Draw("same");  
429      lnsq[i]->Draw("same");
430     }
431 <   TLegend * leg = new TLegend(0.3,0.8,0.65,0.93);
432 <   leg->SetBorderSize(0);leg->SetFillColor(0);leg->SetFillStyle(4000);leg->SetTextFont(42);legexp->SetTextSize(0.025);
431 >   //TLegend * leg = new TLegend(0.3,0.8,0.65,0.93);
432 >   TLegend * leg = new TLegend(0.25,0.72,0.68,0.88);
433 >   leg->SetBorderSize(0);leg->SetFillColor(0);leg->SetFillStyle(4000);leg->SetTextFont(42);leg->SetTextSize(0.025);
434     TGraph * expLeg = (TGraph*)CLsExpNLO->Clone();expLeg->SetFillStyle(gCLsExp1Sigma->GetFillStyle());expLeg->SetFillColor(gCLsExp1Sigma->GetFillColor());
435 <   leg->SetHeader("L_{int} = 36/pb, #sqrt{s} = 7 TeV");
435 >   leg->SetHeader("L_{int} = 36 pb^{-1}, #sqrt{s} = 7 TeV");
436     leg->AddEntry(CLsObsNLO,"Observed, NLO","l");
437     leg->AddEntry(CLsObsLO, "Observed, LO","l");
438     leg->AddEntry(expLeg,   "Expected #pm 1#sigma, NLO","lf");
# Line 408 | Line 454 | int plot(int argc, char** argv)
454  
455   //   plotToolsHT->Print(Xsection, Mzero,Mhalf,gCLsObsExclHT, 10);
456  
457 +
458 +
459 +   hexcl->Draw("colz");
460 +   LEP_ch->Draw("fsame");
461 +   LEP_sl->Draw("fsame");
462 +   TEV_sg_cdf->Draw("fsame");
463 +   TEV_sg_cdf->Draw("lsame");
464 +   TEV_sg_d0->Draw("fsame");
465 +   TEV_sg_d0->Draw("lsame");
466 +   if (gCLsExp1Sigma)    gCLsExp1Sigma->Draw("lf");
467 +   sFirst->Draw("same");
468 +   Atlas->Draw("c,same");
469 +   ms.DrawLatex(395,508,"tan #beta=3, #mu>0, A_{0}=0");
470 +   CLsObsNLO->Draw("l");
471 +   //CLsObsLO->Draw("l");
472 +   CLsExpNLO->Draw("l");
473 +   //FCExpNLO->Draw("l");
474 +   //Jim's limits///////////////////////////////////////////////////////////////////////////////
475 +   TGraph* JimObsHT  = Jim_ht_tb3(0);
476 +   TGraph* JimObsMHT = Jim_mht_tb3(0);
477 +   TGraph* JimExpHT  = Jim_ht_tb3(1);
478 +   TGraph* JimExpMHT = Jim_mht_tb3(1);
479 +   TGraph* JimExpHTup  = Jim_ht_tb3(2);
480 +   TGraph* JimExpMHTup = Jim_mht_tb3(2);
481 +   TGraph* JimExpHTdn  = Jim_ht_tb3(3);
482 +   TGraph* JimExpMHTdn = Jim_mht_tb3(3);
483 +   Smooth(JimObsHT, 2);
484 +   Smooth(JimObsMHT,2);
485 +   Smooth(JimExpHT, 2);
486 +   Smooth(JimExpMHT,2);
487 +   Smooth(JimExpHTup, 2);
488 +   Smooth(JimExpMHTup,2);
489 +   Smooth(JimExpHTdn, 2);
490 +   Smooth(JimExpMHTdn,2);
491 +   TGraph * JimObs = plotToolsHT->ChooseBest(JimObsHT,JimObsMHT,JimObsHT,JimObsMHT);
492 +   TGraph * JimExp = plotToolsHT->ChooseBest(JimExpHT,JimExpMHT,JimExpHT,JimExpMHT);
493 +   TGraph * JimExpup = plotToolsHT->ChooseBest(JimExpHTup,JimExpMHTup,JimExpHTup,JimExpMHTup);
494 +   TGraph * JimExpdn = plotToolsHT->ChooseBest(JimExpHTdn,JimExpMHTdn,JimExpHTdn,JimExpMHTdn);
495 +   TGraph * JimExp1Sigma = MakeBand(JimExpup, JimExpdn);JimExp1Sigma->SetFillStyle(3001);
496 +   TGraph * JimLeg = (TGraph*)JimExp->Clone();JimLeg->SetFillStyle(JimExp1Sigma->GetFillStyle());JimLeg->SetFillColor(JimExp1Sigma->GetFillColor());
497 +   JimExp1Sigma->Draw("f");
498 +   JimObs->Draw("c");
499 +   JimExp->Draw("c");
500 +   stau->Draw("fsame");
501 +   b.DrawLatex( 10,435,"#tilde{#tau} LSP");
502 +   //constant ssqquark and gluino lines
503 +   sqt.DrawLatex(148,218,"#font[92]{#tilde{q}(500)GeV}");
504 +   sqt.DrawLatex(220,385,"#font[92]{#tilde{q}(800)GeV}");
505 +   glt.DrawLatex(430,184,"#font[92]{#tilde{g}(500)GeV}");
506 +   glt.DrawLatex(428,311,"#font[92]{#tilde{g}(800)GeV}");
507 +   for(int i = 0; i < 4; i++){
508 +    lngl[i]->Draw("same");  
509 +    lnsq[i]->Draw("same");
510 +   }
511 +   legexp->Draw();
512 +   TLegend * legBayes = new TLegend(0.3,0.8,0.65,0.93);
513 +   legBayes->SetBorderSize(0);legBayes->SetFillColor(0);legBayes->SetFillStyle(4000);legBayes->SetTextFont(42);
514 +   legBayes->SetHeader("L_{int} = 36/pb, #sqrt{s} = 7 TeV");
515 +   legBayes->AddEntry(JimObs,   "Observed, Bayes","l");
516 +   legBayes->AddEntry(JimLeg,   "Expected #pm 1#sigma, Bayes","lf");
517 +   legBayes->AddEntry(CLsObsNLO,"Observed, CLs","l");
518 +   legBayes->AddEntry(expLeg,   "Expected #pm 1#sigma, CLs","lf");
519 +   legBayes->Draw();
520 +   gPad->RedrawAxis();
521 +   c1->SaveAs("results/Exclusion_m0_m12_tb3_Bayes.pdf");
522 +
523 +
524 +   //The RA1-style Expected limits - no-signal hypothesis *only* for pseudo data ///////////////////////////////
525 +   TGraph * gCLsExpNoSExclMHT   = plotTools  ->GetContour(hs,Mzero,Mhalf,NLOExpNoSigExclCL,  3,2, 1,2);
526 +   TGraph * gCLsExpNoSExclHT    = plotToolsHT->GetContour(hs,Mzero,Mhalf,NLOExpNoSigExclCL,  3,2, 1,2);
527 +   TGraph * gCLsExpNoSExclHTm1  = plotToolsHT->ModifyExpSigma(gCLsExpExclHTm1, gCLsExpExclHT, gCLsExpNoSExclHT);
528 +   TGraph * gCLsExpNoSExclHTp1  = plotToolsHT->ModifyExpSigma(gCLsExpExclHTp1, gCLsExpExclHT, gCLsExpNoSExclHT);
529 +   TGraph * gCLsExpNoSExclMHTm1 = plotTools  ->ModifyExpSigma(gCLsExpExclMHTm1,gCLsExpExclHT, gCLsExpNoSExclHT);
530 +   TGraph * gCLsExpNoSExclMHTp1 = plotTools  ->ModifyExpSigma(gCLsExpExclMHTp1,gCLsExpExclHT, gCLsExpNoSExclHT);
531 +   Smooth( gCLsExpNoSExclMHT, 27 ); gCLsExpNoSExclMHT->SetLineWidth( 3 );
532 +   Smooth( gCLsExpNoSExclHT, 27 );  gCLsExpNoSExclHT->SetLineWidth( 3 );
533 +   Smooth( gCLsExpNoSExclHTm1, 27 );
534 +   Smooth( gCLsExpNoSExclHTp1, 27 );
535 +   Smooth( gCLsExpNoSExclMHTm1, 27 );
536 +   Smooth( gCLsExpNoSExclMHTp1, 27 );
537 +   TGraph * CLsExpNoSNLO = plotToolsHT->ChooseBest(gCLsExpNoSExclHT,gCLsExpNoSExclMHT, gCLsExpNoSExclHT,gCLsExpNoSExclMHT);
538 +   TGraph * gCLsExpNoSExclp1 = plotToolsHT->ChooseBest(gCLsExpNoSExclHTp1,gCLsExpNoSExclMHTp1, gCLsExpNoSExclHTp1,gCLsExpNoSExclMHTp1);
539 +   TGraph * gCLsExpNoSExclm1 = plotToolsHT->ChooseBest(gCLsExpNoSExclHTm1,gCLsExpNoSExclMHTm1, gCLsExpNoSExclHTm1,gCLsExpNoSExclMHTm1);
540 +   TGraph * gCLsExpNoS1Sigma = MakeBand(gCLsExpNoSExclp1, gCLsExpNoSExclm1);gCLsExpNoS1Sigma->SetFillStyle(4010);
541 +   hexcl->Draw("colz");
542 +   LEP_ch->Draw("fsame");
543 +   LEP_sl->Draw("fsame");
544 +   TEV_sg_cdf->Draw("fsame");
545 +   TEV_sg_cdf->Draw("lsame");
546 +   TEV_sg_d0->Draw("fsame");
547 +   TEV_sg_d0->Draw("lsame");
548 +   //ms.DrawLatex(400,458,"tan #beta=3, #mu>0, A_{0}=0");
549 +   gCLsExpNoS1Sigma->Draw("lf,same");
550 +   sFirst->Draw("same");
551 +   //sAtlas->Draw("c,same");
552 +   CLsObsNLO->Draw("l,same");
553 +   CLsObsLO->Draw("l,same");
554 +   CLsExpNoSNLO->Draw("l,same");
555 +   //FCExpNLO->Draw("l");
556 +   stau->Draw("fsame");
557 +   b.DrawLatex( 10,435,"#tilde{#tau} LSP");
558 +   //constant ssqquark and gluino lines
559 +   sqt.DrawLatex(148,218,"#font[92]{#tilde{q}(500)GeV}");
560 +   sqt.DrawLatex(210,360,"#font[92]{#tilde{q}(800)GeV}");
561 +   glt.DrawLatex(430,184,"#font[92]{#tilde{g}(500)GeV}");
562 +   glt.DrawLatex(430,310,"#font[92]{#tilde{g}(800)GeV}");
563 +   for(int i = 0; i < 4; i++){
564 +    lngl[i]->Draw("same");  
565 +    lnsq[i]->Draw("same");
566 +   }
567 +   legexp->Draw();
568 +   leg->Draw();
569 +   gPad->RedrawAxis();
570 +   c1->SaveAs("results/Exclusion_m0_m12_tb3_NoSigHypPseudoData.pdf");
571 +   c1->SaveAs("results_tb3/Exclusion_m0_m12_tb3_NoSigHypPseudoData.pdf");
572 +
573 +
574 +
575     // Signal Contamination in M0 - M1/2
576 +   c1->SetRightMargin ( 0.2 );
577     c1->SetLogz(0);
578     TH2F*hsigcont = new TH2F("sigcont",";m_{0} [GeV]; m_{1/2}; number of signal in bkg yield [events]",
579 <                     50,0,509.9,25,100,350);
579 >                     50,0,504.9,25,100,350);
580     plotToolsHT->Area(hsigcont, Mzero, Mhalf, SignalContamination);
581     hsigcont->SetMinimum(0.01);
582     hsigcont->SetMaximum(20);
# Line 422 | Line 587 | int plot(int argc, char** argv)
587     // Signal Contamination in M0 - M1/2
588     c1->SetLogz(0);
589     TH2F*hsigcontMHT = new TH2F("sigcontMHT",";m_{0} [GeV]; m_{1/2}; number of signal in bkg yield [events]",
590 <                     50,0,509.9,25,100,350);
590 >                     50,0,504.9,25,100,350);
591     plotTools->Area(hsigcontMHT, Mzero, Mhalf, SignalContamination);
592     hsigcontMHT->SetMinimum(0.01);
593     hsigcontMHT->SetMaximum(20);
# Line 434 | Line 599 | int plot(int argc, char** argv)
599     // Signal JEC Uncertainty  MHT  
600     c1->SetLogz(0);
601     TH2F*hsig_jec_mht = new TH2F("sigjecmht",";m_{0} [GeV]; m_{1/2} [GeV]; Signal JEC uncertainty",
602 <                     50,0,509.9,25,100,350);
602 >                     50,0,504.9,25,100,350);
603     plotTools->Area(hsig_jec_mht, Mzero, Mhalf, SignalUncertJEC);
604     hsig_jec_mht->SetMinimum(0.0);
605     hsig_jec_mht->SetMaximum(0.25);
# Line 446 | Line 611 | int plot(int argc, char** argv)
611     // Signal JEC Uncertainty  HT  
612     c1->SetLogz(0);
613     TH2F*hsig_jec_ht = new TH2F("sigjecht",";m_{0} [GeV]; m_{1/2} [GeV]; Signal JEC uncertainty",
614 <                    50,0,509.9,25,100,350);
614 >                    50,0,504.9,25,100,350);
615     plotToolsHT->Area(hsig_jec_ht, Mzero, Mhalf, SignalUncertJEC);
616     hsig_jec_ht->SetMinimum(0.0);
617     hsig_jec_ht->SetMaximum(0.25);
# Line 459 | Line 624 | int plot(int argc, char** argv)
624     // Signal MuIso Uncertainty  MHT  
625     c1->SetLogz(0);
626     TH2F*hsig_MuIso_mht = new TH2F("sigMuIsomht",";m_{0} [GeV]; m_{1/2} [GeV]; Signal #mu_{iso} uncertainty",
627 <                    50,0,509.9,25,100,350);
627 >                    50,0,504.9,25,100,350);
628     plotTools->Area(hsig_MuIso_mht, Mzero, Mhalf, SignalUncertMuIso);
629     hsig_MuIso_mht->SetMinimum(0.0);
630     hsig_MuIso_mht->SetMaximum(0.05);
# Line 471 | Line 636 | int plot(int argc, char** argv)
636     // Signal MuIso Uncertainty  HT  
637     c1->SetLogz(0);
638     TH2F*hsig_MuIso_ht = new TH2F("sigMuIsoht",";m_{0} [GeV]; m_{1/2} [GeV]; Signal #mu_{iso} uncertainty",
639 <                    50,0,509.9,25,100,350);
639 >                    50,0,504.9,25,100,350);
640     plotToolsHT->Area(hsig_MuIso_ht, Mzero, Mhalf, SignalUncertMuIso);
641     hsig_MuIso_ht->SetMinimum(0.0);
642     hsig_MuIso_ht->SetMaximum(0.05);
# Line 481 | Line 646 | int plot(int argc, char** argv)
646     c1->SaveAs("results_tb3/SigMuIso_HT_m0_m12_tb3.pdf");
647    
648  
649 +   // Signal PDF Uncertainty  MHT  
650 +   c1->SetLogz(0);
651 +   TH2F*hsig_PDF_mht = new TH2F("sigPDFmht",";m_{0} [GeV]; m_{1/2} [GeV]; Signal PDF uncertainty",
652 +                    50,0,504.9,25,100,350);
653 +   plotTools->Area(hsig_PDF_mht, Mzero, Mhalf, SignalUncertPDF);
654 +   hsig_PDF_mht->SetMinimum(0.0);hsig_PDF_mht->GetZaxis()->SetTitleOffset(1.3);
655 +   hsig_PDF_mht->SetMaximum(0.20);
656 +   hsig_PDF_mht->SetContour(10);
657 +   hsig_PDF_mht->Draw("colz");
658 +   if (gobsexcl)    gobsexcl->Draw("l");
659 +   c1->SaveAs("results_tb3/SigPDF_MHT_m0_m12_tb3.pdf");
660 +  
661 +   // Signal PDF Uncertainty  HT  
662 +   c1->SetLogz(0);
663 +   TH2F*hsig_PDF_ht = new TH2F("sigPDFht",";m_{0} [GeV]; m_{1/2} [GeV]; Signal PDF uncertainty",
664 +                    50,0,504.9,25,100,350);
665 +   plotToolsHT->Area(hsig_PDF_ht, Mzero, Mhalf, SignalUncertPDF);
666 +   hsig_PDF_ht->SetMinimum(0.0);hsig_PDF_ht->GetZaxis()->SetTitleOffset(1.3);
667 +   hsig_PDF_ht->SetMaximum(0.20);
668 +   hsig_PDF_ht->SetContour(10);
669 +   hsig_PDF_ht->Draw("colz");
670 +   if (gCLsObsExclHT)    gCLsObsExclHT->Draw("l");
671 +   c1->SaveAs("results_tb3/SigPDF_HT_m0_m12_tb3.pdf");
672 +  
673 +
674 +
675     // Signal kFactor Uncertainty  MHT  
676     c1->SetLogz(0);
677 <   TH2F*hsig_kFactor_mht = new TH2F("sigkFactormht",";m_{0} [GeV]; m_{1/2} [GeV]; Signal #mu_{iso} uncertainty",
678 <                    50,0,509.9,25,100,350);
679 <   plotTools->Area(hsig_kFactor_mht, Mzero, Mhalf, SignalUncertKfactor);
680 <   hsig_kFactor_mht->SetMinimum(0.1);
681 <   hsig_kFactor_mht->SetMaximum(0.2);
682 <   hsig_kFactor_mht->SetContour(10);
683 <   hsig_kFactor_mht->Draw("colz");
677 >   TH2F*hsig_kFactorUncert_mht = new TH2F("sigkFactorUncertmht",";m_{0} [GeV]; m_{1/2} [GeV]; signal NLO scale uncertainty",
678 >                    50,0,504.9,25,100,350);
679 >   plotTools->Area(hsig_kFactorUncert_mht, Mzero, Mhalf, SignalUncertKfactor);
680 >   hsig_kFactorUncert_mht->SetMinimum(0.1);hsig_kFactorUncert_mht->GetZaxis()->SetTitleOffset(1.3);
681 >   hsig_kFactorUncert_mht->SetMaximum(0.2);
682 >   hsig_kFactorUncert_mht->SetContour(10);
683 >   hsig_kFactorUncert_mht->Draw("colz");
684     if (gobsexcl)    gobsexcl->Draw("l");
685 <   c1->SaveAs("results_tb3/SigkFactor_MHT_m0_m12_tb3.pdf");
685 >   c1->SaveAs("results_tb3/SigkFactorUncert_MHT_m0_m12_tb3.pdf");
686    
687     // Signal kFactor Uncertainty  HT  
688     c1->SetLogz(0);
689 <   TH2F*hsig_kFactor_ht = new TH2F("sigkFactorht",";m_{0} [GeV]; m_{1/2} [GeV]; Signal #mu_{iso} uncertainty",
690 <                    50,0,509.9,25,100,350);
691 <   plotToolsHT->Area(hsig_kFactor_ht, Mzero, Mhalf, SignalUncertKfactor);
692 <   hsig_kFactor_ht->SetMinimum(0.1);
693 <   hsig_kFactor_ht->SetMaximum(0.2);
694 <   hsig_kFactor_ht->SetContour(10);
689 >   TH2F*hsig_kFactorUncert_ht = new TH2F("sigkFactorUncertht",";m_{0} [GeV]; m_{1/2} [GeV]; signal NLO scale uncertainty",
690 >                    50,0,504.9,25,100,350);
691 >   plotToolsHT->Area(hsig_kFactorUncert_ht, Mzero, Mhalf, SignalUncertKfactor);
692 >   hsig_kFactorUncert_ht->SetMinimum(0.1);hsig_kFactorUncert_ht->GetZaxis()->SetTitleOffset(1.3);
693 >   hsig_kFactorUncert_ht->SetMaximum(0.2);
694 >   hsig_kFactorUncert_ht->SetContour(10);
695 >   hsig_kFactorUncert_ht->Draw("colz");
696 >   if (gCLsObsExclHT)    gCLsObsExclHT->Draw("l");
697 >   c1->SaveAs("results_tb3/SigkFactorUncert_HT_m0_m12_tb3.pdf");
698 >  
699 >   // Signal kFactor HT  
700 >   c1->SetLogz(0);
701 >   TH2F*hsig_kFactor_ht = new TH2F("sigkFactorht",";m_{0} [GeV]; m_{1/2} [GeV]; NLO signal k-factor",
702 >                    50,0,504.9,25,100,350);
703 >   plotToolsHT->Area(hsig_kFactor_ht, Mzero, Mhalf, SignalKfactor);
704 >   hsig_kFactor_ht->SetMinimum(1.0);hsig_kFactor_ht->GetZaxis()->SetTitleOffset(1.3);
705 >   hsig_kFactor_ht->SetMaximum(2.4);
706 >   hsig_kFactor_ht->SetContour(7);
707     hsig_kFactor_ht->Draw("colz");
708     if (gCLsObsExclHT)    gCLsObsExclHT->Draw("l");
709     c1->SaveAs("results_tb3/SigkFactor_HT_m0_m12_tb3.pdf");
710 <  
710 >  
711 >   // Signal kFactor MHT  
712 >   c1->SetLogz(0);
713 >   TH2F*hsig_kFactor_mht = new TH2F("sigkFactormht",";m_{0} [GeV]; m_{1/2} [GeV]; NLO signal k-factor",
714 >                    50,0,504.9,25,100,350);
715 >   plotTools->Area(hsig_kFactor_mht, Mzero, Mhalf, SignalKfactor);
716 >   hsig_kFactor_mht->SetMinimum(1.0);hsig_kFactor_ht->GetZaxis()->SetTitleOffset(1.3);
717 >   hsig_kFactor_mht->SetMaximum(2.4);
718 >   hsig_kFactor_mht->SetContour(7);
719 >   hsig_kFactor_mht->Draw("colz");
720 >   if (gobsexcl)    gobsexcl->Draw("l");
721 >   c1->SaveAs("results_tb3/SigkFactor_MHT_m0_m12_tb3.pdf");
722 >  
723     //-----------------------------------------------------------------------------------
724     c1->SetLogz(1);
725  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines