void RatesPerCell_Removing_noisy_cells_run_6887_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:11:24 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13708.14,67.5,123373.3); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6887",60,0,60); h_SL1L160->SetBinContent(1,18540.82); h_SL1L160->SetBinContent(2,17755.1); h_SL1L160->SetBinContent(3,18433.67); h_SL1L160->SetBinContent(4,17418.37); h_SL1L160->SetBinContent(5,17178.57); h_SL1L160->SetBinContent(6,18551.02); h_SL1L160->SetBinContent(7,17418.37); h_SL1L160->SetBinContent(8,16785.71); h_SL1L160->SetBinContent(9,15785.71); h_SL1L160->SetBinContent(10,14897.96); h_SL1L160->SetBinContent(11,14397.96); h_SL1L160->SetBinContent(12,15107.14); h_SL1L160->SetBinContent(13,16311.22); h_SL1L160->SetBinContent(14,16209.18); h_SL1L160->SetBinContent(15,16229.59); h_SL1L160->SetBinContent(16,15535.71); h_SL1L160->SetBinContent(17,15826.53); h_SL1L160->SetBinContent(18,17035.71); h_SL1L160->SetBinContent(19,16989.79); h_SL1L160->SetBinContent(20,17010.2); h_SL1L160->SetBinContent(21,18301.02); h_SL1L160->SetBinContent(22,18551.02); h_SL1L160->SetBinContent(23,18443.88); h_SL1L160->SetBinContent(24,16954.08); h_SL1L160->SetBinContent(25,17627.55); h_SL1L160->SetBinContent(26,17489.79); h_SL1L160->SetBinContent(27,16683.67); h_SL1L160->SetBinContent(28,17928.57); h_SL1L160->SetBinContent(29,17525.51); h_SL1L160->SetBinContent(30,18010.2); h_SL1L160->SetBinContent(31,17341.84); h_SL1L160->SetBinContent(32,19500); h_SL1L160->SetBinContent(33,40770.41); h_SL1L160->SetBinContent(34,57056.12); h_SL1L160->SetBinContent(35,60137.75); h_SL1L160->SetBinContent(36,61469.39); h_SL1L160->SetBinContent(37,67015.3); h_SL1L160->SetBinContent(38,65596.94); h_SL1L160->SetBinContent(39,43331.63); h_SL1L160->SetBinContent(40,19260.2); h_SL1L160->SetBinContent(41,16918.37); h_SL1L160->SetBinContent(42,16280.61); h_SL1L160->SetBinContent(43,15219.39); h_SL1L160->SetBinContent(44,15408.16); h_SL1L160->SetBinContent(45,13821.43); h_SL1L160->SetBinContent(46,13790.82); h_SL1L160->SetBinContent(47,14510.2); h_SL1L160->SetBinContent(48,13163.27); h_SL1L160->SetBinContent(49,13142.86); h_SL1L160->SetBinContent(50,12877.55); h_SL1L160->SetBinContent(51,11862.25); h_SL1L160->SetBinContent(52,12280.61); h_SL1L160->SetBinContent(53,12836.73); h_SL1L160->SetBinContent(54,12234.69); h_SL1L160->SetBinContent(55,12530.61); h_SL1L160->SetBinContent(56,12489.8); h_SL1L160->SetBinContent(57,13316.33); h_SL1L160->SetBinContent(58,12760.2); h_SL1L160->SetBinContent(59,13943.88); h_SL1L160->SetMaximum(109665.1); 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,19096.94); h_SL1L261->SetBinContent(2,18193.88); h_SL1L261->SetBinContent(3,18311.22); h_SL1L261->SetBinContent(4,18198.98); h_SL1L261->SetBinContent(5,17928.57); h_SL1L261->SetBinContent(6,19801.02); h_SL1L261->SetBinContent(7,19071.43); h_SL1L261->SetBinContent(8,18994.9); h_SL1L261->SetBinContent(9,17484.69); h_SL1L261->SetBinContent(10,15989.8); h_SL1L261->SetBinContent(11,15647.96); h_SL1L261->SetBinContent(12,15974.49); h_SL1L261->SetBinContent(13,17132.65); h_SL1L261->SetBinContent(14,17969.39); h_SL1L261->SetBinContent(15,17505.1); h_SL1L261->SetBinContent(16,18005.1); h_SL1L261->SetBinContent(17,17500); h_SL1L261->SetBinContent(18,17790.82); h_SL1L261->SetBinContent(19,18989.79); h_SL1L261->SetBinContent(20,18816.33); h_SL1L261->SetBinContent(21,19500); h_SL1L261->SetBinContent(22,20408.16); h_SL1L261->SetBinContent(23,20750); h_SL1L261->SetBinContent(24,21938.78); h_SL1L261->SetBinContent(25,20928.57); h_SL1L261->SetBinContent(26,20576.53); h_SL1L261->SetBinContent(27,19612.24); h_SL1L261->SetBinContent(28,20505.1); h_SL1L261->SetBinContent(29,21255.1); h_SL1L261->SetBinContent(30,20908.16); h_SL1L261->SetBinContent(31,21438.78); h_SL1L261->SetBinContent(32,23540.82); h_SL1L261->SetBinContent(33,34816.33); h_SL1L261->SetBinContent(34,67377.55); h_SL1L261->SetBinContent(35,75841.84); h_SL1L261->SetBinContent(36,79336.73); h_SL1L261->SetBinContent(37,82923.47); h_SL1L261->SetBinContent(38,82433.67); h_SL1L261->SetBinContent(39,70377.55); h_SL1L261->SetBinContent(40,34556.12); h_SL1L261->SetBinContent(41,22663.27); h_SL1L261->SetBinContent(42,18903.06); h_SL1L261->SetBinContent(43,18897.96); h_SL1L261->SetBinContent(44,17500); h_SL1L261->SetBinContent(45,17479.59); h_SL1L261->SetBinContent(46,17321.43); h_SL1L261->SetBinContent(47,17489.79); h_SL1L261->SetBinContent(48,17076.53); h_SL1L261->SetBinContent(49,27209.18); h_SL1L261->SetBinContent(50,16535.71); h_SL1L261->SetBinContent(51,15040.82); h_SL1L261->SetBinContent(52,15316.33); h_SL1L261->SetBinContent(53,16025.51); h_SL1L261->SetBinContent(54,15005.1); h_SL1L261->SetBinContent(55,15352.04); h_SL1L261->SetBinContent(56,19954.08); h_SL1L261->SetBinContent(57,15010.2); h_SL1L261->SetBinContent(58,14586.73); h_SL1L261->SetBinContent(59,14372.45); h_SL1L261->SetMaximum(95361.99); 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,8275.51); h_SL1L362->SetBinContent(2,7862.245); h_SL1L362->SetBinContent(3,8357.143); h_SL1L362->SetBinContent(4,8510.204); h_SL1L362->SetBinContent(5,7969.388); h_SL1L362->SetBinContent(6,8846.938); h_SL1L362->SetBinContent(7,8326.53); h_SL1L362->SetBinContent(8,8438.775); h_SL1L362->SetBinContent(9,7362.245); h_SL1L362->SetBinContent(10,7336.735); h_SL1L362->SetBinContent(11,7306.123); h_SL1L362->SetBinContent(12,7290.816); h_SL1L362->SetBinContent(13,8163.265); h_SL1L362->SetBinContent(14,7668.367); h_SL1L362->SetBinContent(15,8285.714); h_SL1L362->SetBinContent(16,7780.612); h_SL1L362->SetBinContent(17,7372.449); h_SL1L362->SetBinContent(18,8025.51); h_SL1L362->SetBinContent(19,8127.551); h_SL1L362->SetBinContent(20,8255.102); h_SL1L362->SetBinContent(21,8846.938); h_SL1L362->SetBinContent(22,8668.367); h_SL1L362->SetBinContent(23,8576.53); h_SL1L362->SetBinContent(24,9183.674); h_SL1L362->SetBinContent(25,8178.571); h_SL1L362->SetBinContent(26,7459.184); h_SL1L362->SetBinContent(27,8418.367); h_SL1L362->SetBinContent(28,7994.898); h_SL1L362->SetBinContent(29,8709.184); h_SL1L362->SetBinContent(30,7882.653); h_SL1L362->SetBinContent(31,8586.734); h_SL1L362->SetBinContent(32,9229.592); h_SL1L362->SetBinContent(33,13260.2); h_SL1L362->SetBinContent(34,18188.78); h_SL1L362->SetBinContent(35,19280.61); h_SL1L362->SetBinContent(36,19000); h_SL1L362->SetBinContent(37,20576.53); h_SL1L362->SetBinContent(38,17948.98); h_SL1L362->SetBinContent(39,14816.33); h_SL1L362->SetBinContent(40,7591.836); h_SL1L362->SetBinContent(41,7464.286); h_SL1L362->SetBinContent(42,8107.143); h_SL1L362->SetBinContent(43,8198.979); h_SL1L362->SetBinContent(44,7530.612); h_SL1L362->SetBinContent(45,6964.286); h_SL1L362->SetBinContent(46,7372.449); h_SL1L362->SetBinContent(47,7448.979); h_SL1L362->SetBinContent(48,6653.061); h_SL1L362->SetBinContent(49,6734.694); h_SL1L362->SetBinContent(50,6392.857); h_SL1L362->SetBinContent(51,6352.041); h_SL1L362->SetBinContent(52,6056.123); h_SL1L362->SetBinContent(53,9275.51); h_SL1L362->SetBinContent(54,6112.245); h_SL1L362->SetBinContent(55,5750); h_SL1L362->SetBinContent(56,11341.84); h_SL1L362->SetBinContent(57,6892.857); h_SL1L362->SetBinContent(58,5806.123); h_SL1L362->SetBinContent(59,5693.877); h_SL1L362->SetMaximum(95361.99); 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,14591.84); h_SL1L463->SetBinContent(3,14596.94); h_SL1L463->SetBinContent(4,13494.9); h_SL1L463->SetBinContent(5,13428.57); h_SL1L463->SetBinContent(6,14668.37); h_SL1L463->SetBinContent(7,13857.14); h_SL1L463->SetBinContent(8,14198.98); h_SL1L463->SetBinContent(9,14551.02); h_SL1L463->SetBinContent(10,13168.37); h_SL1L463->SetBinContent(11,12954.08); h_SL1L463->SetBinContent(12,13688.78); h_SL1L463->SetBinContent(13,13627.55); h_SL1L463->SetBinContent(14,14892.86); h_SL1L463->SetBinContent(15,14438.78); h_SL1L463->SetBinContent(16,13918.37); h_SL1L463->SetBinContent(17,13086.73); h_SL1L463->SetBinContent(18,13418.37); h_SL1L463->SetBinContent(19,14112.25); h_SL1L463->SetBinContent(20,13739.8); h_SL1L463->SetBinContent(21,14137.75); h_SL1L463->SetBinContent(22,14112.25); h_SL1L463->SetBinContent(23,14719.39); h_SL1L463->SetBinContent(24,14515.31); h_SL1L463->SetBinContent(25,13744.9); h_SL1L463->SetBinContent(26,14301.02); h_SL1L463->SetBinContent(27,13719.39); h_SL1L463->SetBinContent(28,14239.8); h_SL1L463->SetBinContent(29,14306.12); h_SL1L463->SetBinContent(30,14683.67); h_SL1L463->SetBinContent(31,15285.71); h_SL1L463->SetBinContent(32,14831.63); h_SL1L463->SetBinContent(33,20908.16); h_SL1L463->SetBinContent(34,44678.57); h_SL1L463->SetBinContent(35,55571.43); h_SL1L463->SetBinContent(36,51994.9); h_SL1L463->SetBinContent(37,47214.29); h_SL1L463->SetBinContent(38,51066.32); h_SL1L463->SetBinContent(39,50346.94); h_SL1L463->SetBinContent(40,20846.94); h_SL1L463->SetBinContent(41,13867.35); h_SL1L463->SetBinContent(42,12127.55); h_SL1L463->SetBinContent(43,12561.22); h_SL1L463->SetBinContent(44,11852.04); h_SL1L463->SetBinContent(45,10755.1); h_SL1L463->SetBinContent(46,11000); h_SL1L463->SetBinContent(47,10530.61); h_SL1L463->SetBinContent(48,10321.43); h_SL1L463->SetBinContent(49,9081.633); h_SL1L463->SetBinContent(50,9841.837); h_SL1L463->SetBinContent(51,9178.571); h_SL1L463->SetBinContent(52,9076.53); h_SL1L463->SetBinContent(53,8969.388); h_SL1L463->SetBinContent(54,8913.266); h_SL1L463->SetBinContent(56,9709.184); h_SL1L463->SetBinContent(57,9188.775); h_SL1L463->SetBinContent(58,10469.39); h_SL1L463->SetBinContent(59,10913.27); h_SL1L463->SetMaximum(95361.99); 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 6887"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }