void RatesPerCell_Removing_noisy_cells_run_6947_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:13:06 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12111.37,67.5,109002.3); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6947",60,0,60); h_SL1L160->SetBinContent(1,16542.86); h_SL1L160->SetBinContent(2,17221.43); h_SL1L160->SetBinContent(3,18078.57); h_SL1L160->SetBinContent(4,19542.86); h_SL1L160->SetBinContent(5,17071.43); h_SL1L160->SetBinContent(6,18871.43); h_SL1L160->SetBinContent(7,17900); h_SL1L160->SetBinContent(8,19571.43); h_SL1L160->SetBinContent(9,18692.86); h_SL1L160->SetBinContent(10,18685.71); h_SL1L160->SetBinContent(11,18607.14); h_SL1L160->SetBinContent(12,18492.86); h_SL1L160->SetBinContent(13,18321.43); h_SL1L160->SetBinContent(14,17378.57); h_SL1L160->SetBinContent(15,16485.71); h_SL1L160->SetBinContent(16,17050); h_SL1L160->SetBinContent(17,16207.14); h_SL1L160->SetBinContent(18,17450); h_SL1L160->SetBinContent(19,17878.57); h_SL1L160->SetBinContent(20,17200); h_SL1L160->SetBinContent(21,17907.14); h_SL1L160->SetBinContent(22,17578.57); h_SL1L160->SetBinContent(23,17421.43); h_SL1L160->SetBinContent(24,16900); h_SL1L160->SetBinContent(25,16514.29); h_SL1L160->SetBinContent(26,18121.43); h_SL1L160->SetBinContent(27,17435.71); h_SL1L160->SetBinContent(28,16985.71); h_SL1L160->SetBinContent(29,15821.43); h_SL1L160->SetBinContent(30,17085.71); h_SL1L160->SetBinContent(31,15535.71); h_SL1L160->SetBinContent(32,14742.86); h_SL1L160->SetBinContent(33,14921.43); h_SL1L160->SetBinContent(34,16007.14); h_SL1L160->SetBinContent(35,14692.86); h_SL1L160->SetBinContent(36,14778.57); h_SL1L160->SetBinContent(37,14007.14); h_SL1L160->SetBinContent(38,73264.28); h_SL1L160->SetBinContent(39,12778.57); h_SL1L160->SetBinContent(40,12842.86); h_SL1L160->SetBinContent(41,14971.43); h_SL1L160->SetBinContent(42,13850); h_SL1L160->SetBinContent(43,14414.29); h_SL1L160->SetBinContent(44,13664.29); h_SL1L160->SetBinContent(45,13414.29); h_SL1L160->SetBinContent(46,13042.86); h_SL1L160->SetBinContent(47,12235.71); h_SL1L160->SetBinContent(48,12128.57); h_SL1L160->SetBinContent(49,13521.43); h_SL1L160->SetBinContent(50,12878.57); h_SL1L160->SetBinContent(51,13685.71); h_SL1L160->SetBinContent(52,13014.29); h_SL1L160->SetBinContent(53,12700); h_SL1L160->SetBinContent(54,12114.29); h_SL1L160->SetBinContent(55,12678.57); h_SL1L160->SetBinContent(56,12957.14); h_SL1L160->SetBinContent(57,15971.43); h_SL1L160->SetBinContent(58,16842.86); h_SL1L160->SetBinContent(59,16407.14); h_SL1L160->SetMaximum(96890.95); 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,16357.14); h_SL1L261->SetBinContent(2,17500); h_SL1L261->SetBinContent(3,17464.29); h_SL1L261->SetBinContent(4,19271.43); h_SL1L261->SetBinContent(5,21271.43); h_SL1L261->SetBinContent(6,23078.57); h_SL1L261->SetBinContent(7,22657.14); h_SL1L261->SetBinContent(8,23985.71); h_SL1L261->SetBinContent(9,23150); h_SL1L261->SetBinContent(10,23507.14); h_SL1L261->SetBinContent(11,23600); h_SL1L261->SetBinContent(12,23142.86); h_SL1L261->SetBinContent(13,23864.29); h_SL1L261->SetBinContent(14,23685.71); h_SL1L261->SetBinContent(15,22185.71); h_SL1L261->SetBinContent(16,22450); h_SL1L261->SetBinContent(17,22914.29); h_SL1L261->SetBinContent(18,24535.71); h_SL1L261->SetBinContent(19,24428.57); h_SL1L261->SetBinContent(20,25135.71); h_SL1L261->SetBinContent(21,27564.29); h_SL1L261->SetBinContent(22,26085.71); h_SL1L261->SetBinContent(23,25428.57); h_SL1L261->SetBinContent(24,26500); h_SL1L261->SetBinContent(25,27492.86); h_SL1L261->SetBinContent(26,25628.57); h_SL1L261->SetBinContent(27,25850); h_SL1L261->SetBinContent(28,26114.29); h_SL1L261->SetBinContent(29,26742.86); h_SL1L261->SetBinContent(30,26478.57); h_SL1L261->SetBinContent(31,27778.57); h_SL1L261->SetBinContent(32,25357.14); h_SL1L261->SetBinContent(33,24942.86); h_SL1L261->SetBinContent(34,25157.14); h_SL1L261->SetBinContent(35,24150); h_SL1L261->SetBinContent(36,24192.86); h_SL1L261->SetBinContent(37,25100); h_SL1L261->SetBinContent(38,24821.43); h_SL1L261->SetBinContent(39,24257.14); h_SL1L261->SetBinContent(40,23614.29); h_SL1L261->SetBinContent(41,23864.29); h_SL1L261->SetBinContent(42,23200); h_SL1L261->SetBinContent(43,21678.57); h_SL1L261->SetBinContent(44,21085.71); h_SL1L261->SetBinContent(45,22278.57); h_SL1L261->SetBinContent(46,22507.14); h_SL1L261->SetBinContent(47,23392.86); h_SL1L261->SetBinContent(48,22185.71); h_SL1L261->SetBinContent(49,22378.57); h_SL1L261->SetBinContent(50,22392.86); h_SL1L261->SetBinContent(51,37750); h_SL1L261->SetBinContent(52,21700); h_SL1L261->SetBinContent(53,21478.57); h_SL1L261->SetBinContent(54,60385.71); h_SL1L261->SetBinContent(55,21192.86); h_SL1L261->SetBinContent(56,20600); h_SL1L261->SetBinContent(57,21300); h_SL1L261->SetBinContent(58,20678.57); h_SL1L261->SetBinContent(59,19757.14); h_SL1L261->SetMaximum(84253.92); 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,16157.14); h_SL1L362->SetBinContent(2,17500); h_SL1L362->SetBinContent(3,18535.71); h_SL1L362->SetBinContent(4,20657.14); h_SL1L362->SetBinContent(5,22314.29); h_SL1L362->SetBinContent(6,21664.29); h_SL1L362->SetBinContent(7,22671.43); h_SL1L362->SetBinContent(8,23092.86); h_SL1L362->SetBinContent(9,22478.57); h_SL1L362->SetBinContent(10,23050); h_SL1L362->SetBinContent(11,22400); h_SL1L362->SetBinContent(12,23271.43); h_SL1L362->SetBinContent(13,23421.43); h_SL1L362->SetBinContent(14,23185.71); h_SL1L362->SetBinContent(15,22385.71); h_SL1L362->SetBinContent(16,22564.29); h_SL1L362->SetBinContent(17,23014.29); h_SL1L362->SetBinContent(18,24542.86); h_SL1L362->SetBinContent(19,24650); h_SL1L362->SetBinContent(20,25278.57); h_SL1L362->SetBinContent(21,26150); h_SL1L362->SetBinContent(22,25978.57); h_SL1L362->SetBinContent(23,26000); h_SL1L362->SetBinContent(24,26171.43); h_SL1L362->SetBinContent(25,26742.86); h_SL1L362->SetBinContent(26,25685.71); h_SL1L362->SetBinContent(27,26278.57); h_SL1L362->SetBinContent(28,26464.29); h_SL1L362->SetBinContent(29,26785.71); h_SL1L362->SetBinContent(30,26192.86); h_SL1L362->SetBinContent(31,24985.71); h_SL1L362->SetBinContent(32,24450); h_SL1L362->SetBinContent(33,25600); h_SL1L362->SetBinContent(34,23978.57); h_SL1L362->SetBinContent(35,23521.43); h_SL1L362->SetBinContent(36,24035.71); h_SL1L362->SetBinContent(37,25057.14); h_SL1L362->SetBinContent(38,24085.71); h_SL1L362->SetBinContent(39,23550); h_SL1L362->SetBinContent(40,23800); h_SL1L362->SetBinContent(41,22650); h_SL1L362->SetBinContent(42,21835.71); h_SL1L362->SetBinContent(43,20628.57); h_SL1L362->SetBinContent(44,20128.57); h_SL1L362->SetBinContent(45,22064.29); h_SL1L362->SetBinContent(46,22021.43); h_SL1L362->SetBinContent(47,21714.29); h_SL1L362->SetBinContent(48,22042.86); h_SL1L362->SetBinContent(49,22828.57); h_SL1L362->SetBinContent(50,22007.14); h_SL1L362->SetBinContent(51,21164.29); h_SL1L362->SetBinContent(52,21221.43); h_SL1L362->SetBinContent(53,21742.86); h_SL1L362->SetBinContent(54,20992.86); h_SL1L362->SetBinContent(55,20878.57); h_SL1L362->SetBinContent(56,20457.14); h_SL1L362->SetBinContent(57,20850); h_SL1L362->SetBinContent(58,20200); h_SL1L362->SetBinContent(59,19442.86); h_SL1L362->SetMaximum(84253.92); 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,9371.429); h_SL1L463->SetBinContent(3,8407.143); h_SL1L463->SetBinContent(4,9042.857); h_SL1L463->SetBinContent(5,8421.429); h_SL1L463->SetBinContent(6,9342.857); h_SL1L463->SetBinContent(7,9757.143); h_SL1L463->SetBinContent(8,9992.857); h_SL1L463->SetBinContent(9,10800); h_SL1L463->SetBinContent(10,11085.71); h_SL1L463->SetBinContent(11,11921.43); h_SL1L463->SetBinContent(12,12678.57); h_SL1L463->SetBinContent(13,13271.43); h_SL1L463->SetBinContent(14,12607.14); h_SL1L463->SetBinContent(15,12000); h_SL1L463->SetBinContent(16,11242.86); h_SL1L463->SetBinContent(17,10450); h_SL1L463->SetBinContent(18,10707.14); h_SL1L463->SetBinContent(19,10664.29); h_SL1L463->SetBinContent(20,10550); h_SL1L463->SetBinContent(21,10442.86); h_SL1L463->SetBinContent(22,9464.285); h_SL1L463->SetBinContent(23,9557.143); h_SL1L463->SetBinContent(24,10064.29); h_SL1L463->SetBinContent(25,8914.285); h_SL1L463->SetBinContent(26,9885.714); h_SL1L463->SetBinContent(27,9471.429); h_SL1L463->SetBinContent(28,9542.857); h_SL1L463->SetBinContent(29,8728.571); h_SL1L463->SetBinContent(30,9085.714); h_SL1L463->SetBinContent(31,8921.429); h_SL1L463->SetBinContent(32,8735.714); h_SL1L463->SetBinContent(33,8492.857); h_SL1L463->SetBinContent(34,10150); h_SL1L463->SetBinContent(35,11178.57); h_SL1L463->SetBinContent(36,10492.86); h_SL1L463->SetBinContent(37,10242.86); h_SL1L463->SetBinContent(38,9635.714); h_SL1L463->SetBinContent(39,10178.57); h_SL1L463->SetBinContent(40,9642.857); h_SL1L463->SetBinContent(41,10728.57); h_SL1L463->SetBinContent(42,10471.43); h_SL1L463->SetBinContent(43,10607.14); h_SL1L463->SetBinContent(44,11078.57); h_SL1L463->SetBinContent(45,10564.29); h_SL1L463->SetBinContent(46,11028.57); h_SL1L463->SetBinContent(47,8950); h_SL1L463->SetBinContent(48,9157.143); h_SL1L463->SetBinContent(49,9021.429); h_SL1L463->SetBinContent(50,8221.429); h_SL1L463->SetBinContent(51,6807.143); h_SL1L463->SetBinContent(52,6635.714); h_SL1L463->SetBinContent(53,5914.286); h_SL1L463->SetBinContent(54,6207.143); h_SL1L463->SetBinContent(56,6250); h_SL1L463->SetBinContent(57,6807.143); h_SL1L463->SetBinContent(58,8850); h_SL1L463->SetBinContent(59,10357.14); h_SL1L463->SetMaximum(84253.92); 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 6947"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }