ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/claudioc/ScansICHEP2012/code/GlStop50_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

# User Rev Content
1 claudioc 1.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     TH2F *empty = new TH2F("empty","T2 model",100,400,1000,100,100,1000);
24     empty->SetStats(0);
25     empty->GetXaxis()->SetTitle("m(#tilde{g}) GeV");
26     empty->GetXaxis()->SetTitleSize(0.060);
27     empty->GetXaxis()->SetLabelSize(0.060);
28     empty->GetYaxis()->SetTitle("m(#tilde{t}_{1}) GeV");
29     empty->GetYaxis()->SetTitleSize(0.060);
30     empty->GetYaxis()->SetLabelSize(0.060);
31     empty->GetYaxis()->SetTitleOffset(1.2);
32     empty->Draw("");
33    
34    
35     Double_t *dum = 0;
36     TPolyLine *pline = new TPolyLine(16,dum,dum,"");
37    
38     ci = TColor::GetColor("#ff0000");
39     pline->SetFillColor(kCyan-10);
40     // pline->SetFillStyle(3244);
41     //pline->SetFillStyle(3305);
42    
43     ci = TColor::GetColor("#ff0000");
44     float mtop=175.;
45     int kk=0;
46     pline->SetLineColor(kCyan-10);
47     pline->SetPoint(kk++,913,225);
48     pline->SetPoint(kk++,920,280);
49     pline->SetPoint(kk++,928,330);
50     pline->SetPoint(kk++,928,550);
51     pline->SetPoint(kk++,908,630);
52     pline->SetPoint(kk++,898,680);
53     pline->SetPoint(kk++,892,892-mtop);
54     pline->SetPoint(kk++,848,848-mtop);
55     pline->SetPoint(kk++,858,630);
56     pline->SetPoint(kk++,878,550);
57     pline->SetPoint(kk++,878,330);
58     pline->SetPoint(kk++,870,280);
59     pline->SetPoint(kk++,862,225);
60     pline->SetPoint(kk++,913,225);
61     pline->Draw("fl");
62     pline->Draw();
63     Double_t *dum = 0;
64     pline = new TPolyLine(16,dum,dum,"");
65    
66     // The central line
67     Double_t x[9],y[9];
68     x[0] = (913+862)/2;
69     x[1] = (870+920)/2;
70     x[2] = (878+928)/2;
71     x[3] = (878+928)/2;
72     x[4] = (858+908)/2;
73     x[5] = (848+892)/2;
74     y[0] = 225;
75     y[1] = 280;
76     y[2] = 330;
77     y[3] = 550;
78     y[4] = 630;
79     y[5] = x[5]-mtop;
80     TGraph* gr0 = new TGraph(6,x,y);
81     gr0->SetLineColor(4);
82     gr0->SetLineWidth(2);
83     gr0->Draw();
84    
85     // The expected line is about 7 GeV better than the observed
86     for (int i=0; i<6; i++) {
87     x[i] = x[i] + 7.;
88     }
89     y[5] = x[5]-mtop;
90     TGraph* gr1 = new TGraph(6,x,y);
91     gr1->SetLineColor(2);
92     gr1->SetLineWidth(2);
93     gr1->SetLineStyle(2);
94     gr1->Draw();
95    
96     // + 1 sigma is about 45 GeV off the expected
97     for (int i=0; i<6; i++) {
98     x[i] = x[i] - 45.;
99     }
100     y[5] = x[5]-mtop;
101     TGraph* gr2 = new TGraph(6,x,y);
102     gr2->SetLineColor(2);
103     gr2->SetLineWidth(2);
104     gr2->SetLineStyle(3);
105     gr2->Draw();
106    
107     // - 1 sigma is 65 GeV higher
108     for (int i=0; i<6; i++) {
109     x[i] = x[i] + 72.;
110     }
111     y[5] = x[5]-mtop;
112     TGraph* gr3 = new TGraph(6,x,y);
113     gr3->SetLineColor(2);
114     gr3->SetLineWidth(2);
115     gr3->SetLineStyle(3);
116     gr3->Draw();
117    
118    
119     Double_t *dum2 = 0;
120     TPolyLine *pline2 = new TPolyLine(16,dum2,dum2,"");
121     pline2->SetPoint(0, 420, 856);
122     pline2->SetPoint(1, 480, 856);
123     pline2->SetPoint(2, 480, 896);
124     pline2->SetPoint(3, 420, 896);
125     pline2->SetPoint(0, 420, 856);
126     pline2->SetFillColor(kCyan-10);
127     pline2->Draw("fl");
128     TLine * blah = new TLine(420,876,480,876);
129     blah->SetLineColor(4);
130     blah->SetLineWidth(2);
131     blah->Draw();
132    
133     TLine * blah2 = new TLine(420,800,480,800);
134     blah2->SetLineColor(2);
135     blah2->SetLineStyle(2);
136     blah2->SetLineWidth(2);
137     blah2->Draw();
138    
139     TLine * blah3 = new TLine(420,825,480,825);
140     blah3->SetLineColor(2);
141     blah3->SetLineStyle(3);
142     blah3->SetLineWidth(2);
143     blah3->Draw();
144    
145     TLine * blah4 = new TLine(420,775,480,775);
146     blah4->SetLineColor(2);
147     blah4->SetLineStyle(3);
148     blah4->SetLineWidth(2);
149     blah4->Draw();
150    
151    
152    
153    
154     TLatex * tex = new TLatex(460,1036,"CMS Preliminary, #sqrt{s} = 8 TeV, L_{int} = 3.95 fb^{-1}");
155     tex->SetTextSize(0.055);
156     tex->SetLineWidth(2);
157     tex->Draw();
158    
159     tex = new TLatex(420,928,"Same Sign dileptons with btag selection");
160     tex->SetTextSize(0.055);
161     tex->SetLineWidth(2);
162     tex->Draw();
163     tex = new TLatex(490,856,"Observed Limit #sigma^{prod} = #sigma^{NLO+NLL} #pm 1 #sigma");
164     tex->SetTextSize(0.055);
165     tex->SetLineWidth(2);
166     tex->Draw();
167    
168     tex = new TLatex(490,784,"Expected Limit #pm 1 stat. #sigma");
169     tex->SetTextSize(0.055);
170     tex->SetLineWidth(2);
171     tex->Draw();
172    
173     tex = new TLatex(420,712,"#color[1]{m(#tilde{#chi}_{1}^{0}) = 50 GeV}");
174     tex->SetTextSize(0.055);
175     tex->SetLineWidth(2);
176     tex->Draw();
177    
178    
179     line = new TLine(400,225,1000,225);
180     line->SetLineStyle(1);
181     line->SetLineWidth(2);
182     ci = TColor::GetColor("#ff0000");
183     line->SetLineColor(1);
184     line->Draw();
185     line = new TLine(400,225,1000,825);
186     line->SetLineStyle(1);
187     ci = TColor::GetColor("#ff0000");
188     line->SetLineWidth(2);
189     line->SetLineColor(1);
190     line->Draw();
191    
192    
193    
194     c1->Modified();
195     c1->cd();
196     c1->SetSelected(c1);
197     }