void RatesPerCell_Removing_noisy_cells_run_7294_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:35:02 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-2077.044,67.5,18693.39); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7294",60,0,60); h_SL1L160->SetBinContent(1,3063.448); h_SL1L160->SetBinContent(2,3584.886); h_SL1L160->SetBinContent(3,4439.891); h_SL1L160->SetBinContent(4,5241.219); h_SL1L160->SetBinContent(5,5620.795); h_SL1L160->SetBinContent(6,5931.357); h_SL1L160->SetBinContent(7,5962.03); h_SL1L160->SetBinContent(8,6314.768); h_SL1L160->SetBinContent(9,6479.634); h_SL1L160->SetBinContent(10,6583.155); h_SL1L160->SetBinContent(11,6307.099); h_SL1L160->SetBinContent(12,6080.887); h_SL1L160->SetBinContent(13,6617.662); h_SL1L160->SetBinContent(14,12146.44); h_SL1L160->SetBinContent(15,11417.96); h_SL1L160->SetBinContent(16,6690.509); h_SL1L160->SetBinContent(17,6671.339); h_SL1L160->SetBinContent(18,6786.362); h_SL1L160->SetBinContent(19,6571.652); h_SL1L160->SetBinContent(20,6517.975); h_SL1L160->SetBinContent(21,6690.509); h_SL1L160->SetBinContent(22,6537.146); h_SL1L160->SetBinContent(23,6337.772); h_SL1L160->SetBinContent(24,6548.647); h_SL1L160->SetBinContent(25,6663.671); h_SL1L160->SetBinContent(26,6970.399); h_SL1L160->SetBinContent(27,6414.454); h_SL1L160->SetBinContent(28,6920.556); h_SL1L160->SetBinContent(29,6958.896); h_SL1L160->SetBinContent(30,7265.625); h_SL1L160->SetBinContent(31,6951.229); h_SL1L160->SetBinContent(32,6981.901); h_SL1L160->SetBinContent(33,7411.321); h_SL1L160->SetBinContent(34,7507.173); h_SL1L160->SetBinContent(35,6667.505); h_SL1L160->SetBinContent(36,6966.565); h_SL1L160->SetBinContent(37,6981.901); h_SL1L160->SetBinContent(38,7035.579); h_SL1L160->SetBinContent(39,6245.753); h_SL1L160->SetBinContent(40,3.834103); h_SL1L160->SetBinContent(41,6767.191); h_SL1L160->SetBinContent(42,6514.141); h_SL1L160->SetBinContent(43,6057.882); h_SL1L160->SetBinContent(44,5873.846); h_SL1L160->SetBinContent(45,6123.062); h_SL1L160->SetBinContent(46,5816.334); h_SL1L160->SetBinContent(47,4796.463); h_SL1L160->SetBinContent(48,4796.463); h_SL1L160->SetBinContent(49,4999.67); h_SL1L160->SetBinContent(50,5191.375); h_SL1L160->SetBinContent(51,4750.454); h_SL1L160->SetBinContent(52,4811.799); h_SL1L160->SetBinContent(53,5394.583); h_SL1L160->SetBinContent(54,4551.08); h_SL1L160->SetBinContent(55,3849.439); h_SL1L160->SetBinContent(56,3692.241); h_SL1L160->SetMaximum(16616.35); 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,2760.554); h_SL1L261->SetBinContent(2,3347.172); h_SL1L261->SetBinContent(3,3937.624); h_SL1L261->SetBinContent(4,5149.2); h_SL1L261->SetBinContent(5,5402.251); h_SL1L261->SetBinContent(6,5912.187); h_SL1L261->SetBinContent(7,6249.588); h_SL1L261->SetBinContent(8,6061.717); h_SL1L261->SetBinContent(9,6682.841); h_SL1L261->SetBinContent(10,6874.546); h_SL1L261->SetBinContent(11,6261.09); h_SL1L261->SetBinContent(12,6448.961); h_SL1L261->SetBinContent(13,6448.961); h_SL1L261->SetBinContent(14,7188.943); h_SL1L261->SetBinContent(15,6483.468); h_SL1L261->SetBinContent(16,6529.477); h_SL1L261->SetBinContent(17,7024.077); h_SL1L261->SetBinContent(18,6993.404); h_SL1L261->SetBinContent(19,6583.155); h_SL1L261->SetBinContent(20,6725.017); h_SL1L261->SetBinContent(21,7024.077); h_SL1L261->SetBinContent(22,6920.556); h_SL1L261->SetBinContent(23,6169.071); h_SL1L261->SetBinContent(24,6514.141); h_SL1L261->SetBinContent(25,7073.92); h_SL1L261->SetBinContent(26,7215.782); h_SL1L261->SetBinContent(27,6625.33); h_SL1L261->SetBinContent(28,6675.173); h_SL1L261->SetBinContent(29,7303.966); h_SL1L261->SetBinContent(30,7438.16); h_SL1L261->SetBinContent(31,6889.883); h_SL1L261->SetBinContent(32,7231.118); h_SL1L261->SetBinContent(33,7875.247); h_SL1L261->SetBinContent(34,7499.505); h_SL1L261->SetBinContent(35,7008.74); h_SL1L261->SetBinContent(36,6797.864); h_SL1L261->SetBinContent(37,7250.289); h_SL1L261->SetBinContent(38,7338.473); h_SL1L261->SetBinContent(39,6659.837); h_SL1L261->SetBinContent(40,6625.33); h_SL1L261->SetBinContent(41,7123.763); h_SL1L261->SetBinContent(42,7004.906); h_SL1L261->SetBinContent(43,5992.703); h_SL1L261->SetBinContent(44,6061.717); h_SL1L261->SetBinContent(45,6491.136); h_SL1L261->SetBinContent(46,6272.592); h_SL1L261->SetBinContent(47,5145.366); h_SL1L261->SetBinContent(48,4784.96); h_SL1L261->SetBinContent(49,5245.053); h_SL1L261->SetBinContent(50,5015.006); h_SL1L261->SetBinContent(51,5137.698); h_SL1L261->SetBinContent(52,4796.463); h_SL1L261->SetBinContent(53,5455.928); h_SL1L261->SetBinContent(54,5406.085); h_SL1L261->SetBinContent(55,4301.863); h_SL1L261->SetBinContent(56,4079.485); h_SL1L261->SetMaximum(14449.01); 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,3071.116); h_SL1L362->SetBinContent(2,3719.08); h_SL1L362->SetBinContent(3,4566.417); h_SL1L362->SetBinContent(4,5544.113); h_SL1L362->SetBinContent(5,5916.021); h_SL1L362->SetBinContent(6,6180.574); h_SL1L362->SetBinContent(7,6111.56); h_SL1L362->SetBinContent(8,6721.182); h_SL1L362->SetBinContent(9,6962.731); h_SL1L362->SetBinContent(10,6514.141); h_SL1L362->SetBinContent(11,6414.454); h_SL1L362->SetBinContent(12,6598.491); h_SL1L362->SetBinContent(13,6993.404); h_SL1L362->SetBinContent(14,6755.689); h_SL1L362->SetBinContent(15,6234.251); h_SL1L362->SetBinContent(16,7039.413); h_SL1L362->SetBinContent(17,7238.786); h_SL1L362->SetBinContent(18,6717.348); h_SL1L362->SetBinContent(19,6686.675); h_SL1L362->SetBinContent(20,6974.233); h_SL1L362->SetBinContent(21,7154.436); h_SL1L362->SetBinContent(22,6556.316); h_SL1L362->SetBinContent(23,6556.316); h_SL1L362->SetBinContent(24,6613.828); h_SL1L362->SetBinContent(25,7311.634); h_SL1L362->SetBinContent(26,6843.874); h_SL1L362->SetBinContent(27,6713.514); h_SL1L362->SetBinContent(28,7288.629); h_SL1L362->SetBinContent(29,7353.809); h_SL1L362->SetBinContent(30,7246.455); h_SL1L362->SetBinContent(31,7177.44); h_SL1L362->SetBinContent(32,7495.671); h_SL1L362->SetBinContent(33,7974.934); h_SL1L362->SetBinContent(34,7257.957); h_SL1L362->SetBinContent(35,6694.344); h_SL1L362->SetBinContent(36,7499.505); h_SL1L362->SetBinContent(37,7641.367); h_SL1L362->SetBinContent(38,6889.883); h_SL1L362->SetBinContent(39,6606.159); h_SL1L362->SetBinContent(40,6905.219); h_SL1L362->SetBinContent(41,7292.464); h_SL1L362->SetBinContent(42,6406.786); h_SL1L362->SetBinContent(43,6107.726); h_SL1L362->SetBinContent(44,6203.579); h_SL1L362->SetBinContent(45,6529.477); h_SL1L362->SetBinContent(46,5827.836); h_SL1L362->SetBinContent(47,4938.325); h_SL1L362->SetBinContent(48,5222.048); h_SL1L362->SetBinContent(49,5402.251); h_SL1L362->SetBinContent(50,4911.486); h_SL1L362->SetBinContent(51,5122.361); h_SL1L362->SetBinContent(52,5130.03); h_SL1L362->SetBinContent(53,5873.846); h_SL1L362->SetBinContent(54,4834.804); h_SL1L362->SetBinContent(55,4271.19); h_SL1L362->SetBinContent(56,4083.32); h_SL1L362->SetMaximum(14449.01); 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,3370.177); h_SL1L463->SetBinContent(3,3822.601); h_SL1L463->SetBinContent(4,5084.021); h_SL1L463->SetBinContent(5,5551.781); h_SL1L463->SetBinContent(6,5996.537); h_SL1L463->SetBinContent(7,5927.523); h_SL1L463->SetBinContent(8,6310.933); h_SL1L463->SetBinContent(9,6797.864); h_SL1L463->SetBinContent(10,6897.551); h_SL1L463->SetBinContent(11,5965.864); h_SL1L463->SetBinContent(12,6537.146); h_SL1L463->SetBinContent(13,6797.864); h_SL1L463->SetBinContent(14,7208.113); h_SL1L463->SetBinContent(15,12564.36); h_SL1L463->SetBinContent(16,8626.731); h_SL1L463->SetBinContent(17,7047.081); h_SL1L463->SetBinContent(18,6882.215); h_SL1L463->SetBinContent(19,6402.952); h_SL1L463->SetBinContent(20,6679.007); h_SL1L463->SetBinContent(21,7150.602); h_SL1L463->SetBinContent(22,6702.012); h_SL1L463->SetBinContent(23,5824.002); h_SL1L463->SetBinContent(24,6801.699); h_SL1L463->SetBinContent(25,6893.717); h_SL1L463->SetBinContent(26,7039.413); h_SL1L463->SetBinContent(27,6169.071); h_SL1L463->SetBinContent(28,6809.367); h_SL1L463->SetBinContent(29,7031.745); h_SL1L463->SetBinContent(30,7449.662); h_SL1L463->SetBinContent(31,6606.159); h_SL1L463->SetBinContent(32,7169.772); h_SL1L463->SetBinContent(33,8001.772); h_SL1L463->SetBinContent(34,7438.16); h_SL1L463->SetBinContent(35,6671.339); h_SL1L463->SetBinContent(36,6901.385); h_SL1L463->SetBinContent(37,3.834103); h_SL1L463->SetBinContent(38,19.17052); h_SL1L463->SetBinContent(39,3.834103); h_SL1L463->SetBinContent(40,3.834103); h_SL1L463->SetBinContent(41,6928.224); h_SL1L463->SetBinContent(42,6813.201); h_SL1L463->SetBinContent(43,5850.841); h_SL1L463->SetBinContent(44,6161.403); h_SL1L463->SetBinContent(45,6464.297); h_SL1L463->SetBinContent(46,6276.426); h_SL1L463->SetBinContent(47,4988.168); h_SL1L463->SetBinContent(48,4945.993); h_SL1L463->SetBinContent(49,5068.684); h_SL1L463->SetBinContent(50,4930.656); h_SL1L463->SetBinContent(51,4846.306); h_SL1L463->SetBinContent(52,4980.5); h_SL1L463->SetBinContent(53,5639.965); h_SL1L463->SetBinContent(54,5294.896); h_SL1L463->SetBinContent(55,3.834103); h_SL1L463->SetBinContent(56,4401.55); h_SL1L463->SetMaximum(14449.01); 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 7294"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }