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