void RatesPerCell_Removing_noisy_cells_run_6922_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:07:01 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-14681.76,67.5,132135.9); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6922",60,0,60); h_SL2L164->SetBinContent(1,10651.08); h_SL2L164->SetBinContent(2,14726.14); h_SL2L164->SetBinContent(3,16204.35); h_SL2L164->SetBinContent(4,18417.66); h_SL2L164->SetBinContent(5,18665.36); h_SL2L164->SetBinContent(6,18697.32); h_SL2L164->SetBinContent(7,17227.11); h_SL2L164->SetBinContent(8,17051.32); h_SL2L164->SetBinContent(9,17674.56); h_SL2L164->SetBinContent(10,19120.81); h_SL2L164->SetBinContent(11,18361.73); h_SL2L164->SetBinContent(12,19688.12); h_SL2L164->SetBinContent(13,18897.08); h_SL2L164->SetBinContent(14,18593.45); h_SL2L164->SetBinContent(15,18082.07); h_SL2L164->SetBinContent(16,17938.24); h_SL2L164->SetBinContent(17,17850.35); h_SL2L164->SetBinContent(18,17882.31); h_SL2L164->SetBinContent(19,18473.6); h_SL2L164->SetBinContent(20,17738.49); h_SL2L164->SetBinContent(21,16907.49); h_SL2L164->SetBinContent(22,17059.31); h_SL2L164->SetBinContent(23,15972.63); h_SL2L164->SetBinContent(24,14901.93); h_SL2L164->SetBinContent(25,14358.59); h_SL2L164->SetBinContent(26,13727.35); h_SL2L164->SetBinContent(27,14526.38); h_SL2L164->SetBinContent(28,14222.75); h_SL2L164->SetBinContent(29,14414.52); h_SL2L164->SetBinContent(30,13607.5); h_SL2L164->SetBinContent(31,13319.85); h_SL2L164->SetBinContent(32,12920.33); h_SL2L164->SetBinContent(33,12728.56); h_SL2L164->SetBinContent(34,13575.54); h_SL2L164->SetBinContent(35,23.97093); h_SL2L164->SetBinContent(36,14750.11); h_SL2L164->SetBinContent(37,14214.76); h_SL2L164->SetBinContent(38,13775.29); h_SL2L164->SetBinContent(39,13455.68); h_SL2L164->SetBinContent(40,41773.34); h_SL2L164->SetBinContent(41,13663.43); h_SL2L164->SetBinContent(42,14046.96); h_SL2L164->SetBinContent(43,14502.41); h_SL2L164->SetBinContent(44,14286.67); h_SL2L164->SetBinContent(45,12392.97); h_SL2L164->SetBinContent(46,12800.48); h_SL2L164->SetBinContent(47,12736.55); h_SL2L164->SetBinContent(48,12536.79); h_SL2L164->SetBinContent(49,12936.31); h_SL2L164->SetBinContent(50,12249.14); h_SL2L164->SetBinContent(51,12752.53); h_SL2L164->SetBinContent(52,13215.97); h_SL2L164->SetBinContent(53,13559.55); h_SL2L164->SetBinContent(54,12704.59); h_SL2L164->SetBinContent(55,11530.02); h_SL2L164->SetBinContent(56,9860.042); h_SL2L164->SetBinContent(57,6416.218); h_SL2L164->SetMaximum(117454.1); h_SL2L164->SetEntries(60); h_SL2L164->SetDirectory(0); h_SL2L164->SetStats(0); h_SL2L164->SetLineWidth(2); h_SL2L164->GetXaxis()->SetTitle("Cell"); h_SL2L164->GetXaxis()->SetLabelFont(42); h_SL2L164->GetXaxis()->SetLabelSize(0.035); h_SL2L164->GetXaxis()->SetTitleSize(0.035); h_SL2L164->GetXaxis()->SetTitleFont(42); h_SL2L164->GetYaxis()->SetTitle("Hz"); h_SL2L164->GetYaxis()->SetLabelFont(42); h_SL2L164->GetYaxis()->SetLabelSize(0.035); h_SL2L164->GetYaxis()->SetTitleSize(0.035); h_SL2L164->GetYaxis()->SetTitleOffset(1.45); h_SL2L164->GetYaxis()->SetTitleFont(42); h_SL2L164->GetZaxis()->SetLabelFont(42); h_SL2L164->GetZaxis()->SetLabelSize(0.035); h_SL2L164->GetZaxis()->SetTitleSize(0.035); h_SL2L164->GetZaxis()->SetTitleFont(42); h_SL2L164->Draw(""); TH1D *h_SL2L265 = new TH1D("h_SL2L265","",60,0,60); h_SL2L265->SetBinContent(1,7295.152); h_SL2L265->SetBinContent(2,13215.97); h_SL2L265->SetBinContent(3,16236.31); h_SL2L265->SetBinContent(4,17650.59); h_SL2L265->SetBinContent(5,18513.55); h_SL2L265->SetBinContent(6,18705.31); h_SL2L265->SetBinContent(7,17498.78); h_SL2L265->SetBinContent(8,16563.91); h_SL2L265->SetBinContent(9,17642.6); h_SL2L265->SetBinContent(10,17442.85); h_SL2L265->SetBinContent(11,18585.46); h_SL2L265->SetBinContent(12,18289.82); h_SL2L265->SetBinContent(13,18841.15); h_SL2L265->SetBinContent(14,18745.27); h_SL2L265->SetBinContent(15,17930.25); h_SL2L265->SetBinContent(16,18042.12); h_SL2L265->SetBinContent(17,17746.48); h_SL2L265->SetBinContent(18,18217.9); h_SL2L265->SetBinContent(19,17930.25); h_SL2L265->SetBinContent(20,17035.34); h_SL2L265->SetBinContent(21,17179.16); h_SL2L265->SetBinContent(22,17035.34); h_SL2L265->SetBinContent(23,15405.32); h_SL2L265->SetBinContent(24,15557.13); h_SL2L265->SetBinContent(25,14318.63); h_SL2L265->SetBinContent(26,14214.76); h_SL2L265->SetBinContent(27,13423.72); h_SL2L265->SetBinContent(28,13871.18); h_SL2L265->SetBinContent(29,14118.88); h_SL2L265->SetBinContent(30,14198.78); h_SL2L265->SetBinContent(31,12584.74); h_SL2L265->SetBinContent(32,12640.67); h_SL2L265->SetBinContent(33,12592.73); h_SL2L265->SetBinContent(34,13607.5); h_SL2L265->SetBinContent(35,12680.62); h_SL2L265->SetBinContent(36,12145.27); h_SL2L265->SetBinContent(37,13072.15); h_SL2L265->SetBinContent(38,12928.32); h_SL2L265->SetBinContent(39,13112.1); h_SL2L265->SetBinContent(40,13000.23); h_SL2L265->SetBinContent(41,11777.72); h_SL2L265->SetBinContent(42,11841.64); h_SL2L265->SetBinContent(43,12896.36); h_SL2L265->SetBinContent(44,12329.05); h_SL2L265->SetBinContent(45,12169.24); h_SL2L265->SetBinContent(46,12496.84); h_SL2L265->SetBinContent(47,12464.88); h_SL2L265->SetBinContent(48,12472.87); h_SL2L265->SetBinContent(49,11953.5); h_SL2L265->SetBinContent(50,12672.63); h_SL2L265->SetBinContent(51,11953.5); h_SL2L265->SetBinContent(52,13239.94); h_SL2L265->SetBinContent(53,12752.53); h_SL2L265->SetBinContent(54,12984.25); h_SL2L265->SetBinContent(55,12193.21); h_SL2L265->SetBinContent(56,10475.3); h_SL2L265->SetBinContent(57,8821.302); h_SL2L265->SetMaximum(102134.1); h_SL2L265->SetEntries(60); h_SL2L265->SetDirectory(0); h_SL2L265->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL2L265->SetLineColor(ci); h_SL2L265->SetLineWidth(2); h_SL2L265->GetXaxis()->SetTitle("Cell"); h_SL2L265->GetXaxis()->SetLabelFont(42); h_SL2L265->GetXaxis()->SetLabelSize(0.035); h_SL2L265->GetXaxis()->SetTitleSize(0.035); h_SL2L265->GetXaxis()->SetTitleFont(42); h_SL2L265->GetYaxis()->SetTitle("Hz"); h_SL2L265->GetYaxis()->SetLabelFont(42); h_SL2L265->GetYaxis()->SetLabelSize(0.035); h_SL2L265->GetYaxis()->SetTitleSize(0.035); h_SL2L265->GetYaxis()->SetTitleOffset(1.45); h_SL2L265->GetYaxis()->SetTitleFont(42); h_SL2L265->GetZaxis()->SetLabelFont(42); h_SL2L265->GetZaxis()->SetLabelSize(0.035); h_SL2L265->GetZaxis()->SetTitleSize(0.035); h_SL2L265->GetZaxis()->SetTitleFont(42); h_SL2L265->Draw("same"); TH1D *h_SL2L366 = new TH1D("h_SL2L366","",60,0,60); h_SL2L366->SetBinContent(1,9076.991); h_SL2L366->SetBinContent(2,14438.49); h_SL2L366->SetBinContent(3,17267.06); h_SL2L366->SetBinContent(4,17634.61); h_SL2L366->SetBinContent(5,18297.81); h_SL2L366->SetBinContent(6,17858.34); h_SL2L366->SetBinContent(7,16811.61); h_SL2L366->SetBinContent(8,16515.97); h_SL2L366->SetBinContent(9,17426.87); h_SL2L366->SetBinContent(10,17770.45); h_SL2L366->SetBinContent(11,18257.86); h_SL2L366->SetBinContent(12,18337.76); h_SL2L366->SetBinContent(13,18729.29); h_SL2L366->SetBinContent(14,18529.53); h_SL2L366->SetBinContent(15,17067.3); h_SL2L366->SetBinContent(16,16763.67); h_SL2L366->SetBinContent(17,17155.19); h_SL2L366->SetBinContent(18,17219.12); h_SL2L366->SetBinContent(19,17251.08); h_SL2L366->SetBinContent(20,17091.27); h_SL2L366->SetBinContent(21,16731.71); h_SL2L366->SetBinContent(22,16364.15); h_SL2L366->SetBinContent(23,15045.75); h_SL2L366->SetBinContent(24,14885.95); h_SL2L366->SetBinContent(25,14110.89); h_SL2L366->SetBinContent(26,13855.2); h_SL2L366->SetBinContent(27,13287.88); h_SL2L366->SetBinContent(28,13943.09); h_SL2L366->SetBinContent(29,13815.25); h_SL2L366->SetBinContent(30,13471.66); h_SL2L366->SetBinContent(31,12648.66); h_SL2L366->SetBinContent(32,12848.42); h_SL2L366->SetBinContent(33,12528.8); h_SL2L366->SetBinContent(34,13192); h_SL2L366->SetBinContent(35,11889.58); h_SL2L366->SetBinContent(36,12552.78); h_SL2L366->SetBinContent(37,12640.67); h_SL2L366->SetBinContent(38,13112.1); h_SL2L366->SetBinContent(39,12305.08); h_SL2L366->SetBinContent(40,12528.8); h_SL2L366->SetBinContent(41,12400.96); h_SL2L366->SetBinContent(42,11985.46); h_SL2L366->SetBinContent(43,11921.54); h_SL2L366->SetBinContent(44,12345.03); h_SL2L366->SetBinContent(45,11769.73); h_SL2L366->SetBinContent(46,11881.59); h_SL2L366->SetBinContent(47,12337.04); h_SL2L366->SetBinContent(48,12017.42); h_SL2L366->SetBinContent(49,12720.57); h_SL2L366->SetBinContent(50,11458.1); h_SL2L366->SetBinContent(51,12416.94); h_SL2L366->SetBinContent(52,12912.34); h_SL2L366->SetBinContent(53,12512.82); h_SL2L366->SetBinContent(54,13056.17); h_SL2L366->SetBinContent(55,11378.2); h_SL2L366->SetBinContent(56,9907.983); h_SL2L366->SetBinContent(57,7686.677); h_SL2L366->SetMaximum(102134.1); h_SL2L366->SetEntries(60); h_SL2L366->SetDirectory(0); h_SL2L366->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L366->SetLineColor(ci); h_SL2L366->SetLineWidth(2); h_SL2L366->GetXaxis()->SetTitle("Cell"); h_SL2L366->GetXaxis()->SetLabelFont(42); h_SL2L366->GetXaxis()->SetLabelSize(0.035); h_SL2L366->GetXaxis()->SetTitleSize(0.035); h_SL2L366->GetXaxis()->SetTitleFont(42); h_SL2L366->GetYaxis()->SetTitle("Hz"); h_SL2L366->GetYaxis()->SetLabelFont(42); h_SL2L366->GetYaxis()->SetLabelSize(0.035); h_SL2L366->GetYaxis()->SetTitleSize(0.035); h_SL2L366->GetYaxis()->SetTitleOffset(1.45); h_SL2L366->GetYaxis()->SetTitleFont(42); h_SL2L366->GetZaxis()->SetLabelFont(42); h_SL2L366->GetZaxis()->SetLabelSize(0.035); h_SL2L366->GetZaxis()->SetTitleSize(0.035); h_SL2L366->GetZaxis()->SetTitleFont(42); h_SL2L366->Draw("same"); TH1D *h_SL2L467 = new TH1D("h_SL2L467","",60,0,60); h_SL2L467->SetBinContent(2,12384.98); h_SL2L467->SetBinContent(3,15517.18); h_SL2L467->SetBinContent(4,17890.3); h_SL2L467->SetBinContent(5,17858.34); h_SL2L467->SetBinContent(6,17091.27); h_SL2L467->SetBinContent(7,16875.53); h_SL2L467->SetBinContent(8,16132.43); h_SL2L467->SetBinContent(9,16971.42); h_SL2L467->SetBinContent(10,16691.76); h_SL2L467->SetBinContent(11,17954.22); h_SL2L467->SetBinContent(12,17666.57); h_SL2L467->SetBinContent(13,18417.66); h_SL2L467->SetBinContent(14,18625.41); h_SL2L467->SetBinContent(15,17434.86); h_SL2L467->SetBinContent(16,17682.55); h_SL2L467->SetBinContent(17,17091.27); h_SL2L467->SetBinContent(18,17450.84); h_SL2L467->SetBinContent(19,16963.43); h_SL2L467->SetBinContent(20,16819.6); h_SL2L467->SetBinContent(21,16284.25); h_SL2L467->SetBinContent(22,15996.6); h_SL2L467->SetBinContent(23,15796.84); h_SL2L467->SetBinContent(24,14366.58); h_SL2L467->SetBinContent(25,14502.41); h_SL2L467->SetBinContent(26,13631.47); h_SL2L467->SetBinContent(27,13439.7); h_SL2L467->SetBinContent(28,13343.82); h_SL2L467->SetBinContent(29,14110.89); h_SL2L467->SetBinContent(30,13527.59); h_SL2L467->SetBinContent(31,12816.46); h_SL2L467->SetBinContent(32,12560.77); h_SL2L467->SetBinContent(33,12289.1); h_SL2L467->SetBinContent(34,12696.6); h_SL2L467->SetBinContent(35,12305.08); h_SL2L467->SetBinContent(36,11713.79); h_SL2L467->SetBinContent(37,12552.78); h_SL2L467->SetBinContent(38,12672.63); h_SL2L467->SetBinContent(39,13016.21); h_SL2L467->SetBinContent(40,12209.19); h_SL2L467->SetBinContent(41,12169.24); h_SL2L467->SetBinContent(42,12161.25); h_SL2L467->SetBinContent(43,12376.99); h_SL2L467->SetBinContent(44,88812.29); h_SL2L467->SetBinContent(45,12792.49); h_SL2L467->SetBinContent(46,11865.61); h_SL2L467->SetBinContent(47,12440.91); h_SL2L467->SetBinContent(48,11697.81); h_SL2L467->SetBinContent(49,12153.26); h_SL2L467->SetBinContent(50,12369); h_SL2L467->SetBinContent(51,11394.18); h_SL2L467->SetBinContent(52,12624.69); h_SL2L467->SetBinContent(53,12313.07); h_SL2L467->SetBinContent(54,13032.19); h_SL2L467->SetBinContent(55,12297.09); h_SL2L467->SetBinContent(56,10555.2); h_SL2L467->SetBinContent(57,7926.387); h_SL2L467->SetMaximum(102134.1); h_SL2L467->SetEntries(60); h_SL2L467->SetDirectory(0); h_SL2L467->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L467->SetLineColor(ci); h_SL2L467->SetLineWidth(2); h_SL2L467->GetXaxis()->SetTitle("Cell"); h_SL2L467->GetXaxis()->SetLabelFont(42); h_SL2L467->GetXaxis()->SetLabelSize(0.035); h_SL2L467->GetXaxis()->SetTitleSize(0.035); h_SL2L467->GetXaxis()->SetTitleFont(42); h_SL2L467->GetYaxis()->SetTitle("Hz"); h_SL2L467->GetYaxis()->SetLabelFont(42); h_SL2L467->GetYaxis()->SetLabelSize(0.035); h_SL2L467->GetYaxis()->SetTitleSize(0.035); h_SL2L467->GetYaxis()->SetTitleOffset(1.45); h_SL2L467->GetYaxis()->SetTitleFont(42); h_SL2L467->GetZaxis()->SetLabelFont(42); h_SL2L467->GetZaxis()->SetLabelSize(0.035); h_SL2L467->GetZaxis()->SetTitleSize(0.035); h_SL2L467->GetZaxis()->SetTitleFont(42); h_SL2L467->Draw("same"); TLegend *leg = new TLegend(0.1,0.83,0.9,0.9,NULL,"brNDC"); leg->SetBorderSize(1); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); TLegendEntry *entry=leg->AddEntry("h_SL2L1","Layer 1","l"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("h_SL2L2","Layer 2","l"); ci = TColor::GetColor("#cc0000"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("h_SL2L3","Layer 3","l"); ci = TColor::GetColor("#009900"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("h_SL2L4","Layer 4","l"); ci = TColor::GetColor("#0000cc"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw(); TPaveText *pt = new TPaveText(0.3719095,0.9362587,0.6280905,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL2, run 6922"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }