void RatesPerCell_Removing_noisy_cells_run_6619_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:19:34 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12072.99,67.5,108656.9); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6619",60,0,60); h_SL1L160->SetBinContent(1,265.7143); h_SL1L160->SetBinContent(2,205.7143); h_SL1L160->SetBinContent(3,231.4286); h_SL1L160->SetBinContent(4,260); h_SL1L160->SetBinContent(5,257.1429); h_SL1L160->SetBinContent(6,270); h_SL1L160->SetBinContent(7,298.5714); h_SL1L160->SetBinContent(8,308.5714); h_SL1L160->SetBinContent(9,301.4286); h_SL1L160->SetBinContent(10,418.5714); h_SL1L160->SetBinContent(11,461.4286); h_SL1L160->SetBinContent(12,471.4286); h_SL1L160->SetBinContent(13,517.1429); h_SL1L160->SetBinContent(14,578.5715); h_SL1L160->SetBinContent(15,407.1429); h_SL1L160->SetBinContent(16,457.1429); h_SL1L160->SetBinContent(17,538.5714); h_SL1L160->SetBinContent(18,848.5715); h_SL1L160->SetBinContent(19,880); h_SL1L160->SetBinContent(20,1062.857); h_SL1L160->SetBinContent(21,1108.571); h_SL1L160->SetBinContent(22,1291.429); h_SL1L160->SetBinContent(23,1440); h_SL1L160->SetBinContent(24,1537.143); h_SL1L160->SetBinContent(25,1497.143); h_SL1L160->SetBinContent(26,1558.571); h_SL1L160->SetBinContent(27,1745.714); h_SL1L160->SetBinContent(28,2554.286); h_SL1L160->SetBinContent(29,2817.143); h_SL1L160->SetBinContent(30,3337.143); h_SL1L160->SetBinContent(31,4408.572); h_SL1L160->SetBinContent(32,7845.714); h_SL1L160->SetBinContent(33,33302.86); h_SL1L160->SetBinContent(34,50562.86); h_SL1L160->SetBinContent(35,58135.71); h_SL1L160->SetBinContent(36,65760); h_SL1L160->SetBinContent(37,70600); h_SL1L160->SetBinContent(38,63068.57); h_SL1L160->SetBinContent(39,36582.86); h_SL1L160->SetBinContent(40,8458.571); h_SL1L160->SetBinContent(41,4948.572); h_SL1L160->SetBinContent(42,3762.857); h_SL1L160->SetBinContent(43,3180); h_SL1L160->SetBinContent(44,2814.286); h_SL1L160->SetBinContent(45,2517.143); h_SL1L160->SetBinContent(46,2362.857); h_SL1L160->SetBinContent(47,2101.429); h_SL1L160->SetBinContent(48,1854.286); h_SL1L160->SetBinContent(49,1781.429); h_SL1L160->SetBinContent(50,1535.714); h_SL1L160->SetBinContent(51,1444.286); h_SL1L160->SetBinContent(52,1287.143); h_SL1L160->SetBinContent(53,1242.857); h_SL1L160->SetBinContent(54,1167.143); h_SL1L160->SetBinContent(55,1084.286); h_SL1L160->SetBinContent(56,954.2858); h_SL1L160->SetBinContent(57,958.5715); h_SL1L160->SetBinContent(58,844.2857); h_SL1L160->SetBinContent(59,887.1429); h_SL1L160->SetMaximum(96583.9); 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,165.7143); h_SL1L261->SetBinContent(2,170); h_SL1L261->SetBinContent(3,167.1429); h_SL1L261->SetBinContent(4,184.2857); h_SL1L261->SetBinContent(5,237.1429); h_SL1L261->SetBinContent(6,208.5714); h_SL1L261->SetBinContent(7,235.7143); h_SL1L261->SetBinContent(8,234.2857); h_SL1L261->SetBinContent(9,265.7143); h_SL1L261->SetBinContent(10,324.2857); h_SL1L261->SetBinContent(11,332.8571); h_SL1L261->SetBinContent(12,421.4286); h_SL1L261->SetBinContent(13,387.1429); h_SL1L261->SetBinContent(14,490); h_SL1L261->SetBinContent(15,417.1429); h_SL1L261->SetBinContent(16,372.8571); h_SL1L261->SetBinContent(17,422.8571); h_SL1L261->SetBinContent(18,674.2857); h_SL1L261->SetBinContent(19,721.4286); h_SL1L261->SetBinContent(20,838.5715); h_SL1L261->SetBinContent(21,931.4286); h_SL1L261->SetBinContent(22,1114.286); h_SL1L261->SetBinContent(23,1210); h_SL1L261->SetBinContent(24,1354.286); h_SL1L261->SetBinContent(25,1527.143); h_SL1L261->SetBinContent(26,1348.571); h_SL1L261->SetBinContent(27,1600); h_SL1L261->SetBinContent(28,2044.286); h_SL1L261->SetBinContent(29,2547.143); h_SL1L261->SetBinContent(30,2971.429); h_SL1L261->SetBinContent(31,3475.714); h_SL1L261->SetBinContent(32,6342.857); h_SL1L261->SetBinContent(33,17040); h_SL1L261->SetBinContent(34,46602.86); h_SL1L261->SetBinContent(35,56171.43); h_SL1L261->SetBinContent(36,64398.57); h_SL1L261->SetBinContent(37,71282.86); h_SL1L261->SetBinContent(38,70635.72); h_SL1L261->SetBinContent(39,55045.71); h_SL1L261->SetBinContent(40,17182.86); h_SL1L261->SetBinContent(41,7222.857); h_SL1L261->SetBinContent(42,4001.429); h_SL1L261->SetBinContent(43,3435.714); h_SL1L261->SetBinContent(44,2894.286); h_SL1L261->SetBinContent(45,2590); h_SL1L261->SetBinContent(46,2411.429); h_SL1L261->SetBinContent(47,2097.143); h_SL1L261->SetBinContent(48,1892.857); h_SL1L261->SetBinContent(49,18798.57); h_SL1L261->SetBinContent(50,1557.143); h_SL1L261->SetBinContent(51,1470); h_SL1L261->SetBinContent(52,1552.857); h_SL1L261->SetBinContent(53,1574.286); h_SL1L261->SetBinContent(54,1130); h_SL1L261->SetBinContent(55,1027.143); h_SL1L261->SetBinContent(56,8017.143); h_SL1L261->SetBinContent(57,948.5715); h_SL1L261->SetBinContent(58,845.7143); h_SL1L261->SetBinContent(59,767.1429); h_SL1L261->SetMaximum(83986.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,134.2857); h_SL1L362->SetBinContent(2,140); h_SL1L362->SetBinContent(3,147.1429); h_SL1L362->SetBinContent(4,168.5714); h_SL1L362->SetBinContent(5,208.5714); h_SL1L362->SetBinContent(6,180); h_SL1L362->SetBinContent(7,192.8571); h_SL1L362->SetBinContent(8,204.2857); h_SL1L362->SetBinContent(9,268.5714); h_SL1L362->SetBinContent(10,321.4286); h_SL1L362->SetBinContent(11,310); h_SL1L362->SetBinContent(12,341.4286); h_SL1L362->SetBinContent(13,428.5714); h_SL1L362->SetBinContent(14,431.4286); h_SL1L362->SetBinContent(15,335.7143); h_SL1L362->SetBinContent(16,368.5714); h_SL1L362->SetBinContent(17,500); h_SL1L362->SetBinContent(18,641.4286); h_SL1L362->SetBinContent(19,635.7143); h_SL1L362->SetBinContent(20,817.1429); h_SL1L362->SetBinContent(21,901.4286); h_SL1L362->SetBinContent(22,1064.286); h_SL1L362->SetBinContent(23,1251.429); h_SL1L362->SetBinContent(24,1315.714); h_SL1L362->SetBinContent(25,1277.143); h_SL1L362->SetBinContent(26,1390); h_SL1L362->SetBinContent(27,1761.429); h_SL1L362->SetBinContent(28,2315.714); h_SL1L362->SetBinContent(29,2671.429); h_SL1L362->SetBinContent(30,3160); h_SL1L362->SetBinContent(31,4362.857); h_SL1L362->SetBinContent(32,7982.857); h_SL1L362->SetBinContent(33,34278.57); h_SL1L362->SetBinContent(34,52402.86); h_SL1L362->SetBinContent(35,60174.29); h_SL1L362->SetBinContent(36,68298.57); h_SL1L362->SetBinContent(37,73031.43); h_SL1L362->SetBinContent(38,64464.29); h_SL1L362->SetBinContent(39,37482.86); h_SL1L362->SetBinContent(40,8520); h_SL1L362->SetBinContent(41,4817.143); h_SL1L362->SetBinContent(42,3701.429); h_SL1L362->SetBinContent(43,3040); h_SL1L362->SetBinContent(44,2647.143); h_SL1L362->SetBinContent(45,2327.143); h_SL1L362->SetBinContent(46,2125.714); h_SL1L362->SetBinContent(47,1908.572); h_SL1L362->SetBinContent(48,1694.286); h_SL1L362->SetBinContent(49,1537.143); h_SL1L362->SetBinContent(50,1348.571); h_SL1L362->SetBinContent(51,1281.429); h_SL1L362->SetBinContent(52,1110); h_SL1L362->SetBinContent(53,5601.429); h_SL1L362->SetBinContent(54,978.5715); h_SL1L362->SetBinContent(55,912.8572); h_SL1L362->SetBinContent(56,7555.714); h_SL1L362->SetBinContent(57,1588.571); h_SL1L362->SetBinContent(58,748.5715); h_SL1L362->SetBinContent(59,714.2857); h_SL1L362->SetMaximum(83986.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,32.85714); h_SL1L463->SetBinContent(3,32.85714); h_SL1L463->SetBinContent(4,44.28572); h_SL1L463->SetBinContent(5,37.14286); h_SL1L463->SetBinContent(6,37.14286); h_SL1L463->SetBinContent(7,44.28572); h_SL1L463->SetBinContent(8,45.71429); h_SL1L463->SetBinContent(9,32.85714); h_SL1L463->SetBinContent(10,45.71429); h_SL1L463->SetBinContent(11,87.14286); h_SL1L463->SetBinContent(12,67.14286); h_SL1L463->SetBinContent(13,85.71429); h_SL1L463->SetBinContent(14,81.42857); h_SL1L463->SetBinContent(15,82.85715); h_SL1L463->SetBinContent(16,91.42857); h_SL1L463->SetBinContent(17,70); h_SL1L463->SetBinContent(18,107.1429); h_SL1L463->SetBinContent(19,132.8571); h_SL1L463->SetBinContent(20,144.2857); h_SL1L463->SetBinContent(21,182.8571); h_SL1L463->SetBinContent(22,194.2857); h_SL1L463->SetBinContent(23,194.2857); h_SL1L463->SetBinContent(24,214.2857); h_SL1L463->SetBinContent(25,184.2857); h_SL1L463->SetBinContent(26,225.7143); h_SL1L463->SetBinContent(27,252.8571); h_SL1L463->SetBinContent(28,335.7143); h_SL1L463->SetBinContent(29,400); h_SL1L463->SetBinContent(30,461.4286); h_SL1L463->SetBinContent(31,722.8572); h_SL1L463->SetBinContent(32,1048.571); h_SL1L463->SetBinContent(33,2551.429); h_SL1L463->SetBinContent(34,10911.43); h_SL1L463->SetBinContent(35,19070); h_SL1L463->SetBinContent(36,16244.29); h_SL1L463->SetBinContent(37,13392.86); h_SL1L463->SetBinContent(38,16362.86); h_SL1L463->SetBinContent(39,17465.71); h_SL1L463->SetBinContent(40,3445.714); h_SL1L463->SetBinContent(41,1642.857); h_SL1L463->SetBinContent(42,1002.857); h_SL1L463->SetBinContent(43,974.2858); h_SL1L463->SetBinContent(44,902.8572); h_SL1L463->SetBinContent(45,525.7143); h_SL1L463->SetBinContent(46,594.2857); h_SL1L463->SetBinContent(47,467.1429); h_SL1L463->SetBinContent(48,374.2857); h_SL1L463->SetBinContent(49,314.2857); h_SL1L463->SetBinContent(50,318.5714); h_SL1L463->SetBinContent(51,255.7143); h_SL1L463->SetBinContent(52,230); h_SL1L463->SetBinContent(53,174.2857); h_SL1L463->SetBinContent(54,162.8571); h_SL1L463->SetBinContent(56,147.1429); h_SL1L463->SetBinContent(57,110); h_SL1L463->SetBinContent(58,135.7143); h_SL1L463->SetBinContent(59,140); h_SL1L463->SetMaximum(83986.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 6619"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }