void RatesPerCell_Removing_noisy_cells_run_6878_SL1() { //=========Macro generated from canvas: c/c //========= (Mon Jan 14 19:42:21 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13874.18,67.5,124867.6); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6878",60,0,60); h_SL1L160->SetBinContent(1,18103.77); h_SL1L160->SetBinContent(2,17816.48); h_SL1L160->SetBinContent(3,17796.24); h_SL1L160->SetBinContent(4,17695.08); h_SL1L160->SetBinContent(5,17610.11); h_SL1L160->SetBinContent(6,18128.05); h_SL1L160->SetBinContent(7,18298); h_SL1L160->SetBinContent(8,16906.03); h_SL1L160->SetBinContent(9,16056.27); h_SL1L160->SetBinContent(10,14656.21); h_SL1L160->SetBinContent(11,15234.85); h_SL1L160->SetBinContent(12,14988.01); h_SL1L160->SetBinContent(13,16359.76); h_SL1L160->SetBinContent(14,15623.31); h_SL1L160->SetBinContent(15,16602.54); h_SL1L160->SetBinContent(16,14838.3); h_SL1L160->SetBinContent(17,15627.35); h_SL1L160->SetBinContent(18,16355.71); h_SL1L160->SetBinContent(19,17225.7); h_SL1L160->SetBinContent(20,17051.7); h_SL1L160->SetBinContent(21,17699.13); h_SL1L160->SetBinContent(22,17970.24); h_SL1L160->SetBinContent(23,18298); h_SL1L160->SetBinContent(24,17707.22); h_SL1L160->SetBinContent(25,17387.55); h_SL1L160->SetBinContent(26,17237.83); h_SL1L160->SetBinContent(27,16906.03); h_SL1L160->SetBinContent(28,17411.83); h_SL1L160->SetBinContent(29,17966.19); h_SL1L160->SetBinContent(30,18496.28); h_SL1L160->SetBinContent(31,17962.15); h_SL1L160->SetBinContent(32,19155.85); h_SL1L160->SetBinContent(33,40775.98); h_SL1L160->SetBinContent(34,56949.6); h_SL1L160->SetBinContent(35,60162.47); h_SL1L160->SetBinContent(36,60275.77); h_SL1L160->SetBinContent(37,66005.53); h_SL1L160->SetBinContent(38,64200.82); h_SL1L160->SetBinContent(39,43381.88); h_SL1L160->SetBinContent(40,18917.11); h_SL1L160->SetBinContent(41,17355.18); h_SL1L160->SetBinContent(42,15926.79); h_SL1L160->SetBinContent(43,15805.4); h_SL1L160->SetBinContent(44,14927.32); h_SL1L160->SetBinContent(45,13948.08); h_SL1L160->SetBinContent(46,14263.7); h_SL1L160->SetBinContent(47,13264.23); h_SL1L160->SetBinContent(48,12293.08); h_SL1L160->SetBinContent(49,12705.82); h_SL1L160->SetBinContent(50,12742.24); h_SL1L160->SetBinContent(51,12013.88); h_SL1L160->SetBinContent(52,12200.02); h_SL1L160->SetBinContent(53,12620.85); h_SL1L160->SetBinContent(54,11811.56); h_SL1L160->SetBinContent(55,12515.64); h_SL1L160->SetBinContent(56,12693.68); h_SL1L160->SetBinContent(57,13219.72); h_SL1L160->SetBinContent(58,13401.81); h_SL1L160->SetBinContent(59,13810.5); h_SL1L160->SetMaximum(110993.4); h_SL1L160->SetEntries(60); h_SL1L160->SetDirectory(0); h_SL1L160->SetStats(0); h_SL1L160->SetLineWidth(2); h_SL1L160->GetXaxis()->SetTitle("Cell"); h_SL1L160->GetXaxis()->SetLabelFont(42); h_SL1L160->GetXaxis()->SetLabelSize(0.035); h_SL1L160->GetXaxis()->SetTitleSize(0.035); h_SL1L160->GetXaxis()->SetTitleFont(42); h_SL1L160->GetYaxis()->SetTitle("Hz"); h_SL1L160->GetYaxis()->SetLabelFont(42); h_SL1L160->GetYaxis()->SetLabelSize(0.035); h_SL1L160->GetYaxis()->SetTitleSize(0.035); h_SL1L160->GetYaxis()->SetTitleOffset(1.45); h_SL1L160->GetYaxis()->SetTitleFont(42); h_SL1L160->GetZaxis()->SetLabelFont(42); h_SL1L160->GetZaxis()->SetLabelSize(0.035); h_SL1L160->GetZaxis()->SetTitleSize(0.035); h_SL1L160->GetZaxis()->SetTitleFont(42); h_SL1L160->Draw(""); TH1D *h_SL1L261 = new TH1D("h_SL1L261","",60,0,60); h_SL1L261->SetBinContent(1,18690.51); h_SL1L261->SetBinContent(2,17796.24); h_SL1L261->SetBinContent(3,17929.78); h_SL1L261->SetBinContent(4,18520.56); h_SL1L261->SetBinContent(5,18403.21); h_SL1L261->SetBinContent(6,19107.29); h_SL1L261->SetBinContent(7,19398.63); h_SL1L261->SetBinContent(8,19265.1); h_SL1L261->SetBinContent(9,18589.35); h_SL1L261->SetBinContent(10,15906.56); h_SL1L261->SetBinContent(11,15785.16); h_SL1L261->SetBinContent(12,15805.4); h_SL1L261->SetBinContent(13,16667.29); h_SL1L261->SetBinContent(14,18140.19); h_SL1L261->SetBinContent(15,17796.24); h_SL1L261->SetBinContent(16,18067.36); h_SL1L261->SetBinContent(17,17860.99); h_SL1L261->SetBinContent(18,17565.6); h_SL1L261->SetBinContent(19,19062.78); h_SL1L261->SetBinContent(20,19536.21); h_SL1L261->SetBinContent(21,19698.07); h_SL1L261->SetBinContent(22,20648.98); h_SL1L261->SetBinContent(23,20527.59); h_SL1L261->SetBinContent(24,21292.37); h_SL1L261->SetBinContent(25,21405.67); h_SL1L261->SetBinContent(26,20446.66); h_SL1L261->SetBinContent(27,20357.64); h_SL1L261->SetBinContent(28,21389.48); h_SL1L261->SetBinContent(29,21494.69); h_SL1L261->SetBinContent(30,21947.89); h_SL1L261->SetBinContent(31,21931.71); h_SL1L261->SetBinContent(32,23428.89); h_SL1L261->SetBinContent(33,35410.4); h_SL1L261->SetBinContent(34,67543.18); h_SL1L261->SetBinContent(35,75453.97); h_SL1L261->SetBinContent(36,79937.42); h_SL1L261->SetBinContent(37,83927.21); h_SL1L261->SetBinContent(38,81252.52); h_SL1L261->SetBinContent(39,69764.67); h_SL1L261->SetBinContent(40,33565.22); h_SL1L261->SetBinContent(41,22927.13); h_SL1L261->SetBinContent(42,19022.31); h_SL1L261->SetBinContent(43,18593.39); h_SL1L261->SetBinContent(44,18018.8); h_SL1L261->SetBinContent(45,17958.1); h_SL1L261->SetBinContent(46,17796.24); h_SL1L261->SetBinContent(47,17828.62); h_SL1L261->SetBinContent(48,16970.77); h_SL1L261->SetBinContent(49,31198.05); h_SL1L261->SetBinContent(50,15951.07); h_SL1L261->SetBinContent(51,15344.1); h_SL1L261->SetBinContent(52,15182.24); h_SL1L261->SetBinContent(53,15878.23); h_SL1L261->SetBinContent(54,14834.25); h_SL1L261->SetBinContent(55,15886.32); h_SL1L261->SetBinContent(56,20770.38); h_SL1L261->SetBinContent(57,15044.66); h_SL1L261->SetBinContent(58,14607.65); h_SL1L261->SetBinContent(59,13798.36); h_SL1L261->SetMaximum(96516.29); h_SL1L261->SetEntries(60); h_SL1L261->SetDirectory(0); h_SL1L261->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL1L261->SetLineColor(ci); h_SL1L261->SetLineWidth(2); h_SL1L261->GetXaxis()->SetTitle("Cell"); h_SL1L261->GetXaxis()->SetLabelFont(42); h_SL1L261->GetXaxis()->SetLabelSize(0.035); h_SL1L261->GetXaxis()->SetTitleSize(0.035); h_SL1L261->GetXaxis()->SetTitleFont(42); h_SL1L261->GetYaxis()->SetTitle("Hz"); h_SL1L261->GetYaxis()->SetLabelFont(42); h_SL1L261->GetYaxis()->SetLabelSize(0.035); h_SL1L261->GetYaxis()->SetTitleSize(0.035); h_SL1L261->GetYaxis()->SetTitleOffset(1.45); h_SL1L261->GetYaxis()->SetTitleFont(42); h_SL1L261->GetZaxis()->SetLabelFont(42); h_SL1L261->GetZaxis()->SetLabelSize(0.035); h_SL1L261->GetZaxis()->SetTitleSize(0.035); h_SL1L261->GetZaxis()->SetTitleFont(42); h_SL1L261->Draw("same"); TH1D *h_SL1L362 = new TH1D("h_SL1L362","",60,0,60); h_SL1L362->SetBinContent(1,16659.19); h_SL1L362->SetBinContent(2,16408.31); h_SL1L362->SetBinContent(3,16748.21); h_SL1L362->SetBinContent(4,15918.7); h_SL1L362->SetBinContent(5,16711.8); h_SL1L362->SetBinContent(6,17622.25); h_SL1L362->SetBinContent(7,17334.95); h_SL1L362->SetBinContent(8,16922.21); h_SL1L362->SetBinContent(9,15400.75); h_SL1L362->SetBinContent(10,14024.96); h_SL1L362->SetBinContent(11,14490.3); h_SL1L362->SetBinContent(12,15028.48); h_SL1L362->SetBinContent(13,16205.99); h_SL1L362->SetBinContent(14,15837.77); h_SL1L362->SetBinContent(15,16513.52); h_SL1L362->SetBinContent(16,15514.05); h_SL1L362->SetBinContent(17,16068.41); h_SL1L362->SetBinContent(18,16865.56); h_SL1L362->SetBinContent(19,16282.88); h_SL1L362->SetBinContent(20,17254.02); h_SL1L362->SetBinContent(21,18556.97); h_SL1L362->SetBinContent(22,18391.07); h_SL1L362->SetBinContent(23,19341.98); h_SL1L362->SetBinContent(24,19026.36); h_SL1L362->SetBinContent(25,18747.16); h_SL1L362->SetBinContent(26,17007.19); h_SL1L362->SetBinContent(27,18678.37); h_SL1L362->SetBinContent(28,18472); h_SL1L362->SetBinContent(29,19552.4); h_SL1L362->SetBinContent(30,18783.57); h_SL1L362->SetBinContent(31,19734.49); h_SL1L362->SetBinContent(32,21264.04); h_SL1L362->SetBinContent(33,45566.96); h_SL1L362->SetBinContent(34,63229.67); h_SL1L362->SetBinContent(35,66944.3); h_SL1L362->SetBinContent(36,70820.8); h_SL1L362->SetBinContent(37,73127.27); h_SL1L362->SetBinContent(38,66458.73); h_SL1L362->SetBinContent(39,47306.93); h_SL1L362->SetBinContent(40,21094.09); h_SL1L362->SetBinContent(41,17622.25); h_SL1L362->SetBinContent(42,17169.04); h_SL1L362->SetBinContent(43,16355.71); h_SL1L362->SetBinContent(44,15995.58); h_SL1L362->SetBinContent(45,15093.22); h_SL1L362->SetBinContent(46,15845.86); h_SL1L362->SetBinContent(47,15603.07); h_SL1L362->SetBinContent(48,14482.21); h_SL1L362->SetBinContent(49,14251.56); h_SL1L362->SetBinContent(50,14190.87); h_SL1L362->SetBinContent(51,13656.74); h_SL1L362->SetBinContent(52,13535.34); h_SL1L362->SetBinContent(53,17088.12); h_SL1L362->SetBinContent(54,13377.53); h_SL1L362->SetBinContent(55,13814.55); h_SL1L362->SetBinContent(56,19030.41); h_SL1L362->SetBinContent(57,13826.69); h_SL1L362->SetBinContent(58,12487.31); h_SL1L362->SetBinContent(59,12556.1); h_SL1L362->SetMaximum(96516.29); h_SL1L362->SetEntries(60); h_SL1L362->SetDirectory(0); h_SL1L362->SetStats(0); ci = TColor::GetColor("#009900"); h_SL1L362->SetLineColor(ci); h_SL1L362->SetLineWidth(2); h_SL1L362->GetXaxis()->SetTitle("Cell"); h_SL1L362->GetXaxis()->SetLabelFont(42); h_SL1L362->GetXaxis()->SetLabelSize(0.035); h_SL1L362->GetXaxis()->SetTitleSize(0.035); h_SL1L362->GetXaxis()->SetTitleFont(42); h_SL1L362->GetYaxis()->SetTitle("Hz"); h_SL1L362->GetYaxis()->SetLabelFont(42); h_SL1L362->GetYaxis()->SetLabelSize(0.035); h_SL1L362->GetYaxis()->SetTitleSize(0.035); h_SL1L362->GetYaxis()->SetTitleOffset(1.45); h_SL1L362->GetYaxis()->SetTitleFont(42); h_SL1L362->GetZaxis()->SetLabelFont(42); h_SL1L362->GetZaxis()->SetLabelSize(0.035); h_SL1L362->GetZaxis()->SetTitleSize(0.035); h_SL1L362->GetZaxis()->SetTitleFont(42); h_SL1L362->Draw("same"); TH1D *h_SL1L463 = new TH1D("h_SL1L463","",60,0,60); h_SL1L463->SetBinContent(2,15979.39); h_SL1L463->SetBinContent(3,15756.84); h_SL1L463->SetBinContent(4,15631.4); h_SL1L463->SetBinContent(5,15145.83); h_SL1L463->SetBinContent(6,16060.32); h_SL1L463->SetBinContent(7,15805.4); h_SL1L463->SetBinContent(8,15890.37); h_SL1L463->SetBinContent(9,15388.61); h_SL1L463->SetBinContent(10,14057.33); h_SL1L463->SetBinContent(11,13919.75); h_SL1L463->SetBinContent(12,14555.04); h_SL1L463->SetBinContent(13,15287.45); h_SL1L463->SetBinContent(14,16121.02); h_SL1L463->SetBinContent(15,15542.38); h_SL1L463->SetBinContent(16,15570.7); h_SL1L463->SetBinContent(17,14947.55); h_SL1L463->SetBinContent(18,15481.68); h_SL1L463->SetBinContent(19,16072.46); h_SL1L463->SetBinContent(20,15764.93); h_SL1L463->SetBinContent(21,16242.41); h_SL1L463->SetBinContent(22,16655.15); h_SL1L463->SetBinContent(23,16946.49); h_SL1L463->SetBinContent(24,17160.95); h_SL1L463->SetBinContent(25,16825.1); h_SL1L463->SetBinContent(26,16238.36); h_SL1L463->SetBinContent(27,15744.7); h_SL1L463->SetBinContent(28,16416.41); h_SL1L463->SetBinContent(29,16477.1); h_SL1L463->SetBinContent(30,17136.67); h_SL1L463->SetBinContent(31,17411.83); h_SL1L463->SetBinContent(32,18034.98); h_SL1L463->SetBinContent(33,25176.95); h_SL1L463->SetBinContent(34,53081.2); h_SL1L463->SetBinContent(35,63197.3); h_SL1L463->SetBinContent(36,62383.97); h_SL1L463->SetBinContent(37,60842.27); h_SL1L463->SetBinContent(38,63112.33); h_SL1L463->SetBinContent(39,58725.98); h_SL1L463->SetBinContent(40,24845.14); h_SL1L463->SetBinContent(41,15999.62); h_SL1L463->SetBinContent(42,14757.37); h_SL1L463->SetBinContent(43,14648.11); h_SL1L463->SetBinContent(44,13927.85); h_SL1L463->SetBinContent(45,12163.6); h_SL1L463->SetBinContent(46,13349.21); h_SL1L463->SetBinContent(47,12762.47); h_SL1L463->SetBinContent(48,11799.42); h_SL1L463->SetBinContent(49,11014.41); h_SL1L463->SetBinContent(50,11787.28); h_SL1L463->SetBinContent(51,10888.97); h_SL1L463->SetBinContent(52,10662.37); h_SL1L463->SetBinContent(53,10743.3); h_SL1L463->SetBinContent(54,10536.93); h_SL1L463->SetBinContent(56,11216.73); h_SL1L463->SetBinContent(57,11544.49); h_SL1L463->SetBinContent(58,12102.9); h_SL1L463->SetBinContent(59,11985.56); h_SL1L463->SetMaximum(96516.29); h_SL1L463->SetEntries(60); h_SL1L463->SetDirectory(0); h_SL1L463->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL1L463->SetLineColor(ci); h_SL1L463->SetLineWidth(2); h_SL1L463->GetXaxis()->SetTitle("Cell"); h_SL1L463->GetXaxis()->SetLabelFont(42); h_SL1L463->GetXaxis()->SetLabelSize(0.035); h_SL1L463->GetXaxis()->SetTitleSize(0.035); h_SL1L463->GetXaxis()->SetTitleFont(42); h_SL1L463->GetYaxis()->SetTitle("Hz"); h_SL1L463->GetYaxis()->SetLabelFont(42); h_SL1L463->GetYaxis()->SetLabelSize(0.035); h_SL1L463->GetYaxis()->SetTitleSize(0.035); h_SL1L463->GetYaxis()->SetTitleOffset(1.45); h_SL1L463->GetYaxis()->SetTitleFont(42); h_SL1L463->GetZaxis()->SetLabelFont(42); h_SL1L463->GetZaxis()->SetLabelSize(0.035); h_SL1L463->GetZaxis()->SetTitleSize(0.035); h_SL1L463->GetZaxis()->SetTitleFont(42); h_SL1L463->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_SL1L1","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_SL1L2","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_SL1L3","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_SL1L4","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("SL1, run 6878"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }