void RatesPerCell_Removing_noisy_cells_run_6871_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:18:23 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13375.94,67.5,120383.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 6871",60,0,60); h_SL1L160->SetBinContent(1,16634.27); h_SL1L160->SetBinContent(2,15752.12); h_SL1L160->SetBinContent(3,16335.38); h_SL1L160->SetBinContent(4,15610.98); h_SL1L160->SetBinContent(5,15382.65); h_SL1L160->SetBinContent(6,15654.56); h_SL1L160->SetBinContent(7,15278.87); h_SL1L160->SetBinContent(8,15241.51); h_SL1L160->SetBinContent(9,14230.67); h_SL1L160->SetBinContent(10,12813); h_SL1L160->SetBinContent(11,13001.88); h_SL1L160->SetBinContent(12,12947.92); h_SL1L160->SetBinContent(13,14149.72); h_SL1L160->SetBinContent(14,13796.86); h_SL1L160->SetBinContent(15,13657.79); h_SL1L160->SetBinContent(16,13033.02); h_SL1L160->SetBinContent(17,13327.76); h_SL1L160->SetBinContent(18,13701.38); h_SL1L160->SetBinContent(19,14176.7); h_SL1L160->SetBinContent(20,14099.9); h_SL1L160->SetBinContent(21,14832.61); h_SL1L160->SetBinContent(22,15264.34); h_SL1L160->SetBinContent(23,15185.47); h_SL1L160->SetBinContent(24,14380.11); h_SL1L160->SetBinContent(25,14600.13); h_SL1L160->SetBinContent(26,14573.15); h_SL1L160->SetBinContent(27,13852.9); h_SL1L160->SetBinContent(28,14660.33); h_SL1L160->SetBinContent(29,14039.71); h_SL1L160->SetBinContent(30,14023.1); h_SL1L160->SetBinContent(31,14234.82); h_SL1L160->SetBinContent(32,15092.06); h_SL1L160->SetBinContent(33,29270.84); h_SL1L160->SetBinContent(34,40689); h_SL1L160->SetBinContent(35,43057.32); h_SL1L160->SetBinContent(36,42405.56); h_SL1L160->SetBinContent(37,46884.82); h_SL1L160->SetBinContent(38,46361.75); h_SL1L160->SetBinContent(39,32438.28); h_SL1L160->SetBinContent(40,14988.28); h_SL1L160->SetBinContent(41,12879.42); h_SL1L160->SetBinContent(42,12676); h_SL1L160->SetBinContent(43,12298.24); h_SL1L160->SetBinContent(44,12053.31); h_SL1L160->SetBinContent(45,11179.46); h_SL1L160->SetBinContent(46,10635.64); h_SL1L160->SetBinContent(47,10396.94); h_SL1L160->SetBinContent(48,9859.346); h_SL1L160->SetBinContent(49,10079.36); h_SL1L160->SetBinContent(50,9954.825); h_SL1L160->SetBinContent(51,9830.286); h_SL1L160->SetBinContent(52,9581.208); h_SL1L160->SetBinContent(53,10044.08); h_SL1L160->SetBinContent(54,9763.865); h_SL1L160->SetBinContent(55,9728.579); h_SL1L160->SetBinContent(56,10245.42); h_SL1L160->SetBinContent(57,11144.17); h_SL1L160->SetBinContent(58,11870.65); h_SL1L160->SetBinContent(59,12352.2); h_SL1L160->SetMaximum(107007.5); 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,18655.96); h_SL1L261->SetBinContent(2,17692.86); h_SL1L261->SetBinContent(3,17699.08); h_SL1L261->SetBinContent(4,17697.01); h_SL1L261->SetBinContent(5,17464.53); h_SL1L261->SetBinContent(6,18973.53); h_SL1L261->SetBinContent(7,18724.45); h_SL1L261->SetBinContent(8,18543.87); h_SL1L261->SetBinContent(9,17798.71); h_SL1L261->SetBinContent(10,15758.35); h_SL1L261->SetBinContent(11,15523.8); h_SL1L261->SetBinContent(12,15814.39); h_SL1L261->SetBinContent(13,16628.04); h_SL1L261->SetBinContent(14,17483.21); h_SL1L261->SetBinContent(15,17742.67); h_SL1L261->SetBinContent(16,17184.32); h_SL1L261->SetBinContent(17,17435.47); h_SL1L261->SetBinContent(18,17570.39); h_SL1L261->SetBinContent(19,18587.46); h_SL1L261->SetBinContent(20,18983.91); h_SL1L261->SetBinContent(21,19565.09); h_SL1L261->SetBinContent(22,20492.91); h_SL1L261->SetBinContent(23,20509.51); h_SL1L261->SetBinContent(24,20631.98); h_SL1L261->SetBinContent(25,20856.15); h_SL1L261->SetBinContent(26,20084.01); h_SL1L261->SetBinContent(27,19506.97); h_SL1L261->SetBinContent(28,19876.44); h_SL1L261->SetBinContent(29,21032.58); h_SL1L261->SetBinContent(30,21152.97); h_SL1L261->SetBinContent(31,21478.84); h_SL1L261->SetBinContent(32,22630.83); h_SL1L261->SetBinContent(33,34333.36); h_SL1L261->SetBinContent(34,65329.06); h_SL1L261->SetBinContent(35,72909.34); h_SL1L261->SetBinContent(36,78399.44); h_SL1L261->SetBinContent(37,80913.05); h_SL1L261->SetBinContent(38,80032.98); h_SL1L261->SetBinContent(39,68718.6); h_SL1L261->SetBinContent(40,33359.88); h_SL1L261->SetBinContent(41,21530.73); h_SL1L261->SetBinContent(42,18645.58); h_SL1L261->SetBinContent(43,18130.82); h_SL1L261->SetBinContent(44,17568.32); h_SL1L261->SetBinContent(45,17452.08); h_SL1L261->SetBinContent(46,17018.27); h_SL1L261->SetBinContent(47,17452.08); h_SL1L261->SetBinContent(48,16304.24); h_SL1L261->SetBinContent(49,15920.25); h_SL1L261->SetBinContent(50,16059.32); h_SL1L261->SetBinContent(51,15303.78); h_SL1L261->SetBinContent(52,14936.39); h_SL1L261->SetBinContent(53,15150.18); h_SL1L261->SetBinContent(54,14969.6); h_SL1L261->SetBinContent(55,15224.91); h_SL1L261->SetBinContent(56,15135.65); h_SL1L261->SetBinContent(57,14618.81); h_SL1L261->SetBinContent(58,14091.6); h_SL1L261->SetBinContent(59,13807.23); h_SL1L261->SetMaximum(93050.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,17545.48); h_SL1L362->SetBinContent(2,17053.55); h_SL1L362->SetBinContent(3,17456.23); h_SL1L362->SetBinContent(4,17084.69); h_SL1L362->SetBinContent(5,17323.39); h_SL1L362->SetBinContent(6,18141.2); h_SL1L362->SetBinContent(7,18033.26); h_SL1L362->SetBinContent(8,17545.48); h_SL1L362->SetBinContent(9,16221.22); h_SL1L362->SetBinContent(10,15146.03); h_SL1L362->SetBinContent(11,14948.84); h_SL1L362->SetBinContent(12,15644.19); h_SL1L362->SetBinContent(13,16561.62); h_SL1L362->SetBinContent(14,16864.67); h_SL1L362->SetBinContent(15,17294.33); h_SL1L362->SetBinContent(16,16254.43); h_SL1L362->SetBinContent(17,16663.33); h_SL1L362->SetBinContent(18,17661.72); h_SL1L362->SetBinContent(19,18336.31); h_SL1L362->SetBinContent(20,18875.98); h_SL1L362->SetBinContent(21,19104.3); h_SL1L362->SetBinContent(22,19583.77); h_SL1L362->SetBinContent(23,19423.95); h_SL1L362->SetBinContent(24,19675.1); h_SL1L362->SetBinContent(25,19959.47); h_SL1L362->SetBinContent(26,18709.92); h_SL1L362->SetBinContent(27,19193.55); h_SL1L362->SetBinContent(28,19895.12); h_SL1L362->SetBinContent(29,20061.17); h_SL1L362->SetBinContent(30,20106.84); h_SL1L362->SetBinContent(31,20505.36); h_SL1L362->SetBinContent(32,23380.14); h_SL1L362->SetBinContent(33,51007.06); h_SL1L362->SetBinContent(34,69102.59); h_SL1L362->SetBinContent(35,74380.98); h_SL1L362->SetBinContent(36,77805.8); h_SL1L362->SetBinContent(37,79972.78); h_SL1L362->SetBinContent(38,74654.96); h_SL1L362->SetBinContent(39,51835.25); h_SL1L362->SetBinContent(40,22394.21); h_SL1L362->SetBinContent(41,18875.98); h_SL1L362->SetBinContent(42,17528.88); h_SL1L362->SetBinContent(43,17016.19); h_SL1L362->SetBinContent(44,16960.15); h_SL1L362->SetBinContent(45,16322.92); h_SL1L362->SetBinContent(46,16750.51); h_SL1L362->SetBinContent(47,16605.21); h_SL1L362->SetBinContent(48,15351.52); h_SL1L362->SetBinContent(49,15610.98); h_SL1L362->SetBinContent(50,14963.37); h_SL1L362->SetBinContent(51,14311.62); h_SL1L362->SetBinContent(52,14456.91); h_SL1L362->SetBinContent(53,14699.76); h_SL1L362->SetBinContent(54,14176.7); h_SL1L362->SetBinContent(55,14639.57); h_SL1L362->SetBinContent(56,14077.07); h_SL1L362->SetBinContent(57,13817.61); h_SL1L362->SetBinContent(58,13381.73); h_SL1L362->SetBinContent(59,13479.28); h_SL1L362->SetMaximum(93050.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,14577.3); h_SL1L463->SetBinContent(3,14187.08); h_SL1L463->SetBinContent(4,13300.78); h_SL1L463->SetBinContent(5,12947.92); h_SL1L463->SetBinContent(6,14120.66); h_SL1L463->SetBinContent(7,13888.19); h_SL1L463->SetBinContent(8,14060.46); h_SL1L463->SetBinContent(9,13825.92); h_SL1L463->SetBinContent(10,13105.66); h_SL1L463->SetBinContent(11,12794.32); h_SL1L463->SetBinContent(12,13444); h_SL1L463->SetBinContent(13,13585.14); h_SL1L463->SetBinContent(14,14550.32); h_SL1L463->SetBinContent(15,14797.32); h_SL1L463->SetBinContent(16,13541.55); h_SL1L463->SetBinContent(17,12825.45); h_SL1L463->SetBinContent(18,12850.36); h_SL1L463->SetBinContent(19,14000.27); h_SL1L463->SetBinContent(20,13475.13); h_SL1L463->SetBinContent(21,13697.23); h_SL1L463->SetBinContent(22,14118.58); h_SL1L463->SetBinContent(23,14315.77); h_SL1L463->SetBinContent(24,14820.15); h_SL1L463->SetBinContent(25,13742.89); h_SL1L463->SetBinContent(26,14205.76); h_SL1L463->SetBinContent(27,13282.09); h_SL1L463->SetBinContent(28,13576.84); h_SL1L463->SetBinContent(29,13790.63); h_SL1L463->SetBinContent(30,14467.29); h_SL1L463->SetBinContent(31,14436.16); h_SL1L463->SetBinContent(32,14805.62); h_SL1L463->SetBinContent(33,20189.86); h_SL1L463->SetBinContent(34,42183.47); h_SL1L463->SetBinContent(35,48788.19); h_SL1L463->SetBinContent(36,50178.88); h_SL1L463->SetBinContent(37,48030.58); h_SL1L463->SetBinContent(38,51158.59); h_SL1L463->SetBinContent(39,46895.2); h_SL1L463->SetBinContent(40,19976.07); h_SL1L463->SetBinContent(41,13014.34); h_SL1L463->SetBinContent(42,11727.43); h_SL1L463->SetBinContent(43,11652.71); h_SL1L463->SetBinContent(44,11546.85); h_SL1L463->SetBinContent(45,10245.42); h_SL1L463->SetBinContent(46,10297.31); h_SL1L463->SetBinContent(47,10251.64); h_SL1L463->SetBinContent(48,9975.582); h_SL1L463->SetBinContent(49,9078.9); h_SL1L463->SetBinContent(50,9599.889); h_SL1L463->SetBinContent(51,9199.288); h_SL1L463->SetBinContent(52,8831.897); h_SL1L463->SetBinContent(53,9027.009); h_SL1L463->SetBinContent(54,9159.851); h_SL1L463->SetBinContent(56,9217.969); h_SL1L463->SetBinContent(57,9525.165); h_SL1L463->SetBinContent(58,10465.44); h_SL1L463->SetBinContent(59,10641.87); h_SL1L463->SetMaximum(93050.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.3744221,0.9362587,0.6255779,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL1, run 6871"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }