void RatesPerCell_Removing_noisy_cells_run_7477_SL2() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:09:17 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-27847.97,67.5,250631.7); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7477",60,0,60); h_SL2L164->SetBinContent(1,23292.86); h_SL2L164->SetBinContent(2,31128.57); h_SL2L164->SetBinContent(3,46942.86); h_SL2L164->SetBinContent(4,55514.29); h_SL2L164->SetBinContent(5,58600); h_SL2L164->SetBinContent(6,67457.14); h_SL2L164->SetBinContent(7,94542.86); h_SL2L164->SetBinContent(8,113057.1); h_SL2L164->SetBinContent(9,141064.3); h_SL2L164->SetBinContent(10,159314.3); h_SL2L164->SetBinContent(11,167492.9); h_SL2L164->SetBinContent(12,167221.4); h_SL2L164->SetBinContent(13,168457.1); h_SL2L164->SetBinContent(14,168064.3); h_SL2L164->SetBinContent(15,164207.1); h_SL2L164->SetBinContent(16,163528.6); h_SL2L164->SetBinContent(17,159878.6); h_SL2L164->SetBinContent(18,157892.9); h_SL2L164->SetBinContent(19,156107.1); h_SL2L164->SetBinContent(20,148121.4); h_SL2L164->SetBinContent(21,143107.1); h_SL2L164->SetBinContent(22,134078.6); h_SL2L164->SetBinContent(23,123650); h_SL2L164->SetBinContent(24,113435.7); h_SL2L164->SetBinContent(25,105978.6); h_SL2L164->SetBinContent(26,99771.43); h_SL2L164->SetBinContent(27,100671.4); h_SL2L164->SetBinContent(28,100228.6); h_SL2L164->SetBinContent(29,103935.7); h_SL2L164->SetBinContent(30,95914.28); h_SL2L164->SetBinContent(31,95564.28); h_SL2L164->SetBinContent(32,105114.3); h_SL2L164->SetBinContent(33,107528.6); h_SL2L164->SetBinContent(34,107478.6); h_SL2L164->SetBinContent(36,104921.4); h_SL2L164->SetBinContent(37,115635.7); h_SL2L164->SetBinContent(38,114007.1); h_SL2L164->SetBinContent(39,113421.4); h_SL2L164->SetBinContent(40,106835.7); h_SL2L164->SetBinContent(41,139807.1); h_SL2L164->SetBinContent(42,118228.6); h_SL2L164->SetBinContent(43,118435.7); h_SL2L164->SetBinContent(44,113885.7); h_SL2L164->SetBinContent(45,101814.3); h_SL2L164->SetBinContent(46,96885.71); h_SL2L164->SetBinContent(47,91350); h_SL2L164->SetBinContent(48,90300); h_SL2L164->SetBinContent(49,89714.28); h_SL2L164->SetBinContent(50,89321.43); h_SL2L164->SetBinContent(51,99142.86); h_SL2L164->SetBinContent(52,115921.4); h_SL2L164->SetBinContent(53,133107.1); h_SL2L164->SetBinContent(54,141085.7); h_SL2L164->SetBinContent(55,137950); h_SL2L164->SetBinContent(56,121750); h_SL2L164->SetBinContent(57,102357.1); h_SL2L164->SetMaximum(222783.7); h_SL2L164->SetEntries(60); h_SL2L164->SetDirectory(0); h_SL2L164->SetStats(0); h_SL2L164->SetLineWidth(2); h_SL2L164->GetXaxis()->SetTitle("Cell"); h_SL2L164->GetXaxis()->SetLabelFont(42); h_SL2L164->GetXaxis()->SetLabelSize(0.035); h_SL2L164->GetXaxis()->SetTitleSize(0.035); h_SL2L164->GetXaxis()->SetTitleFont(42); h_SL2L164->GetYaxis()->SetTitle("Hz"); h_SL2L164->GetYaxis()->SetLabelFont(42); h_SL2L164->GetYaxis()->SetLabelSize(0.035); h_SL2L164->GetYaxis()->SetTitleSize(0.035); h_SL2L164->GetYaxis()->SetTitleOffset(1.45); h_SL2L164->GetYaxis()->SetTitleFont(42); h_SL2L164->GetZaxis()->SetLabelFont(42); h_SL2L164->GetZaxis()->SetLabelSize(0.035); h_SL2L164->GetZaxis()->SetTitleSize(0.035); h_SL2L164->GetZaxis()->SetTitleFont(42); h_SL2L164->Draw(""); TH1D *h_SL2L265 = new TH1D("h_SL2L265","",60,0,60); h_SL2L265->SetBinContent(1,19578.57); h_SL2L265->SetBinContent(2,26800); h_SL2L265->SetBinContent(3,38192.86); h_SL2L265->SetBinContent(4,51735.71); h_SL2L265->SetBinContent(5,56071.43); h_SL2L265->SetBinContent(6,64028.57); h_SL2L265->SetBinContent(7,76800); h_SL2L265->SetBinContent(8,92807.14); h_SL2L265->SetBinContent(9,127071.4); h_SL2L265->SetBinContent(10,143171.4); h_SL2L265->SetBinContent(11,158292.9); h_SL2L265->SetBinContent(12,160392.9); h_SL2L265->SetBinContent(13,161992.9); h_SL2L265->SetBinContent(14,162207.1); h_SL2L265->SetBinContent(15,161764.3); h_SL2L265->SetBinContent(16,159378.6); h_SL2L265->SetBinContent(17,153542.9); h_SL2L265->SetBinContent(18,150357.1); h_SL2L265->SetBinContent(19,151721.4); h_SL2L265->SetBinContent(20,146421.4); h_SL2L265->SetBinContent(21,140814.3); h_SL2L265->SetBinContent(22,134292.9); h_SL2L265->SetBinContent(23,121464.3); h_SL2L265->SetBinContent(24,114100); h_SL2L265->SetBinContent(25,107307.1); h_SL2L265->SetBinContent(26,100064.3); h_SL2L265->SetBinContent(27,96578.57); h_SL2L265->SetBinContent(28,97278.57); h_SL2L265->SetBinContent(29,98785.71); h_SL2L265->SetBinContent(30,99364.28); h_SL2L265->SetBinContent(31,88392.86); h_SL2L265->SetBinContent(32,99407.14); h_SL2L265->SetBinContent(33,100900); h_SL2L265->SetBinContent(34,102378.6); h_SL2L265->SetBinContent(35,103371.4); h_SL2L265->SetBinContent(36,103157.1); h_SL2L265->SetBinContent(37,105721.4); h_SL2L265->SetBinContent(38,107421.4); h_SL2L265->SetBinContent(39,110157.1); h_SL2L265->SetBinContent(40,109207.1); h_SL2L265->SetBinContent(41,107285.7); h_SL2L265->SetBinContent(42,105564.3); h_SL2L265->SetBinContent(43,104164.3); h_SL2L265->SetBinContent(44,102485.7); h_SL2L265->SetBinContent(45,99592.86); h_SL2L265->SetBinContent(46,96471.43); h_SL2L265->SetBinContent(47,90614.28); h_SL2L265->SetBinContent(48,86914.28); h_SL2L265->SetBinContent(49,86164.28); h_SL2L265->SetBinContent(50,88785.71); h_SL2L265->SetBinContent(51,86400); h_SL2L265->SetBinContent(52,103678.6); h_SL2L265->SetBinContent(53,119142.9); h_SL2L265->SetBinContent(54,132014.3); h_SL2L265->SetBinContent(55,136100); h_SL2L265->SetBinContent(56,123557.1); h_SL2L265->SetBinContent(57,115907.1); h_SL2L265->SetMaximum(193725.7); h_SL2L265->SetEntries(60); h_SL2L265->SetDirectory(0); h_SL2L265->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL2L265->SetLineColor(ci); h_SL2L265->SetLineWidth(2); h_SL2L265->GetXaxis()->SetTitle("Cell"); h_SL2L265->GetXaxis()->SetLabelFont(42); h_SL2L265->GetXaxis()->SetLabelSize(0.035); h_SL2L265->GetXaxis()->SetTitleSize(0.035); h_SL2L265->GetXaxis()->SetTitleFont(42); h_SL2L265->GetYaxis()->SetTitle("Hz"); h_SL2L265->GetYaxis()->SetLabelFont(42); h_SL2L265->GetYaxis()->SetLabelSize(0.035); h_SL2L265->GetYaxis()->SetTitleSize(0.035); h_SL2L265->GetYaxis()->SetTitleOffset(1.45); h_SL2L265->GetYaxis()->SetTitleFont(42); h_SL2L265->GetZaxis()->SetLabelFont(42); h_SL2L265->GetZaxis()->SetLabelSize(0.035); h_SL2L265->GetZaxis()->SetTitleSize(0.035); h_SL2L265->GetZaxis()->SetTitleFont(42); h_SL2L265->Draw("same"); TH1D *h_SL2L366 = new TH1D("h_SL2L366","",60,0,60); h_SL2L366->SetBinContent(1,24142.86); h_SL2L366->SetBinContent(2,32535.71); h_SL2L366->SetBinContent(3,47800); h_SL2L366->SetBinContent(4,52985.71); h_SL2L366->SetBinContent(5,58121.43); h_SL2L366->SetBinContent(6,64050); h_SL2L366->SetBinContent(7,89164.28); h_SL2L366->SetBinContent(8,109542.9); h_SL2L366->SetBinContent(9,133142.9); h_SL2L366->SetBinContent(10,144485.7); h_SL2L366->SetBinContent(11,153492.9); h_SL2L366->SetBinContent(12,156300); h_SL2L366->SetBinContent(13,154642.9); h_SL2L366->SetBinContent(14,157935.7); h_SL2L366->SetBinContent(15,154092.9); h_SL2L366->SetBinContent(16,151557.1); h_SL2L366->SetBinContent(17,148778.6); h_SL2L366->SetBinContent(18,145300); h_SL2L366->SetBinContent(19,143350); h_SL2L366->SetBinContent(20,137071.4); h_SL2L366->SetBinContent(21,132535.7); h_SL2L366->SetBinContent(22,122985.7); h_SL2L366->SetBinContent(23,114128.6); h_SL2L366->SetBinContent(24,105314.3); h_SL2L366->SetBinContent(25,100378.6); h_SL2L366->SetBinContent(26,95435.71); h_SL2L366->SetBinContent(27,94178.57); h_SL2L366->SetBinContent(28,94257.14); h_SL2L366->SetBinContent(29,94364.28); h_SL2L366->SetBinContent(30,92221.43); h_SL2L366->SetBinContent(31,89692.86); h_SL2L366->SetBinContent(32,96971.43); h_SL2L366->SetBinContent(33,100107.1); h_SL2L366->SetBinContent(34,100928.6); h_SL2L366->SetBinContent(35,96957.14); h_SL2L366->SetBinContent(36,99900); h_SL2L366->SetBinContent(37,104521.4); h_SL2L366->SetBinContent(38,107242.9); h_SL2L366->SetBinContent(39,103850); h_SL2L366->SetBinContent(40,102678.6); h_SL2L366->SetBinContent(41,103114.3); h_SL2L366->SetBinContent(42,102257.1); h_SL2L366->SetBinContent(43,99407.14); h_SL2L366->SetBinContent(44,97471.43); h_SL2L366->SetBinContent(45,93457.14); h_SL2L366->SetBinContent(46,87942.86); h_SL2L366->SetBinContent(47,86514.28); h_SL2L366->SetBinContent(48,82450); h_SL2L366->SetBinContent(49,84735.71); h_SL2L366->SetBinContent(50,84807.14); h_SL2L366->SetBinContent(51,90085.71); h_SL2L366->SetBinContent(52,105028.6); h_SL2L366->SetBinContent(53,120578.6); h_SL2L366->SetBinContent(54,129735.7); h_SL2L366->SetBinContent(55,131764.3); h_SL2L366->SetBinContent(56,112107.1); h_SL2L366->SetBinContent(57,108035.7); h_SL2L366->SetMaximum(193725.7); h_SL2L366->SetEntries(60); h_SL2L366->SetDirectory(0); h_SL2L366->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L366->SetLineColor(ci); h_SL2L366->SetLineWidth(2); h_SL2L366->GetXaxis()->SetTitle("Cell"); h_SL2L366->GetXaxis()->SetLabelFont(42); h_SL2L366->GetXaxis()->SetLabelSize(0.035); h_SL2L366->GetXaxis()->SetTitleSize(0.035); h_SL2L366->GetXaxis()->SetTitleFont(42); h_SL2L366->GetYaxis()->SetTitle("Hz"); h_SL2L366->GetYaxis()->SetLabelFont(42); h_SL2L366->GetYaxis()->SetLabelSize(0.035); h_SL2L366->GetYaxis()->SetTitleSize(0.035); h_SL2L366->GetYaxis()->SetTitleOffset(1.45); h_SL2L366->GetYaxis()->SetTitleFont(42); h_SL2L366->GetZaxis()->SetLabelFont(42); h_SL2L366->GetZaxis()->SetLabelSize(0.035); h_SL2L366->GetZaxis()->SetTitleSize(0.035); h_SL2L366->GetZaxis()->SetTitleFont(42); h_SL2L366->Draw("same"); TH1D *h_SL2L467 = new TH1D("h_SL2L467","",60,0,60); h_SL2L467->SetBinContent(2,29142.86); h_SL2L467->SetBinContent(3,38771.43); h_SL2L467->SetBinContent(4,47714.29); h_SL2L467->SetBinContent(5,54000); h_SL2L467->SetBinContent(6,58685.71); h_SL2L467->SetBinContent(7,67821.43); h_SL2L467->SetBinContent(8,90692.86); h_SL2L467->SetBinContent(9,118557.1); h_SL2L467->SetBinContent(10,135021.4); h_SL2L467->SetBinContent(11,145607.1); h_SL2L467->SetBinContent(12,151357.1); h_SL2L467->SetBinContent(13,150600); h_SL2L467->SetBinContent(14,150664.3); h_SL2L467->SetBinContent(15,148000); h_SL2L467->SetBinContent(16,145792.9); h_SL2L467->SetBinContent(17,145885.7); h_SL2L467->SetBinContent(18,141042.9); h_SL2L467->SetBinContent(19,140192.9); h_SL2L467->SetBinContent(20,133792.9); h_SL2L467->SetBinContent(21,132200); h_SL2L467->SetBinContent(22,124264.3); h_SL2L467->SetBinContent(23,113850); h_SL2L467->SetBinContent(24,103985.7); h_SL2L467->SetBinContent(25,98635.71); h_SL2L467->SetBinContent(26,94164.28); h_SL2L467->SetBinContent(27,90207.14); h_SL2L467->SetBinContent(28,92914.28); h_SL2L467->SetBinContent(29,91500); h_SL2L467->SetBinContent(30,92921.43); h_SL2L467->SetBinContent(31,84471.43); h_SL2L467->SetBinContent(32,91107.14); h_SL2L467->SetBinContent(33,94285.71); h_SL2L467->SetBinContent(34,98014.28); h_SL2L467->SetBinContent(35,98428.57); h_SL2L467->SetBinContent(36,96457.14); h_SL2L467->SetBinContent(37,98614.28); h_SL2L467->SetBinContent(38,99928.57); h_SL2L467->SetBinContent(39,101335.7); h_SL2L467->SetBinContent(40,99971.43); h_SL2L467->SetBinContent(41,99242.86); h_SL2L467->SetBinContent(42,100335.7); h_SL2L467->SetBinContent(43,96550); h_SL2L467->SetBinContent(44,97157.14); h_SL2L467->SetBinContent(45,93385.71); h_SL2L467->SetBinContent(46,89357.14); h_SL2L467->SetBinContent(47,85671.43); h_SL2L467->SetBinContent(48,82064.28); h_SL2L467->SetBinContent(49,78950); h_SL2L467->SetBinContent(50,84907.14); h_SL2L467->SetBinContent(51,80421.43); h_SL2L467->SetBinContent(52,94114.28); h_SL2L467->SetBinContent(53,107214.3); h_SL2L467->SetBinContent(54,121485.7); h_SL2L467->SetBinContent(55,127928.6); h_SL2L467->SetBinContent(56,118614.3); h_SL2L467->SetBinContent(57,104828.6); h_SL2L467->SetMaximum(193725.7); h_SL2L467->SetEntries(60); h_SL2L467->SetDirectory(0); h_SL2L467->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L467->SetLineColor(ci); h_SL2L467->SetLineWidth(2); h_SL2L467->GetXaxis()->SetTitle("Cell"); h_SL2L467->GetXaxis()->SetLabelFont(42); h_SL2L467->GetXaxis()->SetLabelSize(0.035); h_SL2L467->GetXaxis()->SetTitleSize(0.035); h_SL2L467->GetXaxis()->SetTitleFont(42); h_SL2L467->GetYaxis()->SetTitle("Hz"); h_SL2L467->GetYaxis()->SetLabelFont(42); h_SL2L467->GetYaxis()->SetLabelSize(0.035); h_SL2L467->GetYaxis()->SetTitleSize(0.035); h_SL2L467->GetYaxis()->SetTitleOffset(1.45); h_SL2L467->GetYaxis()->SetTitleFont(42); h_SL2L467->GetZaxis()->SetLabelFont(42); h_SL2L467->GetZaxis()->SetLabelSize(0.035); h_SL2L467->GetZaxis()->SetTitleSize(0.035); h_SL2L467->GetZaxis()->SetTitleFont(42); h_SL2L467->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_SL2L1","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_SL2L2","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_SL2L3","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_SL2L4","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("SL2, run 7477"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }