void RatesPerCell_Removing_noisy_cells_run_6928_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:07:17 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-14163.98,67.5,127475.8); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6928",60,0,60); h_SL2L164->SetBinContent(1,17404.26); h_SL2L164->SetBinContent(2,37669.71); h_SL2L164->SetBinContent(3,27165.03); h_SL2L164->SetBinContent(4,28358.56); h_SL2L164->SetBinContent(5,28497.53); h_SL2L164->SetBinContent(6,27115.98); h_SL2L164->SetBinContent(7,25006.87); h_SL2L164->SetBinContent(8,25211.24); h_SL2L164->SetBinContent(9,27859.89); h_SL2L164->SetBinContent(10,28742.77); h_SL2L164->SetBinContent(11,28636.5); h_SL2L164->SetBinContent(12,28366.73); h_SL2L164->SetBinContent(13,27590.12); h_SL2L164->SetBinContent(14,27598.29); h_SL2L164->SetBinContent(15,26739.94); h_SL2L164->SetBinContent(16,26895.26); h_SL2L164->SetBinContent(17,26936.13); h_SL2L164->SetBinContent(18,27434.8); h_SL2L164->SetBinContent(19,26797.16); h_SL2L164->SetBinContent(20,25391.09); h_SL2L164->SetBinContent(21,25260.29); h_SL2L164->SetBinContent(22,24442.8); h_SL2L164->SetBinContent(23,22783.31); h_SL2L164->SetBinContent(24,21753.28); h_SL2L164->SetBinContent(25,21532.56); h_SL2L164->SetBinContent(26,19701.39); h_SL2L164->SetBinContent(27,19546.07); h_SL2L164->SetBinContent(28,20224.58); h_SL2L164->SetBinContent(29,18818.51); h_SL2L164->SetBinContent(30,18605.96); h_SL2L164->SetBinContent(31,18270.79); h_SL2L164->SetBinContent(32,19014.7); h_SL2L164->SetBinContent(33,18875.73); h_SL2L164->SetBinContent(34,18581.44); h_SL2L164->SetBinContent(36,18622.31); h_SL2L164->SetBinContent(37,20862.22); h_SL2L164->SetBinContent(38,18949.3); h_SL2L164->SetBinContent(39,20821.34); h_SL2L164->SetBinContent(40,35511.55); h_SL2L164->SetBinContent(41,85680.61); h_SL2L164->SetBinContent(42,24189.38); h_SL2L164->SetBinContent(43,25276.64); h_SL2L164->SetBinContent(44,25301.16); h_SL2L164->SetBinContent(45,16333.35); h_SL2L164->SetBinContent(46,16611.3); h_SL2L164->SetBinContent(47,16733.92); h_SL2L164->SetBinContent(48,16096.28); h_SL2L164->SetBinContent(49,18189.04); h_SL2L164->SetBinContent(50,16366.05); h_SL2L164->SetBinContent(51,17273.46); h_SL2L164->SetBinContent(52,19055.58); h_SL2L164->SetBinContent(53,19284.47); h_SL2L164->SetBinContent(54,18892.08); h_SL2L164->SetBinContent(55,17551.4); h_SL2L164->SetBinContent(56,14829.18); h_SL2L164->SetBinContent(57,10692.7); h_SL2L164->SetMaximum(113311.8); 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,12229.58); h_SL2L265->SetBinContent(2,22031.22); h_SL2L265->SetBinContent(3,24271.13); h_SL2L265->SetBinContent(4,27565.6); h_SL2L265->SetBinContent(5,28276.81); h_SL2L265->SetBinContent(6,27140.5); h_SL2L265->SetBinContent(7,25693.55); h_SL2L265->SetBinContent(8,23960.49); h_SL2L265->SetBinContent(9,26421.12); h_SL2L265->SetBinContent(10,27573.77); h_SL2L265->SetBinContent(11,28113.31); h_SL2L265->SetBinContent(12,27843.54); h_SL2L265->SetBinContent(13,27573.77); h_SL2L265->SetBinContent(14,26805.33); h_SL2L265->SetBinContent(15,27622.82); h_SL2L265->SetBinContent(16,27361.22); h_SL2L265->SetBinContent(17,25783.48); h_SL2L265->SetBinContent(18,26682.71); h_SL2L265->SetBinContent(19,27148.68); h_SL2L265->SetBinContent(20,25554.58); h_SL2L265->SetBinContent(21,25554.58); h_SL2L265->SetBinContent(22,24262.96); h_SL2L265->SetBinContent(23,22783.31); h_SL2L265->SetBinContent(24,21279.14); h_SL2L265->SetBinContent(25,21467.16); h_SL2L265->SetBinContent(26,19815.84); h_SL2L265->SetBinContent(27,18630.48); h_SL2L265->SetBinContent(28,19603.29); h_SL2L265->SetBinContent(29,18287.14); h_SL2L265->SetBinContent(30,18393.41); h_SL2L265->SetBinContent(31,17118.14); h_SL2L265->SetBinContent(32,18597.79); h_SL2L265->SetBinContent(33,18090.94); h_SL2L265->SetBinContent(34,18287.14); h_SL2L265->SetBinContent(35,16807.49); h_SL2L265->SetBinContent(36,15622.14); h_SL2L265->SetBinContent(37,18033.72); h_SL2L265->SetBinContent(38,17935.62); h_SL2L265->SetBinContent(39,18409.76); h_SL2L265->SetBinContent(40,19415.27); h_SL2L265->SetBinContent(41,17674.03); h_SL2L265->SetBinContent(42,17428.78); h_SL2L265->SetBinContent(43,16578.6); h_SL2L265->SetBinContent(44,16799.32); h_SL2L265->SetBinContent(45,16374.23); h_SL2L265->SetBinContent(46,15712.06); h_SL2L265->SetBinContent(47,16406.93); h_SL2L265->SetBinContent(48,16210.73); h_SL2L265->SetBinContent(49,15957.31); h_SL2L265->SetBinContent(50,16807.49); h_SL2L265->SetBinContent(51,16300.65); h_SL2L265->SetBinContent(52,17633.15); h_SL2L265->SetBinContent(53,18466.99); h_SL2L265->SetBinContent(54,18802.16); h_SL2L265->SetBinContent(55,18368.89); h_SL2L265->SetBinContent(56,15687.54); h_SL2L265->SetBinContent(57,13325.01); h_SL2L265->SetMaximum(98532.7); 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,15393.24); h_SL2L366->SetBinContent(2,21933.12); h_SL2L366->SetBinContent(3,26977.01); h_SL2L366->SetBinContent(4,26936.13); h_SL2L366->SetBinContent(5,27001.53); h_SL2L366->SetBinContent(6,26184.05); h_SL2L366->SetBinContent(7,24320.18); h_SL2L366->SetBinContent(8,24164.86); h_SL2L366->SetBinContent(9,26306.67); h_SL2L366->SetBinContent(10,27075.11); h_SL2L366->SetBinContent(11,26053.25); h_SL2L366->SetBinContent(12,26543.74); h_SL2L366->SetBinContent(13,26175.87); h_SL2L366->SetBinContent(14,26249.45); h_SL2L366->SetBinContent(15,27541.07); h_SL2L366->SetBinContent(16,25350.21); h_SL2L366->SetBinContent(17,26363.89); h_SL2L366->SetBinContent(18,25922.45); h_SL2L366->SetBinContent(19,25292.99); h_SL2L366->SetBinContent(20,24867.89); h_SL2L366->SetBinContent(21,23314.67); h_SL2L366->SetBinContent(22,23053.08); h_SL2L366->SetBinContent(23,21246.44); h_SL2L366->SetBinContent(24,21181.04); h_SL2L366->SetBinContent(25,19848.54); h_SL2L366->SetBinContent(26,19186.38); h_SL2L366->SetBinContent(27,57984.21); h_SL2L366->SetBinContent(28,18254.44); h_SL2L366->SetBinContent(29,18720.41); h_SL2L366->SetBinContent(30,17543.23); h_SL2L366->SetBinContent(31,17837.52); h_SL2L366->SetBinContent(32,17853.87); h_SL2L366->SetBinContent(33,17330.68); h_SL2L366->SetBinContent(34,17911.1); h_SL2L366->SetBinContent(35,15589.44); h_SL2L366->SetBinContent(36,16578.6); h_SL2L366->SetBinContent(37,17551.4); h_SL2L366->SetBinContent(38,17902.92); h_SL2L366->SetBinContent(39,16423.28); h_SL2L366->SetBinContent(40,17028.21); h_SL2L366->SetBinContent(41,16006.36); h_SL2L366->SetBinContent(42,15793.81); h_SL2L366->SetBinContent(43,15908.26); h_SL2L366->SetBinContent(44,16423.28); h_SL2L366->SetBinContent(45,16104.46); h_SL2L366->SetBinContent(46,16071.76); h_SL2L366->SetBinContent(47,16235.25); h_SL2L366->SetBinContent(48,16128.98); h_SL2L366->SetBinContent(49,16161.68); h_SL2L366->SetBinContent(50,15736.59); h_SL2L366->SetBinContent(51,16039.06); h_SL2L366->SetBinContent(52,18213.57); h_SL2L366->SetBinContent(53,17093.61); h_SL2L366->SetBinContent(54,18246.27); h_SL2L366->SetBinContent(55,17469.66); h_SL2L366->SetBinContent(56,14968.15); h_SL2L366->SetBinContent(57,12703.72); h_SL2L366->SetMaximum(98532.7); 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,19930.29); h_SL2L467->SetBinContent(3,23535.39); h_SL2L467->SetBinContent(4,27197.73); h_SL2L467->SetBinContent(5,27132.33); h_SL2L467->SetBinContent(6,26028.72); h_SL2L467->SetBinContent(7,25268.46); h_SL2L467->SetBinContent(8,22170.2); h_SL2L467->SetBinContent(9,24876.07); h_SL2L467->SetBinContent(10,26625.49); h_SL2L467->SetBinContent(11,26870.73); h_SL2L467->SetBinContent(12,26069.6); h_SL2L467->SetBinContent(13,26306.67); h_SL2L467->SetBinContent(14,26102.3); h_SL2L467->SetBinContent(15,26208.57); h_SL2L467->SetBinContent(16,24704.4); h_SL2L467->SetBinContent(17,25317.51); h_SL2L467->SetBinContent(18,25538.23); h_SL2L467->SetBinContent(19,25808); h_SL2L467->SetBinContent(20,23976.84); h_SL2L467->SetBinContent(21,23470); h_SL2L467->SetBinContent(22,22922.28); h_SL2L467->SetBinContent(23,22145.67); h_SL2L467->SetBinContent(24,20764.12); h_SL2L467->SetBinContent(25,20257.28); h_SL2L467->SetBinContent(26,18695.88); h_SL2L467->SetBinContent(27,18859.38); h_SL2L467->SetBinContent(28,18524.21); h_SL2L467->SetBinContent(29,18679.53); h_SL2L467->SetBinContent(30,18033.72); h_SL2L467->SetBinContent(31,16594.95); h_SL2L467->SetBinContent(32,17069.09); h_SL2L467->SetBinContent(33,17322.51); h_SL2L467->SetBinContent(34,17101.79); h_SL2L467->SetBinContent(35,15785.64); h_SL2L467->SetBinContent(36,16398.75); h_SL2L467->SetBinContent(37,16161.68); h_SL2L467->SetBinContent(38,17404.26); h_SL2L467->SetBinContent(39,17387.91); h_SL2L467->SetBinContent(40,16128.98); h_SL2L467->SetBinContent(41,15156.17); h_SL2L467->SetBinContent(42,16619.47); h_SL2L467->SetBinContent(43,15769.29); h_SL2L467->SetBinContent(44,16513.2); h_SL2L467->SetBinContent(45,15826.51); h_SL2L467->SetBinContent(46,15564.92); h_SL2L467->SetBinContent(47,15851.04); h_SL2L467->SetBinContent(48,15867.38); h_SL2L467->SetBinContent(49,15761.11); h_SL2L467->SetBinContent(50,15434.12); h_SL2L467->SetBinContent(51,16488.67); h_SL2L467->SetBinContent(52,17387.91); h_SL2L467->SetBinContent(53,16864.72); h_SL2L467->SetBinContent(54,17502.36); h_SL2L467->SetBinContent(55,17575.93); h_SL2L467->SetBinContent(56,15524.04); h_SL2L467->SetBinContent(57,12613.79); h_SL2L467->SetMaximum(98532.7); 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 6928"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }