void RatesPerCell_Removing_noisy_cells_run_6922_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:07:01 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-3094.794,67.5,27853.14); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6922",60,0,60); h_SL1L160->SetBinContent(1,9884.013); h_SL1L160->SetBinContent(2,9500.478); h_SL1L160->SetBinContent(3,11801.69); h_SL1L160->SetBinContent(4,12153.26); h_SL1L160->SetBinContent(5,12440.91); h_SL1L160->SetBinContent(6,12241.15); h_SL1L160->SetBinContent(7,11937.52); h_SL1L160->SetBinContent(8,12800.48); h_SL1L160->SetBinContent(9,12137.28); h_SL1L160->SetBinContent(10,12624.69); h_SL1L160->SetBinContent(11,12440.91); h_SL1L160->SetBinContent(12,11322.27); h_SL1L160->SetBinContent(13,12233.16); h_SL1L160->SetBinContent(14,12009.43); h_SL1L160->SetBinContent(15,11665.85); h_SL1L160->SetBinContent(16,11657.86); h_SL1L160->SetBinContent(17,11793.7); h_SL1L160->SetBinContent(18,12376.99); h_SL1L160->SetBinContent(19,11833.65); h_SL1L160->SetBinContent(20,11929.53); h_SL1L160->SetBinContent(21,12065.37); h_SL1L160->SetBinContent(22,13375.78); h_SL1L160->SetBinContent(23,12153.26); h_SL1L160->SetBinContent(24,12169.24); h_SL1L160->SetBinContent(25,12376.99); h_SL1L160->SetBinContent(26,12289.1); h_SL1L160->SetBinContent(27,11721.78); h_SL1L160->SetBinContent(28,12257.13); h_SL1L160->SetBinContent(29,10882.8); h_SL1L160->SetBinContent(30,12384.98); h_SL1L160->SetBinContent(31,11402.17); h_SL1L160->SetBinContent(32,11482.07); h_SL1L160->SetBinContent(33,10475.3); h_SL1L160->SetBinContent(34,11050.6); h_SL1L160->SetBinContent(35,10627.11); h_SL1L160->SetBinContent(36,10978.68); h_SL1L160->SetBinContent(37,11386.19); h_SL1L160->SetBinContent(38,11793.7); h_SL1L160->SetBinContent(39,10635.1); h_SL1L160->SetBinContent(40,10970.69); h_SL1L160->SetBinContent(41,10874.81); h_SL1L160->SetBinContent(42,11026.63); h_SL1L160->SetBinContent(43,11154.47); h_SL1L160->SetBinContent(44,10163.67); h_SL1L160->SetBinContent(45,9532.438); h_SL1L160->SetBinContent(46,9939.944); h_SL1L160->SetBinContent(47,8645.515); h_SL1L160->SetBinContent(48,8669.485); h_SL1L160->SetBinContent(49,9396.604); h_SL1L160->SetBinContent(50,9260.769); h_SL1L160->SetBinContent(51,8597.572); h_SL1L160->SetBinContent(52,8301.932); h_SL1L160->SetBinContent(53,8925.176); h_SL1L160->SetBinContent(54,8861.253); h_SL1L160->SetBinContent(55,8501.689); h_SL1L160->SetBinContent(56,8309.922); h_SL1L160->SetBinContent(57,9604.352); h_SL1L160->SetBinContent(58,10387.4); h_SL1L160->SetBinContent(59,9420.574); h_SL1L160->SetMaximum(24758.35); 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,10834.86); h_SL1L261->SetBinContent(2,9652.294); h_SL1L261->SetBinContent(3,12281.11); h_SL1L261->SetBinContent(4,13543.57); h_SL1L261->SetBinContent(5,14502.41); h_SL1L261->SetBinContent(6,15213.55); h_SL1L261->SetBinContent(7,15381.35); h_SL1L261->SetBinContent(8,15708.95); h_SL1L261->SetBinContent(9,15525.17); h_SL1L261->SetBinContent(10,15053.74); h_SL1L261->SetBinContent(11,15461.25); h_SL1L261->SetBinContent(12,15181.59); h_SL1L261->SetBinContent(13,14965.85); h_SL1L261->SetBinContent(14,16116.45); h_SL1L261->SetBinContent(15,15724.93); h_SL1L261->SetBinContent(16,15445.27); h_SL1L261->SetBinContent(17,15525.17); h_SL1L261->SetBinContent(18,16100.47); h_SL1L261->SetBinContent(19,15573.11); h_SL1L261->SetBinContent(20,15389.34); h_SL1L261->SetBinContent(21,16547.93); h_SL1L261->SetBinContent(22,16731.71); h_SL1L261->SetBinContent(23,17179.16); h_SL1L261->SetBinContent(24,17866.33); h_SL1L261->SetBinContent(25,17618.63); h_SL1L261->SetBinContent(26,17179.16); h_SL1L261->SetBinContent(27,16460.04); h_SL1L261->SetBinContent(28,18721.29); h_SL1L261->SetBinContent(29,17834.37); h_SL1L261->SetBinContent(30,16555.92); h_SL1L261->SetBinContent(31,16332.19); h_SL1L261->SetBinContent(32,16180.38); h_SL1L261->SetBinContent(33,16164.4); h_SL1L261->SetBinContent(34,15756.89); h_SL1L261->SetBinContent(35,15804.83); h_SL1L261->SetBinContent(36,15093.69); h_SL1L261->SetBinContent(37,16084.49); h_SL1L261->SetBinContent(38,15037.76); h_SL1L261->SetBinContent(39,15405.32); h_SL1L261->SetBinContent(40,15077.71); h_SL1L261->SetBinContent(41,15549.14); h_SL1L261->SetBinContent(42,14933.89); h_SL1L261->SetBinContent(43,14390.55); h_SL1L261->SetBinContent(44,14374.57); h_SL1L261->SetBinContent(45,13919.12); h_SL1L261->SetBinContent(46,15764.88); h_SL1L261->SetBinContent(47,15157.62); h_SL1L261->SetBinContent(48,13455.68); h_SL1L261->SetBinContent(49,14606.29); h_SL1L261->SetBinContent(50,14670.21); h_SL1L261->SetBinContent(51,13751.32); h_SL1L261->SetBinContent(52,13887.16); h_SL1L261->SetBinContent(53,13855.2); h_SL1L261->SetBinContent(54,13631.47); h_SL1L261->SetBinContent(55,13791.27); h_SL1L261->SetBinContent(56,13439.7); h_SL1L261->SetBinContent(57,12440.91); h_SL1L261->SetBinContent(58,13056.17); h_SL1L261->SetBinContent(59,11713.79); h_SL1L261->SetMaximum(21529.49); 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,10595.15); h_SL1L362->SetBinContent(2,10427.35); h_SL1L362->SetBinContent(3,13096.12); h_SL1L362->SetBinContent(4,13727.35); h_SL1L362->SetBinContent(5,14518.39); h_SL1L362->SetBinContent(6,14694.18); h_SL1L362->SetBinContent(7,15485.22); h_SL1L362->SetBinContent(8,15724.93); h_SL1L362->SetBinContent(9,14798.05); h_SL1L362->SetBinContent(10,15197.57); h_SL1L362->SetBinContent(11,15125.66); h_SL1L362->SetBinContent(12,15621.05); h_SL1L362->SetBinContent(13,14981.83); h_SL1L362->SetBinContent(14,15133.65); h_SL1L362->SetBinContent(15,14909.92); h_SL1L362->SetBinContent(16,15485.22); h_SL1L362->SetBinContent(17,15645.03); h_SL1L362->SetBinContent(18,16220.33); h_SL1L362->SetBinContent(19,14949.87); h_SL1L362->SetBinContent(20,15661.01); h_SL1L362->SetBinContent(21,16188.37); h_SL1L362->SetBinContent(22,16547.93); h_SL1L362->SetBinContent(23,16587.88); h_SL1L362->SetBinContent(24,17011.37); h_SL1L362->SetBinContent(25,16731.71); h_SL1L362->SetBinContent(26,16436.07); h_SL1L362->SetBinContent(27,16348.17); h_SL1L362->SetBinContent(28,17059.31); h_SL1L362->SetBinContent(29,16492); h_SL1L362->SetBinContent(30,16707.74); h_SL1L362->SetBinContent(31,15956.65); h_SL1L362->SetBinContent(32,15509.19); h_SL1L362->SetBinContent(33,16292.24); h_SL1L362->SetBinContent(34,15301.44); h_SL1L362->SetBinContent(35,15037.76); h_SL1L362->SetBinContent(36,15637.04); h_SL1L362->SetBinContent(37,15445.27); h_SL1L362->SetBinContent(38,15109.67); h_SL1L362->SetBinContent(39,14997.81); h_SL1L362->SetBinContent(40,15501.2); h_SL1L362->SetBinContent(41,14686.19); h_SL1L362->SetBinContent(42,14678.2); h_SL1L362->SetBinContent(43,14630.26); h_SL1L362->SetBinContent(44,13711.37); h_SL1L362->SetBinContent(45,14166.82); h_SL1L362->SetBinContent(46,15389.34); h_SL1L362->SetBinContent(47,13847.21); h_SL1L362->SetBinContent(48,13767.3); h_SL1L362->SetBinContent(49,13711.37); h_SL1L362->SetBinContent(50,13471.66); h_SL1L362->SetBinContent(51,13295.88); h_SL1L362->SetBinContent(52,13527.59); h_SL1L362->SetBinContent(53,13863.19); h_SL1L362->SetBinContent(54,12960.28); h_SL1L362->SetBinContent(55,13471.66); h_SL1L362->SetBinContent(56,12720.57); h_SL1L362->SetBinContent(57,12656.65); h_SL1L362->SetBinContent(58,11697.81); h_SL1L362->SetBinContent(59,10603.14); h_SL1L362->SetMaximum(21529.49); 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,7974.329); h_SL1L463->SetBinContent(3,9836.07); h_SL1L463->SetBinContent(4,10419.36); h_SL1L463->SetBinContent(5,10211.62); h_SL1L463->SetBinContent(6,10978.68); h_SL1L463->SetBinContent(7,11258.35); h_SL1L463->SetBinContent(8,11921.54); h_SL1L463->SetBinContent(9,12121.3); h_SL1L463->SetBinContent(10,12408.95); h_SL1L463->SetBinContent(11,12448.9); h_SL1L463->SetBinContent(12,13064.16); h_SL1L463->SetBinContent(13,13048.17); h_SL1L463->SetBinContent(14,12784.5); h_SL1L463->SetBinContent(15,12624.69); h_SL1L463->SetBinContent(16,12776.5); h_SL1L463->SetBinContent(17,12496.84); h_SL1L463->SetBinContent(18,12033.41); h_SL1L463->SetBinContent(19,12105.32); h_SL1L463->SetBinContent(20,11953.5); h_SL1L463->SetBinContent(21,12089.34); h_SL1L463->SetBinContent(22,12265.12); h_SL1L463->SetBinContent(23,11130.5); h_SL1L463->SetBinContent(24,12201.2); h_SL1L463->SetBinContent(25,11641.88); h_SL1L463->SetBinContent(26,11937.52); h_SL1L463->SetBinContent(27,11306.29); h_SL1L463->SetBinContent(28,11338.25); h_SL1L463->SetBinContent(29,11010.65); h_SL1L463->SetBinContent(30,11522.03); h_SL1L463->SetBinContent(31,11162.46); h_SL1L463->SetBinContent(32,11098.54); h_SL1L463->SetBinContent(33,10715); h_SL1L463->SetBinContent(34,12017.42); h_SL1L463->SetBinContent(35,11737.76); h_SL1L463->SetBinContent(36,11450.11); h_SL1L463->SetBinContent(37,11530.02); h_SL1L463->SetBinContent(38,10882.8); h_SL1L463->SetBinContent(39,11434.13); h_SL1L463->SetBinContent(40,11258.35); h_SL1L463->SetBinContent(41,11649.87); h_SL1L463->SetBinContent(42,11450.11); h_SL1L463->SetBinContent(43,11689.82); h_SL1L463->SetBinContent(44,11034.62); h_SL1L463->SetBinContent(45,11114.52); h_SL1L463->SetBinContent(46,12001.44); h_SL1L463->SetBinContent(47,11697.81); h_SL1L463->SetBinContent(48,10323.48); h_SL1L463->SetBinContent(49,10635.1); h_SL1L463->SetBinContent(50,10603.14); h_SL1L463->SetBinContent(51,9124.934); h_SL1L463->SetBinContent(52,8709.438); h_SL1L463->SetBinContent(53,8789.34); h_SL1L463->SetBinContent(54,8389.824); h_SL1L463->SetBinContent(55,7.990309); h_SL1L463->SetBinContent(56,7454.958); h_SL1L463->SetBinContent(57,7862.464); h_SL1L463->SetBinContent(58,9740.187); h_SL1L463->SetBinContent(59,9228.808); h_SL1L463->SetMaximum(21529.49); 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 6922"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }