void RatesPerCell_Removing_noisy_cells_run_7742_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:16:43 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-10067.53,67.5,90607.78); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7742",60,0,60); h_SL1L160->SetBinContent(1,364.2857); h_SL1L160->SetBinContent(2,435.7143); h_SL1L160->SetBinContent(3,314.2857); h_SL1L160->SetBinContent(4,328.5714); h_SL1L160->SetBinContent(6,371.4286); h_SL1L160->SetBinContent(7,400); h_SL1L160->SetBinContent(8,21.42857); h_SL1L160->SetBinContent(9,607.1428); h_SL1L160->SetBinContent(10,971.4286); h_SL1L160->SetBinContent(11,714.2857); h_SL1L160->SetBinContent(12,692.8571); h_SL1L160->SetBinContent(13,792.8571); h_SL1L160->SetBinContent(14,992.8571); h_SL1L160->SetBinContent(15,3292.857); h_SL1L160->SetBinContent(16,5371.429); h_SL1L160->SetBinContent(17,8614.285); h_SL1L160->SetBinContent(18,10564.29); h_SL1L160->SetBinContent(19,10714.29); h_SL1L160->SetBinContent(20,11335.71); h_SL1L160->SetBinContent(21,17300); h_SL1L160->SetBinContent(22,12628.57); h_SL1L160->SetBinContent(23,71.42857); h_SL1L160->SetBinContent(24,10192.86); h_SL1L160->SetBinContent(25,11050); h_SL1L160->SetBinContent(26,10592.86); h_SL1L160->SetBinContent(27,10757.14); h_SL1L160->SetBinContent(28,9878.571); h_SL1L160->SetBinContent(29,10985.71); h_SL1L160->SetBinContent(30,9864.285); h_SL1L160->SetBinContent(31,10242.86); h_SL1L160->SetBinContent(32,10564.29); h_SL1L160->SetBinContent(33,11285.71); h_SL1L160->SetBinContent(34,11028.57); h_SL1L160->SetBinContent(35,11242.86); h_SL1L160->SetBinContent(36,11378.57); h_SL1L160->SetBinContent(37,10678.57); h_SL1L160->SetBinContent(38,10364.29); h_SL1L160->SetBinContent(39,10257.14); h_SL1L160->SetBinContent(40,9707.143); h_SL1L160->SetBinContent(41,9778.571); h_SL1L160->SetBinContent(42,8828.571); h_SL1L160->SetBinContent(43,8635.714); h_SL1L160->SetBinContent(44,7742.857); h_SL1L160->SetBinContent(45,7907.143); h_SL1L160->SetBinContent(46,6885.714); h_SL1L160->SetBinContent(47,7250); h_SL1L160->SetBinContent(48,4778.571); h_SL1L160->SetBinContent(49,2571.428); h_SL1L160->SetMaximum(80540.25); 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,28.57143); h_SL1L261->SetBinContent(2,28.57143); h_SL1L261->SetBinContent(3,14.28571); h_SL1L261->SetBinContent(4,21.42857); h_SL1L261->SetBinContent(5,21.42857); h_SL1L261->SetBinContent(6,28.57143); h_SL1L261->SetBinContent(7,71.42857); h_SL1L261->SetBinContent(8,107.1429); h_SL1L261->SetBinContent(9,542.8571); h_SL1L261->SetBinContent(10,728.5714); h_SL1L261->SetBinContent(11,1200); h_SL1L261->SetBinContent(12,742.8571); h_SL1L261->SetBinContent(13,907.1428); h_SL1L261->SetBinContent(14,935.7143); h_SL1L261->SetBinContent(15,1735.714); h_SL1L261->SetBinContent(16,4842.857); h_SL1L261->SetBinContent(17,7835.714); h_SL1L261->SetBinContent(18,11507.14); h_SL1L261->SetBinContent(19,11807.14); h_SL1L261->SetBinContent(20,12800); h_SL1L261->SetBinContent(21,13242.86); h_SL1L261->SetBinContent(22,19621.43); h_SL1L261->SetBinContent(23,11842.86); h_SL1L261->SetBinContent(24,10785.71); h_SL1L261->SetBinContent(25,11000); h_SL1L261->SetBinContent(26,11721.43); h_SL1L261->SetBinContent(27,11592.86); h_SL1L261->SetBinContent(28,11650); h_SL1L261->SetBinContent(29,11778.57); h_SL1L261->SetBinContent(30,10900); h_SL1L261->SetBinContent(31,11435.71); h_SL1L261->SetBinContent(32,11764.29); h_SL1L261->SetBinContent(33,12292.86); h_SL1L261->SetBinContent(34,11364.29); h_SL1L261->SetBinContent(35,12221.43); h_SL1L261->SetBinContent(36,11950); h_SL1L261->SetBinContent(37,11471.43); h_SL1L261->SetBinContent(38,11721.43); h_SL1L261->SetBinContent(39,11300); h_SL1L261->SetBinContent(40,11178.57); h_SL1L261->SetBinContent(41,10478.57); h_SL1L261->SetBinContent(42,10007.14); h_SL1L261->SetBinContent(43,9950); h_SL1L261->SetBinContent(44,9214.285); h_SL1L261->SetBinContent(45,9042.857); h_SL1L261->SetBinContent(46,8371.429); h_SL1L261->SetBinContent(47,8392.857); h_SL1L261->SetBinContent(48,7635.714); h_SL1L261->SetBinContent(49,4114.286); h_SL1L261->SetMaximum(70035); 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,292.8571); h_SL1L362->SetBinContent(2,271.4286); h_SL1L362->SetBinContent(3,300); h_SL1L362->SetBinContent(4,221.4286); h_SL1L362->SetBinContent(5,278.5714); h_SL1L362->SetBinContent(6,335.7143); h_SL1L362->SetBinContent(7,471.4286); h_SL1L362->SetBinContent(8,478.5714); h_SL1L362->SetBinContent(9,571.4286); h_SL1L362->SetBinContent(10,707.1428); h_SL1L362->SetBinContent(11,60900); h_SL1L362->SetBinContent(12,857.1428); h_SL1L362->SetBinContent(13,1028.571); h_SL1L362->SetBinContent(14,1221.429); h_SL1L362->SetBinContent(15,2785.714); h_SL1L362->SetBinContent(16,6007.143); h_SL1L362->SetBinContent(17,8957.143); h_SL1L362->SetBinContent(18,11207.14); h_SL1L362->SetBinContent(19,11485.71); h_SL1L362->SetBinContent(20,11435.71); h_SL1L362->SetBinContent(21,20750); h_SL1L362->SetBinContent(22,19957.14); h_SL1L362->SetBinContent(23,9771.429); h_SL1L362->SetBinContent(24,10992.86); h_SL1L362->SetBinContent(25,10850); h_SL1L362->SetBinContent(26,11057.14); h_SL1L362->SetBinContent(27,11221.43); h_SL1L362->SetBinContent(28,11028.57); h_SL1L362->SetBinContent(29,11200); h_SL1L362->SetBinContent(30,10878.57); h_SL1L362->SetBinContent(31,11392.86); h_SL1L362->SetBinContent(32,11578.57); h_SL1L362->SetBinContent(33,10685.71); h_SL1L362->SetBinContent(34,11264.29); h_SL1L362->SetBinContent(35,11542.86); h_SL1L362->SetBinContent(36,11407.14); h_SL1L362->SetBinContent(37,10800); h_SL1L362->SetBinContent(38,11521.43); h_SL1L362->SetBinContent(39,11428.57); h_SL1L362->SetBinContent(40,10207.14); h_SL1L362->SetBinContent(41,9735.714); h_SL1L362->SetBinContent(42,9571.429); h_SL1L362->SetBinContent(43,9371.429); h_SL1L362->SetBinContent(44,7650); h_SL1L362->SetBinContent(45,7635.714); h_SL1L362->SetBinContent(46,7550); h_SL1L362->SetBinContent(47,7614.286); h_SL1L362->SetBinContent(48,6964.286); h_SL1L362->SetBinContent(49,2921.428); h_SL1L362->SetMaximum(70035); 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,257.1429); h_SL1L463->SetBinContent(3,300); h_SL1L463->SetBinContent(4,257.1429); h_SL1L463->SetBinContent(5,257.1429); h_SL1L463->SetBinContent(6,278.5714); h_SL1L463->SetBinContent(7,278.5714); h_SL1L463->SetBinContent(8,292.8571); h_SL1L463->SetBinContent(9,564.2857); h_SL1L463->SetBinContent(10,500); h_SL1L463->SetBinContent(11,664.2857); h_SL1L463->SetBinContent(12,542.8571); h_SL1L463->SetBinContent(13,771.4286); h_SL1L463->SetBinContent(14,800); h_SL1L463->SetBinContent(15,1192.857); h_SL1L463->SetBinContent(16,4771.429); h_SL1L463->SetBinContent(17,6678.571); h_SL1L463->SetBinContent(18,10785.71); h_SL1L463->SetBinContent(19,11357.14); h_SL1L463->SetBinContent(20,11178.57); h_SL1L463->SetBinContent(21,10814.29); h_SL1L463->SetBinContent(22,18457.14); h_SL1L463->SetBinContent(23,11007.14); h_SL1L463->SetBinContent(24,9835.714); h_SL1L463->SetBinContent(25,9978.571); h_SL1L463->SetBinContent(26,10664.29); h_SL1L463->SetBinContent(27,11635.71); h_SL1L463->SetBinContent(28,10271.43); h_SL1L463->SetBinContent(29,11271.43); h_SL1L463->SetBinContent(30,11378.57); h_SL1L463->SetBinContent(31,11214.29); h_SL1L463->SetBinContent(32,11292.86); h_SL1L463->SetBinContent(33,11007.14); h_SL1L463->SetBinContent(34,10992.86); h_SL1L463->SetBinContent(35,11528.57); h_SL1L463->SetBinContent(36,11278.57); h_SL1L463->SetBinContent(37,10614.29); h_SL1L463->SetBinContent(38,11135.71); h_SL1L463->SetBinContent(39,10964.29); h_SL1L463->SetBinContent(40,10650); h_SL1L463->SetBinContent(41,8742.857); h_SL1L463->SetBinContent(42,8778.571); h_SL1L463->SetBinContent(43,9635.714); h_SL1L463->SetBinContent(44,7800); h_SL1L463->SetBinContent(45,7185.714); h_SL1L463->SetBinContent(46,8092.857); h_SL1L463->SetBinContent(47,7907.143); h_SL1L463->SetBinContent(48,7778.571); h_SL1L463->SetBinContent(49,35.71429); h_SL1L463->SetMaximum(70035); 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 7742"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }