void RatesPerCell_Removing_noisy_cells_run_6754_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:56:30 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-16346.1,67.5,147114.9); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6754",60,0,60); h_SL1L160->SetBinContent(1,35103.79); h_SL1L160->SetBinContent(2,34308.37); h_SL1L160->SetBinContent(3,34155.4); h_SL1L160->SetBinContent(4,32564.56); h_SL1L160->SetBinContent(5,30348.27); h_SL1L160->SetBinContent(6,32618.95); h_SL1L160->SetBinContent(7,30521.63); h_SL1L160->SetBinContent(8,30406.06); h_SL1L160->SetBinContent(9,28502.49); h_SL1L160->SetBinContent(10,25854.5); h_SL1L160->SetBinContent(11,25551.96); h_SL1L160->SetBinContent(12,26259); h_SL1L160->SetBinContent(13,27812.45); h_SL1L160->SetBinContent(14,26191.02); h_SL1L160->SetBinContent(15,25721.93); h_SL1L160->SetBinContent(16,25225.64); h_SL1L160->SetBinContent(17,25800.11); h_SL1L160->SetBinContent(18,26435.76); h_SL1L160->SetBinContent(19,27639.09); h_SL1L160->SetBinContent(20,26177.42); h_SL1L160->SetBinContent(21,27632.29); h_SL1L160->SetBinContent(22,28458.3); h_SL1L160->SetBinContent(23,27754.66); h_SL1L160->SetBinContent(24,25456.79); h_SL1L160->SetBinContent(25,25565.56); h_SL1L160->SetBinContent(26,25810.31); h_SL1L160->SetBinContent(27,24481.21); h_SL1L160->SetBinContent(28,25205.24); h_SL1L160->SetBinContent(29,24994.49); h_SL1L160->SetBinContent(30,24243.26); h_SL1L160->SetBinContent(31,23050.14); h_SL1L160->SetBinContent(32,23016.14); h_SL1L160->SetBinContent(33,34668.68); h_SL1L160->SetBinContent(34,42745.24); h_SL1L160->SetBinContent(35,43652.83); h_SL1L160->SetBinContent(36,43295.91); h_SL1L160->SetBinContent(37,47327.39); h_SL1L160->SetBinContent(38,48296.17); h_SL1L160->SetBinContent(39,36898.57); h_SL1L160->SetBinContent(40,23022.94); h_SL1L160->SetBinContent(41,21996.38); h_SL1L160->SetBinContent(42,21486.49); h_SL1L160->SetBinContent(43,20595.9); h_SL1L160->SetBinContent(44,20561.9); h_SL1L160->SetBinContent(45,19545.54); h_SL1L160->SetBinContent(46,18552.96); h_SL1L160->SetBinContent(47,18219.84); h_SL1L160->SetBinContent(48,17339.44); h_SL1L160->SetBinContent(49,17822.13); h_SL1L160->SetBinContent(50,18281.03); h_SL1L160->SetBinContent(51,17828.93); h_SL1L160->SetBinContent(52,17485.61); h_SL1L160->SetBinContent(53,17862.92); h_SL1L160->SetBinContent(54,17669.17); h_SL1L160->SetBinContent(55,18447.59); h_SL1L160->SetBinContent(56,19514.94); h_SL1L160->SetBinContent(57,21530.68); h_SL1L160->SetBinContent(58,22689.82); h_SL1L160->SetBinContent(59,23264.29); h_SL1L160->SetMaximum(130768.8); 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,39492.18); h_SL1L261->SetBinContent(2,37982.93); h_SL1L261->SetBinContent(3,38091.7); h_SL1L261->SetBinContent(4,38248.07); h_SL1L261->SetBinContent(5,37680.39); h_SL1L261->SetBinContent(6,41181.6); h_SL1L261->SetBinContent(7,40263.8); h_SL1L261->SetBinContent(8,39216.84); h_SL1L261->SetBinContent(9,38394.23); h_SL1L261->SetBinContent(10,34287.97); h_SL1L261->SetBinContent(11,32843.3); h_SL1L261->SetBinContent(12,33455.16); h_SL1L261->SetBinContent(13,35385.92); h_SL1L261->SetBinContent(14,37201.11); h_SL1L261->SetBinContent(15,37411.86); h_SL1L261->SetBinContent(16,36806.8); h_SL1L261->SetBinContent(17,36494.07); h_SL1L261->SetBinContent(18,37088.93); h_SL1L261->SetBinContent(19,39468.39); h_SL1L261->SetBinContent(20,38570.99); h_SL1L261->SetBinContent(21,40814.48); h_SL1L261->SetBinContent(22,40947.05); h_SL1L261->SetBinContent(23,41256.38); h_SL1L261->SetBinContent(24,41552.11); h_SL1L261->SetBinContent(25,42939); h_SL1L261->SetBinContent(26,40467.76); h_SL1L261->SetBinContent(27,39818.51); h_SL1L261->SetBinContent(28,38961.9); h_SL1L261->SetBinContent(29,41120.41); h_SL1L261->SetBinContent(30,40940.25); h_SL1L261->SetBinContent(31,40389.58); h_SL1L261->SetBinContent(32,40770.29); h_SL1L261->SetBinContent(33,52800.14); h_SL1L261->SetBinContent(34,82529.76); h_SL1L261->SetBinContent(35,90381.96); h_SL1L261->SetBinContent(36,94994.71); h_SL1L261->SetBinContent(37,98880.02); h_SL1L261->SetBinContent(38,98492.51); h_SL1L261->SetBinContent(39,84599.88); h_SL1L261->SetBinContent(40,50237.13); h_SL1L261->SetBinContent(41,38350.04); h_SL1L261->SetBinContent(42,35212.56); h_SL1L261->SetBinContent(43,33965.04); h_SL1L261->SetBinContent(44,33638.72); h_SL1L261->SetBinContent(45,33037.05); h_SL1L261->SetBinContent(46,33478.96); h_SL1L261->SetBinContent(47,33750.89); h_SL1L261->SetBinContent(48,32618.95); h_SL1L261->SetBinContent(49,31425.82); h_SL1L261->SetBinContent(50,31184.48); h_SL1L261->SetBinContent(51,30038.94); h_SL1L261->SetBinContent(52,28359.72); h_SL1L261->SetBinContent(53,30130.72); h_SL1L261->SetBinContent(54,29889.38); h_SL1L261->SetBinContent(55,30120.52); h_SL1L261->SetBinContent(56,30239.49); h_SL1L261->SetBinContent(57,29736.41); h_SL1L261->SetBinContent(58,28896.8); h_SL1L261->SetBinContent(59,27741.07); h_SL1L261->SetMaximum(113712); 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,33060.85); h_SL1L362->SetBinContent(2,31575.39); h_SL1L362->SetBinContent(3,32547.57); h_SL1L362->SetBinContent(4,32326.62); h_SL1L362->SetBinContent(5,33009.86); h_SL1L362->SetBinContent(6,34321.96); h_SL1L362->SetBinContent(7,33329.39); h_SL1L362->SetBinContent(8,32676.74); h_SL1L362->SetBinContent(9,30613.41); h_SL1L362->SetBinContent(10,28257.75); h_SL1L362->SetBinContent(11,28373.32); h_SL1L362->SetBinContent(12,29049.77); h_SL1L362->SetBinContent(13,31313.65); h_SL1L362->SetBinContent(14,30854.75); h_SL1L362->SetBinContent(15,31296.65); h_SL1L362->SetBinContent(16,29957.36); h_SL1L362->SetBinContent(17,29977.75); h_SL1L362->SetBinContent(18,31741.95); h_SL1L362->SetBinContent(19,32935.08); h_SL1L362->SetBinContent(20,33050.65); h_SL1L362->SetBinContent(21,34668.68); h_SL1L362->SetBinContent(22,34444.34); h_SL1L362->SetBinContent(23,34998.41); h_SL1L362->SetBinContent(24,35467.5); h_SL1L362->SetBinContent(25,34685.68); h_SL1L362->SetBinContent(26,31922.11); h_SL1L362->SetBinContent(27,33166.23); h_SL1L362->SetBinContent(28,33665.91); h_SL1L362->SetBinContent(29,34152); h_SL1L362->SetBinContent(30,33312.39); h_SL1L362->SetBinContent(31,33458.56); h_SL1L362->SetBinContent(32,33699.91); h_SL1L362->SetBinContent(33,53194.45); h_SL1L362->SetBinContent(34,67675.15); h_SL1L362->SetBinContent(35,70353.73); h_SL1L362->SetBinContent(36,72862.36); h_SL1L362->SetBinContent(37,75850.28); h_SL1L362->SetBinContent(38,69996.82); h_SL1L362->SetBinContent(39,55383.55); h_SL1L362->SetBinContent(40,31881.32); h_SL1L362->SetBinContent(41,29260.52); h_SL1L362->SetBinContent(42,29756.8); h_SL1L362->SetBinContent(43,28516.09); h_SL1L362->SetBinContent(44,27628.89); h_SL1L362->SetBinContent(45,27486.12); h_SL1L362->SetBinContent(46,28298.54); h_SL1L362->SetBinContent(47,27554.11); h_SL1L362->SetBinContent(48,25575.76); h_SL1L362->SetBinContent(49,26874.26); h_SL1L362->SetBinContent(50,25647.14); h_SL1L362->SetBinContent(51,24817.73); h_SL1L362->SetBinContent(52,23889.74); h_SL1L362->SetBinContent(53,24770.14); h_SL1L362->SetBinContent(54,24542.4); h_SL1L362->SetBinContent(55,25144.06); h_SL1L362->SetBinContent(56,24773.54); h_SL1L362->SetBinContent(57,25286.83); h_SL1L362->SetBinContent(58,23216.7); h_SL1L362->SetBinContent(59,22832.59); h_SL1L362->SetMaximum(113712); 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,29926.77); h_SL1L463->SetBinContent(3,29270.72); h_SL1L463->SetBinContent(4,27482.72); h_SL1L463->SetBinContent(5,26738.29); h_SL1L463->SetBinContent(6,28210.16); h_SL1L463->SetBinContent(7,26918.45); h_SL1L463->SetBinContent(8,28485.5); h_SL1L463->SetBinContent(9,28227.15); h_SL1L463->SetBinContent(10,27068.02); h_SL1L463->SetBinContent(11,26734.89); h_SL1L463->SetBinContent(12,27533.71); h_SL1L463->SetBinContent(13,28380.12); h_SL1L463->SetBinContent(14,29699.02); h_SL1L463->SetBinContent(15,29525.66); h_SL1L463->SetBinContent(16,27404.54); h_SL1L463->SetBinContent(17,25596.15); h_SL1L463->SetBinContent(18,25827.3); h_SL1L463->SetBinContent(19,26323.59); h_SL1L463->SetBinContent(20,26418.77); h_SL1L463->SetBinContent(21,27115.61); h_SL1L463->SetBinContent(22,27122.41); h_SL1L463->SetBinContent(23,27703.67); h_SL1L463->SetBinContent(24,28084.39); h_SL1L463->SetBinContent(25,26157.03); h_SL1L463->SetBinContent(26,26932.05); h_SL1L463->SetBinContent(27,25256.23); h_SL1L463->SetBinContent(28,25320.82); h_SL1L463->SetBinContent(29,25181.45); h_SL1L463->SetBinContent(30,25429.59); h_SL1L463->SetBinContent(31,25130.46); h_SL1L463->SetBinContent(32,24158.28); h_SL1L463->SetBinContent(33,27210.79); h_SL1L463->SetBinContent(34,41161.2); h_SL1L463->SetBinContent(35,48619.1); h_SL1L463->SetBinContent(36,48823.05); h_SL1L463->SetBinContent(37,43707.22); h_SL1L463->SetBinContent(38,47878.07); h_SL1L463->SetBinContent(39,44767.78); h_SL1L463->SetBinContent(40,24321.45); h_SL1L463->SetBinContent(41,19253.2); h_SL1L463->SetBinContent(42,19059.45); h_SL1L463->SetBinContent(43,18712.73); h_SL1L463->SetBinContent(44,18247.03); h_SL1L463->SetBinContent(45,16673.19); h_SL1L463->SetBinContent(46,17740.55); h_SL1L463->SetBinContent(47,16510.03); h_SL1L463->SetBinContent(48,15870.98); h_SL1L463->SetBinContent(49,15017.77); h_SL1L463->SetBinContent(50,16115.72); h_SL1L463->SetBinContent(51,15157.14); h_SL1L463->SetBinContent(52,14875); h_SL1L463->SetBinContent(53,15119.75); h_SL1L463->SetBinContent(54,15755.4); h_SL1L463->SetBinContent(56,16346.87); h_SL1L463->SetBinContent(57,17234.06); h_SL1L463->SetBinContent(58,21221.35); h_SL1L463->SetBinContent(59,20799.85); h_SL1L463->SetMaximum(113712); 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 6754"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }