ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/claudioc/ScansICHEP2012/code/GlStop150_lipstick.C
Revision: 1.1
Committed: Mon Jul 2 04:42:05 2012 UTC (12 years, 10 months ago) by claudioc
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Log Message:
lipstick

File Contents

# Content
1 {
2 //=========Macro generated from canvas: c1/c1
3 //========= (Fri Apr 27 20:26:56 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(323.0769,-12.50001,1092.308,1112.5);
8 c1->SetFillColor(0);
9 c1->SetBorderMode(0);
10 c1->SetBorderSize(2);
11 c1->SetTickx(1);
12 c1->SetTicky(1);
13 //
14 c1->SetLeftMargin(0.1407035);
15 c1->SetRightMargin(0.07);
16 c1->SetTopMargin(0.08);
17 c1->SetBottomMargin(0.13);
18
19 // c1->SetRightMargin(0.12);
20 c1->SetFrameBorderMode(0);
21 c1->SetFrameBorderMode(0);
22
23 float mtop=175.;
24
25 TH2F *empty = new TH2F("empty","T2 model",100,400,1000,100,100,1000);
26 empty->SetStats(0);
27 empty->GetXaxis()->SetTitle("m(#tilde{g}) GeV");
28 empty->GetXaxis()->SetTitleSize(0.060);
29 empty->GetXaxis()->SetLabelSize(0.060);
30 empty->GetYaxis()->SetTitle("m(#tilde{t}_{1}) GeV");
31 empty->GetYaxis()->SetTitleSize(0.060);
32 empty->GetYaxis()->SetLabelSize(0.060);
33 empty->GetYaxis()->SetTitleOffset(1.2);
34 empty->Draw("");
35
36 Int_t ci; // for color index setting
37
38
39
40
41 Double_t *dum = 0;
42 pline = new TPolyLine(16,dum,dum,"");
43
44 ci = TColor::GetColor("#0000ff");
45 pline->SetFillColor(kCyan-10);
46 // pline->SetFillStyle(3344);
47 // pline->SetFillStyle(3395);
48
49 ci = TColor::GetColor("#0000ff");
50 kk=0;
51 pline->SetLineColor(kCyan-10);
52 pline->SetPoint(kk++,898,325);
53 pline->SetPoint(kk++,908,430);
54 pline->SetPoint(kk++,918,480);
55 pline->SetPoint(kk++,918,530);
56 pline->SetPoint(kk++,908,580);
57 pline->SetPoint(kk++,898,630);
58 pline->SetPoint(kk++,888,888-mtop);
59 pline->SetPoint(kk++,838,838-mtop);
60 pline->SetPoint(kk++,848,630);
61 pline->SetPoint(kk++,858,580);
62 pline->SetPoint(kk++,868,530);
63 pline->SetPoint(kk++,872,480);
64 pline->SetPoint(kk++,867,325);
65 pline->Draw("fl");
66 pline->Draw();
67
68
69 // The observed line is down the middle
70 Double_t x[8],y[8];
71 x[0] = (898+867)/2.;
72 x[1] = (918+872)/2.;
73 x[2] = (918+868)/2.;
74 x[3] = (908+858)/2;
75 x[4] = (898+848)/2.;
76 x[5] = (888+838)/2.;
77 y[0] = 325;
78 y[1] = 480;
79 y[2] = 530;
80 y[3] = 580;
81 y[4] = 630;
82 y[5] = x[5]-mtop;
83 TGraph* gr0 = new TGraph(6,x,y);
84 gr0->SetLineColor(4);
85 gr0->SetLineWidth(2);
86 gr0->SetLineStyle(1);
87 gr0->Draw();
88
89 // The expected line is shifted by 7 GeV
90 for (int i=0; i<6; i++) {
91 x[i] = x[i] + 7;
92 }
93 y[5] = x[5]-mtop;
94 TGraph* gr00 = new TGraph(6,x,y);
95 gr00->SetLineColor(2);
96 gr00->SetLineWidth(2);
97 gr00->SetLineStyle(2);
98 gr00->Draw();
99
100 // + 1 sigma
101 for (int i=0; i<6; i++) {
102 x[i] = x[i] - 45;
103 }
104 y[5] = x[5]-mtop;
105 TGraph* gr01 = new TGraph(6,x,y);
106 gr01->SetLineColor(2);
107 gr01->SetLineWidth(2);
108 gr01->SetLineStyle(3);
109 gr01->Draw();
110
111 // -1 sigma
112 // x[0] = 910;
113 //x[1] = 925;
114 //x[2] = 930;
115 //x[3] = 930;
116 //x[4] = 920;
117 //x[5] = 905;
118 //y[5] = 680;
119 //x[6] = 900;
120 //y[6] = x[6]-mtop;
121 for (int i=0; i<6; i++) {
122 x[i] = x[i] + 72;
123 }
124 y[5] = x[5]-mtop;
125 TGraph* gr2 = new TGraph(6,x,y);
126 gr2->SetLineColor(2);
127 gr2->SetLineWidth(2);
128 gr2->SetLineStyle(3);
129 gr2->Draw();
130
131
132
133
134
135 Double_t *dum2 = 0;
136 TPolyLine *pline2 = new TPolyLine(16,dum2,dum2,"");
137 pline2->SetPoint(0, 420, 856);
138 pline2->SetPoint(1, 480, 856);
139 pline2->SetPoint(2, 480, 896);
140 pline2->SetPoint(3, 420, 896);
141 pline2->SetPoint(0, 420, 856);
142 pline2->SetFillColor(kCyan-10);
143 pline2->Draw("fl");
144 TLine * blah = new TLine(420,876,480,876);
145 blah->SetLineColor(4);
146 blah->SetLineWidth(2);
147 blah->Draw();
148
149 TLine * blah2 = new TLine(420,800,480,800);
150 blah2->SetLineColor(2);
151 blah2->SetLineStyle(2);
152 blah2->SetLineWidth(2);
153 blah2->Draw();
154
155 TLine * blah3 = new TLine(420,825,480,825);
156 blah3->SetLineColor(2);
157 blah3->SetLineStyle(3);
158 blah3->SetLineWidth(2);
159 blah3->Draw();
160
161 TLine * blah4 = new TLine(420,775,480,775);
162 blah4->SetLineColor(2);
163 blah4->SetLineStyle(3);
164 blah4->SetLineWidth(2);
165 blah4->Draw();
166
167
168
169
170 TLatex * tex = new TLatex(460,1036,"CMS Preliminary, #sqrt{s} = 8 TeV, L_{int} = 3.95 fb^{-1}");
171 tex->SetTextSize(0.055);
172 tex->SetLineWidth(2);
173 tex->Draw();
174
175 tex = new TLatex(420,928,"Same Sign dileptons with btag selection");
176 tex->SetTextSize(0.055);
177 tex->SetLineWidth(2);
178 tex->Draw();
179 tex = new TLatex(490,856,"Observed Limit #sigma^{prod} = #sigma^{NLO+NLL} #pm 1 #sigma");
180 tex->SetTextSize(0.055);
181 tex->SetLineWidth(2);
182 tex->Draw();
183
184 tex = new TLatex(490,784,"Expected Limit #pm 1 stat. #sigma");
185 tex->SetTextSize(0.055);
186 tex->SetLineWidth(2);
187 tex->Draw();
188
189
190
191 tex = new TLatex(420,712,"#color[1]{m(#tilde{#chi}_{1}^{0}) = 150 GeV}");
192 tex->SetTextSize(0.055);
193 tex->SetLineWidth(2);
194 tex->Draw();
195
196
197 TLine *line = new TLine(500,325,1000,325);
198 line->SetLineColor(1);
199 line->SetLineWidth(2);
200 line->Draw();
201 line = new TLine(500,325,1000,825);
202 line->SetLineColor(1);
203 line->SetLineWidth(2);
204 line->Draw();
205
206
207
208
209 c1->Modified();
210 c1->cd();
211 c1->SetSelected(c1);
212 }