void RatesPerCell_Removing_noisy_cells_run_6883_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:09:05 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13877.77,67.5,124899.9); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6883",60,0,60); h_SL1L160->SetBinContent(1,18158.16); h_SL1L160->SetBinContent(2,17821.43); h_SL1L160->SetBinContent(3,18005.1); h_SL1L160->SetBinContent(4,17204.08); h_SL1L160->SetBinContent(5,17163.27); h_SL1L160->SetBinContent(6,18214.29); h_SL1L160->SetBinContent(7,17617.35); h_SL1L160->SetBinContent(8,17117.35); h_SL1L160->SetBinContent(9,16382.65); h_SL1L160->SetBinContent(10,15091.84); h_SL1L160->SetBinContent(11,14984.69); h_SL1L160->SetBinContent(12,14887.75); h_SL1L160->SetBinContent(13,16056.12); h_SL1L160->SetBinContent(14,15836.73); h_SL1L160->SetBinContent(15,16163.27); h_SL1L160->SetBinContent(16,15239.8); h_SL1L160->SetBinContent(17,15372.45); h_SL1L160->SetBinContent(18,17035.71); h_SL1L160->SetBinContent(19,18020.41); h_SL1L160->SetBinContent(20,17290.82); h_SL1L160->SetBinContent(21,17765.31); h_SL1L160->SetBinContent(22,17857.14); h_SL1L160->SetBinContent(23,18489.79); h_SL1L160->SetBinContent(24,17285.71); h_SL1L160->SetBinContent(25,17484.69); h_SL1L160->SetBinContent(26,16755.1); h_SL1L160->SetBinContent(27,16729.59); h_SL1L160->SetBinContent(28,17612.24); h_SL1L160->SetBinContent(29,17209.18); h_SL1L160->SetBinContent(30,17908.16); h_SL1L160->SetBinContent(31,17739.79); h_SL1L160->SetBinContent(32,19433.67); h_SL1L160->SetBinContent(33,40887.75); h_SL1L160->SetBinContent(34,56306.12); h_SL1L160->SetBinContent(35,60051.02); h_SL1L160->SetBinContent(36,61178.57); h_SL1L160->SetBinContent(37,65841.84); h_SL1L160->SetBinContent(38,64413.27); h_SL1L160->SetBinContent(39,43168.37); h_SL1L160->SetBinContent(40,19331.63); h_SL1L160->SetBinContent(41,17239.79); h_SL1L160->SetBinContent(42,16719.39); h_SL1L160->SetBinContent(43,15632.65); h_SL1L160->SetBinContent(44,15321.43); h_SL1L160->SetBinContent(45,14367.35); h_SL1L160->SetBinContent(46,14306.12); h_SL1L160->SetBinContent(47,13443.88); h_SL1L160->SetBinContent(48,13091.84); h_SL1L160->SetBinContent(49,13413.27); h_SL1L160->SetBinContent(50,13183.67); h_SL1L160->SetBinContent(51,12219.39); h_SL1L160->SetBinContent(52,12698.98); h_SL1L160->SetBinContent(53,12530.61); h_SL1L160->SetBinContent(54,12489.8); h_SL1L160->SetBinContent(55,13127.55); h_SL1L160->SetBinContent(56,12464.29); h_SL1L160->SetBinContent(57,13673.47); h_SL1L160->SetBinContent(58,13479.59); h_SL1L160->SetBinContent(59,13831.63); h_SL1L160->SetMaximum(111022.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,19040.82); h_SL1L261->SetBinContent(2,18188.78); h_SL1L261->SetBinContent(3,17719.39); h_SL1L261->SetBinContent(4,18173.47); h_SL1L261->SetBinContent(5,17852.04); h_SL1L261->SetBinContent(6,19265.31); h_SL1L261->SetBinContent(7,19117.35); h_SL1L261->SetBinContent(8,18250); h_SL1L261->SetBinContent(9,18117.35); h_SL1L261->SetBinContent(10,15653.06); h_SL1L261->SetBinContent(11,15423.47); h_SL1L261->SetBinContent(12,16770.41); h_SL1L261->SetBinContent(13,16750); h_SL1L261->SetBinContent(14,18020.41); h_SL1L261->SetBinContent(15,18714.29); h_SL1L261->SetBinContent(16,17943.88); h_SL1L261->SetBinContent(17,18005.1); h_SL1L261->SetBinContent(18,18025.51); h_SL1L261->SetBinContent(19,19270.41); h_SL1L261->SetBinContent(20,19596.94); h_SL1L261->SetBinContent(21,20096.94); h_SL1L261->SetBinContent(22,20622.45); h_SL1L261->SetBinContent(23,21423.47); h_SL1L261->SetBinContent(24,21571.43); h_SL1L261->SetBinContent(25,21040.82); h_SL1L261->SetBinContent(26,20658.16); h_SL1L261->SetBinContent(27,19923.47); h_SL1L261->SetBinContent(28,20658.16); h_SL1L261->SetBinContent(29,21540.82); h_SL1L261->SetBinContent(30,21454.08); h_SL1L261->SetBinContent(31,21984.69); h_SL1L261->SetBinContent(32,23744.9); h_SL1L261->SetBinContent(33,34969.39); h_SL1L261->SetBinContent(34,68066.33); h_SL1L261->SetBinContent(35,75571.43); h_SL1L261->SetBinContent(36,79250); h_SL1L261->SetBinContent(37,83948.98); h_SL1L261->SetBinContent(38,82250); h_SL1L261->SetBinContent(39,69204.08); h_SL1L261->SetBinContent(40,35086.73); h_SL1L261->SetBinContent(41,22806.12); h_SL1L261->SetBinContent(42,19265.31); h_SL1L261->SetBinContent(43,19168.37); h_SL1L261->SetBinContent(44,18811.22); h_SL1L261->SetBinContent(45,18209.18); h_SL1L261->SetBinContent(46,17780.61); h_SL1L261->SetBinContent(47,18005.1); h_SL1L261->SetBinContent(48,17142.86); h_SL1L261->SetBinContent(49,34581.63); h_SL1L261->SetBinContent(50,16673.47); h_SL1L261->SetBinContent(51,15734.69); h_SL1L261->SetBinContent(52,15403.06); h_SL1L261->SetBinContent(53,16056.12); h_SL1L261->SetBinContent(54,15357.14); h_SL1L261->SetBinContent(55,16183.67); h_SL1L261->SetBinContent(56,22505.1); h_SL1L261->SetBinContent(57,15209.18); h_SL1L261->SetBinContent(58,14801.02); h_SL1L261->SetBinContent(59,13673.47); h_SL1L261->SetMaximum(96541.32); 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,8545.918); h_SL1L362->SetBinContent(2,8091.836); h_SL1L362->SetBinContent(3,8500); h_SL1L362->SetBinContent(4,8535.714); h_SL1L362->SetBinContent(5,8469.388); h_SL1L362->SetBinContent(6,8489.796); h_SL1L362->SetBinContent(7,8469.388); h_SL1L362->SetBinContent(8,8280.612); h_SL1L362->SetBinContent(9,7474.49); h_SL1L362->SetBinContent(10,7132.653); h_SL1L362->SetBinContent(11,7265.306); h_SL1L362->SetBinContent(12,7474.49); h_SL1L362->SetBinContent(13,8260.204); h_SL1L362->SetBinContent(14,7801.021); h_SL1L362->SetBinContent(15,8224.489); h_SL1L362->SetBinContent(16,7505.102); h_SL1L362->SetBinContent(17,7704.082); h_SL1L362->SetBinContent(18,7714.286); h_SL1L362->SetBinContent(19,8086.734); h_SL1L362->SetBinContent(20,8622.449); h_SL1L362->SetBinContent(21,8928.571); h_SL1L362->SetBinContent(22,8647.959); h_SL1L362->SetBinContent(23,8857.143); h_SL1L362->SetBinContent(24,8994.897); h_SL1L362->SetBinContent(25,8469.388); h_SL1L362->SetBinContent(26,7801.021); h_SL1L362->SetBinContent(27,8719.388); h_SL1L362->SetBinContent(28,7816.327); h_SL1L362->SetBinContent(29,8964.285); h_SL1L362->SetBinContent(30,7933.673); h_SL1L362->SetBinContent(31,8693.878); h_SL1L362->SetBinContent(32,8714.285); h_SL1L362->SetBinContent(33,13653.06); h_SL1L362->SetBinContent(34,18260.2); h_SL1L362->SetBinContent(35,20081.63); h_SL1L362->SetBinContent(36,19056.12); h_SL1L362->SetBinContent(37,20556.12); h_SL1L362->SetBinContent(38,18158.16); h_SL1L362->SetBinContent(39,15056.12); h_SL1L362->SetBinContent(40,7566.327); h_SL1L362->SetBinContent(41,7867.347); h_SL1L362->SetBinContent(42,8122.449); h_SL1L362->SetBinContent(43,7959.184); h_SL1L362->SetBinContent(44,7836.734); h_SL1L362->SetBinContent(45,7015.306); h_SL1L362->SetBinContent(46,7571.429); h_SL1L362->SetBinContent(47,7469.388); h_SL1L362->SetBinContent(48,6489.796); h_SL1L362->SetBinContent(49,7137.755); h_SL1L362->SetBinContent(50,6780.612); h_SL1L362->SetBinContent(51,6566.327); h_SL1L362->SetBinContent(52,6377.551); h_SL1L362->SetBinContent(53,10795.92); h_SL1L362->SetBinContent(54,6443.877); h_SL1L362->SetBinContent(55,6025.51); h_SL1L362->SetBinContent(56,14010.2); h_SL1L362->SetBinContent(57,6872.449); h_SL1L362->SetBinContent(58,5892.857); h_SL1L362->SetBinContent(59,5622.449); h_SL1L362->SetMaximum(96541.32); 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,16071.43); h_SL1L463->SetBinContent(3,15964.29); h_SL1L463->SetBinContent(4,15678.57); h_SL1L463->SetBinContent(5,15627.55); h_SL1L463->SetBinContent(6,15892.86); h_SL1L463->SetBinContent(7,15586.73); h_SL1L463->SetBinContent(8,15954.08); h_SL1L463->SetBinContent(9,15443.88); h_SL1L463->SetBinContent(10,14423.47); h_SL1L463->SetBinContent(11,14897.96); h_SL1L463->SetBinContent(12,14301.02); h_SL1L463->SetBinContent(13,14770.41); h_SL1L463->SetBinContent(14,15795.92); h_SL1L463->SetBinContent(15,16025.51); h_SL1L463->SetBinContent(16,15071.43); h_SL1L463->SetBinContent(17,14979.59); h_SL1L463->SetBinContent(18,15229.59); h_SL1L463->SetBinContent(19,15556.12); h_SL1L463->SetBinContent(20,15979.59); h_SL1L463->SetBinContent(21,16816.33); h_SL1L463->SetBinContent(22,16862.24); h_SL1L463->SetBinContent(23,16836.73); h_SL1L463->SetBinContent(24,17505.1); h_SL1L463->SetBinContent(25,15841.84); h_SL1L463->SetBinContent(26,16505.1); h_SL1L463->SetBinContent(27,16132.65); h_SL1L463->SetBinContent(28,15964.29); h_SL1L463->SetBinContent(29,16397.96); h_SL1L463->SetBinContent(30,17755.1); h_SL1L463->SetBinContent(31,17311.22); h_SL1L463->SetBinContent(32,18505.1); h_SL1L463->SetBinContent(33,24882.65); h_SL1L463->SetBinContent(34,54270.41); h_SL1L463->SetBinContent(35,62923.47); h_SL1L463->SetBinContent(36,62387.75); h_SL1L463->SetBinContent(37,60811.22); h_SL1L463->SetBinContent(38,63760.2); h_SL1L463->SetBinContent(39,57632.65); h_SL1L463->SetBinContent(40,25872.45); h_SL1L463->SetBinContent(41,16265.31); h_SL1L463->SetBinContent(42,15045.92); h_SL1L463->SetBinContent(43,14612.25); h_SL1L463->SetBinContent(44,14015.31); h_SL1L463->SetBinContent(45,12775.51); h_SL1L463->SetBinContent(46,12790.82); h_SL1L463->SetBinContent(47,12704.08); h_SL1L463->SetBinContent(48,12096.94); h_SL1L463->SetBinContent(49,10688.78); h_SL1L463->SetBinContent(50,11137.75); h_SL1L463->SetBinContent(51,10571.43); h_SL1L463->SetBinContent(52,10841.84); h_SL1L463->SetBinContent(53,11311.22); h_SL1L463->SetBinContent(54,11000); h_SL1L463->SetBinContent(55,5.102041); h_SL1L463->SetBinContent(56,11137.75); h_SL1L463->SetBinContent(57,11076.53); h_SL1L463->SetBinContent(58,12596.94); h_SL1L463->SetBinContent(59,11918.37); h_SL1L463->SetMaximum(96541.32); 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 6883"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }