void RatesPerCell_Removing_noisy_cells_run_6831_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:07:38 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-33996.16,67.5,305965.4); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6831",60,0,60); h_SL1L160->SetBinContent(1,56933.67); h_SL1L160->SetBinContent(2,55255.1); h_SL1L160->SetBinContent(3,56688.77); h_SL1L160->SetBinContent(4,56081.63); h_SL1L160->SetBinContent(5,53857.14); h_SL1L160->SetBinContent(6,56653.06); h_SL1L160->SetBinContent(7,54290.82); h_SL1L160->SetBinContent(8,53658.16); h_SL1L160->SetBinContent(9,49025.51); h_SL1L160->SetBinContent(10,44979.59); h_SL1L160->SetBinContent(11,44642.86); h_SL1L160->SetBinContent(12,46051.02); h_SL1L160->SetBinContent(13,49857.14); h_SL1L160->SetBinContent(14,47500); h_SL1L160->SetBinContent(15,46311.22); h_SL1L160->SetBinContent(16,46326.53); h_SL1L160->SetBinContent(17,47448.98); h_SL1L160->SetBinContent(18,50035.71); h_SL1L160->SetBinContent(19,51612.25); h_SL1L160->SetBinContent(20,50362.25); h_SL1L160->SetBinContent(21,53051.02); h_SL1L160->SetBinContent(22,52765.3); h_SL1L160->SetBinContent(23,52770.41); h_SL1L160->SetBinContent(24,49204.08); h_SL1L160->SetBinContent(25,49785.71); h_SL1L160->SetBinContent(26,49275.51); h_SL1L160->SetBinContent(27,47586.73); h_SL1L160->SetBinContent(28,48025.51); h_SL1L160->SetBinContent(29,47576.53); h_SL1L160->SetBinContent(30,48928.57); h_SL1L160->SetBinContent(31,45801.02); h_SL1L160->SetBinContent(32,44214.29); h_SL1L160->SetBinContent(33,66918.37); h_SL1L160->SetBinContent(34,84484.7); h_SL1L160->SetBinContent(35,89372.45); h_SL1L160->SetBinContent(36,87428.57); h_SL1L160->SetBinContent(37,96836.73); h_SL1L160->SetBinContent(38,111219.4); h_SL1L160->SetBinContent(39,70260.2); h_SL1L160->SetBinContent(40,43892.86); h_SL1L160->SetBinContent(41,42290.82); h_SL1L160->SetBinContent(42,43433.67); h_SL1L160->SetBinContent(43,41637.75); h_SL1L160->SetBinContent(44,41816.32); h_SL1L160->SetBinContent(45,38617.35); h_SL1L160->SetBinContent(46,37178.57); h_SL1L160->SetBinContent(47,37214.29); h_SL1L160->SetBinContent(48,34362.25); h_SL1L160->SetBinContent(49,35607.14); h_SL1L160->SetBinContent(50,35525.51); h_SL1L160->SetBinContent(51,33081.63); h_SL1L160->SetBinContent(52,35107.14); h_SL1L160->SetBinContent(53,34877.55); h_SL1L160->SetBinContent(54,34295.92); h_SL1L160->SetBinContent(55,35239.8); h_SL1L160->SetBinContent(56,35959.18); h_SL1L160->SetBinContent(57,38561.22); h_SL1L160->SetBinContent(58,38096.94); h_SL1L160->SetBinContent(59,39637.75); h_SL1L160->SetMaximum(271969.2); 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,59015.3); h_SL1L261->SetBinContent(2,55841.84); h_SL1L261->SetBinContent(3,56841.84); h_SL1L261->SetBinContent(4,57158.16); h_SL1L261->SetBinContent(5,55709.18); h_SL1L261->SetBinContent(6,60423.47); h_SL1L261->SetBinContent(7,58627.55); h_SL1L261->SetBinContent(8,57877.55); h_SL1L261->SetBinContent(9,58265.3); h_SL1L261->SetBinContent(10,50903.06); h_SL1L261->SetBinContent(11,48535.71); h_SL1L261->SetBinContent(12,49438.77); h_SL1L261->SetBinContent(13,51739.8); h_SL1L261->SetBinContent(14,54882.65); h_SL1L261->SetBinContent(15,54581.63); h_SL1L261->SetBinContent(16,55112.25); h_SL1L261->SetBinContent(17,53086.73); h_SL1L261->SetBinContent(18,54923.47); h_SL1L261->SetBinContent(19,57704.08); h_SL1L261->SetBinContent(20,57153.06); h_SL1L261->SetBinContent(21,58989.8); h_SL1L261->SetBinContent(22,61602.04); h_SL1L261->SetBinContent(23,61964.29); h_SL1L261->SetBinContent(24,62301.02); h_SL1L261->SetBinContent(25,63321.43); h_SL1L261->SetBinContent(26,59739.8); h_SL1L261->SetBinContent(27,57923.47); h_SL1L261->SetBinContent(28,60433.67); h_SL1L261->SetBinContent(29,60086.73); h_SL1L261->SetBinContent(30,60785.71); h_SL1L261->SetBinContent(31,59025.51); h_SL1L261->SetBinContent(32,57653.06); h_SL1L261->SetBinContent(33,68969.39); h_SL1L261->SetBinContent(34,100964.3); h_SL1L261->SetBinContent(35,109449); h_SL1L261->SetBinContent(36,114602); h_SL1L261->SetBinContent(37,118642.9); h_SL1L261->SetBinContent(38,115545.9); h_SL1L261->SetBinContent(39,101535.7); h_SL1L261->SetBinContent(40,65178.57); h_SL1L261->SetBinContent(41,54938.77); h_SL1L261->SetBinContent(42,49964.29); h_SL1L261->SetBinContent(43,50117.35); h_SL1L261->SetBinContent(44,48051.02); h_SL1L261->SetBinContent(45,48525.51); h_SL1L261->SetBinContent(46,48336.73); h_SL1L261->SetBinContent(47,49622.45); h_SL1L261->SetBinContent(48,47836.73); h_SL1L261->SetBinContent(49,205648); h_SL1L261->SetBinContent(50,46000); h_SL1L261->SetBinContent(51,45219.39); h_SL1L261->SetBinContent(52,61581.63); h_SL1L261->SetBinContent(53,73331.63); h_SL1L261->SetBinContent(54,43709.18); h_SL1L261->SetBinContent(55,44474.49); h_SL1L261->SetBinContent(56,173387.8); h_SL1L261->SetBinContent(57,51459.18); h_SL1L261->SetBinContent(58,41500); h_SL1L261->SetBinContent(59,40270.41); h_SL1L261->SetMaximum(236495.1); 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,55474.49); h_SL1L362->SetBinContent(2,53739.8); h_SL1L362->SetBinContent(3,55091.84); h_SL1L362->SetBinContent(4,52244.9); h_SL1L362->SetBinContent(5,56693.88); h_SL1L362->SetBinContent(6,58244.9); h_SL1L362->SetBinContent(7,55852.04); h_SL1L362->SetBinContent(8,56341.84); h_SL1L362->SetBinContent(9,50739.8); h_SL1L362->SetBinContent(10,46816.32); h_SL1L362->SetBinContent(11,46816.32); h_SL1L362->SetBinContent(12,48663.27); h_SL1L362->SetBinContent(13,51387.75); h_SL1L362->SetBinContent(14,54331.63); h_SL1L362->SetBinContent(15,53581.63); h_SL1L362->SetBinContent(16,51025.51); h_SL1L362->SetBinContent(17,52051.02); h_SL1L362->SetBinContent(18,54520.41); h_SL1L362->SetBinContent(19,56000); h_SL1L362->SetBinContent(20,55551.02); h_SL1L362->SetBinContent(21,59622.45); h_SL1L362->SetBinContent(22,60617.35); h_SL1L362->SetBinContent(23,60423.47); h_SL1L362->SetBinContent(24,60357.14); h_SL1L362->SetBinContent(25,59836.73); h_SL1L362->SetBinContent(26,55290.82); h_SL1L362->SetBinContent(27,56846.94); h_SL1L362->SetBinContent(28,57341.84); h_SL1L362->SetBinContent(29,59117.35); h_SL1L362->SetBinContent(30,57178.57); h_SL1L362->SetBinContent(31,56301.02); h_SL1L362->SetBinContent(32,56908.16); h_SL1L362->SetBinContent(33,86321.43); h_SL1L362->SetBinContent(34,107158.2); h_SL1L362->SetBinContent(35,110765.3); h_SL1L362->SetBinContent(36,116755.1); h_SL1L362->SetBinContent(37,115586.7); h_SL1L362->SetBinContent(38,108265.3); h_SL1L362->SetBinContent(39,84275.51); h_SL1L362->SetBinContent(40,53581.63); h_SL1L362->SetBinContent(41,49443.88); h_SL1L362->SetBinContent(42,49433.67); h_SL1L362->SetBinContent(43,47413.27); h_SL1L362->SetBinContent(44,46158.16); h_SL1L362->SetBinContent(45,46209.18); h_SL1L362->SetBinContent(46,47311.22); h_SL1L362->SetBinContent(47,47244.9); h_SL1L362->SetBinContent(48,44250); h_SL1L362->SetBinContent(49,48994.9); h_SL1L362->SetBinContent(50,43688.77); h_SL1L362->SetBinContent(51,42459.18); h_SL1L362->SetBinContent(52,41428.57); h_SL1L362->SetBinContent(53,129938.8); h_SL1L362->SetBinContent(54,41903.06); h_SL1L362->SetBinContent(55,42882.65); h_SL1L362->SetBinContent(56,160438.8); h_SL1L362->SetBinContent(57,73295.91); h_SL1L362->SetBinContent(58,39081.63); h_SL1L362->SetBinContent(59,40321.43); h_SL1L362->SetMaximum(236495.1); 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,49153.06); h_SL1L463->SetBinContent(3,49234.7); h_SL1L463->SetBinContent(4,46632.65); h_SL1L463->SetBinContent(5,46000); h_SL1L463->SetBinContent(6,47882.65); h_SL1L463->SetBinContent(7,47556.12); h_SL1L463->SetBinContent(8,47913.27); h_SL1L463->SetBinContent(9,46622.45); h_SL1L463->SetBinContent(10,43556.12); h_SL1L463->SetBinContent(11,43173.47); h_SL1L463->SetBinContent(12,43892.86); h_SL1L463->SetBinContent(13,46020.41); h_SL1L463->SetBinContent(14,49066.32); h_SL1L463->SetBinContent(15,49484.7); h_SL1L463->SetBinContent(16,46647.96); h_SL1L463->SetBinContent(17,44326.53); h_SL1L463->SetBinContent(18,45005.1); h_SL1L463->SetBinContent(19,47862.25); h_SL1L463->SetBinContent(20,46908.16); h_SL1L463->SetBinContent(21,47683.67); h_SL1L463->SetBinContent(22,48739.8); h_SL1L463->SetBinContent(23,49015.3); h_SL1L463->SetBinContent(24,49153.06); h_SL1L463->SetBinContent(25,46071.43); h_SL1L463->SetBinContent(26,47821.43); h_SL1L463->SetBinContent(27,45061.22); h_SL1L463->SetBinContent(28,45637.75); h_SL1L463->SetBinContent(29,46448.98); h_SL1L463->SetBinContent(30,46887.75); h_SL1L463->SetBinContent(31,49316.32); h_SL1L463->SetBinContent(32,43872.45); h_SL1L463->SetBinContent(33,47091.84); h_SL1L463->SetBinContent(34,78183.67); h_SL1L463->SetBinContent(35,115229.6); h_SL1L463->SetBinContent(36,83607.14); h_SL1L463->SetBinContent(37,78785.71); h_SL1L463->SetBinContent(38,80801.02); h_SL1L463->SetBinContent(39,89357.14); h_SL1L463->SetBinContent(40,44489.8); h_SL1L463->SetBinContent(41,36780.61); h_SL1L463->SetBinContent(42,38510.2); h_SL1L463->SetBinContent(43,40704.08); h_SL1L463->SetBinContent(44,37224.49); h_SL1L463->SetBinContent(45,32285.71); h_SL1L463->SetBinContent(46,35403.06); h_SL1L463->SetBinContent(47,33127.55); h_SL1L463->SetBinContent(48,31326.53); h_SL1L463->SetBinContent(49,28392.86); h_SL1L463->SetBinContent(50,31183.67); h_SL1L463->SetBinContent(51,27841.84); h_SL1L463->SetBinContent(52,28857.14); h_SL1L463->SetBinContent(53,28408.16); h_SL1L463->SetBinContent(54,28765.31); h_SL1L463->SetBinContent(55,5.102041); h_SL1L463->SetBinContent(56,31857.14); h_SL1L463->SetBinContent(57,32239.79); h_SL1L463->SetBinContent(58,35020.41); h_SL1L463->SetBinContent(59,34275.51); h_SL1L463->SetMaximum(236495.1); 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.3744221,0.9362587,0.6255779,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL1, run 6831"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }