void RatesPerCell_Removing_noisy_cells_run_7632_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:42:48 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13732.73,67.5,123594.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 7632",60,0,60); h_SL1L160->SetBinContent(1,37285.71); h_SL1L160->SetBinContent(2,38907.14); h_SL1L160->SetBinContent(3,39671.43); h_SL1L160->SetBinContent(4,37742.86); h_SL1L160->SetBinContent(5,36128.57); h_SL1L160->SetBinContent(6,35964.29); h_SL1L160->SetBinContent(7,35221.43); h_SL1L160->SetBinContent(8,37457.14); h_SL1L160->SetBinContent(9,35735.71); h_SL1L160->SetBinContent(10,35964.29); h_SL1L160->SetBinContent(11,37328.57); h_SL1L160->SetBinContent(12,37964.29); h_SL1L160->SetBinContent(13,59621.43); h_SL1L160->SetBinContent(14,67171.43); h_SL1L160->SetBinContent(15,66342.86); h_SL1L160->SetBinContent(16,34457.14); h_SL1L160->SetBinContent(17,32371.43); h_SL1L160->SetBinContent(18,35850); h_SL1L160->SetBinContent(19,34921.43); h_SL1L160->SetBinContent(20,35821.43); h_SL1L160->SetBinContent(21,35071.43); h_SL1L160->SetBinContent(22,33885.71); h_SL1L160->SetBinContent(23,32492.86); h_SL1L160->SetBinContent(24,29285.71); h_SL1L160->SetBinContent(25,27950); h_SL1L160->SetBinContent(26,30307.14); h_SL1L160->SetBinContent(27,28614.29); h_SL1L160->SetBinContent(28,29850); h_SL1L160->SetBinContent(29,31342.86); h_SL1L160->SetBinContent(30,29664.29); h_SL1L160->SetBinContent(31,28135.71); h_SL1L160->SetBinContent(32,26521.43); h_SL1L160->SetBinContent(33,43514.29); h_SL1L160->SetBinContent(34,45950); h_SL1L160->SetBinContent(35,43500); h_SL1L160->SetBinContent(36,45000); h_SL1L160->SetBinContent(37,44328.57); h_SL1L160->SetBinContent(38,46557.14); h_SL1L160->SetBinContent(39,46221.43); h_SL1L160->SetBinContent(41,28600); h_SL1L160->SetBinContent(42,28828.57); h_SL1L160->SetBinContent(43,28185.71); h_SL1L160->SetBinContent(44,25864.29); h_SL1L160->SetBinContent(45,24807.14); h_SL1L160->SetBinContent(46,24457.14); h_SL1L160->SetBinContent(47,24585.71); h_SL1L160->SetBinContent(48,23607.14); h_SL1L160->SetBinContent(49,26542.86); h_SL1L160->SetBinContent(50,27757.14); h_SL1L160->SetBinContent(51,26264.29); h_SL1L160->SetBinContent(52,26828.57); h_SL1L160->SetBinContent(53,26442.86); h_SL1L160->SetBinContent(54,26221.43); h_SL1L160->SetBinContent(55,25828.57); h_SL1L160->SetBinContent(56,28700); h_SL1L160->SetMaximum(109861.8); 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,37657.14); h_SL1L261->SetBinContent(2,38564.29); h_SL1L261->SetBinContent(3,40021.43); h_SL1L261->SetBinContent(4,40300); h_SL1L261->SetBinContent(5,41092.86); h_SL1L261->SetBinContent(6,41757.14); h_SL1L261->SetBinContent(7,41814.29); h_SL1L261->SetBinContent(8,43150); h_SL1L261->SetBinContent(9,43442.86); h_SL1L261->SetBinContent(10,42764.29); h_SL1L261->SetBinContent(11,43000); h_SL1L261->SetBinContent(12,43035.71); h_SL1L261->SetBinContent(13,43414.29); h_SL1L261->SetBinContent(14,47171.43); h_SL1L261->SetBinContent(15,49678.57); h_SL1L261->SetBinContent(16,43385.71); h_SL1L261->SetBinContent(17,43685.71); h_SL1L261->SetBinContent(18,46042.86); h_SL1L261->SetBinContent(19,47257.14); h_SL1L261->SetBinContent(20,47542.86); h_SL1L261->SetBinContent(21,46271.43); h_SL1L261->SetBinContent(22,45928.57); h_SL1L261->SetBinContent(23,43921.43); h_SL1L261->SetBinContent(24,43278.57); h_SL1L261->SetBinContent(25,43150); h_SL1L261->SetBinContent(26,41321.43); h_SL1L261->SetBinContent(27,41164.29); h_SL1L261->SetBinContent(28,43600); h_SL1L261->SetBinContent(29,44785.71); h_SL1L261->SetBinContent(30,45614.29); h_SL1L261->SetBinContent(31,44992.86); h_SL1L261->SetBinContent(32,43314.29); h_SL1L261->SetBinContent(33,43614.29); h_SL1L261->SetBinContent(34,43278.57); h_SL1L261->SetBinContent(35,42107.14); h_SL1L261->SetBinContent(36,43485.71); h_SL1L261->SetBinContent(37,45935.71); h_SL1L261->SetBinContent(38,45164.29); h_SL1L261->SetBinContent(39,44692.86); h_SL1L261->SetBinContent(40,44221.43); h_SL1L261->SetBinContent(41,44364.29); h_SL1L261->SetBinContent(42,45214.29); h_SL1L261->SetBinContent(43,44364.29); h_SL1L261->SetBinContent(44,43107.14); h_SL1L261->SetBinContent(45,42914.29); h_SL1L261->SetBinContent(46,43300); h_SL1L261->SetBinContent(47,44542.86); h_SL1L261->SetBinContent(48,42921.43); h_SL1L261->SetBinContent(49,50214.29); h_SL1L261->SetBinContent(50,46242.86); h_SL1L261->SetBinContent(51,44000); h_SL1L261->SetBinContent(52,44050); h_SL1L261->SetBinContent(53,44385.71); h_SL1L261->SetBinContent(54,44085.71); h_SL1L261->SetBinContent(55,43542.86); h_SL1L261->SetBinContent(56,43350); h_SL1L261->SetMaximum(95532.14); 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,35557.14); h_SL1L362->SetBinContent(2,37207.14); h_SL1L362->SetBinContent(3,38321.43); h_SL1L362->SetBinContent(4,37900); h_SL1L362->SetBinContent(5,40014.29); h_SL1L362->SetBinContent(6,41064.29); h_SL1L362->SetBinContent(7,40835.71); h_SL1L362->SetBinContent(8,43164.29); h_SL1L362->SetBinContent(9,41221.43); h_SL1L362->SetBinContent(10,41728.57); h_SL1L362->SetBinContent(11,41692.86); h_SL1L362->SetBinContent(12,43342.86); h_SL1L362->SetBinContent(13,41721.43); h_SL1L362->SetBinContent(14,49900); h_SL1L362->SetBinContent(15,63928.57); h_SL1L362->SetBinContent(16,45414.29); h_SL1L362->SetBinContent(17,44928.57); h_SL1L362->SetBinContent(18,46650); h_SL1L362->SetBinContent(19,46300); h_SL1L362->SetBinContent(20,46264.29); h_SL1L362->SetBinContent(21,45300); h_SL1L362->SetBinContent(22,42621.43); h_SL1L362->SetBinContent(23,42500); h_SL1L362->SetBinContent(24,43178.57); h_SL1L362->SetBinContent(25,41214.29); h_SL1L362->SetBinContent(26,38771.43); h_SL1L362->SetBinContent(27,42057.14); h_SL1L362->SetBinContent(28,44528.57); h_SL1L362->SetBinContent(29,42728.57); h_SL1L362->SetBinContent(30,43964.29); h_SL1L362->SetBinContent(31,43150); h_SL1L362->SetBinContent(32,42171.43); h_SL1L362->SetBinContent(33,42721.43); h_SL1L362->SetBinContent(34,42671.43); h_SL1L362->SetBinContent(35,41771.43); h_SL1L362->SetBinContent(36,44107.14); h_SL1L362->SetBinContent(37,47814.29); h_SL1L362->SetBinContent(38,45221.43); h_SL1L362->SetBinContent(39,43307.14); h_SL1L362->SetBinContent(40,43285.71); h_SL1L362->SetBinContent(41,44364.29); h_SL1L362->SetBinContent(42,43114.29); h_SL1L362->SetBinContent(43,42071.43); h_SL1L362->SetBinContent(44,42135.71); h_SL1L362->SetBinContent(45,42028.57); h_SL1L362->SetBinContent(46,42850); h_SL1L362->SetBinContent(47,43285.71); h_SL1L362->SetBinContent(48,43957.14); h_SL1L362->SetBinContent(49,43342.86); h_SL1L362->SetBinContent(50,43871.43); h_SL1L362->SetBinContent(51,43371.43); h_SL1L362->SetBinContent(52,42757.14); h_SL1L362->SetBinContent(53,43314.29); h_SL1L362->SetBinContent(54,42221.43); h_SL1L362->SetBinContent(55,42135.71); h_SL1L362->SetBinContent(56,42921.43); h_SL1L362->SetMaximum(95532.14); 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,31407.14); h_SL1L463->SetBinContent(3,32350); h_SL1L463->SetBinContent(4,31128.57); h_SL1L463->SetBinContent(5,30314.29); h_SL1L463->SetBinContent(6,30800); h_SL1L463->SetBinContent(7,30328.57); h_SL1L463->SetBinContent(8,32800); h_SL1L463->SetBinContent(9,33621.43); h_SL1L463->SetBinContent(10,33757.14); h_SL1L463->SetBinContent(11,37207.14); h_SL1L463->SetBinContent(12,38157.14); h_SL1L463->SetBinContent(13,38757.14); h_SL1L463->SetBinContent(14,83071.43); h_SL1L463->SetBinContent(15,69950); h_SL1L463->SetBinContent(16,68364.28); h_SL1L463->SetBinContent(17,35464.29); h_SL1L463->SetBinContent(18,37650); h_SL1L463->SetBinContent(19,36800); h_SL1L463->SetBinContent(20,36385.71); h_SL1L463->SetBinContent(21,35435.71); h_SL1L463->SetBinContent(22,33628.57); h_SL1L463->SetBinContent(23,31971.43); h_SL1L463->SetBinContent(24,31835.71); h_SL1L463->SetBinContent(25,29685.71); h_SL1L463->SetBinContent(26,29650); h_SL1L463->SetBinContent(27,29278.57); h_SL1L463->SetBinContent(28,31335.71); h_SL1L463->SetBinContent(29,30271.43); h_SL1L463->SetBinContent(30,30778.57); h_SL1L463->SetBinContent(31,29778.57); h_SL1L463->SetBinContent(32,28378.57); h_SL1L463->SetBinContent(33,26900); h_SL1L463->SetBinContent(34,31828.57); h_SL1L463->SetBinContent(35,30721.43); h_SL1L463->SetBinContent(36,27678.57); h_SL1L463->SetBinContent(37,7478.571); h_SL1L463->SetBinContent(38,42.85714); h_SL1L463->SetBinContent(41,24714.29); h_SL1L463->SetBinContent(42,27192.86); h_SL1L463->SetBinContent(43,26742.86); h_SL1L463->SetBinContent(44,25485.71); h_SL1L463->SetBinContent(45,23235.71); h_SL1L463->SetBinContent(46,24400); h_SL1L463->SetBinContent(47,23485.71); h_SL1L463->SetBinContent(48,22771.43); h_SL1L463->SetBinContent(49,22578.57); h_SL1L463->SetBinContent(50,24642.86); h_SL1L463->SetBinContent(51,23757.14); h_SL1L463->SetBinContent(52,24185.71); h_SL1L463->SetBinContent(53,24921.43); h_SL1L463->SetBinContent(54,23571.43); h_SL1L463->SetBinContent(55,7.142857); h_SL1L463->SetBinContent(56,24985.71); h_SL1L463->SetMaximum(95532.14); 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 7632"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }