Fork me on GitHub

source: svn/trunk/paper/sourceCode/Tau2.C@ 766

Last change on this file since 766 was 151, checked in by severine ovyn, 16 years ago

tau cource

File size: 3.3 KB
Line 
1{
2//=========Macro generated from canvas: ct1/Tau information
3//========= (Wed Dec 31 00:27:00 2008) by ROOT version5.20/00
4 TCanvas *ct1 = new TCanvas("ct1", "Tau information",103,123,600,450);
5 gStyle->SetOptFit(1);
6 gStyle->SetOptStat(0);
7 ct1->Range(0.7682927,-0.0580563,1.012195,0.3885306);
8 ct1->SetFillColor(0);
9 ct1->SetBorderMode(0);
10 ct1->SetBorderSize(2);
11 ct1->SetTickx(1);
12 ct1->SetTicky(1);
13 ct1->SetLeftMargin(0.13);
14 ct1->SetRightMargin(0.05);
15 ct1->SetTopMargin(0.05);
16 ct1->SetBottomMargin(0.13);
17 ct1->SetFrameFillStyle(0);
18 ct1->SetFrameBorderMode(0);
19 ct1->SetFrameFillStyle(0);
20 ct1->SetFrameBorderMode(0);
21
22 TH1 *tauEnergy = new TH1F("tauEnergy","",20,0.8,1);
23 tauEnergy->SetBinContent(0,0.0832084);
24 tauEnergy->SetBinContent(1,0.009182909);
25 tauEnergy->SetBinContent(2,0.007683658);
26 tauEnergy->SetBinContent(3,0.009370315);
27 tauEnergy->SetBinContent(4,0.009182909);
28 tauEnergy->SetBinContent(5,0.01030735);
29 tauEnergy->SetBinContent(6,0.01349325);
30 tauEnergy->SetBinContent(7,0.01836582);
31 tauEnergy->SetBinContent(8,0.01742879);
32 tauEnergy->SetBinContent(9,0.02098951);
33 tauEnergy->SetBinContent(10,0.02455023);
34 tauEnergy->SetBinContent(11,0.02867316);
35 tauEnergy->SetBinContent(12,0.0266117);
36 tauEnergy->SetBinContent(13,0.03167167);
37 tauEnergy->SetBinContent(14,0.03823088);
38 tauEnergy->SetBinContent(15,0.03523238);
39 tauEnergy->SetBinContent(16,0.0476012);
40 tauEnergy->SetBinContent(17,0.06821589);
41 tauEnergy->SetBinContent(18,0.08770615);
42 tauEnergy->SetBinContent(19,0.1467391);
43 tauEnergy->SetBinContent(20,0.3487631);
44 tauEnergy->SetBinContent(21,1.066904);
45 tauEnergy->SetEntries(11473);
46 tauEnergy->SetLineWidth(2);
47 tauEnergy->SetMarkerStyle(20);
48 tauEnergy->GetXaxis()->SetTitle("C_{#tau}");
49 tauEnergy->GetXaxis()->SetLabelFont(42);
50 tauEnergy->GetXaxis()->SetLabelOffset(0.007);
51 tauEnergy->GetXaxis()->SetTitleSize(0.05);
52 tauEnergy->GetXaxis()->SetTitleOffset(0.9);
53 tauEnergy->GetXaxis()->SetTitleFont(42);
54 tauEnergy->GetYaxis()->SetTitle("Fraction of events");
55 tauEnergy->GetYaxis()->SetLabelFont(42);
56 tauEnergy->GetYaxis()->SetLabelOffset(0.007);
57 tauEnergy->GetYaxis()->SetTitleSize(0.05);
58 tauEnergy->GetYaxis()->SetTitleOffset(1.05);
59 tauEnergy->GetYaxis()->SetTitleFont(42);
60 tauEnergy->GetZaxis()->SetLabelFont(42);
61 tauEnergy->GetZaxis()->SetLabelOffset(0.007);
62 tauEnergy->GetZaxis()->SetTitleSize(0.05);
63 tauEnergy->GetZaxis()->SetTitleFont(42);
64 tauEnergy->Draw("");
65
66 TPaveText *pt = new TPaveText(0.3,0.85,0.45,0.9,"brNDC");
67 pt->SetBorderSize(0);
68 pt->SetFillColor(10);
69 pt->SetTextFont(42);
70 pt->SetTextSize(0.03791469);
71 TText *text = pt->AddText("MG/ME + Delphes");
72 pt->Draw();
73
74 pt = new TPaveText(0.3,0.75,0.45,0.8,"brNDC");
75 pt->SetBorderSize(0);
76 pt->SetFillColor(10);
77 pt->SetTextFont(42);
78 pt->SetTextSize(0.03791469);
79 text = pt->AddText("C_{#tau} = #frac{#sum E^{towers} (#DeltaR = 0.15)}{E^{jet}}");
80 pt->Draw();
81
82 pt = new TPaveText(0.4194631,0.6421801,0.5704698,0.6919431,"brNDC");
83 pt->SetBorderSize(0);
84 pt->SetFillColor(10);
85 pt->SetTextFont(42);
86 pt->SetTextSize(0.03791469);
87 text = pt->AddText("Events: WHq'#rightarrow WWWq'#rightarrow lllq', m_{H}=150 GeV ");
88 pt->Draw();
89 ct1->Modified();
90 ct1->cd();
91 ct1->SetSelected(ct1);
92}
Note: See TracBrowser for help on using the repository browser.