void RatesPerCell_Removing_noisy_cells_run_6786_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 19:12:44 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12048.98,67.5,108440.8); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6786",60,0,60); h_SL1L160->SetBinContent(1,4922.901); h_SL1L160->SetBinContent(2,5026.23); h_SL1L160->SetBinContent(3,4962.265); h_SL1L160->SetBinContent(4,5006.549); h_SL1L160->SetBinContent(5,4969.646); h_SL1L160->SetBinContent(6,5183.685); h_SL1L160->SetBinContent(7,4925.362); h_SL1L160->SetBinContent(8,5026.23); h_SL1L160->SetBinContent(9,4580.931); h_SL1L160->SetBinContent(10,4457.92); h_SL1L160->SetBinContent(11,4494.823); h_SL1L160->SetBinContent(12,4600.612); h_SL1L160->SetBinContent(13,5004.089); h_SL1L160->SetBinContent(14,4814.652); h_SL1L160->SetBinContent(15,5018.85); h_SL1L160->SetBinContent(16,4408.715); h_SL1L160->SetBinContent(17,5072.975); h_SL1L160->SetBinContent(18,5405.104); h_SL1L160->SetBinContent(19,5550.258); h_SL1L160->SetBinContent(20,5579.78); h_SL1L160->SetBinContent(21,5867.626); h_SL1L160->SetBinContent(22,6226.818); h_SL1L160->SetBinContent(23,6155.472); h_SL1L160->SetBinContent(24,5843.024); h_SL1L160->SetBinContent(25,6054.603); h_SL1L160->SetBinContent(26,6295.705); h_SL1L160->SetBinContent(27,5943.893); h_SL1L160->SetBinContent(28,6962.424); h_SL1L160->SetBinContent(29,6898.458); h_SL1L160->SetBinContent(30,7368.361); h_SL1L160->SetBinContent(31,8037.541); h_SL1L160->SetBinContent(32,11403.12); h_SL1L160->SetBinContent(33,36298.09); h_SL1L160->SetBinContent(34,53185.05); h_SL1L160->SetBinContent(35,57906.21); h_SL1L160->SetBinContent(36,60415.64); h_SL1L160->SetBinContent(37,64443.02); h_SL1L160->SetBinContent(38,59338.06); h_SL1L160->SetBinContent(39,38485.23); h_SL1L160->SetBinContent(40,11494.15); h_SL1L160->SetBinContent(41,8008.018); h_SL1L160->SetBinContent(42,7213.367); h_SL1L160->SetBinContent(43,6622.914); h_SL1L160->SetBinContent(44,6386.732); h_SL1L160->SetBinContent(45,6071.824); h_SL1L160->SetBinContent(46,5808.581); h_SL1L160->SetBinContent(47,5835.643); h_SL1L160->SetBinContent(48,5181.225); h_SL1L160->SetBinContent(49,5178.764); h_SL1L160->SetBinContent(50,4831.873); h_SL1L160->SetBinContent(51,4743.305); h_SL1L160->SetBinContent(52,4541.567); h_SL1L160->SetBinContent(53,4484.982); h_SL1L160->SetBinContent(54,4359.511); h_SL1L160->SetBinContent(55,4241.42); h_SL1L160->SetBinContent(56,4393.954); h_SL1L160->SetBinContent(57,4605.533); h_SL1L160->SetBinContent(58,4384.113); h_SL1L160->SetBinContent(59,4475.141); h_SL1L160->SetMaximum(96391.85); 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,5159.083); h_SL1L261->SetBinContent(2,4785.129); h_SL1L261->SetBinContent(3,5011.469); h_SL1L261->SetBinContent(4,5127.1); h_SL1L261->SetBinContent(5,4851.555); h_SL1L261->SetBinContent(6,5414.945); h_SL1L261->SetBinContent(7,5048.373); h_SL1L261->SetBinContent(8,5070.515); h_SL1L261->SetBinContent(9,5011.469); h_SL1L261->SetBinContent(10,4379.192); h_SL1L261->SetBinContent(11,4418.556); h_SL1L261->SetBinContent(12,4726.083); h_SL1L261->SetBinContent(13,4760.527); h_SL1L261->SetBinContent(14,5050.833); h_SL1L261->SetBinContent(15,4981.947); h_SL1L261->SetBinContent(16,4812.191); h_SL1L261->SetBinContent(17,4989.327); h_SL1L261->SetBinContent(18,5296.855); h_SL1L261->SetBinContent(19,5665.888); h_SL1L261->SetBinContent(20,5756.916); h_SL1L261->SetBinContent(21,6012.779); h_SL1L261->SetBinContent(22,6433.477); h_SL1L261->SetBinContent(23,6376.892); h_SL1L261->SetBinContent(24,6677.039); h_SL1L261->SetBinContent(25,6797.589); h_SL1L261->SetBinContent(26,6369.511); h_SL1L261->SetBinContent(27,6750.845); h_SL1L261->SetBinContent(28,7053.452); h_SL1L261->SetBinContent(29,7880.086); h_SL1L261->SetBinContent(30,7880.086); h_SL1L261->SetBinContent(31,8605.852); h_SL1L261->SetBinContent(32,11203.84); h_SL1L261->SetBinContent(33,23278.61); h_SL1L261->SetBinContent(34,54732.53); h_SL1L261->SetBinContent(35,63062.84); h_SL1L261->SetBinContent(36,67941.45); h_SL1L261->SetBinContent(37,71533.38); h_SL1L261->SetBinContent(38,69887.48); h_SL1L261->SetBinContent(39,58253.1); h_SL1L261->SetBinContent(40,22771.8); h_SL1L261->SetBinContent(41,11476.93); h_SL1L261->SetBinContent(42,8401.653); h_SL1L261->SetBinContent(43,7501.212); h_SL1L261->SetBinContent(44,7105.117); h_SL1L261->SetBinContent(45,6696.72); h_SL1L261->SetBinContent(46,6817.271); h_SL1L261->SetBinContent(47,6632.755); h_SL1L261->SetBinContent(48,6148.091); h_SL1L261->SetBinContent(49,9995.876); h_SL1L261->SetBinContent(50,5442.008); h_SL1L261->SetBinContent(51,5424.786); h_SL1L261->SetBinContent(52,5227.969); h_SL1L261->SetBinContent(53,5176.304); h_SL1L261->SetBinContent(54,4903.22); h_SL1L261->SetBinContent(55,5028.691); h_SL1L261->SetBinContent(56,6214.517); h_SL1L261->SetBinContent(57,4809.731); h_SL1L261->SetBinContent(58,4524.346); h_SL1L261->SetBinContent(59,4548.948); h_SL1L261->SetMaximum(83819.47); 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,4787.589); h_SL1L362->SetBinContent(2,4639.976); h_SL1L362->SetBinContent(3,4817.112); h_SL1L362->SetBinContent(4,4733.464); h_SL1L362->SetBinContent(5,5085.276); h_SL1L362->SetBinContent(6,4861.396); h_SL1L362->SetBinContent(7,4979.486); h_SL1L362->SetBinContent(8,4915.521); h_SL1L362->SetBinContent(9,4393.954); h_SL1L362->SetBinContent(10,4364.431); h_SL1L362->SetBinContent(11,4197.136); h_SL1L362->SetBinContent(12,4440.698); h_SL1L362->SetBinContent(13,4858.936); h_SL1L362->SetBinContent(14,5016.39); h_SL1L362->SetBinContent(15,4782.669); h_SL1L362->SetBinContent(16,4711.322); h_SL1L362->SetBinContent(17,5072.975); h_SL1L362->SetBinContent(18,5427.247); h_SL1L362->SetBinContent(19,5638.826); h_SL1L362->SetBinContent(20,5764.297); h_SL1L362->SetBinContent(21,6113.648); h_SL1L362->SetBinContent(22,6093.966); h_SL1L362->SetBinContent(23,6455.619); h_SL1L362->SetBinContent(24,6522.045); h_SL1L362->SetBinContent(25,6554.028); h_SL1L362->SetBinContent(26,6339.988); h_SL1L362->SetBinContent(27,6477.761); h_SL1L362->SetBinContent(28,7193.685); h_SL1L362->SetBinContent(29,7538.116); h_SL1L362->SetBinContent(30,7966.194); h_SL1L362->SetBinContent(31,9292.253); h_SL1L362->SetBinContent(32,13157.26); h_SL1L362->SetBinContent(33,41663.84); h_SL1L362->SetBinContent(34,60295.09); h_SL1L362->SetBinContent(35,65825.66); h_SL1L362->SetBinContent(36,70111.37); h_SL1L362->SetBinContent(37,72886.49); h_SL1L362->SetBinContent(38,64782.53); h_SL1L362->SetBinContent(39,42825.06); h_SL1L362->SetBinContent(40,12780.85); h_SL1L362->SetBinContent(41,8955.203); h_SL1L362->SetBinContent(42,7843.183); h_SL1L362->SetBinContent(43,6905.839); h_SL1L362->SetBinContent(44,6753.306); h_SL1L362->SetBinContent(45,6472.84); h_SL1L362->SetBinContent(46,6514.664); h_SL1L362->SetBinContent(47,6325.227); h_SL1L362->SetBinContent(48,5466.61); h_SL1L362->SetBinContent(49,5678.189); h_SL1L362->SetBinContent(50,5481.372); h_SL1L362->SetBinContent(51,5272.253); h_SL1L362->SetBinContent(52,4856.476); h_SL1L362->SetBinContent(53,5867.626); h_SL1L362->SetBinContent(54,4851.555); h_SL1L362->SetBinContent(55,4797.43); h_SL1L362->SetBinContent(56,6303.085); h_SL1L362->SetBinContent(57,4492.363); h_SL1L362->SetBinContent(58,4411.175); h_SL1L362->SetBinContent(59,4452.999); h_SL1L362->SetMaximum(83819.47); 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,4526.806); h_SL1L463->SetBinContent(3,4721.163); h_SL1L463->SetBinContent(4,4728.544); h_SL1L463->SetBinContent(5,4418.556); h_SL1L463->SetBinContent(6,4760.527); h_SL1L463->SetBinContent(7,4600.612); h_SL1L463->SetBinContent(8,4723.624); h_SL1L463->SetBinContent(9,4770.368); h_SL1L463->SetBinContent(10,4150.392); h_SL1L463->SetBinContent(11,4103.648); h_SL1L463->SetBinContent(12,4408.715); h_SL1L463->SetBinContent(13,4440.698); h_SL1L463->SetBinContent(14,4630.135); h_SL1L463->SetBinContent(15,4979.486); h_SL1L463->SetBinContent(16,4391.494); h_SL1L463->SetBinContent(17,4642.436); h_SL1L463->SetBinContent(18,4814.652); h_SL1L463->SetBinContent(19,5259.952); h_SL1L463->SetBinContent(20,5496.133); h_SL1L463->SetBinContent(21,5550.258); h_SL1L463->SetBinContent(22,5557.638); h_SL1L463->SetBinContent(23,5651.126); h_SL1L463->SetBinContent(24,6184.995); h_SL1L463->SetBinContent(25,6187.455); h_SL1L463->SetBinContent(26,6020.16); h_SL1L463->SetBinContent(27,6079.205); h_SL1L463->SetBinContent(28,6485.142); h_SL1L463->SetBinContent(29,7114.958); h_SL1L463->SetBinContent(30,7483.991); h_SL1L463->SetBinContent(31,8022.779); h_SL1L463->SetBinContent(32,10721.64); h_SL1L463->SetBinContent(33,22114.92); h_SL1L463->SetBinContent(34,53736.14); h_SL1L463->SetBinContent(35,62870.94); h_SL1L463->SetBinContent(36,66930.3); h_SL1L463->SetBinContent(37,70588.65); h_SL1L463->SetBinContent(38,68389.21); h_SL1L463->SetBinContent(39,58014.46); h_SL1L463->SetBinContent(40,22119.84); h_SL1L463->SetBinContent(41,10601.09); h_SL1L463->SetBinContent(42,7779.217); h_SL1L463->SetBinContent(43,6959.964); h_SL1L463->SetBinContent(44,6492.522); h_SL1L463->SetBinContent(45,5973.416); h_SL1L463->SetBinContent(46,5916.831); h_SL1L463->SetBinContent(47,6039.841); h_SL1L463->SetBinContent(48,5496.133); h_SL1L463->SetBinContent(49,5075.435); h_SL1L463->SetBinContent(50,5237.81); h_SL1L463->SetBinContent(51,5013.93); h_SL1L463->SetBinContent(52,4546.488); h_SL1L463->SetBinContent(53,4571.09); h_SL1L463->SetBinContent(54,4753.146); h_SL1L463->SetBinContent(55,27.06243); h_SL1L463->SetBinContent(56,4349.67); h_SL1L463->SetBinContent(57,4320.147); h_SL1L463->SetBinContent(58,4224.199); h_SL1L463->SetBinContent(59,4393.954); h_SL1L463->SetMaximum(83819.47); 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 6786"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }