1 | {
|
---|
2 | //=========Macro generated from canvas: ct2/Tau information
|
---|
3 | //========= (Wed Dec 31 00:26:45 2008) by ROOT version5.20/00
|
---|
4 | TCanvas *ct2 = new TCanvas("ct2", "Tau information",103,123,600,450);
|
---|
5 | gStyle->SetOptFit(1);
|
---|
6 | gStyle->SetOptStat(0);
|
---|
7 | ct2->Range(-0.9512195,-0.1199994,6.365854,0.8030729);
|
---|
8 | ct2->SetFillColor(0);
|
---|
9 | ct2->SetBorderMode(0);
|
---|
10 | ct2->SetBorderSize(2);
|
---|
11 | ct2->SetTickx(1);
|
---|
12 | ct2->SetTicky(1);
|
---|
13 | ct2->SetLeftMargin(0.13);
|
---|
14 | ct2->SetRightMargin(0.05);
|
---|
15 | ct2->SetTopMargin(0.05);
|
---|
16 | ct2->SetBottomMargin(0.13);
|
---|
17 | ct2->SetFrameFillStyle(0);
|
---|
18 | ct2->SetFrameBorderMode(0);
|
---|
19 | ct2->SetFrameFillStyle(0);
|
---|
20 | ct2->SetFrameBorderMode(0);
|
---|
21 |
|
---|
22 | TH1 *NumTrack = new TH1F("NumTrack","",6,0,6);
|
---|
23 | NumTrack->SetBinContent(1,0.03732124);
|
---|
24 | NumTrack->SetBinContent(2,0.7208755);
|
---|
25 | NumTrack->SetBinContent(3,0.05336589);
|
---|
26 | NumTrack->SetBinContent(4,0.1825078);
|
---|
27 | NumTrack->SetBinContent(5,0.004011162);
|
---|
28 | NumTrack->SetBinContent(6,0.001918382);
|
---|
29 | NumTrack->SetBinContent(7,0.0004359958);
|
---|
30 | NumTrack->SetEntries(11473);
|
---|
31 | NumTrack->SetLineWidth(2);
|
---|
32 | NumTrack->SetMarkerStyle(20);
|
---|
33 | NumTrack->GetXaxis()->SetTitle("N^{tracks}");
|
---|
34 | NumTrack->GetXaxis()->SetLabelFont(42);
|
---|
35 | NumTrack->GetXaxis()->SetLabelOffset(0.007);
|
---|
36 | NumTrack->GetXaxis()->SetTitleSize(0.05);
|
---|
37 | NumTrack->GetXaxis()->SetTitleOffset(0.9);
|
---|
38 | NumTrack->GetXaxis()->SetTitleFont(42);
|
---|
39 | NumTrack->GetYaxis()->SetTitle("Fraction of events");
|
---|
40 | NumTrack->GetYaxis()->SetLabelFont(42);
|
---|
41 | NumTrack->GetYaxis()->SetLabelOffset(0.007);
|
---|
42 | NumTrack->GetYaxis()->SetTitleSize(0.05);
|
---|
43 | NumTrack->GetYaxis()->SetTitleOffset(1.05);
|
---|
44 | NumTrack->GetYaxis()->SetTitleFont(42);
|
---|
45 | NumTrack->GetZaxis()->SetLabelFont(42);
|
---|
46 | NumTrack->GetZaxis()->SetLabelOffset(0.007);
|
---|
47 | NumTrack->GetZaxis()->SetTitleSize(0.05);
|
---|
48 | NumTrack->GetZaxis()->SetTitleFont(42);
|
---|
49 | NumTrack->Draw("");
|
---|
50 |
|
---|
51 | TPaveText *pt = new TPaveText(0.6,0.85,0.85,0.9,"brNDC");
|
---|
52 | pt->SetBorderSize(0);
|
---|
53 | pt->SetFillColor(10);
|
---|
54 | pt->SetTextFont(42);
|
---|
55 | pt->SetTextSize(0.03791469);
|
---|
56 | TText *text = pt->AddText("MG/ME + Delphes");
|
---|
57 | pt->Draw();
|
---|
58 |
|
---|
59 | pt = new TPaveText(0.6,0.75,0.85,0.8,"brNDC");
|
---|
60 | pt->SetBorderSize(0);
|
---|
61 | pt->SetFillColor(10);
|
---|
62 | pt->SetTextFont(42);
|
---|
63 | pt->SetTextSize(0.03791469);
|
---|
64 | text = pt->AddText("#DeltaR < 0.4, p_{T}^{track} > 2 GeV");
|
---|
65 | pt->Draw();
|
---|
66 |
|
---|
67 | pt = new TPaveText(0.5503356,0.6516588,0.8003356,0.7014218,"brNDC");
|
---|
68 | pt->SetBorderSize(0);
|
---|
69 | pt->SetFillColor(10);
|
---|
70 | pt->SetTextFont(42);
|
---|
71 | pt->SetTextSize(0.03791469);
|
---|
72 | text = pt->AddText("Events: WHq'#rightarrow WWWq'#rightarrow lllq', m_{H}=150 GeV ");
|
---|
73 | pt->Draw();
|
---|
74 | ct2->Modified();
|
---|
75 | ct2->cd();
|
---|
76 | ct2->SetSelected(ct2);
|
---|
77 | }
|
---|