{ //=========Macro generated from canvas: c1_n759/c1_n759 //========= (Sun Jun 3 15:05:39 2012) by ROOT version5.28/00c TCanvas *c1_n759 = new TCanvas("c1_n759", "c1_n759",0,0,700,500); gStyle->SetOptStat(0); c1_n759->Range(-33.125,-5794.845,-1.875,26398.74); c1_n759->SetFillColor(0); c1_n759->SetBorderMode(0); c1_n759->SetBorderSize(2); c1_n759->SetBottomMargin(0.18); c1_n759->SetFrameBorderMode(0); c1_n759->SetFrameBorderMode(0); TH1F *data_h_elecPz_p0__1871 = new TH1F("data_h_elecPz_p0__1871","",25,-30,-5); data_h_elecPz_p0__1871->SetBinContent(3,7058.038); data_h_elecPz_p0__1871->SetBinContent(4,19873.29); data_h_elecPz_p0__1871->SetBinContent(5,18172.37); data_h_elecPz_p0__1871->SetBinContent(6,12886.25); data_h_elecPz_p0__1871->SetBinContent(7,9593.699); data_h_elecPz_p0__1871->SetBinContent(8,7821.412); data_h_elecPz_p0__1871->SetBinContent(9,6514.44); data_h_elecPz_p0__1871->SetBinContent(10,5616.509); data_h_elecPz_p0__1871->SetBinContent(11,4612.843); data_h_elecPz_p0__1871->SetBinContent(12,3997.288); data_h_elecPz_p0__1871->SetBinContent(13,3441.015); data_h_elecPz_p0__1871->SetBinContent(14,3057.732); data_h_elecPz_p0__1871->SetBinContent(15,2713.276); data_h_elecPz_p0__1871->SetBinContent(16,2371.043); data_h_elecPz_p0__1871->SetBinContent(17,2057.87); data_h_elecPz_p0__1871->SetBinContent(18,1840.596); data_h_elecPz_p0__1871->SetBinContent(19,1651.534); data_h_elecPz_p0__1871->SetBinContent(20,1502.411); data_h_elecPz_p0__1871->SetBinContent(21,346.2258); data_h_elecPz_p0__1871->SetBinError(3,84.04893); data_h_elecPz_p0__1871->SetBinError(4,141.032); data_h_elecPz_p0__1871->SetBinError(5,134.8597); data_h_elecPz_p0__1871->SetBinError(6,113.564); data_h_elecPz_p0__1871->SetBinError(7,97.98777); data_h_elecPz_p0__1871->SetBinError(8,88.47592); data_h_elecPz_p0__1871->SetBinError(9,80.7466); data_h_elecPz_p0__1871->SetBinError(10,74.97418); data_h_elecPz_p0__1871->SetBinError(11,67.9468); data_h_elecPz_p0__1871->SetBinError(12,63.2506); data_h_elecPz_p0__1871->SetBinError(13,58.68628); data_h_elecPz_p0__1871->SetBinError(14,55.32181); data_h_elecPz_p0__1871->SetBinError(15,52.11125); data_h_elecPz_p0__1871->SetBinError(16,48.71456); data_h_elecPz_p0__1871->SetBinError(17,45.38454); data_h_elecPz_p0__1871->SetBinError(18,42.92091); data_h_elecPz_p0__1871->SetBinError(19,40.65807); data_h_elecPz_p0__1871->SetBinError(20,38.77927); data_h_elecPz_p0__1871->SetBinError(21,18.61326); data_h_elecPz_p0__1871->SetMaximum(23179.38); data_h_elecPz_p0__1871->SetEntries(115033); data_h_elecPz_p0__1871->SetDirectory(0); data_h_elecPz_p0__1871->SetMarkerStyle(20); data_h_elecPz_p0__1871->GetXaxis()->SetTitle("electron Pz [GeV]"); data_h_elecPz_p0__1871->GetXaxis()->SetTitleSize(0.07); data_h_elecPz_p0__1871->GetYaxis()->SetTitle("Entries"); data_h_elecPz_p0__1871->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__1872 = new TH1F("elpom_h_elecPz_p0_sys0__1872","",25,-30,-5); elpom_h_elecPz_p0_sys0__1872->SetBinContent(3,8675.956); elpom_h_elecPz_p0_sys0__1872->SetBinContent(4,21585.82); elpom_h_elecPz_p0_sys0__1872->SetBinContent(5,17149.74); elpom_h_elecPz_p0_sys0__1872->SetBinContent(6,12110.57); elpom_h_elecPz_p0_sys0__1872->SetBinContent(7,9348.142); elpom_h_elecPz_p0_sys0__1872->SetBinContent(8,7785.259); elpom_h_elecPz_p0_sys0__1872->SetBinContent(9,6784.528); elpom_h_elecPz_p0_sys0__1872->SetBinContent(10,5882.929); elpom_h_elecPz_p0_sys0__1872->SetBinContent(11,4906.15); elpom_h_elecPz_p0_sys0__1872->SetBinContent(12,4199.065); elpom_h_elecPz_p0_sys0__1872->SetBinContent(13,3494.09); elpom_h_elecPz_p0_sys0__1872->SetBinContent(14,3125.87); elpom_h_elecPz_p0_sys0__1872->SetBinContent(15,2753.836); elpom_h_elecPz_p0_sys0__1872->SetBinContent(16,2406.365); elpom_h_elecPz_p0_sys0__1872->SetBinContent(17,2040.368); elpom_h_elecPz_p0_sys0__1872->SetBinContent(18,1776.157); elpom_h_elecPz_p0_sys0__1872->SetBinContent(19,1512.495); elpom_h_elecPz_p0_sys0__1872->SetBinContent(20,1300.735); elpom_h_elecPz_p0_sys0__1872->SetBinContent(21,303.2138); elpom_h_elecPz_p0_sys0__1872->SetEntries(242119); elpom_h_elecPz_p0_sys0__1872->SetDirectory(0); ci = TColor::GetColor("#0099ff"); elpom_h_elecPz_p0_sys0__1872->SetFillColor(ci); elpom_h_elecPz_p0_sys0__1872->SetFillStyle(0); ci = TColor::GetColor("#cc00ff"); elpom_h_elecPz_p0_sys0__1872->SetLineColor(ci); elpom_h_elecPz_p0_sys0__1872->SetLineWidth(2); elpom_h_elecPz_p0_sys0__1872->GetXaxis()->SetTitleSize(0.07); elpom_h_elecPz_p0_sys0__1872->Draw("hist same"); TH1F *elpom_h_elecPz_p0_sys0__1873 = new TH1F("elpom_h_elecPz_p0_sys0__1873","",25,-30,-5); elpom_h_elecPz_p0_sys0__1873->SetBinContent(3,8675.956); elpom_h_elecPz_p0_sys0__1873->SetBinContent(4,21585.82); elpom_h_elecPz_p0_sys0__1873->SetBinContent(5,17149.74); elpom_h_elecPz_p0_sys0__1873->SetBinContent(6,12110.57); elpom_h_elecPz_p0_sys0__1873->SetBinContent(7,9348.142); elpom_h_elecPz_p0_sys0__1873->SetBinContent(8,7785.259); elpom_h_elecPz_p0_sys0__1873->SetBinContent(9,6784.528); elpom_h_elecPz_p0_sys0__1873->SetBinContent(10,5882.929); elpom_h_elecPz_p0_sys0__1873->SetBinContent(11,4906.15); elpom_h_elecPz_p0_sys0__1873->SetBinContent(12,4199.065); elpom_h_elecPz_p0_sys0__1873->SetBinContent(13,3494.09); elpom_h_elecPz_p0_sys0__1873->SetBinContent(14,3125.87); elpom_h_elecPz_p0_sys0__1873->SetBinContent(15,2753.836); elpom_h_elecPz_p0_sys0__1873->SetBinContent(16,2406.365); elpom_h_elecPz_p0_sys0__1873->SetBinContent(17,2040.368); elpom_h_elecPz_p0_sys0__1873->SetBinContent(18,1776.157); elpom_h_elecPz_p0_sys0__1873->SetBinContent(19,1512.495); elpom_h_elecPz_p0_sys0__1873->SetBinContent(20,1300.735); elpom_h_elecPz_p0_sys0__1873->SetBinContent(21,303.2138); elpom_h_elecPz_p0_sys0__1873->SetEntries(242119); elpom_h_elecPz_p0_sys0__1873->SetDirectory(0); ci = TColor::GetColor("#0099ff"); elpom_h_elecPz_p0_sys0__1873->SetFillColor(ci); elpom_h_elecPz_p0_sys0__1873->SetFillStyle(0); ci = TColor::GetColor("#0000ff"); elpom_h_elecPz_p0_sys0__1873->SetLineColor(ci); elpom_h_elecPz_p0_sys0__1873->SetLineWidth(2); elpom_h_elecPz_p0_sys0__1873->GetXaxis()->SetTitleSize(0.07); elpom_h_elecPz_p0_sys0__1873->Draw("hist same"); TH1F *data_h_elecPz_p0__1874 = new TH1F("data_h_elecPz_p0__1874","",25,-30,-5); data_h_elecPz_p0__1874->SetBinContent(3,7058.038); data_h_elecPz_p0__1874->SetBinContent(4,19873.29); data_h_elecPz_p0__1874->SetBinContent(5,18172.37); data_h_elecPz_p0__1874->SetBinContent(6,12886.25); data_h_elecPz_p0__1874->SetBinContent(7,9593.699); data_h_elecPz_p0__1874->SetBinContent(8,7821.412); data_h_elecPz_p0__1874->SetBinContent(9,6514.44); data_h_elecPz_p0__1874->SetBinContent(10,5616.509); data_h_elecPz_p0__1874->SetBinContent(11,4612.843); data_h_elecPz_p0__1874->SetBinContent(12,3997.288); data_h_elecPz_p0__1874->SetBinContent(13,3441.015); data_h_elecPz_p0__1874->SetBinContent(14,3057.732); data_h_elecPz_p0__1874->SetBinContent(15,2713.276); data_h_elecPz_p0__1874->SetBinContent(16,2371.043); data_h_elecPz_p0__1874->SetBinContent(17,2057.87); data_h_elecPz_p0__1874->SetBinContent(18,1840.596); data_h_elecPz_p0__1874->SetBinContent(19,1651.534); data_h_elecPz_p0__1874->SetBinContent(20,1502.411); data_h_elecPz_p0__1874->SetBinContent(21,346.2258); data_h_elecPz_p0__1874->SetBinError(3,84.04893); data_h_elecPz_p0__1874->SetBinError(4,141.032); data_h_elecPz_p0__1874->SetBinError(5,134.8597); data_h_elecPz_p0__1874->SetBinError(6,113.564); data_h_elecPz_p0__1874->SetBinError(7,97.98777); data_h_elecPz_p0__1874->SetBinError(8,88.47592); data_h_elecPz_p0__1874->SetBinError(9,80.7466); data_h_elecPz_p0__1874->SetBinError(10,74.97418); data_h_elecPz_p0__1874->SetBinError(11,67.9468); data_h_elecPz_p0__1874->SetBinError(12,63.2506); data_h_elecPz_p0__1874->SetBinError(13,58.68628); data_h_elecPz_p0__1874->SetBinError(14,55.32181); data_h_elecPz_p0__1874->SetBinError(15,52.11125); data_h_elecPz_p0__1874->SetBinError(16,48.71456); data_h_elecPz_p0__1874->SetBinError(17,45.38454); data_h_elecPz_p0__1874->SetBinError(18,42.92091); data_h_elecPz_p0__1874->SetBinError(19,40.65807); data_h_elecPz_p0__1874->SetBinError(20,38.77927); data_h_elecPz_p0__1874->SetBinError(21,18.61326); data_h_elecPz_p0__1874->SetMaximum(23179.38); data_h_elecPz_p0__1874->SetEntries(115033); data_h_elecPz_p0__1874->SetDirectory(0); data_h_elecPz_p0__1874->SetMarkerStyle(20); data_h_elecPz_p0__1874->GetXaxis()->SetTitle("electron Pz [GeV]"); data_h_elecPz_p0__1874->GetXaxis()->SetTitleSize(0.07); data_h_elecPz_p0__1874->GetYaxis()->SetTitle("Entries"); data_h_elecPz_p0__1874->Draw("e same"); c1_n759->Modified(); c1_n759->cd(); c1_n759->SetSelected(c1_n759); }