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