void RatesPerCell_Removing_noisy_cells_run_6877_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:11:33 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13480.59,67.5,121325.3); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6877",60,0,60); h_SL3L168->SetBinContent(1,9268.384); h_SL3L168->SetBinContent(2,6787.753); h_SL3L168->SetBinContent(4,11179.83); h_SL3L168->SetBinContent(5,11341.24); h_SL3L168->SetBinContent(6,12517.84); h_SL3L168->SetBinContent(7,12093.08); h_SL3L168->SetBinContent(8,11689.55); h_SL3L168->SetBinContent(9,11625.83); h_SL3L168->SetBinContent(10,10105.17); h_SL3L168->SetBinContent(11,10355.78); h_SL3L168->SetBinContent(12,10219.86); h_SL3L168->SetBinContent(13,10806.04); h_SL3L168->SetBinContent(14,11651.32); h_SL3L168->SetBinContent(15,11137.35); h_SL3L168->SetBinContent(16,11528.14); h_SL3L168->SetBinContent(17,11099.12); h_SL3L168->SetBinContent(18,11783); h_SL3L168->SetBinContent(19,12093.08); h_SL3L168->SetBinContent(20,12233.25); h_SL3L168->SetBinContent(21,12700.49); h_SL3L168->SetBinContent(22,13384.36); h_SL3L168->SetBinContent(23,13448.08); h_SL3L168->SetBinContent(24,13702.94); h_SL3L168->SetBinContent(25,13354.63); h_SL3L168->SetBinContent(26,13779.39); h_SL3L168->SetBinContent(27,13622.23); h_SL3L168->SetBinContent(28,13184.72); h_SL3L168->SetBinContent(29,14102.22); h_SL3L168->SetBinContent(30,14607.69); h_SL3L168->SetBinContent(31,14696.89); h_SL3L168->SetBinContent(32,15223.6); h_SL3L168->SetBinContent(33,18804.37); h_SL3L168->SetBinContent(34,48588.93); h_SL3L168->SetBinContent(35,67953.99); h_SL3L168->SetBinContent(36,73008.7); h_SL3L168->SetBinContent(37,77035.48); h_SL3L168->SetBinContent(38,81546.48); h_SL3L168->SetBinContent(39,73165.87); h_SL3L168->SetBinContent(40,49068.91); h_SL3L168->SetBinContent(41,18473.05); h_SL3L168->SetBinContent(42,14025.76); h_SL3L168->SetBinContent(43,12641.02); h_SL3L168->SetBinContent(44,12207.76); h_SL3L168->SetBinContent(45,11672.56); h_SL3L168->SetBinContent(46,11566.37); h_SL3L168->SetBinContent(47,11383.72); h_SL3L168->SetBinContent(48,11413.45); h_SL3L168->SetBinContent(49,11120.36); h_SL3L168->SetBinContent(50,10580.91); h_SL3L168->SetBinContent(51,10580.91); h_SL3L168->SetBinContent(52,10546.93); h_SL3L168->SetBinContent(53,10049.95); h_SL3L168->SetBinContent(54,9722.883); h_SL3L168->SetBinContent(55,10015.97); h_SL3L168->SetBinContent(56,9680.406); h_SL3L168->SetBinContent(57,9408.557); h_SL3L168->SetBinContent(58,7743.476); h_SL3L168->SetBinContent(59,6324.759); h_SL3L168->SetMaximum(107844.7); h_SL3L168->SetEntries(60); h_SL3L168->SetDirectory(0); h_SL3L168->SetStats(0); h_SL3L168->SetLineWidth(2); h_SL3L168->GetXaxis()->SetTitle("Cell"); h_SL3L168->GetXaxis()->SetLabelFont(42); h_SL3L168->GetXaxis()->SetLabelSize(0.035); h_SL3L168->GetXaxis()->SetTitleSize(0.035); h_SL3L168->GetXaxis()->SetTitleFont(42); h_SL3L168->GetYaxis()->SetTitle("Hz"); h_SL3L168->GetYaxis()->SetLabelFont(42); h_SL3L168->GetYaxis()->SetLabelSize(0.035); h_SL3L168->GetYaxis()->SetTitleSize(0.035); h_SL3L168->GetYaxis()->SetTitleOffset(1.45); h_SL3L168->GetYaxis()->SetTitleFont(42); h_SL3L168->GetZaxis()->SetLabelFont(42); h_SL3L168->GetZaxis()->SetLabelSize(0.035); h_SL3L168->GetZaxis()->SetTitleSize(0.035); h_SL3L168->GetZaxis()->SetTitleFont(42); h_SL3L168->Draw(""); TH1D *h_SL3L269 = new TH1D("h_SL3L269","",60,0,60); h_SL3L269->SetBinContent(1,9786.598); h_SL3L269->SetBinContent(2,7123.318); h_SL3L269->SetBinContent(4,9157.945); h_SL3L269->SetBinContent(5,11239.3); h_SL3L269->SetBinContent(6,11179.83); h_SL3L269->SetBinContent(7,11362.48); h_SL3L269->SetBinContent(8,11404.96); h_SL3L269->SetBinContent(9,11358.23); h_SL3L269->SetBinContent(10,10283.57); h_SL3L269->SetBinContent(11,9319.355); h_SL3L269->SetBinContent(12,9493.51); h_SL3L269->SetBinContent(13,10190.12); h_SL3L269->SetBinContent(14,11128.86); h_SL3L269->SetBinContent(15,10852.76); h_SL3L269->SetBinContent(16,11154.34); h_SL3L269->SetBinContent(17,10627.63); h_SL3L269->SetBinContent(18,10907.98); h_SL3L269->SetBinContent(19,11052.4); h_SL3L269->SetBinContent(20,11430.44); h_SL3L269->SetBinContent(21,12110.07); h_SL3L269->SetBinContent(22,12275.72); h_SL3L269->SetBinContent(23,13163.48); h_SL3L269->SetBinContent(24,12492.35); h_SL3L269->SetBinContent(25,12815.18); h_SL3L269->SetBinContent(26,13222.95); h_SL3L269->SetBinContent(27,13736.92); h_SL3L269->SetBinContent(28,12717.48); h_SL3L269->SetBinContent(29,12713.23); h_SL3L269->SetBinContent(30,13367.37); h_SL3L269->SetBinContent(31,13656.21); h_SL3L269->SetBinContent(32,14412.29); h_SL3L269->SetBinContent(33,17160.53); h_SL3L269->SetBinContent(34,28735.39); h_SL3L269->SetBinContent(35,60703.24); h_SL3L269->SetBinContent(36,70799.92); h_SL3L269->SetBinContent(37,73684.08); h_SL3L269->SetBinContent(38,78904.45); h_SL3L269->SetBinContent(39,77613.16); h_SL3L269->SetBinContent(40,63736.07); h_SL3L269->SetBinContent(41,28374.34); h_SL3L269->SetBinContent(42,15754.55); h_SL3L269->SetBinContent(43,12717.48); h_SL3L269->SetBinContent(44,12377.67); h_SL3L269->SetBinContent(45,11345.49); h_SL3L269->SetBinContent(46,11375.22); h_SL3L269->SetBinContent(47,10835.77); h_SL3L269->SetBinContent(48,10755.06); h_SL3L269->SetBinContent(49,13851.6); h_SL3L269->SetBinContent(50,10487.46); h_SL3L269->SetBinContent(51,9986.238); h_SL3L269->SetBinContent(52,11048.15); h_SL3L269->SetBinContent(53,14000.27); h_SL3L269->SetBinContent(54,9680.406); h_SL3L269->SetBinContent(55,9009.277); h_SL3L269->SetBinContent(56,10168.89); h_SL3L269->SetBinContent(57,9089.982); h_SL3L269->SetBinContent(58,8406.11); h_SL3L269->SetBinContent(59,7114.823); h_SL3L269->SetMaximum(93778.46); h_SL3L269->SetEntries(60); h_SL3L269->SetDirectory(0); h_SL3L269->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL3L269->SetLineColor(ci); h_SL3L269->SetLineWidth(2); h_SL3L269->GetXaxis()->SetTitle("Cell"); h_SL3L269->GetXaxis()->SetLabelFont(42); h_SL3L269->GetXaxis()->SetLabelSize(0.035); h_SL3L269->GetXaxis()->SetTitleSize(0.035); h_SL3L269->GetXaxis()->SetTitleFont(42); h_SL3L269->GetYaxis()->SetTitle("Hz"); h_SL3L269->GetYaxis()->SetLabelFont(42); h_SL3L269->GetYaxis()->SetLabelSize(0.035); h_SL3L269->GetYaxis()->SetTitleSize(0.035); h_SL3L269->GetYaxis()->SetTitleOffset(1.45); h_SL3L269->GetYaxis()->SetTitleFont(42); h_SL3L269->GetZaxis()->SetLabelFont(42); h_SL3L269->GetZaxis()->SetLabelSize(0.035); h_SL3L269->GetZaxis()->SetTitleSize(0.035); h_SL3L269->GetZaxis()->SetTitleFont(42); h_SL3L269->Draw("same"); TH1D *h_SL3L370 = new TH1D("h_SL3L370","",60,0,60); h_SL3L370->SetBinContent(1,8270.185); h_SL3L370->SetBinContent(2,6176.091); h_SL3L370->SetBinContent(3,7407.911); h_SL3L370->SetBinContent(4,10568.17); h_SL3L370->SetBinContent(5,10954.7); h_SL3L370->SetBinContent(6,11209.56); h_SL3L370->SetBinContent(7,11196.82); h_SL3L370->SetBinContent(8,10937.71); h_SL3L370->SetBinContent(9,10194.37); h_SL3L370->SetBinContent(10,9281.127); h_SL3L370->SetBinContent(11,9442.538); h_SL3L370->SetBinContent(12,9238.65); h_SL3L370->SetBinContent(13,9400.062); h_SL3L370->SetBinContent(14,10848.51); h_SL3L370->SetBinContent(15,10338.79); h_SL3L370->SetBinContent(16,10721.08); h_SL3L370->SetBinContent(17,10232.6); h_SL3L370->SetBinContent(18,10631.88); h_SL3L370->SetBinContent(19,10857.01); h_SL3L370->SetBinContent(20,11396.46); h_SL3L370->SetBinContent(21,11625.83); h_SL3L370->SetBinContent(22,12207.76); h_SL3L370->SetBinContent(23,12343.69); h_SL3L370->SetBinContent(24,12411.65); h_SL3L370->SetBinContent(25,12573.06); h_SL3L370->SetBinContent(26,12288.47); h_SL3L370->SetBinContent(27,12747.21); h_SL3L370->SetBinContent(28,11889.19); h_SL3L370->SetBinContent(29,12432.89); h_SL3L370->SetBinContent(30,13222.95); h_SL3L370->SetBinContent(31,13567.01); h_SL3L370->SetBinContent(32,14794.58); h_SL3L370->SetBinContent(33,18145.98); h_SL3L370->SetBinContent(34,47272.16); h_SL3L370->SetBinContent(35,66853.85); h_SL3L370->SetBinContent(36,71878.83); h_SL3L370->SetBinContent(37,74321.23); h_SL3L370->SetBinContent(38,79681.77); h_SL3L370->SetBinContent(39,71581.49); h_SL3L370->SetBinContent(40,48707.86); h_SL3L370->SetBinContent(41,17483.35); h_SL3L370->SetBinContent(42,13159.24); h_SL3L370->SetBinContent(43,12033.61); h_SL3L370->SetBinContent(44,11103.37); h_SL3L370->SetBinContent(45,849.5311); h_SL3L370->SetBinContent(46,10992.93); h_SL3L370->SetBinContent(47,10402.51); h_SL3L370->SetBinContent(48,10636.13); h_SL3L370->SetBinContent(49,9990.485); h_SL3L370->SetBinContent(50,9748.369); h_SL3L370->SetBinContent(51,9548.729); h_SL3L370->SetBinContent(52,9569.968); h_SL3L370->SetBinContent(53,9438.29); h_SL3L370->SetBinContent(54,8898.838); h_SL3L370->SetBinContent(55,8932.819); h_SL3L370->SetBinContent(56,9153.697); h_SL3L370->SetBinContent(57,8788.399); h_SL3L370->SetBinContent(58,7127.566); h_SL3L370->SetBinContent(59,6278.035); h_SL3L370->SetMaximum(93778.46); h_SL3L370->SetEntries(60); h_SL3L370->SetDirectory(0); h_SL3L370->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L370->SetLineColor(ci); h_SL3L370->SetLineWidth(2); h_SL3L370->GetXaxis()->SetTitle("Cell"); h_SL3L370->GetXaxis()->SetLabelFont(42); h_SL3L370->GetXaxis()->SetLabelSize(0.035); h_SL3L370->GetXaxis()->SetTitleSize(0.035); h_SL3L370->GetXaxis()->SetTitleFont(42); h_SL3L370->GetYaxis()->SetTitle("Hz"); h_SL3L370->GetYaxis()->SetLabelFont(42); h_SL3L370->GetYaxis()->SetLabelSize(0.035); h_SL3L370->GetYaxis()->SetTitleSize(0.035); h_SL3L370->GetYaxis()->SetTitleOffset(1.45); h_SL3L370->GetYaxis()->SetTitleFont(42); h_SL3L370->GetZaxis()->SetLabelFont(42); h_SL3L370->GetZaxis()->SetLabelSize(0.035); h_SL3L370->GetZaxis()->SetTitleSize(0.035); h_SL3L370->GetZaxis()->SetTitleFont(42); h_SL3L370->Draw("same"); TH1D *h_SL3L471 = new TH1D("h_SL3L471","",60,0,60); h_SL3L471->SetBinContent(2,6142.11); h_SL3L471->SetBinContent(3,6978.898); h_SL3L471->SetBinContent(4,8618.493); h_SL3L471->SetBinContent(5,9973.495); h_SL3L471->SetBinContent(6,10542.68); h_SL3L471->SetBinContent(7,10755.06); h_SL3L471->SetBinContent(8,10219.86); h_SL3L471->SetBinContent(9,10326.05); h_SL3L471->SetBinContent(10,9578.463); h_SL3L471->SetBinContent(11,8835.123); h_SL3L471->SetBinContent(12,9000.782); h_SL3L471->SetBinContent(13,9072.992); h_SL3L471->SetBinContent(14,9671.911); h_SL3L471->SetBinContent(15,10500.2); h_SL3L471->SetBinContent(16,9782.351); h_SL3L471->SetBinContent(17,9595.453); h_SL3L471->SetBinContent(18,9663.416); h_SL3L471->SetBinContent(19,10495.96); h_SL3L471->SetBinContent(20,10695.6); h_SL3L471->SetBinContent(21,11090.63); h_SL3L471->SetBinContent(22,11481.41); h_SL3L471->SetBinContent(23,11770.25); h_SL3L471->SetBinContent(24,11715.03); h_SL3L471->SetBinContent(25,11753.26); h_SL3L471->SetBinContent(26,11872.2); h_SL3L471->SetBinContent(27,12114.31); h_SL3L471->SetBinContent(28,11668.31); h_SL3L471->SetBinContent(29,11566.37); h_SL3L471->SetBinContent(30,11948.65); h_SL3L471->SetBinContent(31,12819.42); h_SL3L471->SetBinContent(32,13125.25); h_SL3L471->SetBinContent(33,15588.9); h_SL3L471->SetBinContent(34,27435.61); h_SL3L471->SetBinContent(35,60265.73); h_SL3L471->SetBinContent(36,69568.1); h_SL3L471->SetBinContent(37,72694.38); h_SL3L471->SetBinContent(38,78318.27); h_SL3L471->SetBinContent(39,76793.36); h_SL3L471->SetBinContent(40,62924.77); h_SL3L471->SetBinContent(41,27647.99); h_SL3L471->SetBinContent(42,14972.99); h_SL3L471->SetBinContent(43,11791.49); h_SL3L471->SetBinContent(44,11286.02); h_SL3L471->SetBinContent(45,10168.89); h_SL3L471->SetBinContent(46,10529.94); h_SL3L471->SetBinContent(47,10160.39); h_SL3L471->SetBinContent(48,10168.89); h_SL3L471->SetBinContent(49,10011.72); h_SL3L471->SetBinContent(50,9468.023); h_SL3L471->SetBinContent(51,8945.562); h_SL3L471->SetBinContent(52,9586.958); h_SL3L471->SetBinContent(53,9017.772); h_SL3L471->SetBinContent(54,8716.188); h_SL3L471->SetBinContent(55,8321.157); h_SL3L471->SetBinContent(56,8580.264); h_SL3L471->SetBinContent(57,8478.32); h_SL3L471->SetBinContent(58,7875.153); h_SL3L471->SetBinContent(59,6430.95); h_SL3L471->SetMaximum(93778.46); h_SL3L471->SetEntries(60); h_SL3L471->SetDirectory(0); h_SL3L471->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L471->SetLineColor(ci); h_SL3L471->SetLineWidth(2); h_SL3L471->GetXaxis()->SetTitle("Cell"); h_SL3L471->GetXaxis()->SetLabelFont(42); h_SL3L471->GetXaxis()->SetLabelSize(0.035); h_SL3L471->GetXaxis()->SetTitleSize(0.035); h_SL3L471->GetXaxis()->SetTitleFont(42); h_SL3L471->GetYaxis()->SetTitle("Hz"); h_SL3L471->GetYaxis()->SetLabelFont(42); h_SL3L471->GetYaxis()->SetLabelSize(0.035); h_SL3L471->GetYaxis()->SetTitleSize(0.035); h_SL3L471->GetYaxis()->SetTitleOffset(1.45); h_SL3L471->GetYaxis()->SetTitleFont(42); h_SL3L471->GetZaxis()->SetLabelFont(42); h_SL3L471->GetZaxis()->SetLabelSize(0.035); h_SL3L471->GetZaxis()->SetTitleSize(0.035); h_SL3L471->GetZaxis()->SetTitleFont(42); h_SL3L471->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_SL3L1","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_SL3L2","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_SL3L3","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_SL3L4","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("SL3, run 6877"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }