{ //=========Macro generated from canvas: c1_n758/c1_n758 //========= (Sun Jun 3 15:05:38 2012) by ROOT version5.28/00c TCanvas *c1_n758 = new TCanvas("c1_n758", "c1_n758",0,0,700,500); gStyle->SetOptStat(0); c1_n758->Range(-33.125,-5794.845,-1.875,26398.74); c1_n758->SetFillColor(0); c1_n758->SetBorderMode(0); c1_n758->SetBorderSize(2); c1_n758->SetBottomMargin(0.18); c1_n758->SetFrameBorderMode(0); c1_n758->SetFrameBorderMode(0); TH1F *data_h_elecPz_p0__1867 = new TH1F("data_h_elecPz_p0__1867","",25,-30,-5); data_h_elecPz_p0__1867->SetBinContent(3,7058.038); data_h_elecPz_p0__1867->SetBinContent(4,19873.29); data_h_elecPz_p0__1867->SetBinContent(5,18172.37); data_h_elecPz_p0__1867->SetBinContent(6,12886.25); data_h_elecPz_p0__1867->SetBinContent(7,9593.699); data_h_elecPz_p0__1867->SetBinContent(8,7821.412); data_h_elecPz_p0__1867->SetBinContent(9,6514.44); data_h_elecPz_p0__1867->SetBinContent(10,5616.509); data_h_elecPz_p0__1867->SetBinContent(11,4612.843); data_h_elecPz_p0__1867->SetBinContent(12,3997.288); data_h_elecPz_p0__1867->SetBinContent(13,3441.015); data_h_elecPz_p0__1867->SetBinContent(14,3057.732); data_h_elecPz_p0__1867->SetBinContent(15,2713.276); data_h_elecPz_p0__1867->SetBinContent(16,2371.043); data_h_elecPz_p0__1867->SetBinContent(17,2057.87); data_h_elecPz_p0__1867->SetBinContent(18,1840.596); data_h_elecPz_p0__1867->SetBinContent(19,1651.534); data_h_elecPz_p0__1867->SetBinContent(20,1502.411); data_h_elecPz_p0__1867->SetBinContent(21,346.2258); data_h_elecPz_p0__1867->SetBinError(3,84.04893); data_h_elecPz_p0__1867->SetBinError(4,141.032); data_h_elecPz_p0__1867->SetBinError(5,134.8597); data_h_elecPz_p0__1867->SetBinError(6,113.564); data_h_elecPz_p0__1867->SetBinError(7,97.98777); data_h_elecPz_p0__1867->SetBinError(8,88.47592); data_h_elecPz_p0__1867->SetBinError(9,80.7466); data_h_elecPz_p0__1867->SetBinError(10,74.97418); data_h_elecPz_p0__1867->SetBinError(11,67.9468); data_h_elecPz_p0__1867->SetBinError(12,63.2506); data_h_elecPz_p0__1867->SetBinError(13,58.68628); data_h_elecPz_p0__1867->SetBinError(14,55.32181); data_h_elecPz_p0__1867->SetBinError(15,52.11125); data_h_elecPz_p0__1867->SetBinError(16,48.71456); data_h_elecPz_p0__1867->SetBinError(17,45.38454); data_h_elecPz_p0__1867->SetBinError(18,42.92091); data_h_elecPz_p0__1867->SetBinError(19,40.65807); data_h_elecPz_p0__1867->SetBinError(20,38.77927); data_h_elecPz_p0__1867->SetBinError(21,18.61326); data_h_elecPz_p0__1867->SetMaximum(23179.38); data_h_elecPz_p0__1867->SetEntries(115033); data_h_elecPz_p0__1867->SetDirectory(0); data_h_elecPz_p0__1867->SetMarkerStyle(20); data_h_elecPz_p0__1867->GetXaxis()->SetTitle("electron Pz [GeV]"); data_h_elecPz_p0__1867->GetXaxis()->SetTitleSize(0.07); data_h_elecPz_p0__1867->GetYaxis()->SetTitle("Entries"); data_h_elecPz_p0__1867->Draw("e"); TH1F *elpom_h_elecPz_p0_sys0 = new TH1F("elpom_h_elecPz_p0_sys0","",25,-30,-5); elpom_h_elecPz_p0_sys0->SetBinContent(3,8675.956); elpom_h_elecPz_p0_sys0->SetBinContent(4,21585.82); elpom_h_elecPz_p0_sys0->SetBinContent(5,17149.04); elpom_h_elecPz_p0_sys0->SetBinContent(6,12111.27); elpom_h_elecPz_p0_sys0->SetBinContent(7,9348.142); elpom_h_elecPz_p0_sys0->SetBinContent(8,7785.259); elpom_h_elecPz_p0_sys0->SetBinContent(9,6784.528); elpom_h_elecPz_p0_sys0->SetBinContent(10,5882.929); elpom_h_elecPz_p0_sys0->SetBinContent(11,4906.15); elpom_h_elecPz_p0_sys0->SetBinContent(12,4199.065); elpom_h_elecPz_p0_sys0->SetBinContent(13,3494.09); elpom_h_elecPz_p0_sys0->SetBinContent(14,3125.87); elpom_h_elecPz_p0_sys0->SetBinContent(15,2753.836); elpom_h_elecPz_p0_sys0->SetBinContent(16,2406.365); elpom_h_elecPz_p0_sys0->SetBinContent(17,2040.368); elpom_h_elecPz_p0_sys0->SetBinContent(18,1776.157); elpom_h_elecPz_p0_sys0->SetBinContent(19,1512.495); elpom_h_elecPz_p0_sys0->SetBinContent(20,1300.735); elpom_h_elecPz_p0_sys0->SetBinContent(21,303.2138); elpom_h_elecPz_p0_sys0->SetEntries(242119); Int_t ci; // for color index setting ci = TColor::GetColor("#0099ff"); elpom_h_elecPz_p0_sys0->SetFillColor(ci); elpom_h_elecPz_p0_sys0->SetFillStyle(0); elpom_h_elecPz_p0_sys0->SetLineWidth(2); elpom_h_elecPz_p0_sys0->GetXaxis()->SetTitleSize(0.07); elpom_h_elecPz_p0_sys0->Draw("hist same"); TH1F *elcha_h_elecPz_p0_sys0 = new TH1F("elcha_h_elecPz_p0_sys0","",25,-30,-5); elcha_h_elecPz_p0_sys0->SetBinContent(3,792.9053); elcha_h_elecPz_p0_sys0->SetBinContent(4,2415.352); elcha_h_elecPz_p0_sys0->SetBinContent(5,2873.637); elcha_h_elecPz_p0_sys0->SetBinContent(6,2700.223); elcha_h_elecPz_p0_sys0->SetBinContent(7,2439.052); elcha_h_elecPz_p0_sys0->SetBinContent(8,2135.28); elcha_h_elecPz_p0_sys0->SetBinContent(9,1971.806); elcha_h_elecPz_p0_sys0->SetBinContent(10,1812.497); elcha_h_elecPz_p0_sys0->SetBinContent(11,1572.434); elcha_h_elecPz_p0_sys0->SetBinContent(12,1337.614); elcha_h_elecPz_p0_sys0->SetBinContent(13,1195.302); elcha_h_elecPz_p0_sys0->SetBinContent(14,1064.4); elcha_h_elecPz_p0_sys0->SetBinContent(15,943.0826); elcha_h_elecPz_p0_sys0->SetBinContent(16,833.8884); elcha_h_elecPz_p0_sys0->SetBinContent(17,714.3185); elcha_h_elecPz_p0_sys0->SetBinContent(18,621.2181); elcha_h_elecPz_p0_sys0->SetBinContent(19,528.5535); elcha_h_elecPz_p0_sys0->SetBinContent(20,439.328); elcha_h_elecPz_p0_sys0->SetBinContent(21,100.423); elcha_h_elecPz_p0_sys0->SetEntries(85271); elcha_h_elecPz_p0_sys0->SetFillColor(1); elcha_h_elecPz_p0_sys0->SetFillStyle(3005); elcha_h_elecPz_p0_sys0->GetXaxis()->SetTitleSize(0.07); elcha_h_elecPz_p0_sys0->Draw("hist same"); TH1F *elreg_h_elecPz_p0_sys0 = new TH1F("elreg_h_elecPz_p0_sys0","",25,-30,-5); elreg_h_elecPz_p0_sys0->SetBinContent(3,572.6417); elreg_h_elecPz_p0_sys0->SetBinContent(4,1396.905); elreg_h_elecPz_p0_sys0->SetBinContent(5,1313.751); elreg_h_elecPz_p0_sys0->SetBinContent(6,968.3798); elreg_h_elecPz_p0_sys0->SetBinContent(7,813.3568); elreg_h_elecPz_p0_sys0->SetBinContent(8,652.3055); elreg_h_elecPz_p0_sys0->SetBinContent(9,570.2881); elreg_h_elecPz_p0_sys0->SetBinContent(10,499.5057); elreg_h_elecPz_p0_sys0->SetBinContent(11,414.7777); elreg_h_elecPz_p0_sys0->SetBinContent(12,330.5514); elreg_h_elecPz_p0_sys0->SetBinContent(13,299.3931); elreg_h_elecPz_p0_sys0->SetBinContent(14,255.0965); elreg_h_elecPz_p0_sys0->SetBinContent(15,222.327); elreg_h_elecPz_p0_sys0->SetBinContent(16,197.9941); elreg_h_elecPz_p0_sys0->SetBinContent(17,159.4345); elreg_h_elecPz_p0_sys0->SetBinContent(18,130.2186); elreg_h_elecPz_p0_sys0->SetBinContent(19,114.7225); elreg_h_elecPz_p0_sys0->SetBinContent(20,99.15247); elreg_h_elecPz_p0_sys0->SetBinContent(21,20.12803); elreg_h_elecPz_p0_sys0->SetEntries(45792); elreg_h_elecPz_p0_sys0->SetFillColor(27); elreg_h_elecPz_p0_sys0->GetXaxis()->SetLabelSize(0.07); elreg_h_elecPz_p0_sys0->Draw("hist same"); TH1F *elpom_h_elecPz_p0_sys0__1868 = new TH1F("elpom_h_elecPz_p0_sys0__1868","",25,-30,-5); elpom_h_elecPz_p0_sys0__1868->SetBinContent(3,8675.956); elpom_h_elecPz_p0_sys0__1868->SetBinContent(4,21585.82); elpom_h_elecPz_p0_sys0__1868->SetBinContent(5,17149.74); elpom_h_elecPz_p0_sys0__1868->SetBinContent(6,12110.57); elpom_h_elecPz_p0_sys0__1868->SetBinContent(7,9348.142); elpom_h_elecPz_p0_sys0__1868->SetBinContent(8,7785.259); elpom_h_elecPz_p0_sys0__1868->SetBinContent(9,6784.528); elpom_h_elecPz_p0_sys0__1868->SetBinContent(10,5882.929); elpom_h_elecPz_p0_sys0__1868->SetBinContent(11,4906.15); elpom_h_elecPz_p0_sys0__1868->SetBinContent(12,4199.065); elpom_h_elecPz_p0_sys0__1868->SetBinContent(13,3494.09); elpom_h_elecPz_p0_sys0__1868->SetBinContent(14,3125.87); elpom_h_elecPz_p0_sys0__1868->SetBinContent(15,2753.836); elpom_h_elecPz_p0_sys0__1868->SetBinContent(16,2406.365); elpom_h_elecPz_p0_sys0__1868->SetBinContent(17,2040.368); elpom_h_elecPz_p0_sys0__1868->SetBinContent(18,1776.157); elpom_h_elecPz_p0_sys0__1868->SetBinContent(19,1512.495); elpom_h_elecPz_p0_sys0__1868->SetBinContent(20,1300.735); elpom_h_elecPz_p0_sys0__1868->SetBinContent(21,303.2138); elpom_h_elecPz_p0_sys0__1868->SetEntries(242119); elpom_h_elecPz_p0_sys0__1868->SetDirectory(0); ci = TColor::GetColor("#0099ff"); elpom_h_elecPz_p0_sys0__1868->SetFillColor(ci); elpom_h_elecPz_p0_sys0__1868->SetFillStyle(0); ci = TColor::GetColor("#cc00ff"); elpom_h_elecPz_p0_sys0__1868->SetLineColor(ci); elpom_h_elecPz_p0_sys0__1868->SetLineWidth(2); elpom_h_elecPz_p0_sys0__1868->GetXaxis()->SetTitleSize(0.07); elpom_h_elecPz_p0_sys0__1868->Draw("hist same"); TH1F *elpom_h_elecPz_p0_sys0__1869 = new TH1F("elpom_h_elecPz_p0_sys0__1869","",25,-30,-5); elpom_h_elecPz_p0_sys0__1869->SetBinContent(3,8675.956); elpom_h_elecPz_p0_sys0__1869->SetBinContent(4,21585.82); elpom_h_elecPz_p0_sys0__1869->SetBinContent(5,17149.74); elpom_h_elecPz_p0_sys0__1869->SetBinContent(6,12110.57); elpom_h_elecPz_p0_sys0__1869->SetBinContent(7,9348.142); elpom_h_elecPz_p0_sys0__1869->SetBinContent(8,7785.259); elpom_h_elecPz_p0_sys0__1869->SetBinContent(9,6784.528); elpom_h_elecPz_p0_sys0__1869->SetBinContent(10,5882.929); elpom_h_elecPz_p0_sys0__1869->SetBinContent(11,4906.15); elpom_h_elecPz_p0_sys0__1869->SetBinContent(12,4199.065); elpom_h_elecPz_p0_sys0__1869->SetBinContent(13,3494.09); elpom_h_elecPz_p0_sys0__1869->SetBinContent(14,3125.87); elpom_h_elecPz_p0_sys0__1869->SetBinContent(15,2753.836); elpom_h_elecPz_p0_sys0__1869->SetBinContent(16,2406.365); elpom_h_elecPz_p0_sys0__1869->SetBinContent(17,2040.368); elpom_h_elecPz_p0_sys0__1869->SetBinContent(18,1776.157); elpom_h_elecPz_p0_sys0__1869->SetBinContent(19,1512.495); elpom_h_elecPz_p0_sys0__1869->SetBinContent(20,1300.735); elpom_h_elecPz_p0_sys0__1869->SetBinContent(21,303.2138); elpom_h_elecPz_p0_sys0__1869->SetEntries(242119); elpom_h_elecPz_p0_sys0__1869->SetDirectory(0); ci = TColor::GetColor("#0099ff"); elpom_h_elecPz_p0_sys0__1869->SetFillColor(ci); elpom_h_elecPz_p0_sys0__1869->SetFillStyle(0); ci = TColor::GetColor("#0000ff"); elpom_h_elecPz_p0_sys0__1869->SetLineColor(ci); elpom_h_elecPz_p0_sys0__1869->SetLineWidth(2); elpom_h_elecPz_p0_sys0__1869->GetXaxis()->SetTitleSize(0.07); elpom_h_elecPz_p0_sys0__1869->Draw("hist same"); TH1F *data_h_elecPz_p0__1870 = new TH1F("data_h_elecPz_p0__1870","",25,-30,-5); data_h_elecPz_p0__1870->SetBinContent(3,7058.038); data_h_elecPz_p0__1870->SetBinContent(4,19873.29); data_h_elecPz_p0__1870->SetBinContent(5,18172.37); data_h_elecPz_p0__1870->SetBinContent(6,12886.25); data_h_elecPz_p0__1870->SetBinContent(7,9593.699); data_h_elecPz_p0__1870->SetBinContent(8,7821.412); data_h_elecPz_p0__1870->SetBinContent(9,6514.44); data_h_elecPz_p0__1870->SetBinContent(10,5616.509); data_h_elecPz_p0__1870->SetBinContent(11,4612.843); data_h_elecPz_p0__1870->SetBinContent(12,3997.288); data_h_elecPz_p0__1870->SetBinContent(13,3441.015); data_h_elecPz_p0__1870->SetBinContent(14,3057.732); data_h_elecPz_p0__1870->SetBinContent(15,2713.276); data_h_elecPz_p0__1870->SetBinContent(16,2371.043); data_h_elecPz_p0__1870->SetBinContent(17,2057.87); data_h_elecPz_p0__1870->SetBinContent(18,1840.596); data_h_elecPz_p0__1870->SetBinContent(19,1651.534); data_h_elecPz_p0__1870->SetBinContent(20,1502.411); data_h_elecPz_p0__1870->SetBinContent(21,346.2258); data_h_elecPz_p0__1870->SetBinError(3,84.04893); data_h_elecPz_p0__1870->SetBinError(4,141.032); data_h_elecPz_p0__1870->SetBinError(5,134.8597); data_h_elecPz_p0__1870->SetBinError(6,113.564); data_h_elecPz_p0__1870->SetBinError(7,97.98777); data_h_elecPz_p0__1870->SetBinError(8,88.47592); data_h_elecPz_p0__1870->SetBinError(9,80.7466); data_h_elecPz_p0__1870->SetBinError(10,74.97418); data_h_elecPz_p0__1870->SetBinError(11,67.9468); data_h_elecPz_p0__1870->SetBinError(12,63.2506); data_h_elecPz_p0__1870->SetBinError(13,58.68628); data_h_elecPz_p0__1870->SetBinError(14,55.32181); data_h_elecPz_p0__1870->SetBinError(15,52.11125); data_h_elecPz_p0__1870->SetBinError(16,48.71456); data_h_elecPz_p0__1870->SetBinError(17,45.38454); data_h_elecPz_p0__1870->SetBinError(18,42.92091); data_h_elecPz_p0__1870->SetBinError(19,40.65807); data_h_elecPz_p0__1870->SetBinError(20,38.77927); data_h_elecPz_p0__1870->SetBinError(21,18.61326); data_h_elecPz_p0__1870->SetMaximum(23179.38); data_h_elecPz_p0__1870->SetEntries(115033); data_h_elecPz_p0__1870->SetDirectory(0); data_h_elecPz_p0__1870->SetMarkerStyle(20); data_h_elecPz_p0__1870->GetXaxis()->SetTitle("electron Pz [GeV]"); data_h_elecPz_p0__1870->GetXaxis()->SetTitleSize(0.07); data_h_elecPz_p0__1870->GetYaxis()->SetTitle("Entries"); data_h_elecPz_p0__1870->Draw("e same"); c1_n758->Modified(); c1_n758->cd(); c1_n758->SetSelected(c1_n758); }