{ //=========Macro generated from canvas: c1_n618/c1_n618 //========= (Sun Jun 3 15:05:18 2012) by ROOT version5.28/00c TCanvas *c1_n618 = new TCanvas("c1_n618", "c1_n618",0,0,700,500); gStyle->SetOptStat(0); c1_n618->Range(-0.2625,-5028.757,2.3625,22908.78); c1_n618->SetFillColor(0); c1_n618->SetBorderMode(0); c1_n618->SetBorderSize(2); c1_n618->SetBottomMargin(0.18); c1_n618->SetFrameBorderMode(0); c1_n618->SetFrameBorderMode(0); TH1F *data_h_logq2_avg_p0__1511 = new TH1F("data_h_logq2_avg_p0__1511","",21,0,2.1); data_h_logq2_avg_p0__1511->SetBinContent(7,3882.358); data_h_logq2_avg_p0__1511->SetBinContent(8,12500.69); data_h_logq2_avg_p0__1511->SetBinContent(9,16898.52); data_h_logq2_avg_p0__1511->SetBinContent(10,18183.95); data_h_logq2_avg_p0__1511->SetBinContent(11,15219.68); data_h_logq2_avg_p0__1511->SetBinContent(12,12260); data_h_logq2_avg_p0__1511->SetBinContent(13,10156.42); data_h_logq2_avg_p0__1511->SetBinContent(14,7891.696); data_h_logq2_avg_p0__1511->SetBinContent(15,6002.368); data_h_logq2_avg_p0__1511->SetBinContent(16,4381.308); data_h_logq2_avg_p0__1511->SetBinContent(17,3082.611); data_h_logq2_avg_p0__1511->SetBinContent(18,2296.114); data_h_logq2_avg_p0__1511->SetBinContent(19,1418.248); data_h_logq2_avg_p0__1511->SetBinContent(20,953.8173); data_h_logq2_avg_p0__1511->SetBinError(7,62.33601); data_h_logq2_avg_p0__1511->SetBinError(8,111.8555); data_h_logq2_avg_p0__1511->SetBinError(9,130.0477); data_h_logq2_avg_p0__1511->SetBinError(10,134.9048); data_h_logq2_avg_p0__1511->SetBinError(11,123.4208); data_h_logq2_avg_p0__1511->SetBinError(12,110.7712); data_h_logq2_avg_p0__1511->SetBinError(13,100.8219); data_h_logq2_avg_p0__1511->SetBinError(14,88.87384); data_h_logq2_avg_p0__1511->SetBinError(15,77.50388); data_h_logq2_avg_p0__1511->SetBinError(16,66.21697); data_h_logq2_avg_p0__1511->SetBinError(17,55.54511); data_h_logq2_avg_p0__1511->SetBinError(18,47.94006); data_h_logq2_avg_p0__1511->SetBinError(19,37.67633); data_h_logq2_avg_p0__1511->SetBinError(20,30.89731); data_h_logq2_avg_p0__1511->SetMaximum(20115.03); data_h_logq2_avg_p0__1511->SetEntries(115033); data_h_logq2_avg_p0__1511->SetDirectory(0); data_h_logq2_avg_p0__1511->SetMarkerStyle(20); data_h_logq2_avg_p0__1511->GetXaxis()->SetTitle("log Q^{2}_{avg}"); data_h_logq2_avg_p0__1511->GetXaxis()->SetTitleSize(0.07); data_h_logq2_avg_p0__1511->GetYaxis()->SetTitle("Entries"); data_h_logq2_avg_p0__1511->Draw("e"); TH1F *elpom_h_logq2_avg_p0_sys0 = new TH1F("elpom_h_logq2_avg_p0_sys0","",21,0,2.1); elpom_h_logq2_avg_p0_sys0->SetBinContent(7,3309.706); elpom_h_logq2_avg_p0_sys0->SetBinContent(8,11589.35); elpom_h_logq2_avg_p0_sys0->SetBinContent(9,16636.04); elpom_h_logq2_avg_p0_sys0->SetBinContent(10,18574.08); elpom_h_logq2_avg_p0_sys0->SetBinContent(11,16316.78); elpom_h_logq2_avg_p0_sys0->SetBinContent(12,12964.72); elpom_h_logq2_avg_p0_sys0->SetBinContent(13,10578.57); elpom_h_logq2_avg_p0_sys0->SetBinContent(14,7934.245); elpom_h_logq2_avg_p0_sys0->SetBinContent(15,6230.619); elpom_h_logq2_avg_p0_sys0->SetBinContent(16,4543.164); elpom_h_logq2_avg_p0_sys0->SetBinContent(17,3375.21); elpom_h_logq2_avg_p0_sys0->SetBinContent(18,2408.274); elpom_h_logq2_avg_p0_sys0->SetBinContent(19,1645.692); elpom_h_logq2_avg_p0_sys0->SetBinContent(20,1034.821); elpom_h_logq2_avg_p0_sys0->SetEntries(242119); Int_t ci; // for color index setting ci = TColor::GetColor("#0099ff"); elpom_h_logq2_avg_p0_sys0->SetFillColor(ci); elpom_h_logq2_avg_p0_sys0->SetFillStyle(0); elpom_h_logq2_avg_p0_sys0->SetLineWidth(2); elpom_h_logq2_avg_p0_sys0->GetXaxis()->SetTitleSize(0.07); elpom_h_logq2_avg_p0_sys0->Draw("hist same"); TH1F *elcha_h_logq2_avg_p0_sys0 = new TH1F("elcha_h_logq2_avg_p0_sys0","",21,0,2.1); elcha_h_logq2_avg_p0_sys0->SetBinContent(7,1226.464); elcha_h_logq2_avg_p0_sys0->SetBinContent(8,3648.283); elcha_h_logq2_avg_p0_sys0->SetBinContent(9,4354.004); elcha_h_logq2_avg_p0_sys0->SetBinContent(10,4241.778); elcha_h_logq2_avg_p0_sys0->SetBinContent(11,3426.285); elcha_h_logq2_avg_p0_sys0->SetBinContent(12,2617.825); elcha_h_logq2_avg_p0_sys0->SetBinContent(13,2034.858); elcha_h_logq2_avg_p0_sys0->SetBinContent(14,1530.292); elcha_h_logq2_avg_p0_sys0->SetBinContent(15,1152.428); elcha_h_logq2_avg_p0_sys0->SetBinContent(16,828.1378); elcha_h_logq2_avg_p0_sys0->SetBinContent(17,600.5638); elcha_h_logq2_avg_p0_sys0->SetBinContent(18,421.9999); elcha_h_logq2_avg_p0_sys0->SetBinContent(19,265.4668); elcha_h_logq2_avg_p0_sys0->SetBinContent(20,142.9287); elcha_h_logq2_avg_p0_sys0->SetEntries(85271); elcha_h_logq2_avg_p0_sys0->SetFillColor(1); elcha_h_logq2_avg_p0_sys0->SetFillStyle(3005); elcha_h_logq2_avg_p0_sys0->GetXaxis()->SetTitleSize(0.07); elcha_h_logq2_avg_p0_sys0->Draw("hist same"); TH1F *elreg_h_logq2_avg_p0_sys0 = new TH1F("elreg_h_logq2_avg_p0_sys0","",21,0,2.1); elreg_h_logq2_avg_p0_sys0->SetBinContent(7,407.479); elreg_h_logq2_avg_p0_sys0->SetBinContent(8,1257.76); elreg_h_logq2_avg_p0_sys0->SetBinContent(9,1587.138); elreg_h_logq2_avg_p0_sys0->SetBinContent(10,1537.64); elreg_h_logq2_avg_p0_sys0->SetBinContent(11,1179.467); elreg_h_logq2_avg_p0_sys0->SetBinContent(12,911.5576); elreg_h_logq2_avg_p0_sys0->SetBinContent(13,678.559); elreg_h_logq2_avg_p0_sys0->SetBinContent(14,484.4564); elreg_h_logq2_avg_p0_sys0->SetBinContent(15,351.3753); elreg_h_logq2_avg_p0_sys0->SetBinContent(16,235.675); elreg_h_logq2_avg_p0_sys0->SetBinContent(17,167.7592); elreg_h_logq2_avg_p0_sys0->SetBinContent(18,117.9333); elreg_h_logq2_avg_p0_sys0->SetBinContent(19,73.96658); elreg_h_logq2_avg_p0_sys0->SetBinContent(20,40.16442); elreg_h_logq2_avg_p0_sys0->SetEntries(45792); elreg_h_logq2_avg_p0_sys0->SetFillColor(27); elreg_h_logq2_avg_p0_sys0->GetXaxis()->SetLabelSize(0.07); elreg_h_logq2_avg_p0_sys0->Draw("hist same"); TH1F *elpom_h_logq2_avg_p0_sys0__1512 = new TH1F("elpom_h_logq2_avg_p0_sys0__1512","",21,0,2.1); elpom_h_logq2_avg_p0_sys0__1512->SetBinContent(7,3309.706); elpom_h_logq2_avg_p0_sys0__1512->SetBinContent(8,11589.35); elpom_h_logq2_avg_p0_sys0__1512->SetBinContent(9,16636.04); elpom_h_logq2_avg_p0_sys0__1512->SetBinContent(10,18574.08); elpom_h_logq2_avg_p0_sys0__1512->SetBinContent(11,16316.78); elpom_h_logq2_avg_p0_sys0__1512->SetBinContent(12,12964.72); elpom_h_logq2_avg_p0_sys0__1512->SetBinContent(13,10578.57); elpom_h_logq2_avg_p0_sys0__1512->SetBinContent(14,7934.245); elpom_h_logq2_avg_p0_sys0__1512->SetBinContent(15,6230.619); elpom_h_logq2_avg_p0_sys0__1512->SetBinContent(16,4543.164); elpom_h_logq2_avg_p0_sys0__1512->SetBinContent(17,3375.21); elpom_h_logq2_avg_p0_sys0__1512->SetBinContent(18,2408.274); elpom_h_logq2_avg_p0_sys0__1512->SetBinContent(19,1645.692); elpom_h_logq2_avg_p0_sys0__1512->SetBinContent(20,1034.821); elpom_h_logq2_avg_p0_sys0__1512->SetEntries(242119); elpom_h_logq2_avg_p0_sys0__1512->SetDirectory(0); ci = TColor::GetColor("#0099ff"); elpom_h_logq2_avg_p0_sys0__1512->SetFillColor(ci); elpom_h_logq2_avg_p0_sys0__1512->SetFillStyle(0); ci = TColor::GetColor("#cc00ff"); elpom_h_logq2_avg_p0_sys0__1512->SetLineColor(ci); elpom_h_logq2_avg_p0_sys0__1512->SetLineWidth(2); elpom_h_logq2_avg_p0_sys0__1512->GetXaxis()->SetTitleSize(0.07); elpom_h_logq2_avg_p0_sys0__1512->Draw("hist same"); TH1F *elpom_h_logq2_avg_p0_sys0__1513 = new TH1F("elpom_h_logq2_avg_p0_sys0__1513","",21,0,2.1); elpom_h_logq2_avg_p0_sys0__1513->SetBinContent(7,3309.706); elpom_h_logq2_avg_p0_sys0__1513->SetBinContent(8,11589.35); elpom_h_logq2_avg_p0_sys0__1513->SetBinContent(9,16636.04); elpom_h_logq2_avg_p0_sys0__1513->SetBinContent(10,18574.08); elpom_h_logq2_avg_p0_sys0__1513->SetBinContent(11,16316.78); elpom_h_logq2_avg_p0_sys0__1513->SetBinContent(12,12964.72); elpom_h_logq2_avg_p0_sys0__1513->SetBinContent(13,10578.57); elpom_h_logq2_avg_p0_sys0__1513->SetBinContent(14,7934.245); elpom_h_logq2_avg_p0_sys0__1513->SetBinContent(15,6230.619); elpom_h_logq2_avg_p0_sys0__1513->SetBinContent(16,4543.164); elpom_h_logq2_avg_p0_sys0__1513->SetBinContent(17,3375.21); elpom_h_logq2_avg_p0_sys0__1513->SetBinContent(18,2408.274); elpom_h_logq2_avg_p0_sys0__1513->SetBinContent(19,1645.692); elpom_h_logq2_avg_p0_sys0__1513->SetBinContent(20,1034.821); elpom_h_logq2_avg_p0_sys0__1513->SetEntries(242119); elpom_h_logq2_avg_p0_sys0__1513->SetDirectory(0); ci = TColor::GetColor("#0099ff"); elpom_h_logq2_avg_p0_sys0__1513->SetFillColor(ci); elpom_h_logq2_avg_p0_sys0__1513->SetFillStyle(0); ci = TColor::GetColor("#0000ff"); elpom_h_logq2_avg_p0_sys0__1513->SetLineColor(ci); elpom_h_logq2_avg_p0_sys0__1513->SetLineWidth(2); elpom_h_logq2_avg_p0_sys0__1513->GetXaxis()->SetTitleSize(0.07); elpom_h_logq2_avg_p0_sys0__1513->Draw("hist same"); TH1F *data_h_logq2_avg_p0__1514 = new TH1F("data_h_logq2_avg_p0__1514","",21,0,2.1); data_h_logq2_avg_p0__1514->SetBinContent(7,3882.358); data_h_logq2_avg_p0__1514->SetBinContent(8,12500.69); data_h_logq2_avg_p0__1514->SetBinContent(9,16898.52); data_h_logq2_avg_p0__1514->SetBinContent(10,18183.95); data_h_logq2_avg_p0__1514->SetBinContent(11,15219.68); data_h_logq2_avg_p0__1514->SetBinContent(12,12260); data_h_logq2_avg_p0__1514->SetBinContent(13,10156.42); data_h_logq2_avg_p0__1514->SetBinContent(14,7891.696); data_h_logq2_avg_p0__1514->SetBinContent(15,6002.368); data_h_logq2_avg_p0__1514->SetBinContent(16,4381.308); data_h_logq2_avg_p0__1514->SetBinContent(17,3082.611); data_h_logq2_avg_p0__1514->SetBinContent(18,2296.114); data_h_logq2_avg_p0__1514->SetBinContent(19,1418.248); data_h_logq2_avg_p0__1514->SetBinContent(20,953.8173); data_h_logq2_avg_p0__1514->SetBinError(7,62.33601); data_h_logq2_avg_p0__1514->SetBinError(8,111.8555); data_h_logq2_avg_p0__1514->SetBinError(9,130.0477); data_h_logq2_avg_p0__1514->SetBinError(10,134.9048); data_h_logq2_avg_p0__1514->SetBinError(11,123.4208); data_h_logq2_avg_p0__1514->SetBinError(12,110.7712); data_h_logq2_avg_p0__1514->SetBinError(13,100.8219); data_h_logq2_avg_p0__1514->SetBinError(14,88.87384); data_h_logq2_avg_p0__1514->SetBinError(15,77.50388); data_h_logq2_avg_p0__1514->SetBinError(16,66.21697); data_h_logq2_avg_p0__1514->SetBinError(17,55.54511); data_h_logq2_avg_p0__1514->SetBinError(18,47.94006); data_h_logq2_avg_p0__1514->SetBinError(19,37.67633); data_h_logq2_avg_p0__1514->SetBinError(20,30.89731); data_h_logq2_avg_p0__1514->SetMaximum(20115.03); data_h_logq2_avg_p0__1514->SetEntries(115033); data_h_logq2_avg_p0__1514->SetDirectory(0); data_h_logq2_avg_p0__1514->SetMarkerStyle(20); data_h_logq2_avg_p0__1514->GetXaxis()->SetTitle("log Q^{2}_{avg}"); data_h_logq2_avg_p0__1514->GetXaxis()->SetTitleSize(0.07); data_h_logq2_avg_p0__1514->GetYaxis()->SetTitle("Entries"); data_h_logq2_avg_p0__1514->Draw("e same"); c1_n618->Modified(); c1_n618->cd(); c1_n618->SetSelected(c1_n618); }