void RatesPerCell_Removing_noisy_cells_run_6930_SL2() { //=========Macro generated from canvas: c/c //========= (Mon Jan 14 19:35:19 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-16425.88,67.5,147832.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 6930",60,0,60); h_SL2L164->SetBinContent(1,10490.28); h_SL2L164->SetBinContent(2,26326.57); h_SL2L164->SetBinContent(3,17589.84); h_SL2L164->SetBinContent(4,18226.09); h_SL2L164->SetBinContent(5,18117.46); h_SL2L164->SetBinContent(6,18427.82); h_SL2L164->SetBinContent(7,17628.64); h_SL2L164->SetBinContent(8,17341.55); h_SL2L164->SetBinContent(9,18606.28); h_SL2L164->SetBinContent(10,19498.58); h_SL2L164->SetBinContent(11,19599.45); h_SL2L164->SetBinContent(12,17838.13); h_SL2L164->SetBinContent(13,18730.43); h_SL2L164->SetBinContent(14,18342.47); h_SL2L164->SetBinContent(15,18024.35); h_SL2L164->SetBinContent(16,18226.09); h_SL2L164->SetBinContent(17,17985.56); h_SL2L164->SetBinContent(18,17869.17); h_SL2L164->SetBinContent(19,18776.98); h_SL2L164->SetBinContent(20,18039.87); h_SL2L164->SetBinContent(21,17132.06); h_SL2L164->SetBinContent(22,16146.65); h_SL2L164->SetBinContent(23,16550.12); h_SL2L164->SetBinContent(24,15580.24); h_SL2L164->SetBinContent(25,15238.84); h_SL2L164->SetBinContent(26,14695.71); h_SL2L164->SetBinContent(27,14579.32); h_SL2L164->SetBinContent(28,14268.96); h_SL2L164->SetBinContent(29,14222.4); h_SL2L164->SetBinContent(30,13531.84); h_SL2L164->SetBinContent(31,13198.2); h_SL2L164->SetBinContent(32,13578.4); h_SL2L164->SetBinContent(33,13291.31); h_SL2L164->SetBinContent(34,14331.03); h_SL2L164->SetBinContent(35,7.759084); h_SL2L164->SetBinContent(36,13500.81); h_SL2L164->SetBinContent(37,17457.94); h_SL2L164->SetBinContent(38,15137.97); h_SL2L164->SetBinContent(39,17023.43); h_SL2L164->SetBinContent(40,33069.21); h_SL2L164->SetBinContent(41,99362.83); h_SL2L164->SetBinContent(42,23145.35); h_SL2L164->SetBinContent(43,24743.72); h_SL2L164->SetBinContent(44,24301.45); h_SL2L164->SetBinContent(45,13384.42); h_SL2L164->SetBinContent(46,13337.87); h_SL2L164->SetBinContent(47,13438.73); h_SL2L164->SetBinContent(48,12624.03); h_SL2L164->SetBinContent(49,13640.47); h_SL2L164->SetBinContent(50,12717.14); h_SL2L164->SetBinContent(51,13454.25); h_SL2L164->SetBinContent(52,13935.31); h_SL2L164->SetBinContent(53,13818.93); h_SL2L164->SetBinContent(54,13035.26); h_SL2L164->SetBinContent(55,12150.73); h_SL2L164->SetBinContent(56,10086.81); h_SL2L164->SetBinContent(57,6393.485); h_SL2L164->SetMaximum(131407); 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,7254.743); h_SL2L265->SetBinContent(2,13299.07); h_SL2L265->SetBinContent(3,15037.1); h_SL2L265->SetBinContent(4,17838.13); h_SL2L265->SetBinContent(5,18567.49); h_SL2L265->SetBinContent(6,18288.16); h_SL2L265->SetBinContent(7,18187.29); h_SL2L265->SetBinContent(8,16751.86); h_SL2L265->SetBinContent(9,18334.71); h_SL2L265->SetBinContent(10,18319.2); h_SL2L265->SetBinContent(11,19017.51); h_SL2L265->SetBinContent(12,18404.55); h_SL2L265->SetBinContent(13,18288.16); h_SL2L265->SetBinContent(14,18039.87); h_SL2L265->SetBinContent(15,18078.67); h_SL2L265->SetBinContent(16,17884.69); h_SL2L265->SetBinContent(17,17923.48); h_SL2L265->SetBinContent(18,17457.94); h_SL2L265->SetBinContent(19,17923.48); h_SL2L265->SetBinContent(20,17993.31); h_SL2L265->SetBinContent(21,16992.39); h_SL2L265->SetBinContent(22,16325.11); h_SL2L265->SetBinContent(23,16154.41); h_SL2L265->SetBinContent(24,15898.36); h_SL2L265->SetBinContent(25,14936.24); h_SL2L265->SetBinContent(26,14850.89); h_SL2L265->SetBinContent(27,14447.41); h_SL2L265->SetBinContent(28,14284.47); h_SL2L265->SetBinContent(29,13361.14); h_SL2L265->SetBinContent(30,13811.17); h_SL2L265->SetBinContent(31,13438.73); h_SL2L265->SetBinContent(32,13671.51); h_SL2L265->SetBinContent(33,12911.12); h_SL2L265->SetBinContent(34,13493.05); h_SL2L265->SetBinContent(35,12748.17); h_SL2L265->SetBinContent(36,11809.33); h_SL2L265->SetBinContent(37,14230.16); h_SL2L265->SetBinContent(38,13399.94); h_SL2L265->SetBinContent(39,14331.03); h_SL2L265->SetBinContent(40,15828.53); h_SL2L265->SetBinContent(41,14781.05); h_SL2L265->SetBinContent(42,13803.41); h_SL2L265->SetBinContent(43,13849.96); h_SL2L265->SetBinContent(44,13524.08); h_SL2L265->SetBinContent(45,13462.01); h_SL2L265->SetBinContent(46,12740.42); h_SL2L265->SetBinContent(47,13268.03); h_SL2L265->SetBinContent(48,12530.92); h_SL2L265->SetBinContent(49,12973.19); h_SL2L265->SetBinContent(50,13237); h_SL2L265->SetBinContent(51,12732.66); h_SL2L265->SetBinContent(52,13749.1); h_SL2L265->SetBinContent(53,14036.18); h_SL2L265->SetBinContent(54,13167.17); h_SL2L265->SetBinContent(55,13159.41); h_SL2L265->SetBinContent(56,10304.06); h_SL2L265->SetBinContent(57,8472.92); h_SL2L265->SetMaximum(114267.3); 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,9636.782); h_SL2L366->SetBinContent(2,13485.29); h_SL2L366->SetBinContent(3,17457.94); h_SL2L366->SetBinContent(4,18164.02); h_SL2L366->SetBinContent(5,17380.35); h_SL2L366->SetBinContent(6,17822.62); h_SL2L366->SetBinContent(7,16643.23); h_SL2L366->SetBinContent(8,16542.37); h_SL2L366->SetBinContent(9,17946.76); h_SL2L366->SetBinContent(10,17783.82); h_SL2L366->SetBinContent(11,18326.96); h_SL2L366->SetBinContent(12,18451.1); h_SL2L366->SetBinContent(13,17263.96); h_SL2L366->SetBinContent(14,17814.86); h_SL2L366->SetBinContent(15,17993.31); h_SL2L366->SetBinContent(16,17395.87); h_SL2L366->SetBinContent(17,16868.25); h_SL2L366->SetBinContent(18,17147.57); h_SL2L366->SetBinContent(19,17985.56); h_SL2L366->SetBinContent(20,16511.33); h_SL2L366->SetBinContent(21,15867.33); h_SL2L366->SetBinContent(22,15169.01); h_SL2L366->SetBinContent(23,15572.48); h_SL2L366->SetBinContent(24,15083.66); h_SL2L366->SetBinContent(25,14315.51); h_SL2L366->SetBinContent(26,14183.61); h_SL2L366->SetBinContent(27,32363.14); h_SL2L366->SetBinContent(28,13593.92); h_SL2L366->SetBinContent(29,13578.4); h_SL2L366->SetBinContent(30,13725.82); h_SL2L366->SetBinContent(31,13244.76); h_SL2L366->SetBinContent(32,12686.1); h_SL2L366->SetBinContent(33,13283.55); h_SL2L366->SetBinContent(34,13027.5); h_SL2L366->SetBinContent(35,12011.06); h_SL2L366->SetBinContent(36,12942.15); h_SL2L366->SetBinContent(37,13539.6); h_SL2L366->SetBinContent(38,13485.29); h_SL2L366->SetBinContent(39,13524.08); h_SL2L366->SetBinContent(40,14610.35); h_SL2L366->SetBinContent(41,12251.59); h_SL2L366->SetBinContent(42,13454.25); h_SL2L366->SetBinContent(43,13322.35); h_SL2L366->SetBinContent(44,13306.83); h_SL2L366->SetBinContent(45,12709.38); h_SL2L366->SetBinContent(46,12600.75); h_SL2L366->SetBinContent(47,13050.78); h_SL2L366->SetBinContent(48,12321.42); h_SL2L366->SetBinContent(49,12818.01); h_SL2L366->SetBinContent(50,12422.29); h_SL2L366->SetBinContent(51,12949.91); h_SL2L366->SetBinContent(52,13205.96); h_SL2L366->SetBinContent(53,13345.62); h_SL2L366->SetBinContent(54,12934.39); h_SL2L366->SetBinContent(55,12399.02); h_SL2L366->SetBinContent(56,9272.105); h_SL2L366->SetBinContent(57,7813.397); h_SL2L366->SetMaximum(114267.3); 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,11902.43); h_SL2L467->SetBinContent(3,15758.7); h_SL2L467->SetBinContent(4,18164.02); h_SL2L467->SetBinContent(5,17667.43); h_SL2L467->SetBinContent(6,18078.67); h_SL2L467->SetBinContent(7,17069.98); h_SL2L467->SetBinContent(8,15750.94); h_SL2L467->SetBinContent(9,17737.27); h_SL2L467->SetBinContent(10,16689.79); h_SL2L467->SetBinContent(11,17488.97); h_SL2L467->SetBinContent(12,17481.21); h_SL2L467->SetBinContent(13,17256.2); h_SL2L467->SetBinContent(14,16930.32); h_SL2L467->SetBinContent(15,17388.11); h_SL2L467->SetBinContent(16,17993.31); h_SL2L467->SetBinContent(17,16782.9); h_SL2L467->SetBinContent(18,17093.26); h_SL2L467->SetBinContent(19,17380.35); h_SL2L467->SetBinContent(20,16922.56); h_SL2L467->SetBinContent(21,16084.58); h_SL2L467->SetBinContent(22,16146.65); h_SL2L467->SetBinContent(23,15836.29); h_SL2L467->SetBinContent(24,15006.07); h_SL2L467->SetBinContent(25,14284.47); h_SL2L467->SetBinContent(26,14672.43); h_SL2L467->SetBinContent(27,14501.73); h_SL2L467->SetBinContent(28,13718.06); h_SL2L467->SetBinContent(29,13314.59); h_SL2L467->SetBinContent(30,13019.74); h_SL2L467->SetBinContent(31,13081.82); h_SL2L467->SetBinContent(32,12810.25); h_SL2L467->SetBinContent(33,13011.98); h_SL2L467->SetBinContent(34,12786.97); h_SL2L467->SetBinContent(35,12957.67); h_SL2L467->SetBinContent(36,12880.08); h_SL2L467->SetBinContent(37,12592.99); h_SL2L467->SetBinContent(38,12887.84); h_SL2L467->SetBinContent(39,13244.76); h_SL2L467->SetBinContent(40,12344.7); h_SL2L467->SetBinContent(41,12111.93); h_SL2L467->SetBinContent(42,13011.98); h_SL2L467->SetBinContent(43,12996.46); h_SL2L467->SetBinContent(44,13213.72); h_SL2L467->SetBinContent(45,13182.68); h_SL2L467->SetBinContent(46,12142.97); h_SL2L467->SetBinContent(47,12980.95); h_SL2L467->SetBinContent(48,12872.32); h_SL2L467->SetBinContent(49,12856.8); h_SL2L467->SetBinContent(50,12670.58); h_SL2L467->SetBinContent(51,12717.14); h_SL2L467->SetBinContent(52,12569.72); h_SL2L467->SetBinContent(53,14020.66); h_SL2L467->SetBinContent(54,13570.64); h_SL2L467->SetBinContent(55,12988.71); h_SL2L467->SetBinContent(56,10955.83); h_SL2L467->SetBinContent(57,7572.866); h_SL2L467->SetMaximum(114267.3); 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 6930"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }