void RatesPerCell_Removing_noisy_cells_run_7082_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:07:42 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-14315.49,67.5,128839.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 7082",60,0,60); h_SL1L160->SetBinContent(1,360.1786); h_SL1L160->SetBinContent(2,720.3573); h_SL1L160->SetBinContent(3,771.8114); h_SL1L160->SetBinContent(4,771.8114); h_SL1L160->SetBinContent(5,514.541); h_SL1L160->SetBinContent(6,668.9032); h_SL1L160->SetBinContent(7,668.9032); h_SL1L160->SetBinContent(8,565.9951); h_SL1L160->SetBinContent(9,771.8114); h_SL1L160->SetBinContent(10,771.8114); h_SL1L160->SetBinContent(11,1080.536); h_SL1L160->SetBinContent(12,823.2655); h_SL1L160->SetBinContent(13,2521.25); h_SL1L160->SetBinContent(14,3035.792); h_SL1L160->SetBinContent(15,2829.975); h_SL1L160->SetBinContent(16,1852.347); h_SL1L160->SetBinContent(17,1903.802); h_SL1L160->SetBinContent(18,2109.618); h_SL1L160->SetBinContent(19,3035.792); h_SL1L160->SetBinContent(20,2932.883); h_SL1L160->SetBinContent(21,3756.149); h_SL1L160->SetBinContent(22,4476.506); h_SL1L160->SetBinContent(23,6071.583); h_SL1L160->SetBinContent(24,7409.39); h_SL1L160->SetBinContent(25,19089.47); h_SL1L160->SetBinContent(26,37201.31); h_SL1L160->SetBinContent(27,47492.13); h_SL1L160->SetBinContent(28,64214.71); h_SL1L160->SetBinContent(29,70646.47); h_SL1L160->SetBinContent(30,55364.61); h_SL1L160->SetBinContent(31,31078.27); h_SL1L160->SetBinContent(32,11165.54); h_SL1L160->SetBinContent(33,9519.008); h_SL1L160->SetBinContent(34,6174.491); h_SL1L160->SetBinContent(35,5351.226); h_SL1L160->SetBinContent(36,3704.695); h_SL1L160->SetBinContent(37,3190.154); h_SL1L160->SetBinContent(38,2366.888); h_SL1L160->SetBinContent(39,3293.062); h_SL1L160->SetBinContent(41,1697.985); h_SL1L160->SetBinContent(42,1595.077); h_SL1L160->SetBinContent(43,2006.71); h_SL1L160->SetBinContent(44,1337.806); h_SL1L160->SetBinContent(45,1286.352); h_SL1L160->SetBinContent(46,1131.99); h_SL1L160->SetBinContent(47,1286.352); h_SL1L160->SetBinContent(48,1697.985); h_SL1L160->SetBinContent(49,1286.352); h_SL1L160->SetBinContent(50,2109.618); h_SL1L160->SetBinContent(51,1234.898); h_SL1L160->SetBinContent(52,668.9032); h_SL1L160->SetBinContent(53,771.8114); h_SL1L160->SetBinContent(54,1440.715); h_SL1L160->SetBinContent(55,1286.352); h_SL1L160->SetBinContent(56,1080.536); h_SL1L160->SetMaximum(114523.9); 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,514.541); h_SL1L261->SetBinContent(2,668.9032); h_SL1L261->SetBinContent(3,1286.352); h_SL1L261->SetBinContent(4,514.541); h_SL1L261->SetBinContent(5,874.7196); h_SL1L261->SetBinContent(6,720.3573); h_SL1L261->SetBinContent(7,823.2655); h_SL1L261->SetBinContent(8,1029.082); h_SL1L261->SetBinContent(9,7049.211); h_SL1L261->SetBinContent(10,1029.082); h_SL1L261->SetBinContent(11,617.4491); h_SL1L261->SetBinContent(12,1131.99); h_SL1L261->SetBinContent(13,1183.444); h_SL1L261->SetBinContent(14,1492.169); h_SL1L261->SetBinContent(15,2058.164); h_SL1L261->SetBinContent(16,1492.169); h_SL1L261->SetBinContent(17,1595.077); h_SL1L261->SetBinContent(18,2727.067); h_SL1L261->SetBinContent(19,3395.97); h_SL1L261->SetBinContent(20,2624.159); h_SL1L261->SetBinContent(21,4167.782); h_SL1L261->SetBinContent(22,4836.685); h_SL1L261->SetBinContent(23,5711.404); h_SL1L261->SetBinContent(24,7100.665); h_SL1L261->SetBinContent(25,12246.07); h_SL1L261->SetBinContent(26,33187.89); h_SL1L261->SetBinContent(27,46051.41); h_SL1L261->SetBinContent(28,65243.79); h_SL1L261->SetBinContent(29,82172.19); h_SL1L261->SetBinContent(30,79650.94); h_SL1L261->SetBinContent(31,49087.21); h_SL1L261->SetBinContent(32,23977.61); h_SL1L261->SetBinContent(33,11319.9); h_SL1L261->SetBinContent(34,6894.849); h_SL1L261->SetBinContent(35,5557.042); h_SL1L261->SetBinContent(36,4630.869); h_SL1L261->SetBinContent(37,3087.246); h_SL1L261->SetBinContent(38,3035.792); h_SL1L261->SetBinContent(39,2984.337); h_SL1L261->SetBinContent(40,3395.97); h_SL1L261->SetBinContent(41,2829.975); h_SL1L261->SetBinContent(42,1492.169); h_SL1L261->SetBinContent(43,2263.98); h_SL1L261->SetBinContent(44,1543.623); h_SL1L261->SetBinContent(45,1955.256); h_SL1L261->SetBinContent(46,1595.077); h_SL1L261->SetBinContent(47,1080.536); h_SL1L261->SetBinContent(48,1955.256); h_SL1L261->SetBinContent(49,1337.806); h_SL1L261->SetBinContent(50,1440.715); h_SL1L261->SetBinContent(51,1543.623); h_SL1L261->SetBinContent(52,771.8114); h_SL1L261->SetBinContent(53,977.6278); h_SL1L261->SetBinContent(54,1131.99); h_SL1L261->SetBinContent(55,1440.715); h_SL1L261->SetBinContent(56,926.1737); h_SL1L261->SetMaximum(99586.83); 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,514.541); h_SL1L362->SetBinContent(2,565.9951); h_SL1L362->SetBinContent(3,720.3573); h_SL1L362->SetBinContent(4,514.541); h_SL1L362->SetBinContent(5,257.2705); h_SL1L362->SetBinContent(6,720.3573); h_SL1L362->SetBinContent(7,1337.806); h_SL1L362->SetBinContent(8,874.7196); h_SL1L362->SetBinContent(9,771.8114); h_SL1L362->SetBinContent(10,926.1737); h_SL1L362->SetBinContent(11,1131.99); h_SL1L362->SetBinContent(12,1286.352); h_SL1L362->SetBinContent(13,1183.444); h_SL1L362->SetBinContent(14,1955.256); h_SL1L362->SetBinContent(15,2418.343); h_SL1L362->SetBinContent(16,2006.71); h_SL1L362->SetBinContent(17,2572.705); h_SL1L362->SetBinContent(18,2161.072); h_SL1L362->SetBinContent(19,3241.608); h_SL1L362->SetBinContent(20,3087.246); h_SL1L362->SetBinContent(21,3807.603); h_SL1L362->SetBinContent(22,4682.323); h_SL1L362->SetBinContent(23,5968.675); h_SL1L362->SetBinContent(24,8747.196); h_SL1L362->SetBinContent(25,22742.71); h_SL1L362->SetBinContent(26,41574.91); h_SL1L362->SetBinContent(27,58246.04); h_SL1L362->SetBinContent(28,80165.48); h_SL1L362->SetBinContent(29,86597.24); h_SL1L362->SetBinContent(30,64986.52); h_SL1L362->SetBinContent(31,38178.94); h_SL1L362->SetBinContent(32,13275.16); h_SL1L362->SetBinContent(33,8850.104); h_SL1L362->SetBinContent(34,5865.767); h_SL1L362->SetBinContent(35,4425.052); h_SL1L362->SetBinContent(36,4116.328); h_SL1L362->SetBinContent(37,3704.695); h_SL1L362->SetBinContent(38,2469.796); h_SL1L362->SetBinContent(39,2984.337); h_SL1L362->SetBinContent(40,3087.246); h_SL1L362->SetBinContent(41,2212.526); h_SL1L362->SetBinContent(42,1903.802); h_SL1L362->SetBinContent(43,1955.256); h_SL1L362->SetBinContent(44,1543.623); h_SL1L362->SetBinContent(45,1852.347); h_SL1L362->SetBinContent(46,1131.99); h_SL1L362->SetBinContent(47,1234.898); h_SL1L362->SetBinContent(48,1903.802); h_SL1L362->SetBinContent(49,1131.99); h_SL1L362->SetBinContent(50,1749.439); h_SL1L362->SetBinContent(51,977.6278); h_SL1L362->SetBinContent(52,1131.99); h_SL1L362->SetBinContent(53,1131.99); h_SL1L362->SetBinContent(54,1080.536); h_SL1L362->SetBinContent(55,1389.26); h_SL1L362->SetBinContent(56,823.2655); h_SL1L362->SetMaximum(99586.83); 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(3,102.9082); h_SL1L463->SetBinContent(4,205.8164); h_SL1L463->SetBinContent(6,257.2705); h_SL1L463->SetBinContent(7,154.3623); h_SL1L463->SetBinContent(8,257.2705); h_SL1L463->SetBinContent(9,154.3623); h_SL1L463->SetBinContent(10,51.45409); h_SL1L463->SetBinContent(11,154.3623); h_SL1L463->SetBinContent(12,411.6328); h_SL1L463->SetBinContent(13,411.6328); h_SL1L463->SetBinContent(14,2572.705); h_SL1L463->SetBinContent(15,2161.072); h_SL1L463->SetBinContent(16,1852.347); h_SL1L463->SetBinContent(17,411.6328); h_SL1L463->SetBinContent(18,565.9951); h_SL1L463->SetBinContent(19,977.6278); h_SL1L463->SetBinContent(20,617.4491); h_SL1L463->SetBinContent(21,668.9032); h_SL1L463->SetBinContent(22,720.3573); h_SL1L463->SetBinContent(23,1234.898); h_SL1L463->SetBinContent(24,1286.352); h_SL1L463->SetBinContent(25,2006.71); h_SL1L463->SetBinContent(26,7409.39); h_SL1L463->SetBinContent(27,9313.191); h_SL1L463->SetBinContent(28,11834.44); h_SL1L463->SetBinContent(29,14098.42); h_SL1L463->SetBinContent(30,13789.7); h_SL1L463->SetBinContent(31,10702.45); h_SL1L463->SetBinContent(32,4219.236); h_SL1L463->SetBinContent(33,1131.99); h_SL1L463->SetBinContent(34,1389.26); h_SL1L463->SetBinContent(35,1029.082); h_SL1L463->SetBinContent(36,720.3573); h_SL1L463->SetBinContent(41,257.2705); h_SL1L463->SetBinContent(42,411.6328); h_SL1L463->SetBinContent(43,617.4491); h_SL1L463->SetBinContent(44,411.6328); h_SL1L463->SetBinContent(45,514.541); h_SL1L463->SetBinContent(46,205.8164); h_SL1L463->SetBinContent(47,102.9082); h_SL1L463->SetBinContent(48,257.2705); h_SL1L463->SetBinContent(49,205.8164); h_SL1L463->SetBinContent(50,205.8164); h_SL1L463->SetBinContent(51,308.7245); h_SL1L463->SetBinContent(52,154.3623); h_SL1L463->SetBinContent(53,257.2705); h_SL1L463->SetBinContent(54,257.2705); h_SL1L463->SetBinContent(56,154.3623); h_SL1L463->SetMaximum(99586.83); 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 7082"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }