void RatesPerCell_Removing_noisy_cells_run_5682_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 14:46:29 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1355.994,67.5,12203.94); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 5682",60,0,60); h_SL1L160->SetBinContent(1,3074.641); h_SL1L160->SetBinContent(2,3475.12); h_SL1L160->SetBinContent(3,4508.613); h_SL1L160->SetBinContent(4,5380.623); h_SL1L160->SetBinContent(5,5929.666); h_SL1L160->SetBinContent(6,6310.766); h_SL1L160->SetBinContent(7,6149.283); h_SL1L160->SetBinContent(8,5916.747); h_SL1L160->SetBinContent(9,6898.565); h_SL1L160->SetBinContent(10,7156.938); h_SL1L160->SetBinContent(11,6162.201); h_SL1L160->SetBinContent(12,6601.436); h_SL1L160->SetBinContent(13,7098.804); h_SL1L160->SetBinContent(14,7202.154); h_SL1L160->SetBinContent(15,6704.785); h_SL1L160->SetBinContent(16,6620.814); h_SL1L160->SetBinContent(17,7227.991); h_SL1L160->SetBinContent(18,7447.608); h_SL1L160->SetBinContent(19,6517.464); h_SL1L160->SetBinContent(20,6879.187); h_SL1L160->SetBinContent(21,7647.847); h_SL1L160->SetBinContent(22,7053.589); h_SL1L160->SetBinContent(23,6859.809); h_SL1L160->SetBinContent(24,7008.374); h_SL1L160->SetBinContent(25,7777.034); h_SL1L160->SetBinContent(26,7027.751); h_SL1L160->SetBinContent(27,6963.158); h_SL1L160->SetBinContent(28,7034.211); h_SL1L160->SetBinContent(29,7428.23); h_SL1L160->SetBinContent(30,7925.599); h_SL1L160->SetBinContent(31,7118.182); h_SL1L160->SetBinContent(32,7279.666); h_SL1L160->SetBinContent(33,7731.819); h_SL1L160->SetBinContent(34,7460.527); h_SL1L160->SetBinContent(35,7008.374); h_SL1L160->SetBinContent(36,7305.503); h_SL1L160->SetBinContent(37,7163.397); h_SL1L160->SetBinContent(38,7402.393); h_SL1L160->SetBinContent(39,7738.278); h_SL1L160->SetBinContent(40,7292.584); h_SL1L160->SetBinContent(41,7525.12); h_SL1L160->SetBinContent(42,7072.967); h_SL1L160->SetBinContent(43,6588.517); h_SL1L160->SetBinContent(44,6814.594); h_SL1L160->SetBinContent(45,7040.67); h_SL1L160->SetBinContent(46,7208.613); h_SL1L160->SetBinContent(47,5509.809); h_SL1L160->SetBinContent(48,5438.756); h_SL1L160->SetBinContent(49,5522.728); h_SL1L160->SetBinContent(50,5503.35); h_SL1L160->SetBinContent(51,4799.283); h_SL1L160->SetBinContent(52,5309.57); h_SL1L160->SetBinContent(53,5393.541); h_SL1L160->SetBinContent(54,5658.374); h_SL1L160->SetBinContent(55,4715.312); h_SL1L160->SetBinContent(56,4211.483); h_SL1L160->SetBinContent(57,4056.459); h_SL1L160->SetBinContent(58,3365.311); h_SL1L160->SetBinContent(59,2816.268); h_SL1L160->SetMaximum(10847.95); 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,3249.043); h_SL1L261->SetBinContent(2,3449.282); h_SL1L261->SetBinContent(3,4050); h_SL1L261->SetBinContent(4,5141.627); h_SL1L261->SetBinContent(5,5819.857); h_SL1L261->SetBinContent(6,6549.761); h_SL1L261->SetBinContent(7,6045.934); h_SL1L261->SetBinContent(8,6433.493); h_SL1L261->SetBinContent(9,6859.809); h_SL1L261->SetBinContent(10,7215.072); h_SL1L261->SetBinContent(11,6846.891); h_SL1L261->SetBinContent(12,6465.79); h_SL1L261->SetBinContent(13,7376.556); h_SL1L261->SetBinContent(14,7001.915); h_SL1L261->SetBinContent(15,6730.623); h_SL1L261->SetBinContent(16,6827.512); h_SL1L261->SetBinContent(17,7137.56); h_SL1L261->SetBinContent(18,7718.9); h_SL1L261->SetBinContent(19,6750); h_SL1L261->SetBinContent(20,6898.565); h_SL1L261->SetBinContent(21,7828.708); h_SL1L261->SetBinContent(22,7415.312); h_SL1L261->SetBinContent(23,6840.431); h_SL1L261->SetBinContent(24,7176.316); h_SL1L261->SetBinContent(25,7402.393); h_SL1L261->SetBinContent(26,7970.814); h_SL1L261->SetBinContent(27,6943.78); h_SL1L261->SetBinContent(28,7389.474); h_SL1L261->SetBinContent(29,7383.015); h_SL1L261->SetBinContent(30,7951.436); h_SL1L261->SetBinContent(31,7718.9); h_SL1L261->SetBinContent(32,7557.417); h_SL1L261->SetBinContent(33,7777.034); h_SL1L261->SetBinContent(34,8203.35); h_SL1L261->SetBinContent(35,7163.397); h_SL1L261->SetBinContent(36,7234.45); h_SL1L261->SetBinContent(37,7615.551); h_SL1L261->SetBinContent(38,7428.23); h_SL1L261->SetBinContent(39,7402.393); h_SL1L261->SetBinContent(40,7544.498); h_SL1L261->SetBinContent(41,7628.469); h_SL1L261->SetBinContent(42,7563.876); h_SL1L261->SetBinContent(43,6956.699); h_SL1L261->SetBinContent(44,6601.436); h_SL1L261->SetBinContent(45,6988.996); h_SL1L261->SetBinContent(46,7492.823); h_SL1L261->SetBinContent(47,6317.225); h_SL1L261->SetBinContent(48,5496.89); h_SL1L261->SetBinContent(49,6459.331); h_SL1L261->SetBinContent(50,5567.943); h_SL1L261->SetBinContent(51,5044.737); h_SL1L261->SetBinContent(52,5341.866); h_SL1L261->SetBinContent(53,5626.077); h_SL1L261->SetBinContent(54,5794.02); h_SL1L261->SetBinContent(55,5303.11); h_SL1L261->SetBinContent(56,4805.742); h_SL1L261->SetBinContent(57,4237.321); h_SL1L261->SetBinContent(58,3894.976); h_SL1L261->SetBinContent(59,3307.177); h_SL1L261->SetMaximum(9433.852); 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,3087.56); h_SL1L362->SetBinContent(2,3785.168); h_SL1L362->SetBinContent(3,4670.096); h_SL1L362->SetBinContent(4,5606.699); h_SL1L362->SetBinContent(5,6569.139); h_SL1L362->SetBinContent(6,6291.388); h_SL1L362->SetBinContent(7,6523.924); h_SL1L362->SetBinContent(8,6601.436); h_SL1L362->SetBinContent(9,7460.527); h_SL1L362->SetBinContent(10,6808.134); h_SL1L362->SetBinContent(11,6317.225); h_SL1L362->SetBinContent(12,7227.991); h_SL1L362->SetBinContent(13,7428.23); h_SL1L362->SetBinContent(14,7047.13); h_SL1L362->SetBinContent(15,6614.354); h_SL1L362->SetBinContent(16,7557.417); h_SL1L362->SetBinContent(17,7221.532); h_SL1L362->SetBinContent(18,7124.642); h_SL1L362->SetBinContent(19,6969.618); h_SL1L362->SetBinContent(20,7499.283); h_SL1L362->SetBinContent(21,8054.785); h_SL1L362->SetBinContent(22,7021.292); h_SL1L362->SetBinContent(23,6808.134); h_SL1L362->SetBinContent(24,7415.312); h_SL1L362->SetBinContent(25,7919.139); h_SL1L362->SetBinContent(26,7299.043); h_SL1L362->SetBinContent(27,7240.91); h_SL1L362->SetBinContent(28,7576.795); h_SL1L362->SetBinContent(29,7725.359); h_SL1L362->SetBinContent(30,8022.489); h_SL1L362->SetBinContent(31,7331.34); h_SL1L362->SetBinContent(32,8028.948); h_SL1L362->SetBinContent(33,8067.704); h_SL1L362->SetBinContent(34,7809.331); h_SL1L362->SetBinContent(35,6976.077); h_SL1L362->SetBinContent(36,7757.656); h_SL1L362->SetBinContent(37,7622.01); h_SL1L362->SetBinContent(38,7227.991); h_SL1L362->SetBinContent(39,7383.015); h_SL1L362->SetBinContent(40,7538.039); h_SL1L362->SetBinContent(41,7693.062); h_SL1L362->SetBinContent(42,7434.689); h_SL1L362->SetBinContent(43,6614.354); h_SL1L362->SetBinContent(44,7098.804); h_SL1L362->SetBinContent(45,7454.067); h_SL1L362->SetBinContent(46,7473.445); h_SL1L362->SetBinContent(47,5516.268); h_SL1L362->SetBinContent(48,5697.129); h_SL1L362->SetBinContent(49,6091.149); h_SL1L362->SetBinContent(50,5283.732); h_SL1L362->SetBinContent(51,5277.273); h_SL1L362->SetBinContent(52,5529.187); h_SL1L362->SetBinContent(53,5684.211); h_SL1L362->SetBinContent(54,5664.833); h_SL1L362->SetBinContent(55,5031.818); h_SL1L362->SetBinContent(56,4928.469); h_SL1L362->SetBinContent(57,4327.751); h_SL1L362->SetBinContent(58,3636.603); h_SL1L362->SetBinContent(59,2835.646); h_SL1L362->SetMaximum(9433.852); 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,3468.66); h_SL1L463->SetBinContent(3,4288.996); h_SL1L463->SetBinContent(4,5451.675); h_SL1L463->SetBinContent(5,6000.718); h_SL1L463->SetBinContent(6,6775.838); h_SL1L463->SetBinContent(7,6239.713); h_SL1L463->SetBinContent(8,6607.895); h_SL1L463->SetBinContent(9,7085.886); h_SL1L463->SetBinContent(10,7421.771); h_SL1L463->SetBinContent(11,6627.273); h_SL1L463->SetBinContent(12,6433.493); h_SL1L463->SetBinContent(13,7596.173); h_SL1L463->SetBinContent(14,7189.235); h_SL1L463->SetBinContent(15,6691.867); h_SL1L463->SetBinContent(16,7014.833); h_SL1L463->SetBinContent(17,7563.876); h_SL1L463->SetBinContent(18,7531.58); h_SL1L463->SetBinContent(19,6633.732); h_SL1L463->SetBinContent(20,7350.718); h_SL1L463->SetBinContent(21,7970.814); h_SL1L463->SetBinContent(22,7647.847); h_SL1L463->SetBinContent(23,6691.867); h_SL1L463->SetBinContent(24,7441.149); h_SL1L463->SetBinContent(25,7570.335); h_SL1L463->SetBinContent(26,7641.388); h_SL1L463->SetBinContent(27,6982.536); h_SL1L463->SetBinContent(28,7389.474); h_SL1L463->SetBinContent(29,7718.9); h_SL1L463->SetBinContent(30,7622.01); h_SL1L463->SetBinContent(31,7337.799); h_SL1L463->SetBinContent(32,7861.005); h_SL1L463->SetBinContent(33,8009.57); h_SL1L463->SetBinContent(34,8003.11); h_SL1L463->SetBinContent(35,7144.02); h_SL1L463->SetBinContent(36,7486.364); h_SL1L463->SetBinContent(37,7809.331); h_SL1L463->SetBinContent(38,7434.689); h_SL1L463->SetBinContent(39,7273.206); h_SL1L463->SetBinContent(40,7589.713); h_SL1L463->SetBinContent(41,7499.283); h_SL1L463->SetBinContent(42,7654.307); h_SL1L463->SetBinContent(43,6969.618); h_SL1L463->SetBinContent(44,6943.78); h_SL1L463->SetBinContent(45,7357.178); h_SL1L463->SetBinContent(46,7583.254); h_SL1L463->SetBinContent(47,6045.934); h_SL1L463->SetBinContent(48,5600.24); h_SL1L463->SetBinContent(49,6181.579); h_SL1L463->SetBinContent(50,5548.565); h_SL1L463->SetBinContent(51,4870.335); h_SL1L463->SetBinContent(52,5458.134); h_SL1L463->SetBinContent(53,5632.536); h_SL1L463->SetBinContent(54,5781.101); h_SL1L463->SetBinContent(55,38.75598); h_SL1L463->SetBinContent(56,5096.412); h_SL1L463->SetBinContent(57,4599.043); h_SL1L463->SetBinContent(58,4011.244); h_SL1L463->SetBinContent(59,3223.206); h_SL1L463->SetMaximum(9433.852); 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 5682"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }