void RatesPerCell_Removing_noisy_cells_run_6650_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 19:09:57 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-16126.45,67.5,145138.1); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6650",60,0,60); h_SL1L160->SetBinContent(1,31830.43); h_SL1L160->SetBinContent(2,30607.76); h_SL1L160->SetBinContent(3,30557.66); h_SL1L160->SetBinContent(4,28979.8); h_SL1L160->SetBinContent(5,26894.21); h_SL1L160->SetBinContent(6,28941.1); h_SL1L160->SetBinContent(7,26771.26); h_SL1L160->SetBinContent(8,27071.8); h_SL1L160->SetBinContent(9,25011.25); h_SL1L160->SetBinContent(10,23497.14); h_SL1L160->SetBinContent(11,22247.14); h_SL1L160->SetBinContent(12,22285.85); h_SL1L160->SetBinContent(13,24250.78); h_SL1L160->SetBinContent(14,23433.39); h_SL1L160->SetBinContent(15,23071.37); h_SL1L160->SetBinContent(16,22080.94); h_SL1L160->SetBinContent(17,22240.31); h_SL1L160->SetBinContent(18,23078.2); h_SL1L160->SetBinContent(19,24580.92); h_SL1L160->SetBinContent(20,23954.79); h_SL1L160->SetBinContent(21,25002.14); h_SL1L160->SetBinContent(22,25330.01); h_SL1L160->SetBinContent(23,24733.47); h_SL1L160->SetBinContent(24,23620.09); h_SL1L160->SetBinContent(25,23335.48); h_SL1L160->SetBinContent(26,23107.8); h_SL1L160->SetBinContent(27,23164.72); h_SL1L160->SetBinContent(28,22980.29); h_SL1L160->SetBinContent(29,23032.66); h_SL1L160->SetBinContent(30,23132.84); h_SL1L160->SetBinContent(31,22586.4); h_SL1L160->SetBinContent(32,21787.22); h_SL1L160->SetBinContent(33,33795.35); h_SL1L160->SetBinContent(34,42622.71); h_SL1L160->SetBinContent(35,44822.16); h_SL1L160->SetBinContent(36,43173.71); h_SL1L160->SetBinContent(37,47256.12); h_SL1L160->SetBinContent(38,47841.27); h_SL1L160->SetBinContent(39,35395.98); h_SL1L160->SetBinContent(40,21495.78); h_SL1L160->SetBinContent(41,19469.38); h_SL1L160->SetBinContent(42,19519.47); h_SL1L160->SetBinContent(43,19483.04); h_SL1L160->SetBinContent(44,19016.29); h_SL1L160->SetBinContent(45,17723.04); h_SL1L160->SetBinContent(46,16910.2); h_SL1L160->SetBinContent(47,16493.53); h_SL1L160->SetBinContent(48,15805.92); h_SL1L160->SetBinContent(49,15890.17); h_SL1L160->SetBinContent(50,16411.57); h_SL1L160->SetBinContent(51,15992.63); h_SL1L160->SetBinContent(52,15225.33); h_SL1L160->SetBinContent(53,15935.71); h_SL1L160->SetBinContent(54,15619.22); h_SL1L160->SetBinContent(55,16675.68); h_SL1L160->SetBinContent(56,16948.9); h_SL1L160->SetBinContent(57,19514.92); h_SL1L160->SetBinContent(58,20102.35); h_SL1L160->SetBinContent(59,21771.28); h_SL1L160->SetMaximum(129011.6); 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,36208.82); h_SL1L261->SetBinContent(2,35115.93); h_SL1L261->SetBinContent(3,34794.89); h_SL1L261->SetBinContent(4,34858.64); h_SL1L261->SetBinContent(5,34480.68); h_SL1L261->SetBinContent(6,37579.48); h_SL1L261->SetBinContent(7,36625.48); h_SL1L261->SetBinContent(8,36422.84); h_SL1L261->SetBinContent(9,34389.61); h_SL1L261->SetBinContent(10,30956.11); h_SL1L261->SetBinContent(11,29715.23); h_SL1L261->SetBinContent(12,30614.59); h_SL1L261->SetBinContent(13,32014.85); h_SL1L261->SetBinContent(14,34724.31); h_SL1L261->SetBinContent(15,34851.81); h_SL1L261->SetBinContent(16,33499.36); h_SL1L261->SetBinContent(17,33774.86); h_SL1L261->SetBinContent(18,34264.38); h_SL1L261->SetBinContent(19,36334.04); h_SL1L261->SetBinContent(20,37001.16); h_SL1L261->SetBinContent(21,37946.06); h_SL1L261->SetBinContent(22,38936.49); h_SL1L261->SetBinContent(23,39328.11); h_SL1L261->SetBinContent(24,39778.93); h_SL1L261->SetBinContent(25,39198.33); h_SL1L261->SetBinContent(26,38481.12); h_SL1L261->SetBinContent(27,37390.5); h_SL1L261->SetBinContent(28,36935.13); h_SL1L261->SetBinContent(29,39007.07); h_SL1L261->SetBinContent(30,39191.5); h_SL1L261->SetBinContent(31,39029.84); h_SL1L261->SetBinContent(32,39897.32); h_SL1L261->SetBinContent(33,50231.96); h_SL1L261->SetBinContent(34,80514.13); h_SL1L261->SetBinContent(35,89562.35); h_SL1L261->SetBinContent(36,93899.76); h_SL1L261->SetBinContent(37,97317.31); h_SL1L261->SetBinContent(38,96486.27); h_SL1L261->SetBinContent(39,83852); h_SL1L261->SetBinContent(40,48251.1); h_SL1L261->SetBinContent(41,36930.58); h_SL1L261->SetBinContent(42,33517.57); h_SL1L261->SetBinContent(43,32272.14); h_SL1L261->SetBinContent(44,31807.66); h_SL1L261->SetBinContent(45,31406.93); h_SL1L261->SetBinContent(46,31721.14); h_SL1L261->SetBinContent(47,31482.07); h_SL1L261->SetBinContent(48,31302.2); h_SL1L261->SetBinContent(49,29225.71); h_SL1L261->SetBinContent(50,29257.58); h_SL1L261->SetBinContent(51,28959.31); h_SL1L261->SetBinContent(52,26709.78); h_SL1L261->SetBinContent(53,28223.89); h_SL1L261->SetBinContent(54,28014.42); h_SL1L261->SetBinContent(55,28597.29); h_SL1L261->SetBinContent(56,28560.86); h_SL1L261->SetBinContent(57,27962.05); h_SL1L261->SetBinContent(58,27438.37); h_SL1L261->SetBinContent(59,25924.27); h_SL1L261->SetMaximum(112184.6); 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,34512.56); h_SL1L362->SetBinContent(2,33934.24); h_SL1L362->SetBinContent(3,34023.04); h_SL1L362->SetBinContent(4,33428.78); h_SL1L362->SetBinContent(5,35099.99); h_SL1L362->SetBinContent(6,36488.87); h_SL1L362->SetBinContent(7,34774.4); h_SL1L362->SetBinContent(8,34168.75); h_SL1L362->SetBinContent(9,32294.9); h_SL1L362->SetBinContent(10,29808.58); h_SL1L362->SetBinContent(11,29273.52); h_SL1L362->SetBinContent(12,30427.88); h_SL1L362->SetBinContent(13,31721.14); h_SL1L362->SetBinContent(14,33283.06); h_SL1L362->SetBinContent(15,33387.79); h_SL1L362->SetBinContent(16,31636.89); h_SL1L362->SetBinContent(17,32390.53); h_SL1L362->SetBinContent(18,34175.59); h_SL1L362->SetBinContent(19,35270.75); h_SL1L362->SetBinContent(20,35325.4); h_SL1L362->SetBinContent(21,37199.25); h_SL1L362->SetBinContent(22,37515.73); h_SL1L362->SetBinContent(23,38096.33); h_SL1L362->SetBinContent(24,38355.89); h_SL1L362->SetBinContent(25,38078.11); h_SL1L362->SetBinContent(26,35543.98); h_SL1L362->SetBinContent(27,36746.16); h_SL1L362->SetBinContent(28,36627.76); h_SL1L362->SetBinContent(29,37538.5); h_SL1L362->SetBinContent(30,38246.6); h_SL1L362->SetBinContent(31,38549.42); h_SL1L362->SetBinContent(32,40052.15); h_SL1L362->SetBinContent(33,67383.51); h_SL1L362->SetBinContent(34,84712.65); h_SL1L362->SetBinContent(35,90575.55); h_SL1L362->SetBinContent(36,94489.46); h_SL1L362->SetBinContent(37,97551.83); h_SL1L362->SetBinContent(38,91249.5); h_SL1L362->SetBinContent(39,67208.2); h_SL1L362->SetBinContent(40,37823.11); h_SL1L362->SetBinContent(41,33631.42); h_SL1L362->SetBinContent(42,32488.44); h_SL1L362->SetBinContent(43,31008.48); h_SL1L362->SetBinContent(44,30758.03); h_SL1L362->SetBinContent(45,29815.41); h_SL1L362->SetBinContent(46,30466.59); h_SL1L362->SetBinContent(47,30908.3); h_SL1L362->SetBinContent(48,29510.31); h_SL1L362->SetBinContent(49,28738.46); h_SL1L362->SetBinContent(50,28585.91); h_SL1L362->SetBinContent(51,26541.29); h_SL1L362->SetBinContent(52,26120.07); h_SL1L362->SetBinContent(53,27133.28); h_SL1L362->SetBinContent(54,27121.89); h_SL1L362->SetBinContent(55,27898.3); h_SL1L362->SetBinContent(56,27017.16); h_SL1L362->SetBinContent(57,26634.64); h_SL1L362->SetBinContent(58,26042.66); h_SL1L362->SetBinContent(59,25639.66); h_SL1L362->SetMaximum(112184.6); 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,23041.77); h_SL1L463->SetBinContent(3,21584.58); h_SL1L463->SetBinContent(4,20427.94); h_SL1L463->SetBinContent(5,19016.29); h_SL1L463->SetBinContent(6,20225.3); h_SL1L463->SetBinContent(7,20742.14); h_SL1L463->SetBinContent(8,20587.32); h_SL1L463->SetBinContent(9,21288.59); h_SL1L463->SetBinContent(10,20384.68); h_SL1L463->SetBinContent(11,20892.42); h_SL1L463->SetBinContent(12,21097.33); h_SL1L463->SetBinContent(13,21944.32); h_SL1L463->SetBinContent(14,23647.41); h_SL1L463->SetBinContent(15,22827.74); h_SL1L463->SetBinContent(16,21734.85); h_SL1L463->SetBinContent(17,19701.62); h_SL1L463->SetBinContent(18,18615.56); h_SL1L463->SetBinContent(19,20011.27); h_SL1L463->SetBinContent(20,19489.88); h_SL1L463->SetBinContent(21,19458); h_SL1L463->SetBinContent(22,20036.32); h_SL1L463->SetBinContent(23,20045.43); h_SL1L463->SetBinContent(24,20075.03); h_SL1L463->SetBinContent(25,18310.46); h_SL1L463->SetBinContent(26,19348.71); h_SL1L463->SetBinContent(27,18412.92); h_SL1L463->SetBinContent(28,18485.78); h_SL1L463->SetBinContent(29,17864.2); h_SL1L463->SetBinContent(30,18394.71); h_SL1L463->SetBinContent(31,17873.31); h_SL1L463->SetBinContent(32,17322.31); h_SL1L463->SetBinContent(33,18845.53); h_SL1L463->SetBinContent(34,29785.81); h_SL1L463->SetBinContent(35,38699.7); h_SL1L463->SetBinContent(36,40430.11); h_SL1L463->SetBinContent(37,37877.75); h_SL1L463->SetBinContent(38,36404.62); h_SL1L463->SetBinContent(39,34114.11); h_SL1L463->SetBinContent(40,18333.23); h_SL1L463->SetBinContent(41,15006.75); h_SL1L463->SetBinContent(42,14617.41); h_SL1L463->SetBinContent(43,14403.38); h_SL1L463->SetBinContent(44,14571.87); h_SL1L463->SetBinContent(45,12732.17); h_SL1L463->SetBinContent(46,13932.07); h_SL1L463->SetBinContent(47,12424.79); h_SL1L463->SetBinContent(48,12420.24); h_SL1L463->SetBinContent(49,11247.66); h_SL1L463->SetBinContent(50,11652.94); h_SL1L463->SetBinContent(51,10908.41); h_SL1L463->SetBinContent(52,10639.74); h_SL1L463->SetBinContent(53,10676.17); h_SL1L463->SetBinContent(54,10901.58); h_SL1L463->SetBinContent(56,11457.13); h_SL1L463->SetBinContent(57,12242.65); h_SL1L463->SetBinContent(58,14865.58); h_SL1L463->SetBinContent(59,16192.99); h_SL1L463->SetMaximum(112184.6); 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 6650"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }