void RatesPerCell_Removing_noisy_cells_run_6576_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:16:10 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-22588.45,67.5,203296); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6576",60,0,60); h_SL3L168->SetBinContent(1,462.8571); h_SL3L168->SetBinContent(2,198.5714); h_SL3L168->SetBinContent(4,222.8571); h_SL3L168->SetBinContent(5,387.1429); h_SL3L168->SetBinContent(6,215.7143); h_SL3L168->SetBinContent(7,247.1429); h_SL3L168->SetBinContent(8,272.8571); h_SL3L168->SetBinContent(9,261.4286); h_SL3L168->SetBinContent(10,265.7143); h_SL3L168->SetBinContent(11,328.5714); h_SL3L168->SetBinContent(12,362.8571); h_SL3L168->SetBinContent(13,388.5714); h_SL3L168->SetBinContent(14,465.7143); h_SL3L168->SetBinContent(15,564.2857); h_SL3L168->SetBinContent(16,495.7143); h_SL3L168->SetBinContent(17,512.8572); h_SL3L168->SetBinContent(18,598.5715); h_SL3L168->SetBinContent(19,698.5715); h_SL3L168->SetBinContent(20,750); h_SL3L168->SetBinContent(21,864.2857); h_SL3L168->SetBinContent(22,978.5715); h_SL3L168->SetBinContent(23,1081.429); h_SL3L168->SetBinContent(24,1187.143); h_SL3L168->SetBinContent(25,1315.714); h_SL3L168->SetBinContent(26,1327.143); h_SL3L168->SetBinContent(27,1598.571); h_SL3L168->SetBinContent(28,1715.714); h_SL3L168->SetBinContent(29,2027.143); h_SL3L168->SetBinContent(30,2542.857); h_SL3L168->SetBinContent(31,2992.857); h_SL3L168->SetBinContent(32,4515.714); h_SL3L168->SetBinContent(33,8817.144); h_SL3L168->SetBinContent(34,38850); h_SL3L168->SetBinContent(35,57587.14); h_SL3L168->SetBinContent(36,61718.57); h_SL3L168->SetBinContent(37,66611.43); h_SL3L168->SetBinContent(38,70947.15); h_SL3L168->SetBinContent(39,64785.71); h_SL3L168->SetBinContent(40,41125.71); h_SL3L168->SetBinContent(41,9181.429); h_SL3L168->SetBinContent(42,4700); h_SL3L168->SetBinContent(43,3345.714); h_SL3L168->SetBinContent(44,2722.857); h_SL3L168->SetBinContent(45,2542.857); h_SL3L168->SetBinContent(46,2277.143); h_SL3L168->SetBinContent(47,2142.857); h_SL3L168->SetBinContent(48,1977.143); h_SL3L168->SetBinContent(49,17431.43); h_SL3L168->SetBinContent(50,1671.429); h_SL3L168->SetBinContent(51,1602.857); h_SL3L168->SetBinContent(52,1467.143); h_SL3L168->SetBinContent(53,1320); h_SL3L168->SetBinContent(54,1317.143); h_SL3L168->SetBinContent(55,1257.143); h_SL3L168->SetBinContent(56,1198.571); h_SL3L168->SetBinContent(57,1155.714); h_SL3L168->SetBinContent(58,988.5715); h_SL3L168->SetBinContent(59,1028.571); h_SL3L168->SetMaximum(180707.5); h_SL3L168->SetEntries(60); h_SL3L168->SetDirectory(0); h_SL3L168->SetStats(0); h_SL3L168->SetLineWidth(2); h_SL3L168->GetXaxis()->SetTitle("Cell"); h_SL3L168->GetXaxis()->SetLabelFont(42); h_SL3L168->GetXaxis()->SetLabelSize(0.035); h_SL3L168->GetXaxis()->SetTitleSize(0.035); h_SL3L168->GetXaxis()->SetTitleFont(42); h_SL3L168->GetYaxis()->SetTitle("Hz"); h_SL3L168->GetYaxis()->SetLabelFont(42); h_SL3L168->GetYaxis()->SetLabelSize(0.035); h_SL3L168->GetYaxis()->SetTitleSize(0.035); h_SL3L168->GetYaxis()->SetTitleOffset(1.45); h_SL3L168->GetYaxis()->SetTitleFont(42); h_SL3L168->GetZaxis()->SetLabelFont(42); h_SL3L168->GetZaxis()->SetLabelSize(0.035); h_SL3L168->GetZaxis()->SetTitleSize(0.035); h_SL3L168->GetZaxis()->SetTitleFont(42); h_SL3L168->Draw(""); TH1D *h_SL3L269 = new TH1D("h_SL3L269","",60,0,60); h_SL3L269->SetBinContent(1,214.2857); h_SL3L269->SetBinContent(2,174.2857); h_SL3L269->SetBinContent(4,182.8571); h_SL3L269->SetBinContent(5,232.8571); h_SL3L269->SetBinContent(6,372.8571); h_SL3L269->SetBinContent(7,210); h_SL3L269->SetBinContent(8,285.7143); h_SL3L269->SetBinContent(9,275.7143); h_SL3L269->SetBinContent(10,270); h_SL3L269->SetBinContent(11,288.5714); h_SL3L269->SetBinContent(12,321.4286); h_SL3L269->SetBinContent(13,377.1429); h_SL3L269->SetBinContent(14,407.1429); h_SL3L269->SetBinContent(15,452.8571); h_SL3L269->SetBinContent(16,522.8572); h_SL3L269->SetBinContent(17,531.4286); h_SL3L269->SetBinContent(18,524.2857); h_SL3L269->SetBinContent(19,651.4286); h_SL3L269->SetBinContent(20,654.2857); h_SL3L269->SetBinContent(21,832.8572); h_SL3L269->SetBinContent(22,881.4286); h_SL3L269->SetBinContent(23,991.4286); h_SL3L269->SetBinContent(24,1144.286); h_SL3L269->SetBinContent(25,1238.571); h_SL3L269->SetBinContent(26,1310); h_SL3L269->SetBinContent(27,1372.857); h_SL3L269->SetBinContent(28,1694.286); h_SL3L269->SetBinContent(29,1761.429); h_SL3L269->SetBinContent(30,2205.714); h_SL3L269->SetBinContent(31,2648.572); h_SL3L269->SetBinContent(32,3262.857); h_SL3L269->SetBinContent(33,6675.714); h_SL3L269->SetBinContent(34,18912.86); h_SL3L269->SetBinContent(35,51287.14); h_SL3L269->SetBinContent(36,59265.71); h_SL3L269->SetBinContent(37,62891.43); h_SL3L269->SetBinContent(38,68972.86); h_SL3L269->SetBinContent(39,68384.29); h_SL3L269->SetBinContent(40,56808.57); h_SL3L269->SetBinContent(41,20128.57); h_SL3L269->SetBinContent(42,6894.286); h_SL3L269->SetBinContent(43,3658.572); h_SL3L269->SetBinContent(44,2925.714); h_SL3L269->SetBinContent(45,2508.572); h_SL3L269->SetBinContent(46,2397.143); h_SL3L269->SetBinContent(47,2092.857); h_SL3L269->SetBinContent(48,2025.714); h_SL3L269->SetBinContent(49,4041.429); h_SL3L269->SetBinContent(50,1621.429); h_SL3L269->SetBinContent(51,1520); h_SL3L269->SetBinContent(52,1821.429); h_SL3L269->SetBinContent(53,4885.714); h_SL3L269->SetBinContent(54,1307.143); h_SL3L269->SetBinContent(55,1160); h_SL3L269->SetBinContent(56,1635.714); h_SL3L269->SetBinContent(57,1137.143); h_SL3L269->SetBinContent(58,1018.571); h_SL3L269->SetBinContent(59,1030); h_SL3L269->SetMaximum(157137.7); h_SL3L269->SetEntries(60); h_SL3L269->SetDirectory(0); h_SL3L269->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL3L269->SetLineColor(ci); h_SL3L269->SetLineWidth(2); h_SL3L269->GetXaxis()->SetTitle("Cell"); h_SL3L269->GetXaxis()->SetLabelFont(42); h_SL3L269->GetXaxis()->SetLabelSize(0.035); h_SL3L269->GetXaxis()->SetTitleSize(0.035); h_SL3L269->GetXaxis()->SetTitleFont(42); h_SL3L269->GetYaxis()->SetTitle("Hz"); h_SL3L269->GetYaxis()->SetLabelFont(42); h_SL3L269->GetYaxis()->SetLabelSize(0.035); h_SL3L269->GetYaxis()->SetTitleSize(0.035); h_SL3L269->GetYaxis()->SetTitleOffset(1.45); h_SL3L269->GetYaxis()->SetTitleFont(42); h_SL3L269->GetZaxis()->SetLabelFont(42); h_SL3L269->GetZaxis()->SetLabelSize(0.035); h_SL3L269->GetZaxis()->SetTitleSize(0.035); h_SL3L269->GetZaxis()->SetTitleFont(42); h_SL3L269->Draw("same"); TH1D *h_SL3L370 = new TH1D("h_SL3L370","",60,0,60); h_SL3L370->SetBinContent(1,208.5714); h_SL3L370->SetBinContent(2,204.2857); h_SL3L370->SetBinContent(3,192.8571); h_SL3L370->SetBinContent(4,231.4286); h_SL3L370->SetBinContent(5,514.2857); h_SL3L370->SetBinContent(6,548.5714); h_SL3L370->SetBinContent(7,255.7143); h_SL3L370->SetBinContent(8,271.4286); h_SL3L370->SetBinContent(9,258.5714); h_SL3L370->SetBinContent(10,262.8571); h_SL3L370->SetBinContent(11,307.1429); h_SL3L370->SetBinContent(12,352.8571); h_SL3L370->SetBinContent(13,352.8571); h_SL3L370->SetBinContent(14,444.2857); h_SL3L370->SetBinContent(15,511.4286); h_SL3L370->SetBinContent(16,487.1429); h_SL3L370->SetBinContent(17,500); h_SL3L370->SetBinContent(18,594.2857); h_SL3L370->SetBinContent(19,671.4286); h_SL3L370->SetBinContent(20,702.8572); h_SL3L370->SetBinContent(21,844.2857); h_SL3L370->SetBinContent(22,961.4286); h_SL3L370->SetBinContent(23,1000); h_SL3L370->SetBinContent(24,1124.286); h_SL3L370->SetBinContent(25,1242.857); h_SL3L370->SetBinContent(26,1278.571); h_SL3L370->SetBinContent(27,1521.429); h_SL3L370->SetBinContent(28,1638.571); h_SL3L370->SetBinContent(29,1967.143); h_SL3L370->SetBinContent(30,2434.286); h_SL3L370->SetBinContent(31,2820); h_SL3L370->SetBinContent(32,4331.429); h_SL3L370->SetBinContent(33,8640); h_SL3L370->SetBinContent(34,38214.29); h_SL3L370->SetBinContent(35,56595.71); h_SL3L370->SetBinContent(36,61150); h_SL3L370->SetBinContent(37,65812.86); h_SL3L370->SetBinContent(38,69560); h_SL3L370->SetBinContent(39,64545.71); h_SL3L370->SetBinContent(40,40955.71); h_SL3L370->SetBinContent(41,9018.571); h_SL3L370->SetBinContent(42,4664.286); h_SL3L370->SetBinContent(43,3258.572); h_SL3L370->SetBinContent(44,2625.714); h_SL3L370->SetBinContent(45,852.8572); h_SL3L370->SetBinContent(46,2188.572); h_SL3L370->SetBinContent(47,1937.143); h_SL3L370->SetBinContent(48,1868.572); h_SL3L370->SetBinContent(49,1732.857); h_SL3L370->SetBinContent(50,1564.286); h_SL3L370->SetBinContent(51,1405.714); h_SL3L370->SetBinContent(52,1408.571); h_SL3L370->SetBinContent(53,1348.571); h_SL3L370->SetBinContent(54,1298.571); h_SL3L370->SetBinContent(55,1150); h_SL3L370->SetBinContent(56,1211.429); h_SL3L370->SetBinContent(57,1180); h_SL3L370->SetBinContent(58,1050); h_SL3L370->SetBinContent(59,1077.143); h_SL3L370->SetMaximum(157137.7); h_SL3L370->SetEntries(60); h_SL3L370->SetDirectory(0); h_SL3L370->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L370->SetLineColor(ci); h_SL3L370->SetLineWidth(2); h_SL3L370->GetXaxis()->SetTitle("Cell"); h_SL3L370->GetXaxis()->SetLabelFont(42); h_SL3L370->GetXaxis()->SetLabelSize(0.035); h_SL3L370->GetXaxis()->SetTitleSize(0.035); h_SL3L370->GetXaxis()->SetTitleFont(42); h_SL3L370->GetYaxis()->SetTitle("Hz"); h_SL3L370->GetYaxis()->SetLabelFont(42); h_SL3L370->GetYaxis()->SetLabelSize(0.035); h_SL3L370->GetYaxis()->SetTitleSize(0.035); h_SL3L370->GetYaxis()->SetTitleOffset(1.45); h_SL3L370->GetYaxis()->SetTitleFont(42); h_SL3L370->GetZaxis()->SetLabelFont(42); h_SL3L370->GetZaxis()->SetLabelSize(0.035); h_SL3L370->GetZaxis()->SetTitleSize(0.035); h_SL3L370->GetZaxis()->SetTitleFont(42); h_SL3L370->Draw("same"); TH1D *h_SL3L471 = new TH1D("h_SL3L471","",60,0,60); h_SL3L471->SetBinContent(2,168.5714); h_SL3L471->SetBinContent(3,200); h_SL3L471->SetBinContent(4,187.1429); h_SL3L471->SetBinContent(5,798.5715); h_SL3L471->SetBinContent(6,136641.4); h_SL3L471->SetBinContent(7,992.8572); h_SL3L471->SetBinContent(8,918.5715); h_SL3L471->SetBinContent(9,292.8571); h_SL3L471->SetBinContent(10,268.5714); h_SL3L471->SetBinContent(11,297.1429); h_SL3L471->SetBinContent(12,311.4286); h_SL3L471->SetBinContent(13,378.5714); h_SL3L471->SetBinContent(14,412.8571); h_SL3L471->SetBinContent(15,462.8571); h_SL3L471->SetBinContent(16,535.7143); h_SL3L471->SetBinContent(17,524.2857); h_SL3L471->SetBinContent(18,507.1429); h_SL3L471->SetBinContent(19,642.8572); h_SL3L471->SetBinContent(20,612.8572); h_SL3L471->SetBinContent(21,827.1429); h_SL3L471->SetBinContent(22,901.4286); h_SL3L471->SetBinContent(23,997.1429); h_SL3L471->SetBinContent(24,1121.429); h_SL3L471->SetBinContent(25,1200); h_SL3L471->SetBinContent(26,1280); h_SL3L471->SetBinContent(27,1371.429); h_SL3L471->SetBinContent(28,1538.571); h_SL3L471->SetBinContent(29,1744.286); h_SL3L471->SetBinContent(30,2104.286); h_SL3L471->SetBinContent(31,2540); h_SL3L471->SetBinContent(32,3138.572); h_SL3L471->SetBinContent(33,6517.143); h_SL3L471->SetBinContent(34,18937.14); h_SL3L471->SetBinContent(35,51635.71); h_SL3L471->SetBinContent(36,59012.86); h_SL3L471->SetBinContent(37,62697.14); h_SL3L471->SetBinContent(38,68894.29); h_SL3L471->SetBinContent(39,68031.43); h_SL3L471->SetBinContent(40,56217.14); h_SL3L471->SetBinContent(41,20087.14); h_SL3L471->SetBinContent(42,6844.286); h_SL3L471->SetBinContent(43,3555.714); h_SL3L471->SetBinContent(44,2922.857); h_SL3L471->SetBinContent(45,2427.143); h_SL3L471->SetBinContent(46,2282.857); h_SL3L471->SetBinContent(47,1972.857); h_SL3L471->SetBinContent(48,1915.714); h_SL3L471->SetBinContent(49,1734.286); h_SL3L471->SetBinContent(50,1592.857); h_SL3L471->SetBinContent(51,1417.143); h_SL3L471->SetBinContent(52,1431.429); h_SL3L471->SetBinContent(53,1322.857); h_SL3L471->SetBinContent(54,1288.571); h_SL3L471->SetBinContent(55,1174.286); h_SL3L471->SetBinContent(56,1204.286); h_SL3L471->SetBinContent(57,1617.143); h_SL3L471->SetBinContent(58,1455.714); h_SL3L471->SetBinContent(59,1454.286); h_SL3L471->SetMaximum(157137.7); h_SL3L471->SetEntries(60); h_SL3L471->SetDirectory(0); h_SL3L471->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L471->SetLineColor(ci); h_SL3L471->SetLineWidth(2); h_SL3L471->GetXaxis()->SetTitle("Cell"); h_SL3L471->GetXaxis()->SetLabelFont(42); h_SL3L471->GetXaxis()->SetLabelSize(0.035); h_SL3L471->GetXaxis()->SetTitleSize(0.035); h_SL3L471->GetXaxis()->SetTitleFont(42); h_SL3L471->GetYaxis()->SetTitle("Hz"); h_SL3L471->GetYaxis()->SetLabelFont(42); h_SL3L471->GetYaxis()->SetLabelSize(0.035); h_SL3L471->GetYaxis()->SetTitleSize(0.035); h_SL3L471->GetYaxis()->SetTitleOffset(1.45); h_SL3L471->GetYaxis()->SetTitleFont(42); h_SL3L471->GetZaxis()->SetLabelFont(42); h_SL3L471->GetZaxis()->SetLabelSize(0.035); h_SL3L471->GetZaxis()->SetTitleSize(0.035); h_SL3L471->GetZaxis()->SetTitleFont(42); h_SL3L471->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_SL3L1","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_SL3L2","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_SL3L3","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_SL3L4","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("SL3, run 6576"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }