void RatesPerCell_Removing_noisy_cells_run_6647_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:05:40 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-29786.44,67.5,268077.9); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6647",60,0,60); h_SL2L164->SetBinContent(1,8446.405); h_SL2L164->SetBinContent(2,10496.08); h_SL2L164->SetBinContent(3,12664.13); h_SL2L164->SetBinContent(4,13225.32); h_SL2L164->SetBinContent(5,12675.09); h_SL2L164->SetBinContent(6,11995.52); h_SL2L164->SetBinContent(7,10721.87); h_SL2L164->SetBinContent(8,10710.91); h_SL2L164->SetBinContent(9,12045.94); h_SL2L164->SetBinContent(10,12100.74); h_SL2L164->SetBinContent(11,12499.71); h_SL2L164->SetBinContent(12,12504.1); h_SL2L164->SetBinContent(13,12732.08); h_SL2L164->SetBinContent(14,12583.02); h_SL2L164->SetBinContent(15,12729.89); h_SL2L164->SetBinContent(16,12045.94); h_SL2L164->SetBinContent(17,11846.45); h_SL2L164->SetBinContent(18,11644.77); h_SL2L164->SetBinContent(19,11467.21); h_SL2L164->SetBinContent(20,11112.08); h_SL2L164->SetBinContent(21,10296.59); h_SL2L164->SetBinContent(22,9851.582); h_SL2L164->SetBinContent(23,10020.38); h_SL2L164->SetBinContent(24,9853.773); h_SL2L164->SetBinContent(25,14128.49); h_SL2L164->SetBinContent(26,32312.49); h_SL2L164->SetBinContent(27,46497.97); h_SL2L164->SetBinContent(28,55095.64); h_SL2L164->SetBinContent(29,56996.24); h_SL2L164->SetBinContent(30,55707.25); h_SL2L164->SetBinContent(31,53098.58); h_SL2L164->SetBinContent(32,53282.72); h_SL2L164->SetBinContent(33,52221.71); h_SL2L164->SetBinContent(34,31310.67); h_SL2L164->SetBinContent(36,7589.269); h_SL2L164->SetBinContent(37,8509.978); h_SL2L164->SetBinContent(38,7573.924); h_SL2L164->SetBinContent(39,7747.105); h_SL2L164->SetBinContent(40,64741.16); h_SL2L164->SetBinContent(41,180182.7); h_SL2L164->SetBinContent(42,9860.351); h_SL2L164->SetBinContent(43,10035.72); h_SL2L164->SetBinContent(44,9893.232); h_SL2L164->SetBinContent(45,4993.748); h_SL2L164->SetBinContent(46,4748.226); h_SL2L164->SetBinContent(47,4807.414); h_SL2L164->SetBinContent(48,4870.987); h_SL2L164->SetBinContent(49,4890.716); h_SL2L164->SetBinContent(50,4651.771); h_SL2L164->SetBinContent(51,4917.022); h_SL2L164->SetBinContent(52,5219.541); h_SL2L164->SetBinContent(53,5522.059); h_SL2L164->SetBinContent(54,5811.425); h_SL2L164->SetBinContent(55,5975.837); h_SL2L164->SetBinContent(56,4984.979); h_SL2L164->SetBinContent(57,10859.98); h_SL2L164->SetMaximum(238291.5); h_SL2L164->SetEntries(60); h_SL2L164->SetDirectory(0); h_SL2L164->SetStats(0); h_SL2L164->SetLineWidth(2); h_SL2L164->GetXaxis()->SetTitle("Cell"); h_SL2L164->GetXaxis()->SetLabelFont(42); h_SL2L164->GetXaxis()->SetLabelSize(0.035); h_SL2L164->GetXaxis()->SetTitleSize(0.035); h_SL2L164->GetXaxis()->SetTitleFont(42); h_SL2L164->GetYaxis()->SetTitle("Hz"); h_SL2L164->GetYaxis()->SetLabelFont(42); h_SL2L164->GetYaxis()->SetLabelSize(0.035); h_SL2L164->GetYaxis()->SetTitleSize(0.035); h_SL2L164->GetYaxis()->SetTitleOffset(1.45); h_SL2L164->GetYaxis()->SetTitleFont(42); h_SL2L164->GetZaxis()->SetLabelFont(42); h_SL2L164->GetZaxis()->SetLabelSize(0.035); h_SL2L164->GetZaxis()->SetTitleSize(0.035); h_SL2L164->GetZaxis()->SetTitleFont(42); h_SL2L164->Draw(""); TH1D *h_SL2L265 = new TH1D("h_SL2L265","",60,0,60); h_SL2L265->SetBinContent(1,7056.573); h_SL2L265->SetBinContent(2,10171.64); h_SL2L265->SetBinContent(3,11002.47); h_SL2L265->SetBinContent(4,12883.34); h_SL2L265->SetBinContent(5,12013.05); h_SL2L265->SetBinContent(6,11857.41); h_SL2L265->SetBinContent(7,11377.33); h_SL2L265->SetBinContent(8,9834.044); h_SL2L265->SetBinContent(9,11037.54); h_SL2L265->SetBinContent(10,11449.67); h_SL2L265->SetBinContent(11,12425.18); h_SL2L265->SetBinContent(12,11995.52); h_SL2L265->SetBinContent(13,11982.36); h_SL2L265->SetBinContent(14,12216.93); h_SL2L265->SetBinContent(15,11927.56); h_SL2L265->SetBinContent(16,11728.07); h_SL2L265->SetBinContent(17,11793.84); h_SL2L265->SetBinContent(18,11535.16); h_SL2L265->SetBinContent(19,11254.57); h_SL2L265->SetBinContent(20,10710.91); h_SL2L265->SetBinContent(21,10467.58); h_SL2L265->SetBinContent(22,9770.472); h_SL2L265->SetBinContent(23,9524.949); h_SL2L265->SetBinContent(24,9180.779); h_SL2L265->SetBinContent(25,10002.84); h_SL2L265->SetBinContent(26,22482.83); h_SL2L265->SetBinContent(27,39737.34); h_SL2L265->SetBinContent(28,51366.77); h_SL2L265->SetBinContent(29,56323.25); h_SL2L265->SetBinContent(30,56255.29); h_SL2L265->SetBinContent(31,53738.69); h_SL2L265->SetBinContent(32,52364.2); h_SL2L265->SetBinContent(33,54205.62); h_SL2L265->SetBinContent(34,44007.68); h_SL2L265->SetBinContent(35,18600.51); h_SL2L265->SetBinContent(36,8312.683); h_SL2L265->SetBinContent(37,7207.833); h_SL2L265->SetBinContent(38,6800.09); h_SL2L265->SetBinContent(39,6631.294); h_SL2L265->SetBinContent(40,7878.635); h_SL2L265->SetBinContent(41,6714.596); h_SL2L265->SetBinContent(42,6278.355); h_SL2L265->SetBinContent(43,5651.397); h_SL2L265->SetBinContent(44,5964.876); h_SL2L265->SetBinContent(45,5015.669); h_SL2L265->SetBinContent(46,4502.703); h_SL2L265->SetBinContent(47,4441.323); h_SL2L265->SetBinContent(48,4684.653); h_SL2L265->SetBinContent(49,4575.044); h_SL2L265->SetBinContent(50,4671.5); h_SL2L265->SetBinContent(51,4364.597); h_SL2L265->SetBinContent(52,4862.218); h_SL2L265->SetBinContent(53,5232.694); h_SL2L265->SetBinContent(54,5449.718); h_SL2L265->SetBinContent(55,5916.648); h_SL2L265->SetBinContent(56,5125.278); h_SL2L265->SetBinContent(57,4921.406); h_SL2L265->SetMaximum(207210.1); h_SL2L265->SetEntries(60); h_SL2L265->SetDirectory(0); h_SL2L265->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL2L265->SetLineColor(ci); h_SL2L265->SetLineWidth(2); h_SL2L265->GetXaxis()->SetTitle("Cell"); h_SL2L265->GetXaxis()->SetLabelFont(42); h_SL2L265->GetXaxis()->SetLabelSize(0.035); h_SL2L265->GetXaxis()->SetTitleSize(0.035); h_SL2L265->GetXaxis()->SetTitleFont(42); h_SL2L265->GetYaxis()->SetTitle("Hz"); h_SL2L265->GetYaxis()->SetLabelFont(42); h_SL2L265->GetYaxis()->SetLabelSize(0.035); h_SL2L265->GetYaxis()->SetTitleSize(0.035); h_SL2L265->GetYaxis()->SetTitleOffset(1.45); h_SL2L265->GetYaxis()->SetTitleFont(42); h_SL2L265->GetZaxis()->SetLabelFont(42); h_SL2L265->GetZaxis()->SetLabelSize(0.035); h_SL2L265->GetZaxis()->SetTitleSize(0.035); h_SL2L265->GetZaxis()->SetTitleFont(42); h_SL2L265->Draw("same"); TH1D *h_SL2L366 = new TH1D("h_SL2L366","",60,0,60); h_SL2L366->SetBinContent(1,8242.534); h_SL2L366->SetBinContent(2,9595.099); h_SL2L366->SetBinContent(3,12074.44); h_SL2L366->SetBinContent(4,11901.25); h_SL2L366->SetBinContent(5,12024.02); h_SL2L366->SetBinContent(6,11020); h_SL2L366->SetBinContent(7,10046.68); h_SL2L366->SetBinContent(8,10171.64); h_SL2L366->SetBinContent(9,11337.87); h_SL2L366->SetBinContent(10,11454.05); h_SL2L366->SetBinContent(11,11697.38); h_SL2L366->SetBinContent(12,11605.31); h_SL2L366->SetBinContent(13,11756.57); h_SL2L366->SetBinContent(14,11559.28); h_SL2L366->SetBinContent(15,11465.01); h_SL2L366->SetBinContent(16,11050.7); h_SL2L366->SetBinContent(17,11011.24); h_SL2L366->SetBinContent(18,11024.39); h_SL2L366->SetBinContent(19,10901.63); h_SL2L366->SetBinContent(20,10417.16); h_SL2L366->SetBinContent(21,9667.439); h_SL2L366->SetBinContent(22,8968.14); h_SL2L366->SetBinContent(23,9147.897); h_SL2L366->SetBinContent(24,9147.897); h_SL2L366->SetBinContent(25,13558.53); h_SL2L366->SetBinContent(26,31771.02); h_SL2L366->SetBinContent(27,45811.83); h_SL2L366->SetBinContent(28,54541.02); h_SL2L366->SetBinContent(29,56224.6); h_SL2L366->SetBinContent(30,55187.71); h_SL2L366->SetBinContent(31,52776.33); h_SL2L366->SetBinContent(32,52934.16); h_SL2L366->SetBinContent(33,51627.64); h_SL2L366->SetBinContent(34,31128.72); h_SL2L366->SetBinContent(35,10971.78); h_SL2L366->SetBinContent(36,7343.747); h_SL2L366->SetBinContent(37,6629.102); h_SL2L366->SetBinContent(38,6249.857); h_SL2L366->SetBinContent(39,5850.884); h_SL2L366->SetBinContent(40,6043.794); h_SL2L366->SetBinContent(41,5585.632); h_SL2L366->SetBinContent(42,5031.015); h_SL2L366->SetBinContent(43,4877.563); h_SL2L366->SetBinContent(44,4809.606); h_SL2L366->SetBinContent(45,4743.841); h_SL2L366->SetBinContent(46,4432.554); h_SL2L366->SetBinContent(47,4399.671); h_SL2L366->SetBinContent(48,4377.75); h_SL2L366->SetBinContent(49,4489.55); h_SL2L366->SetBinContent(50,4123.459); h_SL2L366->SetBinContent(51,4259.373); h_SL2L366->SetBinContent(52,4706.574); h_SL2L366->SetBinContent(53,4965.25); h_SL2L366->SetBinContent(54,5280.921); h_SL2L366->SetBinContent(55,5690.856); h_SL2L366->SetBinContent(56,4520.241); h_SL2L366->SetBinContent(57,4706.574); h_SL2L366->SetMaximum(207210.1); h_SL2L366->SetEntries(60); h_SL2L366->SetDirectory(0); h_SL2L366->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L366->SetLineColor(ci); h_SL2L366->SetLineWidth(2); h_SL2L366->GetXaxis()->SetTitle("Cell"); h_SL2L366->GetXaxis()->SetLabelFont(42); h_SL2L366->GetXaxis()->SetLabelSize(0.035); h_SL2L366->GetXaxis()->SetTitleSize(0.035); h_SL2L366->GetXaxis()->SetTitleFont(42); h_SL2L366->GetYaxis()->SetTitle("Hz"); h_SL2L366->GetYaxis()->SetLabelFont(42); h_SL2L366->GetYaxis()->SetLabelSize(0.035); h_SL2L366->GetYaxis()->SetTitleSize(0.035); h_SL2L366->GetYaxis()->SetTitleOffset(1.45); h_SL2L366->GetYaxis()->SetTitleFont(42); h_SL2L366->GetZaxis()->SetLabelFont(42); h_SL2L366->GetZaxis()->SetLabelSize(0.035); h_SL2L366->GetZaxis()->SetTitleSize(0.035); h_SL2L366->GetZaxis()->SetTitleFont(42); h_SL2L366->Draw("same"); TH1D *h_SL2L467 = new TH1D("h_SL2L467","",60,0,60); h_SL2L467->SetBinContent(2,9351.769); h_SL2L467->SetBinContent(3,10621.03); h_SL2L467->SetBinContent(4,11831.1); h_SL2L467->SetBinContent(5,11318.14); h_SL2L467->SetBinContent(6,10813.94); h_SL2L467->SetBinContent(7,10222.06); h_SL2L467->SetBinContent(8,8952.795); h_SL2L467->SetBinContent(9,10827.09); h_SL2L467->SetBinContent(10,10735.02); h_SL2L467->SetBinContent(11,10984.93); h_SL2L467->SetBinContent(12,11397.06); h_SL2L467->SetBinContent(13,11272.1); h_SL2L467->SetBinContent(14,11467.21); h_SL2L467->SetBinContent(15,11272.1); h_SL2L467->SetBinContent(16,10792.02); h_SL2L467->SetBinContent(17,11120.84); h_SL2L467->SetBinContent(18,10741.6); h_SL2L467->SetBinContent(19,10575); h_SL2L467->SetBinContent(20,10088.33); h_SL2L467->SetBinContent(21,9779.24); h_SL2L467->SetBinContent(22,9191.74); h_SL2L467->SetBinContent(23,8851.955); h_SL2L467->SetBinContent(24,8775.229); h_SL2L467->SetBinContent(25,9347.384); h_SL2L467->SetBinContent(26,22327.18); h_SL2L467->SetBinContent(27,39561.97); h_SL2L467->SetBinContent(28,50443.87); h_SL2L467->SetBinContent(29,55902.36); h_SL2L467->SetBinContent(30,56437.24); h_SL2L467->SetBinContent(31,53429.59); h_SL2L467->SetBinContent(32,52432.16); h_SL2L467->SetBinContent(33,54174.93); h_SL2L467->SetBinContent(34,43950.68); h_SL2L467->SetBinContent(35,18194.96); h_SL2L467->SetBinContent(36,7889.596); h_SL2L467->SetBinContent(37,6721.172); h_SL2L467->SetBinContent(38,6243.281); h_SL2L467->SetBinContent(39,5826.77); h_SL2L467->SetBinContent(40,5673.318); h_SL2L467->SetBinContent(41,5096.779); h_SL2L467->SetBinContent(42,5206.388); h_SL2L467->SetBinContent(43,5020.054); h_SL2L467->SetBinContent(44,4689.037); h_SL2L467->SetBinContent(45,4605.735); h_SL2L467->SetBinContent(46,4237.452); h_SL2L467->SetBinContent(47,4415.017); h_SL2L467->SetBinContent(48,4257.181); h_SL2L467->SetBinContent(49,4647.386); h_SL2L467->SetBinContent(50,4423.785); h_SL2L467->SetBinContent(51,4040.157); h_SL2L467->SetBinContent(52,4419.401); h_SL2L467->SetBinContent(53,4794.261); h_SL2L467->SetBinContent(54,5248.039); h_SL2L467->SetBinContent(55,5276.537); h_SL2L467->SetBinContent(56,4941.136); h_SL2L467->SetBinContent(57,4461.052); h_SL2L467->SetMaximum(207210.1); h_SL2L467->SetEntries(60); h_SL2L467->SetDirectory(0); h_SL2L467->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L467->SetLineColor(ci); h_SL2L467->SetLineWidth(2); h_SL2L467->GetXaxis()->SetTitle("Cell"); h_SL2L467->GetXaxis()->SetLabelFont(42); h_SL2L467->GetXaxis()->SetLabelSize(0.035); h_SL2L467->GetXaxis()->SetTitleSize(0.035); h_SL2L467->GetXaxis()->SetTitleFont(42); h_SL2L467->GetYaxis()->SetTitle("Hz"); h_SL2L467->GetYaxis()->SetLabelFont(42); h_SL2L467->GetYaxis()->SetLabelSize(0.035); h_SL2L467->GetYaxis()->SetTitleSize(0.035); h_SL2L467->GetYaxis()->SetTitleOffset(1.45); h_SL2L467->GetYaxis()->SetTitleFont(42); h_SL2L467->GetZaxis()->SetLabelFont(42); h_SL2L467->GetZaxis()->SetLabelSize(0.035); h_SL2L467->GetZaxis()->SetTitleSize(0.035); h_SL2L467->GetZaxis()->SetTitleFont(42); h_SL2L467->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_SL2L1","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_SL2L2","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_SL2L3","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_SL2L4","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("SL2, run 6647"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }