void RatesPerCell_Removing_noisy_cells_run_6813_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:11:54 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13750.84,67.5,123757.5); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6813",60,0,60); h_SL1L160->SetBinContent(1,18199.19); h_SL1L160->SetBinContent(2,17864.99); h_SL1L160->SetBinContent(3,18246.29); h_SL1L160->SetBinContent(4,18185.73); h_SL1L160->SetBinContent(5,17535.28); h_SL1L160->SetBinContent(6,18600.68); h_SL1L160->SetBinContent(7,17387.25); h_SL1L160->SetBinContent(8,17490.42); h_SL1L160->SetBinContent(9,16050.46); h_SL1L160->SetBinContent(10,15126.37); h_SL1L160->SetBinContent(11,14841.51); h_SL1L160->SetBinContent(12,15480.75); h_SL1L160->SetBinContent(13,16519.23); h_SL1L160->SetBinContent(14,15900.18); h_SL1L160->SetBinContent(15,15458.32); h_SL1L160->SetBinContent(16,15494.21); h_SL1L160->SetBinContent(17,15790.28); h_SL1L160->SetBinContent(18,16808.57); h_SL1L160->SetBinContent(19,17418.65); h_SL1L160->SetBinContent(20,16824.27); h_SL1L160->SetBinContent(21,17907.61); h_SL1L160->SetBinContent(22,17844.81); h_SL1L160->SetBinContent(23,18318.07); h_SL1L160->SetBinContent(24,17216.79); h_SL1L160->SetBinContent(25,17539.77); h_SL1L160->SetBinContent(26,17064.27); h_SL1L160->SetBinContent(27,16436.24); h_SL1L160->SetBinContent(28,17737.15); h_SL1L160->SetBinContent(29,17189.87); h_SL1L160->SetBinContent(30,17844.81); h_SL1L160->SetBinContent(31,17358.09); h_SL1L160->SetBinContent(32,19293.74); h_SL1L160->SetBinContent(33,39637.18); h_SL1L160->SetBinContent(34,55348.96); h_SL1L160->SetBinContent(35,58199.73); h_SL1L160->SetBinContent(36,58619.16); h_SL1L160->SetBinContent(37,63495.3); h_SL1L160->SetBinContent(38,60693.88); h_SL1L160->SetBinContent(39,41718.63); h_SL1L160->SetBinContent(40,18950.58); h_SL1L160->SetBinContent(41,16525.96); h_SL1L160->SetBinContent(42,15545.8); h_SL1L160->SetBinContent(43,15433.65); h_SL1L160->SetBinContent(44,14758.53); h_SL1L160->SetBinContent(45,13897.24); h_SL1L160->SetBinContent(46,13323.05); h_SL1L160->SetBinContent(47,13376.88); h_SL1L160->SetBinContent(48,12428.11); h_SL1L160->SetBinContent(49,12540.26); h_SL1L160->SetBinContent(50,12439.33); h_SL1L160->SetBinContent(51,11566.83); h_SL1L160->SetBinContent(52,11963.83); h_SL1L160->SetBinContent(53,12298.02); h_SL1L160->SetBinContent(54,11932.43); h_SL1L160->SetBinContent(55,12230.74); h_SL1L160->SetBinContent(56,12793.71); h_SL1L160->SetBinContent(57,13432.95); h_SL1L160->SetBinContent(58,13244.54); h_SL1L160->SetBinContent(59,13486.78); h_SL1L160->SetMaximum(110006.7); 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,18988.71); h_SL1L261->SetBinContent(2,18555.82); h_SL1L261->SetBinContent(3,18816); h_SL1L261->SetBinContent(4,18490.77); h_SL1L261->SetBinContent(5,18221.62); h_SL1L261->SetBinContent(6,20137.09); h_SL1L261->SetBinContent(7,19376.73); h_SL1L261->SetBinContent(8,18818.24); h_SL1L261->SetBinContent(9,18497.5); h_SL1L261->SetBinContent(10,16189.52); h_SL1L261->SetBinContent(11,16472.13); h_SL1L261->SetBinContent(12,16353.25); h_SL1L261->SetBinContent(13,17162.96); h_SL1L261->SetBinContent(14,18044.43); h_SL1L261->SetBinContent(15,17914.34); h_SL1L261->SetBinContent(16,17434.35); h_SL1L261->SetBinContent(17,17728.17); h_SL1L261->SetBinContent(18,18257.51); h_SL1L261->SetBinContent(19,19298.23); h_SL1L261->SetBinContent(20,19708.69); h_SL1L261->SetBinContent(21,20392.78); h_SL1L261->SetBinContent(22,20094.47); h_SL1L261->SetBinContent(23,20756.14); h_SL1L261->SetBinContent(24,21038.75); h_SL1L261->SetBinContent(25,21135.2); h_SL1L261->SetBinContent(26,20341.2); h_SL1L261->SetBinContent(27,19704.2); h_SL1L261->SetBinContent(28,20989.4); h_SL1L261->SetBinContent(29,21503.04); h_SL1L261->SetBinContent(30,21227.16); h_SL1L261->SetBinContent(31,21644.34); h_SL1L261->SetBinContent(32,23297.39); h_SL1L261->SetBinContent(33,34933.75); h_SL1L261->SetBinContent(34,66675.79); h_SL1L261->SetBinContent(35,75809.03); h_SL1L261->SetBinContent(36,79716.23); h_SL1L261->SetBinContent(37,83181.56); h_SL1L261->SetBinContent(38,82129.62); h_SL1L261->SetBinContent(39,69136.29); h_SL1L261->SetBinContent(40,33199.95); h_SL1L261->SetBinContent(41,22346.38); h_SL1L261->SetBinContent(42,19217.48); h_SL1L261->SetBinContent(43,18647.78); h_SL1L261->SetBinContent(44,18221.62); h_SL1L261->SetBinContent(45,17685.56); h_SL1L261->SetBinContent(46,17645.19); h_SL1L261->SetBinContent(47,17607.06); h_SL1L261->SetBinContent(48,16732.31); h_SL1L261->SetBinContent(49,23292.9); h_SL1L261->SetBinContent(50,16469.89); h_SL1L261->SetBinContent(51,15274.4); h_SL1L261->SetBinContent(52,15343.93); h_SL1L261->SetBinContent(53,16079.62); h_SL1L261->SetBinContent(54,15276.64); h_SL1L261->SetBinContent(55,15373.09); h_SL1L261->SetBinContent(56,17835.84); h_SL1L261->SetBinContent(57,15047.87); h_SL1L261->SetBinContent(58,14534.23); h_SL1L261->SetBinContent(59,14224.71); h_SL1L261->SetMaximum(95658.8); 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,8617.364); h_SL1L362->SetBinContent(2,8090.274); h_SL1L362->SetBinContent(3,8545.59); h_SL1L362->SetBinContent(4,8464.845); h_SL1L362->SetBinContent(5,8238.308); h_SL1L362->SetBinContent(6,8958.291); h_SL1L362->SetBinContent(7,8411.014); h_SL1L362->SetBinContent(8,8404.285); h_SL1L362->SetBinContent(9,7601.314); h_SL1L362->SetBinContent(10,7217.771); h_SL1L362->SetBinContent(11,7852.523); h_SL1L362->SetBinContent(12,8144.104); h_SL1L362->SetBinContent(13,8402.042); h_SL1L362->SetBinContent(14,7652.901); h_SL1L362->SetBinContent(15,8413.257); h_SL1L362->SetBinContent(16,7957.941); h_SL1L362->SetBinContent(17,7623.743); h_SL1L362->SetBinContent(18,8449.144); h_SL1L362->SetBinContent(19,8265.224); h_SL1L362->SetBinContent(20,8538.861); h_SL1L362->SetBinContent(21,9276.788); h_SL1L362->SetBinContent(22,8816.985); h_SL1L362->SetBinContent(23,9034.551); h_SL1L362->SetBinContent(24,9101.839); h_SL1L362->SetBinContent(25,8689.139); h_SL1L362->SetBinContent(26,7531.783); h_SL1L362->SetBinContent(27,8816.985); h_SL1L362->SetBinContent(28,8168.777); h_SL1L362->SetBinContent(29,8985.206); h_SL1L362->SetBinContent(30,8330.269); h_SL1L362->SetBinContent(31,8754.184); h_SL1L362->SetBinContent(32,8585.963); h_SL1L362->SetBinContent(33,12715.21); h_SL1L362->SetBinContent(34,18078.07); h_SL1L362->SetBinContent(35,18672.45); h_SL1L362->SetBinContent(36,18741.98); h_SL1L362->SetBinContent(37,20419.7); h_SL1L362->SetBinContent(38,17636.21); h_SL1L362->SetBinContent(39,14785.44); h_SL1L362->SetBinContent(40,7753.833); h_SL1L362->SetBinContent(41,7495.896); h_SL1L362->SetBinContent(42,8014.014); h_SL1L362->SetBinContent(43,8103.732); h_SL1L362->SetBinContent(44,7922.054); h_SL1L362->SetBinContent(45,7278.331); h_SL1L362->SetBinContent(46,7652.901); h_SL1L362->SetBinContent(47,7664.116); h_SL1L362->SetBinContent(48,6500.032); h_SL1L362->SetBinContent(49,7009.178); h_SL1L362->SetBinContent(50,6715.354); h_SL1L362->SetBinContent(51,6744.512); h_SL1L362->SetBinContent(52,6183.777); h_SL1L362->SetBinContent(53,7863.737); h_SL1L362->SetBinContent(54,6217.421); h_SL1L362->SetBinContent(55,6168.077); h_SL1L362->SetBinContent(56,9279.03); h_SL1L362->SetBinContent(57,6452.93); h_SL1L362->SetBinContent(58,5970.699); h_SL1L362->SetBinContent(59,5723.976); h_SL1L362->SetMaximum(95658.8); 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,16454.19); h_SL1L463->SetBinContent(3,16135.69); h_SL1L463->SetBinContent(4,15458.32); h_SL1L463->SetBinContent(5,15424.68); h_SL1L463->SetBinContent(6,16460.92); h_SL1L463->SetBinContent(7,16037); h_SL1L463->SetBinContent(8,16124.47); h_SL1L463->SetBinContent(9,15597.38); h_SL1L463->SetBinContent(10,14792.17); h_SL1L463->SetBinContent(11,14357.04); h_SL1L463->SetBinContent(12,14395.17); h_SL1L463->SetBinContent(13,14962.63); h_SL1L463->SetBinContent(14,16682.97); h_SL1L463->SetBinContent(15,16436.24); h_SL1L463->SetBinContent(16,15227.3); h_SL1L463->SetBinContent(17,14890.86); h_SL1L463->SetBinContent(18,14987.31); h_SL1L463->SetBinContent(19,15879.99); h_SL1L463->SetBinContent(20,15862.05); h_SL1L463->SetBinContent(21,16335.31); h_SL1L463->SetBinContent(22,16483.34); h_SL1L463->SetBinContent(23,16530.45); h_SL1L463->SetBinContent(24,16454.19); h_SL1L463->SetBinContent(25,16012.33); h_SL1L463->SetBinContent(26,16364.47); h_SL1L463->SetBinContent(27,15460.57); h_SL1L463->SetBinContent(28,16045.97); h_SL1L463->SetBinContent(29,16084.1); h_SL1L463->SetBinContent(30,16530.45); h_SL1L463->SetBinContent(31,17192.11); h_SL1L463->SetBinContent(32,17515.1); h_SL1L463->SetBinContent(33,24708.2); h_SL1L463->SetBinContent(34,51995.77); h_SL1L463->SetBinContent(35,61974.59); h_SL1L463->SetBinContent(36,62465.8); h_SL1L463->SetBinContent(37,60718.55); h_SL1L463->SetBinContent(38,62822.43); h_SL1L463->SetBinContent(39,57571.71); h_SL1L463->SetBinContent(40,24593.8); h_SL1L463->SetBinContent(41,16333.07); h_SL1L463->SetBinContent(42,14386.2); h_SL1L463->SetBinContent(43,14269.57); h_SL1L463->SetBinContent(44,13886.02); h_SL1L463->SetBinContent(45,12102.89); h_SL1L463->SetBinContent(46,13006.79); h_SL1L463->SetBinContent(47,12313.72); h_SL1L463->SetBinContent(48,12363.07); h_SL1L463->SetBinContent(49,11019.55); h_SL1L463->SetBinContent(50,11441.22); h_SL1L463->SetBinContent(51,10721.24); h_SL1L463->SetBinContent(52,10851.33); h_SL1L463->SetBinContent(53,10629.28); h_SL1L463->SetBinContent(54,10795.26); h_SL1L463->SetBinContent(56,10983.66); h_SL1L463->SetBinContent(57,10828.9); h_SL1L463->SetBinContent(58,12167.93); h_SL1L463->SetBinContent(59,11818.04); h_SL1L463->SetMaximum(95658.8); 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 6813"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }