void RatesPerCell_Removing_noisy_cells_run_6741_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:08:45 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-16752.19,67.5,150769.7); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6741",60,0,60); h_SL1L160->SetBinContent(1,38680.48); h_SL1L160->SetBinContent(2,37135.34); h_SL1L160->SetBinContent(3,38389.14); h_SL1L160->SetBinContent(4,36706.14); h_SL1L160->SetBinContent(5,34900.88); h_SL1L160->SetBinContent(6,38006.76); h_SL1L160->SetBinContent(7,35676.05); h_SL1L160->SetBinContent(8,35644.83); h_SL1L160->SetBinContent(9,33030.58); h_SL1L160->SetBinContent(10,30640.04); h_SL1L160->SetBinContent(11,29672.38); h_SL1L160->SetBinContent(12,30382.52); h_SL1L160->SetBinContent(13,32242.41); h_SL1L160->SetBinContent(14,31415.21); h_SL1L160->SetBinContent(15,31227.92); h_SL1L160->SetBinContent(16,29823.25); h_SL1L160->SetBinContent(17,30366.91); h_SL1L160->SetBinContent(18,32773.06); h_SL1L160->SetBinContent(19,33904.6); h_SL1L160->SetBinContent(20,32918.73); h_SL1L160->SetBinContent(21,34440.46); h_SL1L160->SetBinContent(22,35038.74); h_SL1L160->SetBinContent(23,34094.49); h_SL1L160->SetBinContent(24,32382.88); h_SL1L160->SetBinContent(25,33272.5); h_SL1L160->SetBinContent(26,31638.92); h_SL1L160->SetBinContent(27,31025.03); h_SL1L160->SetBinContent(28,32122.75); h_SL1L160->SetBinContent(29,32081.13); h_SL1L160->SetBinContent(30,31443.83); h_SL1L160->SetBinContent(31,29820.65); h_SL1L160->SetBinContent(32,30434.54); h_SL1L160->SetBinContent(33,49384.6); h_SL1L160->SetBinContent(34,62380.41); h_SL1L160->SetBinContent(35,66940.39); h_SL1L160->SetBinContent(36,66303.09); h_SL1L160->SetBinContent(37,72582.48); h_SL1L160->SetBinContent(38,70995.73); h_SL1L160->SetBinContent(39,52524.3); h_SL1L160->SetBinContent(40,29940.31); h_SL1L160->SetBinContent(41,28590.26); h_SL1L160->SetBinContent(42,27976.37); h_SL1L160->SetBinContent(43,27258.43); h_SL1L160->SetBinContent(44,26930.67); h_SL1L160->SetBinContent(45,25747.1); h_SL1L160->SetBinContent(46,24932.91); h_SL1L160->SetBinContent(47,24449.08); h_SL1L160->SetBinContent(48,22591.79); h_SL1L160->SetBinContent(49,24142.14); h_SL1L160->SetBinContent(50,24123.93); h_SL1L160->SetBinContent(51,22482.54); h_SL1L160->SetBinContent(52,22721.86); h_SL1L160->SetBinContent(53,23471.02); h_SL1L160->SetBinContent(54,22716.66); h_SL1L160->SetBinContent(55,23330.55); h_SL1L160->SetBinContent(56,23863.8); h_SL1L160->SetBinContent(57,25905.78); h_SL1L160->SetBinContent(58,26483.26); h_SL1L160->SetBinContent(59,26540.48); h_SL1L160->SetMaximum(134017.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,39853.64); h_SL1L261->SetBinContent(2,38706.5); h_SL1L261->SetBinContent(3,38602.45); h_SL1L261->SetBinContent(4,38912); h_SL1L261->SetBinContent(5,37915.72); h_SL1L261->SetBinContent(6,42062.1); h_SL1L261->SetBinContent(7,40394.7); h_SL1L261->SetBinContent(8,39996.71); h_SL1L261->SetBinContent(9,38690.89); h_SL1L261->SetBinContent(10,34573.12); h_SL1L261->SetBinContent(11,34162.12); h_SL1L261->SetBinContent(12,34583.53); h_SL1L261->SetBinContent(13,35434.13); h_SL1L261->SetBinContent(14,38105.61); h_SL1L261->SetBinContent(15,37694.61); h_SL1L261->SetBinContent(16,37161.36); h_SL1L261->SetBinContent(17,36341.96); h_SL1L261->SetBinContent(18,37470.91); h_SL1L261->SetBinContent(19,39765.2); h_SL1L261->SetBinContent(20,40405.11); h_SL1L261->SetBinContent(21,41154.27); h_SL1L261->SetBinContent(22,42225.98); h_SL1L261->SetBinContent(23,43445.96); h_SL1L261->SetBinContent(24,42868.48); h_SL1L261->SetBinContent(25,43170.23); h_SL1L261->SetBinContent(26,41588.67); h_SL1L261->SetBinContent(27,40207.41); h_SL1L261->SetBinContent(28,41003.39); h_SL1L261->SetBinContent(29,41919.03); h_SL1L261->SetBinContent(30,41638.1); h_SL1L261->SetBinContent(31,41619.89); h_SL1L261->SetBinContent(32,41762.96); h_SL1L261->SetBinContent(33,53455.54); h_SL1L261->SetBinContent(34,85950.27); h_SL1L261->SetBinContent(35,93556.3); h_SL1L261->SetBinContent(36,97689.68); h_SL1L261->SetBinContent(37,101336.6); h_SL1L261->SetBinContent(38,99167.19); h_SL1L261->SetBinContent(39,87565.64); h_SL1L261->SetBinContent(40,51704.91); h_SL1L261->SetBinContent(41,39557.1); h_SL1L261->SetBinContent(42,36308.15); h_SL1L261->SetBinContent(43,35319.68); h_SL1L261->SetBinContent(44,34185.54); h_SL1L261->SetBinContent(45,34326); h_SL1L261->SetBinContent(46,34950.3); h_SL1L261->SetBinContent(47,34913.88); h_SL1L261->SetBinContent(48,33566.44); h_SL1L261->SetBinContent(49,43823.14); h_SL1L261->SetBinContent(50,32346.46); h_SL1L261->SetBinContent(51,30457.96); h_SL1L261->SetBinContent(52,30366.91); h_SL1L261->SetBinContent(53,31313.76); h_SL1L261->SetBinContent(54,30986.01); h_SL1L261->SetBinContent(55,30988.61); h_SL1L261->SetBinContent(56,34383.23); h_SL1L261->SetBinContent(57,30234.25); h_SL1L261->SetBinContent(58,29487.69); h_SL1L261->SetBinContent(59,28345.75); h_SL1L261->SetMaximum(116537.1); 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,38381.34); h_SL1L362->SetBinContent(2,37421.48); h_SL1L362->SetBinContent(3,37522.93); h_SL1L362->SetBinContent(4,36804.99); h_SL1L362->SetBinContent(5,38755.92); h_SL1L362->SetBinContent(6,39944.69); h_SL1L362->SetBinContent(7,38396.95); h_SL1L362->SetBinContent(8,38108.21); h_SL1L362->SetBinContent(9,34828.04); h_SL1L362->SetBinContent(10,32786.07); h_SL1L362->SetBinContent(11,32393.28); h_SL1L362->SetBinContent(12,33730.32); h_SL1L362->SetBinContent(13,36149.47); h_SL1L362->SetBinContent(14,36799.79); h_SL1L362->SetBinContent(15,37299.22); h_SL1L362->SetBinContent(16,35291.06); h_SL1L362->SetBinContent(17,35871.14); h_SL1L362->SetBinContent(18,37338.24); h_SL1L362->SetBinContent(19,38383.94); h_SL1L362->SetBinContent(20,38974.43); h_SL1L362->SetBinContent(21,40202.21); h_SL1L362->SetBinContent(22,40571.59); h_SL1L362->SetBinContent(23,41474.22); h_SL1L362->SetBinContent(24,41768.16); h_SL1L362->SetBinContent(25,41851.4); h_SL1L362->SetBinContent(26,38948.41); h_SL1L362->SetBinContent(27,38917.2); h_SL1L362->SetBinContent(28,39910.87); h_SL1L362->SetBinContent(29,39825.03); h_SL1L362->SetBinContent(30,40477.94); h_SL1L362->SetBinContent(31,39489.47); h_SL1L362->SetBinContent(32,41807.18); h_SL1L362->SetBinContent(33,70197.14); h_SL1L362->SetBinContent(34,88868.87); h_SL1L362->SetBinContent(35,94659.23); h_SL1L362->SetBinContent(36,97629.85); h_SL1L362->SetBinContent(37,100743.5); h_SL1L362->SetBinContent(38,93101.09); h_SL1L362->SetBinContent(39,69684.7); h_SL1L362->SetBinContent(40,40064.34); h_SL1L362->SetBinContent(41,36732.15); h_SL1L362->SetBinContent(42,34994.52); h_SL1L362->SetBinContent(43,33894.2); h_SL1L362->SetBinContent(44,32471.32); h_SL1L362->SetBinContent(45,31508.86); h_SL1L362->SetBinContent(46,33371.35); h_SL1L362->SetBinContent(47,33212.67); h_SL1L362->SetBinContent(48,31735.16); h_SL1L362->SetBinContent(49,31090.06); h_SL1L362->SetBinContent(50,30483.97); h_SL1L362->SetBinContent(51,28798.36); h_SL1L362->SetBinContent(52,29144.33); h_SL1L362->SetBinContent(53,31753.37); h_SL1L362->SetBinContent(54,29781.63); h_SL1L362->SetBinContent(55,30663.45); h_SL1L362->SetBinContent(56,32489.53); h_SL1L362->SetBinContent(57,29368.03); h_SL1L362->SetBinContent(58,27443.11); h_SL1L362->SetBinContent(59,26379.21); h_SL1L362->SetMaximum(116537.1); 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,33285.5); h_SL1L463->SetBinContent(3,33106.02); h_SL1L463->SetBinContent(4,32341.25); h_SL1L463->SetBinContent(5,30832.53); h_SL1L463->SetBinContent(6,33332.33); h_SL1L463->SetBinContent(7,31784.59); h_SL1L463->SetBinContent(8,32148.76); h_SL1L463->SetBinContent(9,32156.57); h_SL1L463->SetBinContent(10,29250.98); h_SL1L463->SetBinContent(11,29773.83); h_SL1L463->SetBinContent(12,30039.15); h_SL1L463->SetBinContent(13,30551.6); h_SL1L463->SetBinContent(14,33954.02); h_SL1L463->SetBinContent(15,32840.69); h_SL1L463->SetBinContent(16,32120.15); h_SL1L463->SetBinContent(17,30075.57); h_SL1L463->SetBinContent(18,30457.96); h_SL1L463->SetBinContent(19,31464.63); h_SL1L463->SetBinContent(20,31938.06); h_SL1L463->SetBinContent(21,32635.2); h_SL1L463->SetBinContent(22,32884.91); h_SL1L463->SetBinContent(23,32499.93); h_SL1L463->SetBinContent(24,32817.28); h_SL1L463->SetBinContent(25,31417.81); h_SL1L463->SetBinContent(26,31768.98); h_SL1L463->SetBinContent(27,31058.84); h_SL1L463->SetBinContent(28,30400.73); h_SL1L463->SetBinContent(29,30866.35); h_SL1L463->SetBinContent(30,31389.2); h_SL1L463->SetBinContent(31,31368.39); h_SL1L463->SetBinContent(32,30640.04); h_SL1L463->SetBinContent(33,35793.11); h_SL1L463->SetBinContent(34,60455.49); h_SL1L463->SetBinContent(35,71463.95); h_SL1L463->SetBinContent(36,69671.7); h_SL1L463->SetBinContent(37,66971.6); h_SL1L463->SetBinContent(38,68469.92); h_SL1L463->SetBinContent(39,66490.38); h_SL1L463->SetBinContent(40,34003.45); h_SL1L463->SetBinContent(41,26522.27); h_SL1L463->SetBinContent(42,26033.24); h_SL1L463->SetBinContent(43,25070.78); h_SL1L463->SetBinContent(44,24105.72); h_SL1L463->SetBinContent(45,22646.42); h_SL1L463->SetBinContent(46,23528.24); h_SL1L463->SetBinContent(47,23109.44); h_SL1L463->SetBinContent(48,21527.89); h_SL1L463->SetBinContent(49,20594.04); h_SL1L463->SetBinContent(50,21798.42); h_SL1L463->SetBinContent(51,20341.72); h_SL1L463->SetBinContent(52,20245.47); h_SL1L463->SetBinContent(53,20060.79); h_SL1L463->SetBinContent(54,20518.61); h_SL1L463->SetBinContent(55,2.601243); h_SL1L463->SetBinContent(56,20687.69); h_SL1L463->SetBinContent(57,21892.06); h_SL1L463->SetBinContent(58,23278.52); h_SL1L463->SetBinContent(59,23096.44); h_SL1L463->SetMaximum(116537.1); 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 6741"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }