ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/claudioc/ScansICHEP2012/code/B2_cheeseWedge2012.C
Revision: 1.2
Committed: Thu Jun 28 06:08:19 2012 UTC (12 years, 10 months ago) by claudioc
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +21 -21 lines
Log Message:
fixed limits

File Contents

# User Rev Content
1 claudioc 1.1 {
2     //=========Macro generated from canvas: c1/c1
3     //========= (Fri Apr 27 20:31:51 2012) by ROOT version5.30/02
4     TCanvas *c1 = new TCanvas("c1", "c1",0,0,700,500);
5     gStyle->SetOptStat(0);
6     gStyle->SetOptTitle(0);
7     c1->Range(210.2564,99.99999,1107.692,1100);
8     c1->SetFillColor(0);
9     c1->SetBorderMode(0);
10     c1->SetBorderSize(2);
11     c1->SetTickx(1);
12     c1->SetTicky(1);
13     // c1->SetRightMargin(0.12);
14    
15     c1->SetLeftMargin(0.1407035);
16     c1->SetRightMargin(0.07);
17     c1->SetTopMargin(0.08);
18     c1->SetBottomMargin(0.13);
19     c1->SetFrameBorderMode(0);
20     c1->SetFrameBorderMode(0);
21    
22    
23     c1->SetFrameBorderMode(0);
24     c1->SetFrameBorderMode(0);
25    
26     TH2F *empty = new TH2F("empty","Gluino Sbottom model",100,300,1000,100,200,1000);
27     empty->SetStats(0);
28     empty->GetXaxis()->SetTitle("m(#tilde{g}) GeV");
29     empty->GetXaxis()->SetTitleSize(0.060);
30     empty->GetXaxis()->SetLabelSize(0.060);
31     empty->GetYaxis()->SetTitle("m(#tilde{b}_{1}) GeV");
32     empty->GetYaxis()->SetTitleSize(0.060);
33     empty->GetYaxis()->SetTitleOffset(1.2);
34     empty->GetYaxis()->SetLabelSize(0.060);
35     empty->Draw("");
36     TLine *line = new TLine(480,475,1000,475);
37    
38     Int_t ci; // for color index setting
39     ci = TColor::GetColor("#0000ff");
40     line->SetLineColor(ci);
41     line->Draw();
42     line = new TLine(480,475,1000,995);
43    
44     ci = TColor::GetColor("#0000ff");
45     line->SetLineColor(ci);
46     line->Draw();
47     line = new TLine(330,325,1000,325);
48     line->SetLineStyle(2);
49    
50     ci = TColor::GetColor("#ff0000");
51     line->SetLineColor(ci);
52     line->Draw();
53     line = new TLine(330,325,1000,995);
54     line->SetLineStyle(2);
55    
56     ci = TColor::GetColor("#ff0000");
57     line->SetLineColor(ci);
58     line->Draw();
59    
60     Double_t *dum = 0;
61     TPolyLine *pline = new TPolyLine(16,dum,dum,"");
62    
63     ci = TColor::GetColor("#ff0000");
64     pline->SetFillColor(ci);
65     // pline->SetFillStyle(3244);
66     pline->SetFillStyle(3305);
67    
68     ci = TColor::GetColor("#ff0000");
69     int kk=0;
70     float mb=5.;
71     pline->SetLineColor(ci);
72 claudioc 1.2 pline->SetPoint(kk++,873,325);
73     pline->SetPoint(kk++,888,400);
74     pline->SetPoint(kk++,913,450);
75     pline->SetPoint(kk++,933,500);
76 claudioc 1.1 // pline->SetPoint(kk++,940,650);
77 claudioc 1.2 pline->SetPoint(kk++,948,700);
78     pline->SetPoint(kk++,858,858-mb);
79     pline->SetPoint(kk++,828,828-mb);
80     pline->SetPoint(kk++,896,700);
81     pline->SetPoint(kk++,883,500);
82     pline->SetPoint(kk++,863,450);
83 claudioc 1.1 // pline->SetPoint(kk++,865,400);
84 claudioc 1.2 pline->SetPoint(kk++,828,325);
85 claudioc 1.1 pline->SetPoint(kk++,880,325);
86     pline->Draw("fl");
87     pline->Draw();
88    
89     Double_t *dum = 0;
90     pline = new TPolyLine(16,dum,dum,"");
91    
92     ci = TColor::GetColor("#0000ff");
93     pline->SetFillColor(ci);
94     // pline->SetFillStyle(3344);
95     pline->SetFillStyle(3395);
96    
97     ci = TColor::GetColor("#0000ff");
98     pline->SetLineColor(ci);
99     kk=0;
100 claudioc 1.2 pline->SetPoint(kk++,918,475);
101     pline->SetPoint(kk++,930,550);
102     pline->SetPoint(kk++,943,650);
103     pline->SetPoint(kk++,953,750);
104     pline->SetPoint(kk++,883,883-mb);
105     pline->SetPoint(kk++,833,833-mb);
106     pline->SetPoint(kk++,888,750);
107     pline->SetPoint(kk++,888,550);
108     pline->SetPoint(kk++,863,475);
109     pline->SetPoint(kk++,918,475);
110 claudioc 1.1 pline->Draw("fl");
111     pline->Draw();
112     TLatex * tex = new TLatex(370,1032,"CMS Preliminary, #sqrt{s} = 8 TeV, L_{int} = 3.95 fb^{-1}");
113     tex->SetTextSize(0.055);
114     tex->SetLineWidth(2);
115     tex->Draw();
116     tex = new TLatex(370,936,"Same Sign dileptons with btag selection");
117     tex->SetTextSize(0.055);
118     tex->SetLineWidth(2);
119     tex->Draw();
120     tex = new TLatex(370,872,"m(#tilde{#chi}^{0}_{1}) = 50 GeV");
121     tex->SetTextSize(0.055);
122     tex->SetLineWidth(2);
123     tex->Draw();
124     tex = new TLatex(370,808,"Exclusion #sigma^{prod} = #sigma^{NLO+NLL} #pm 1 #sigma");
125     tex->SetTextSize(0.055);
126     tex->SetLineWidth(2);
127     tex->Draw();
128     tex = new TLatex(500,345,"#color[2]{m(#tilde{#chi}_{1}^{+}) = 150 GeV}");
129     tex->SetTextSize(0.055);
130     tex->SetLineWidth(2);
131     tex->Draw();
132     tex = new TLatex(540,495,"#color[4]{m(#tilde{#chi}_{1}^{+}) = 300 GeV}");
133     tex->SetTextSize(0.055);
134     tex->SetLineWidth(2);
135     tex->Draw();
136     c1->Modified();
137     c1->cd();
138     c1->SetSelected(c1);
139     }