void RatesPerCell_Removing_noisy_cells_run_7550_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:18:35 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13887.4,67.5,124986.6); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7550",60,0,60); h_SL1L160->SetBinContent(1,36792.86); h_SL1L160->SetBinContent(2,37335.71); h_SL1L160->SetBinContent(3,36985.71); h_SL1L160->SetBinContent(4,37907.14); h_SL1L160->SetBinContent(5,34771.43); h_SL1L160->SetBinContent(6,35828.57); h_SL1L160->SetBinContent(7,35414.29); h_SL1L160->SetBinContent(8,38007.14); h_SL1L160->SetBinContent(9,35107.14); h_SL1L160->SetBinContent(10,35864.29); h_SL1L160->SetBinContent(11,36535.71); h_SL1L160->SetBinContent(12,36735.71); h_SL1L160->SetBinContent(13,59278.57); h_SL1L160->SetBinContent(14,67907.14); h_SL1L160->SetBinContent(15,64778.57); h_SL1L160->SetBinContent(16,33642.86); h_SL1L160->SetBinContent(17,33914.29); h_SL1L160->SetBinContent(18,35585.71); h_SL1L160->SetBinContent(19,35778.57); h_SL1L160->SetBinContent(20,36235.71); h_SL1L160->SetBinContent(21,36014.29); h_SL1L160->SetBinContent(22,34635.71); h_SL1L160->SetBinContent(23,33528.57); h_SL1L160->SetBinContent(24,28957.14); h_SL1L160->SetBinContent(25,29135.71); h_SL1L160->SetBinContent(26,30292.86); h_SL1L160->SetBinContent(27,29564.29); h_SL1L160->SetBinContent(28,30878.57); h_SL1L160->SetBinContent(29,31514.29); h_SL1L160->SetBinContent(30,30278.57); h_SL1L160->SetBinContent(31,29892.86); h_SL1L160->SetBinContent(32,27457.14); h_SL1L160->SetBinContent(33,42907.14); h_SL1L160->SetBinContent(34,45235.71); h_SL1L160->SetBinContent(35,43042.86); h_SL1L160->SetBinContent(36,42771.43); h_SL1L160->SetBinContent(37,45407.14); h_SL1L160->SetBinContent(38,45114.29); h_SL1L160->SetBinContent(39,43242.86); h_SL1L160->SetBinContent(41,28521.43); h_SL1L160->SetBinContent(42,29507.14); h_SL1L160->SetBinContent(43,27835.71); h_SL1L160->SetBinContent(44,27735.71); h_SL1L160->SetBinContent(45,25400); h_SL1L160->SetBinContent(46,24157.14); h_SL1L160->SetBinContent(47,24407.14); h_SL1L160->SetBinContent(48,25328.57); h_SL1L160->SetBinContent(49,25242.86); h_SL1L160->SetBinContent(50,27507.14); h_SL1L160->SetBinContent(51,26257.14); h_SL1L160->SetBinContent(52,26307.14); h_SL1L160->SetBinContent(53,25971.43); h_SL1L160->SetBinContent(54,25614.29); h_SL1L160->SetBinContent(55,27392.86); h_SL1L160->SetBinContent(56,29335.71); h_SL1L160->SetMaximum(111099.2); 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,36707.14); h_SL1L261->SetBinContent(2,37335.71); h_SL1L261->SetBinContent(3,37807.14); h_SL1L261->SetBinContent(4,38407.14); h_SL1L261->SetBinContent(5,39835.71); h_SL1L261->SetBinContent(6,41314.29); h_SL1L261->SetBinContent(7,40807.14); h_SL1L261->SetBinContent(8,42492.86); h_SL1L261->SetBinContent(9,43842.86); h_SL1L261->SetBinContent(10,41057.14); h_SL1L261->SetBinContent(11,41971.43); h_SL1L261->SetBinContent(12,42185.71); h_SL1L261->SetBinContent(13,42250); h_SL1L261->SetBinContent(14,46692.86); h_SL1L261->SetBinContent(15,49457.14); h_SL1L261->SetBinContent(16,42621.43); h_SL1L261->SetBinContent(17,43307.14); h_SL1L261->SetBinContent(18,45271.43); h_SL1L261->SetBinContent(19,45735.71); h_SL1L261->SetBinContent(20,46228.57); h_SL1L261->SetBinContent(21,45914.29); h_SL1L261->SetBinContent(22,45778.57); h_SL1L261->SetBinContent(23,44021.43); h_SL1L261->SetBinContent(24,42214.29); h_SL1L261->SetBinContent(25,43478.57); h_SL1L261->SetBinContent(26,39950); h_SL1L261->SetBinContent(27,40207.14); h_SL1L261->SetBinContent(28,43778.57); h_SL1L261->SetBinContent(29,45864.29); h_SL1L261->SetBinContent(30,45892.86); h_SL1L261->SetBinContent(31,45585.71); h_SL1L261->SetBinContent(32,43792.86); h_SL1L261->SetBinContent(33,43921.43); h_SL1L261->SetBinContent(34,43835.71); h_SL1L261->SetBinContent(35,42492.86); h_SL1L261->SetBinContent(36,42964.29); h_SL1L261->SetBinContent(37,46000); h_SL1L261->SetBinContent(38,46650); h_SL1L261->SetBinContent(39,45128.57); h_SL1L261->SetBinContent(40,44035.71); h_SL1L261->SetBinContent(41,44314.29); h_SL1L261->SetBinContent(42,43314.29); h_SL1L261->SetBinContent(43,43771.43); h_SL1L261->SetBinContent(44,41678.57); h_SL1L261->SetBinContent(45,41842.86); h_SL1L261->SetBinContent(46,42650); h_SL1L261->SetBinContent(47,43064.29); h_SL1L261->SetBinContent(48,43885.71); h_SL1L261->SetBinContent(49,46800); h_SL1L261->SetBinContent(50,43350); h_SL1L261->SetBinContent(51,44307.14); h_SL1L261->SetBinContent(52,42642.86); h_SL1L261->SetBinContent(53,43671.43); h_SL1L261->SetBinContent(54,42328.57); h_SL1L261->SetBinContent(55,42992.86); h_SL1L261->SetBinContent(56,42307.14); h_SL1L261->SetMaximum(96608.21); 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,35728.57); h_SL1L362->SetBinContent(2,36464.29); h_SL1L362->SetBinContent(3,37892.86); h_SL1L362->SetBinContent(4,38771.43); h_SL1L362->SetBinContent(5,38242.86); h_SL1L362->SetBinContent(6,39464.29); h_SL1L362->SetBinContent(7,40500); h_SL1L362->SetBinContent(8,42050); h_SL1L362->SetBinContent(9,40085.71); h_SL1L362->SetBinContent(10,40871.43); h_SL1L362->SetBinContent(11,42421.43); h_SL1L362->SetBinContent(12,42550); h_SL1L362->SetBinContent(13,41907.14); h_SL1L362->SetBinContent(14,49614.29); h_SL1L362->SetBinContent(15,62521.43); h_SL1L362->SetBinContent(16,43428.57); h_SL1L362->SetBinContent(17,43178.57); h_SL1L362->SetBinContent(18,44950); h_SL1L362->SetBinContent(19,44335.71); h_SL1L362->SetBinContent(20,46528.57); h_SL1L362->SetBinContent(21,44485.71); h_SL1L362->SetBinContent(22,42371.43); h_SL1L362->SetBinContent(23,41414.29); h_SL1L362->SetBinContent(24,42114.29); h_SL1L362->SetBinContent(25,41742.86); h_SL1L362->SetBinContent(26,39528.57); h_SL1L362->SetBinContent(27,40464.29); h_SL1L362->SetBinContent(28,43228.57); h_SL1L362->SetBinContent(29,44507.14); h_SL1L362->SetBinContent(30,43435.71); h_SL1L362->SetBinContent(31,44285.71); h_SL1L362->SetBinContent(32,41950); h_SL1L362->SetBinContent(33,43207.14); h_SL1L362->SetBinContent(34,42871.43); h_SL1L362->SetBinContent(35,41321.43); h_SL1L362->SetBinContent(36,43207.14); h_SL1L362->SetBinContent(37,46614.29); h_SL1L362->SetBinContent(38,44485.71); h_SL1L362->SetBinContent(39,43142.86); h_SL1L362->SetBinContent(40,41928.57); h_SL1L362->SetBinContent(41,43150); h_SL1L362->SetBinContent(42,43342.86); h_SL1L362->SetBinContent(43,40864.29); h_SL1L362->SetBinContent(44,39864.29); h_SL1L362->SetBinContent(45,41592.86); h_SL1L362->SetBinContent(46,41471.43); h_SL1L362->SetBinContent(47,40928.57); h_SL1L362->SetBinContent(48,42400); h_SL1L362->SetBinContent(49,42271.43); h_SL1L362->SetBinContent(50,42142.86); h_SL1L362->SetBinContent(51,40707.14); h_SL1L362->SetBinContent(52,42742.86); h_SL1L362->SetBinContent(53,42428.57); h_SL1L362->SetBinContent(54,41128.57); h_SL1L362->SetBinContent(55,40500); h_SL1L362->SetBinContent(56,41871.43); h_SL1L362->SetMaximum(96608.21); 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,31628.57); h_SL1L463->SetBinContent(3,31935.71); h_SL1L463->SetBinContent(4,31050); h_SL1L463->SetBinContent(5,31450); h_SL1L463->SetBinContent(6,31335.71); h_SL1L463->SetBinContent(7,32285.71); h_SL1L463->SetBinContent(8,33478.57); h_SL1L463->SetBinContent(9,33642.86); h_SL1L463->SetBinContent(10,35064.29); h_SL1L463->SetBinContent(11,36800); h_SL1L463->SetBinContent(12,37278.57); h_SL1L463->SetBinContent(13,40157.14); h_SL1L463->SetBinContent(14,84007.14); h_SL1L463->SetBinContent(15,69800); h_SL1L463->SetBinContent(16,67992.86); h_SL1L463->SetBinContent(17,35942.86); h_SL1L463->SetBinContent(18,36321.43); h_SL1L463->SetBinContent(19,37142.86); h_SL1L463->SetBinContent(20,35735.71); h_SL1L463->SetBinContent(21,36585.71); h_SL1L463->SetBinContent(22,34550); h_SL1L463->SetBinContent(23,33300); h_SL1L463->SetBinContent(24,33178.57); h_SL1L463->SetBinContent(25,30892.86); h_SL1L463->SetBinContent(26,30492.86); h_SL1L463->SetBinContent(27,29850); h_SL1L463->SetBinContent(28,31821.43); h_SL1L463->SetBinContent(29,31042.86); h_SL1L463->SetBinContent(30,33400); h_SL1L463->SetBinContent(31,32728.57); h_SL1L463->SetBinContent(32,29685.71); h_SL1L463->SetBinContent(33,29378.57); h_SL1L463->SetBinContent(34,32242.86); h_SL1L463->SetBinContent(35,32835.71); h_SL1L463->SetBinContent(36,29735.71); h_SL1L463->SetBinContent(37,4385.714); h_SL1L463->SetBinContent(40,7.142857); h_SL1L463->SetBinContent(41,27178.57); h_SL1L463->SetBinContent(42,27100); h_SL1L463->SetBinContent(43,28350); h_SL1L463->SetBinContent(44,27921.43); h_SL1L463->SetBinContent(45,25335.71); h_SL1L463->SetBinContent(46,26392.86); h_SL1L463->SetBinContent(47,25178.57); h_SL1L463->SetBinContent(48,25621.43); h_SL1L463->SetBinContent(49,24135.71); h_SL1L463->SetBinContent(50,25271.43); h_SL1L463->SetBinContent(51,25635.71); h_SL1L463->SetBinContent(52,25835.71); h_SL1L463->SetBinContent(53,26464.29); h_SL1L463->SetBinContent(54,24635.71); h_SL1L463->SetBinContent(56,26328.57); h_SL1L463->SetMaximum(96608.21); 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 7550"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }