exclusiongraph2.C

Go to the documentation of this file.
00001 void exclusiongraph2()
00002 {
00003    // Draw several graphs with an exclusion zones.
00004    //Author: Olivier Couet
00005    
00006    TCanvas *c = new TCanvas("c",
00007       "Charged Higgs L300 Contour",0,0,700,700);
00008    c->SetTickx();
00009    c->SetTicky();
00010    c->SetGridx();
00011    c->SetGridy();
00012 
00013    TH1 *frame = new TH1F("frame","",1000,50,500);
00014    frame->SetMinimum(1);
00015    frame->SetMaximum(50);
00016    frame->SetDirectory(0);
00017    frame->SetStats(0);
00018    frame->GetXaxis()->SetTitle("m_{A} (GeV)");
00019    frame->GetXaxis()->SetTickLength(0.02);
00020    frame->GetXaxis()->SetLabelSize(0.03);
00021    frame->GetYaxis()->SetTitle("tan#beta");
00022    frame->GetYaxis()->SetMoreLogLabels();
00023    frame->GetYaxis()->SetLabelSize(0.03);
00024    frame->Draw(" ");
00025    c->SetLogy();
00026 
00027    TGraph *gr1 = new TGraph(10);
00028    gr1->SetFillColor(6);
00029    gr1->SetFillStyle(3005);
00030    gr1->SetLineColor(6);
00031    gr1->SetLineWidth(603);
00032    gr1->SetPoint(0,140,0.5);
00033    gr1->SetPoint(1,130,2.9);
00034    gr1->SetPoint(2,124.677,3.83726);
00035    gr1->SetPoint(3,113.362,6.06903);
00036    gr1->SetPoint(4,108.513,8.00221);
00037    gr1->SetPoint(5,111.746,10.0272);
00038    gr1->SetPoint(6,119.828,12.8419);
00039    gr1->SetPoint(7,135.991,30.0872);
00040    gr1->SetPoint(8,140,40);
00041    gr1->SetPoint(9,135,60);
00042    gr1->Draw("C");
00043    TLatex *tex = new TLatex(140.841,37.9762,
00044       "#leftarrow t #rightarrow bH^{+}, H^{+} #rightarrow #tau#nu");
00045    tex->SetTextColor(6);
00046    tex->Draw();
00047 
00048    TGraph *gr2 = new TGraph(15);
00049    gr2->SetName("Graph");
00050    gr2->SetTitle("Graph");
00051    gr2->SetFillColor(1);
00052    gr2->SetFillStyle(3005);
00053    gr2->SetLineWidth(3);
00054    gr2->SetPoint(0,499.192,3.02622);
00055    gr2->SetPoint(1,427.748,3.06233);
00056    gr2->SetPoint(2,358.244,3.10722);
00057    gr2->SetPoint(3,305.711,3.24589);
00058    gr2->SetPoint(4,244.289,3.36617);
00059    gr2->SetPoint(5,206.304,3.7544);
00060    gr2->SetPoint(6,178.017,4.50347);
00061    gr2->SetPoint(7,148.114,6.20297);
00062    gr2->SetPoint(8,131.142,8.00221);
00063    gr2->SetPoint(9,111.746,8.48188);
00064    gr2->SetPoint(10,102.047,9.52921);
00065    gr2->SetPoint(11,96.3901,13.2212);
00066    gr2->SetPoint(12,92.3491,19.0232);
00067    gr2->SetPoint(13,90.7328,26.3935);
00068    gr2->SetPoint(14,93.1573,50.4385);
00069    gr2->Draw("L");
00070    tex = new TLatex(346.929,6.62281,"ATLAS");
00071    tex->SetLineWidth(2);
00072    tex->Draw();
00073    tex = new TLatex(328.341,5.24703,"#intLdt = 300 fb^{-1}");
00074    tex->SetTextSize(0.0297619);
00075    tex->SetLineWidth(2);
00076    tex->Draw();
00077    tex = new TLatex(340.463,4.1874,"Maximal mixing");
00078    tex->SetTextSize(0.0297619);
00079    tex->SetLineWidth(2);
00080    tex->Draw();
00081    tex = new TLatex(413.2,2.51608,"LEP 2000");
00082    tex->SetTextSize(0.0297619);
00083    tex->SetLineWidth(2);
00084    tex->Draw();
00085 
00086    TGraph *gr3 = new TGraph(10);
00087    gr3->SetName("Graph");
00088    gr3->SetTitle("Graph");
00089    gr3->SetFillColor(2);
00090    gr3->SetFillStyle(3004);
00091    gr3->SetLineColor(2);
00092    gr3->SetLineWidth(603);
00093    gr3->SetPoint(0,176.84,10.7499);
00094    gr3->SetPoint(1,190.575,11.9912);
00095    gr3->SetPoint(2,211.58,12.7108);
00096    gr3->SetPoint(3,243.088,12.3457);
00097    gr3->SetPoint(4,279.443,12.6185);
00098    gr3->SetPoint(5,302.065,12.9916);
00099    gr3->SetPoint(6,331.957,13.7713);
00100    gr3->SetPoint(7,369.928,14.2821);
00101    gr3->SetPoint(8,425.673,16.1651);
00102    gr3->SetPoint(9,499.192,18.1635);
00103    gr3->Draw("C");
00104    tex = new TLatex(188.151,9.36035,
00105       "gb #rightarrow tH^{+}, H^{+} #rightarrow #tau#nu");
00106    tex->SetTextColor(2);
00107    tex->Draw();
00108 
00109    TGraph *gr4 = new TGraph(10);
00110    gr4->SetName("Graph");
00111    gr4->SetTitle("Graph");
00112    gr4->SetFillColor(4);
00113    gr4->SetFillStyle(3004);
00114    gr4->SetLineColor(4);
00115    gr4->SetLineWidth(-603);
00116    gr4->SetPoint(0,178.456,2.91797);
00117    gr4->SetPoint(1,200.269,3.40033);
00118    gr4->SetPoint(2,229.354,3.96243);
00119    gr4->SetPoint(3,249.551,4.07959);
00120    gr4->SetPoint(4,269.749,3.71097);
00121    gr4->SetPoint(5,298.025,3.09308);
00122    gr4->SetPoint(6,341.652,2.89679);
00123    gr4->SetPoint(7,378.007,2.57808);
00124    gr4->SetPoint(8,441.023,2.16454);
00125    gr4->SetPoint(9,499.677,1.76145);
00126    gr4->Draw("C");
00127    tex = new TLatex(165.,1.15498,
00128       "gb #rightarrow tH^{+}, H^{+} #rightarrow tb");
00129    tex->SetTextColor(4);
00130    tex->Draw();
00131 
00132    TGraph *gr5 = new TGraph(10);
00133    gr5->SetName("Graph");
00134    gr5->SetTitle("Graph");
00135    gr5->SetFillColor(4);
00136    gr5->SetFillStyle(3004);
00137    gr5->SetLineColor(4);
00138    gr5->SetLineWidth(603);
00139    gr5->SetPoint(0,152.603,23.0996);
00140    gr5->SetPoint(1,188.151,18.8373);
00141    gr5->SetPoint(2,239.048,15.2499);
00142    gr5->SetPoint(3,264.901,15.8156);
00143    gr5->SetPoint(4,299.641,18.8373);
00144    gr5->SetPoint(5,334.381,20.7085);
00145    gr5->SetPoint(6,360.233,22.4362);
00146    gr5->SetPoint(7,396.589,24.4859);
00147    gr5->SetPoint(8,433.752,25.7669);
00148    gr5->SetPoint(9,499.192,27.3132);
00149    gr5->Draw("C");
00150 }

Generated on Tue Jul 5 15:44:22 2011 for ROOT_528-00b_version by  doxygen 1.5.1