void RatesPerCell_Removing_noisy_cells_run_5393_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:07:53 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12008.59,67.5,108077.3); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 5393",60,0,60); h_SL1L160->SetBinContent(1,484.418); h_SL1L160->SetBinContent(2,504.7077); h_SL1L160->SetBinContent(3,583.3306); h_SL1L160->SetBinContent(4,497.0991); h_SL1L160->SetBinContent(5,636.5912); h_SL1L160->SetBinContent(6,570.6495); h_SL1L160->SetBinContent(7,585.8668); h_SL1L160->SetBinContent(8,659.4172); h_SL1L160->SetBinContent(9,677.1707); h_SL1L160->SetBinContent(10,722.8226); h_SL1L160->SetBinContent(11,821.7352); h_SL1L160->SetBinContent(12,953.6187); h_SL1L160->SetBinContent(13,1082.966); h_SL1L160->SetBinContent(14,1095.647); h_SL1L160->SetBinContent(15,1088.038); h_SL1L160->SetBinContent(16,1070.285); h_SL1L160->SetBinContent(17,1108.328); h_SL1L160->SetBinContent(18,1445.645); h_SL1L160->SetBinContent(19,1646.007); h_SL1L160->SetBinContent(20,1828.615); h_SL1L160->SetBinContent(21,2036.584); h_SL1L160->SetBinContent(22,2206.511); h_SL1L160->SetBinContent(23,2612.306); h_SL1L160->SetBinContent(24,3002.884); h_SL1L160->SetBinContent(25,2959.769); h_SL1L160->SetBinContent(26,3314.839); h_SL1L160->SetBinContent(27,3563.389); h_SL1L160->SetBinContent(28,4605.775); h_SL1L160->SetBinContent(29,4679.326); h_SL1L160->SetBinContent(30,5369.177); h_SL1L160->SetBinContent(31,7639.094); h_SL1L160->SetBinContent(32,13921.31); h_SL1L160->SetBinContent(33,68701.12); h_SL1L160->SetBinContent(34,67547.14); h_SL1L160->SetBinContent(35,64785.2); h_SL1L160->SetBinContent(36,61452.61); h_SL1L160->SetBinContent(37,55954.08); h_SL1L160->SetBinContent(38,45291.81); h_SL1L160->SetBinContent(39,25671.62); h_SL1L160->SetBinContent(40,7086.198); h_SL1L160->SetBinContent(41,4692.007); h_SL1L160->SetBinContent(42,4192.372); h_SL1L160->SetBinContent(43,3609.041); h_SL1L160->SetBinContent(44,3538.027); h_SL1L160->SetBinContent(45,3170.275); h_SL1L160->SetBinContent(46,2820.276); h_SL1L160->SetBinContent(47,2728.973); h_SL1L160->SetBinContent(48,2617.379); h_SL1L160->SetBinContent(49,2434.771); h_SL1L160->SetBinContent(50,2287.67); h_SL1L160->SetBinContent(51,2145.642); h_SL1L160->SetBinContent(52,2031.512); h_SL1L160->SetBinContent(53,1866.658); h_SL1L160->SetBinContent(54,1640.934); h_SL1L160->SetBinContent(55,1704.34); h_SL1L160->SetBinContent(56,1539.485); h_SL1L160->SetBinContent(57,1542.022); h_SL1L160->SetBinContent(58,1567.384); h_SL1L160->SetBinContent(59,1524.268); h_SL1L160->SetMaximum(96068.7); 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,431.1574); h_SL1L261->SetBinContent(2,469.2007); h_SL1L261->SetBinContent(3,464.1282); h_SL1L261->SetBinContent(4,441.3022); h_SL1L261->SetBinContent(5,486.9542); h_SL1L261->SetBinContent(6,530.0699); h_SL1L261->SetBinContent(7,550.3597); h_SL1L261->SetBinContent(8,573.1857); h_SL1L261->SetBinContent(9,583.3306); h_SL1L261->SetBinContent(10,654.3447); h_SL1L261->SetBinContent(11,768.4746); h_SL1L261->SetBinContent(12,821.7352); h_SL1L261->SetBinContent(13,814.1266); h_SL1L261->SetBinContent(14,989.1257); h_SL1L261->SetBinContent(15,1017.024); h_SL1L261->SetBinContent(16,940.9376); h_SL1L261->SetBinContent(17,984.0533); h_SL1L261->SetBinContent(18,1311.226); h_SL1L261->SetBinContent(19,1483.689); h_SL1L261->SetBinContent(20,1587.674); h_SL1L261->SetBinContent(21,1866.658); h_SL1L261->SetBinContent(22,1937.672); h_SL1L261->SetBinContent(23,2203.975); h_SL1L261->SetBinContent(24,2584.408); h_SL1L261->SetBinContent(25,2855.783); h_SL1L261->SetBinContent(26,2926.798); h_SL1L261->SetBinContent(27,3172.811); h_SL1L261->SetBinContent(28,4080.778); h_SL1L261->SetBinContent(29,4555.051); h_SL1L261->SetBinContent(30,4760.485); h_SL1L261->SetBinContent(31,5858.668); h_SL1L261->SetBinContent(32,9832.924); h_SL1L261->SetBinContent(33,39892.2); h_SL1L261->SetBinContent(34,72642.41); h_SL1L261->SetBinContent(35,65391.36); h_SL1L261->SetBinContent(36,63316.73); h_SL1L261->SetBinContent(37,58982.33); h_SL1L261->SetBinContent(38,51036.35); h_SL1L261->SetBinContent(39,38157.43); h_SL1L261->SetBinContent(40,12204.29); h_SL1L261->SetBinContent(41,5982.942); h_SL1L261->SetBinContent(42,4227.878); h_SL1L261->SetBinContent(43,3695.272); h_SL1L261->SetBinContent(44,3494.911); h_SL1L261->SetBinContent(45,3109.406); h_SL1L261->SetBinContent(46,3040.927); h_SL1L261->SetBinContent(47,2561.582); h_SL1L261->SetBinContent(48,2541.292); h_SL1L261->SetBinContent(49,2488.032); h_SL1L261->SetBinContent(50,2247.091); h_SL1L261->SetBinContent(51,2209.047); h_SL1L261->SetBinContent(52,1813.397); h_SL1L261->SetBinContent(53,1932.599); h_SL1L261->SetBinContent(54,1623.181); h_SL1L261->SetBinContent(55,1630.789); h_SL1L261->SetBinContent(56,1506.515); h_SL1L261->SetBinContent(57,1450.718); h_SL1L261->SetBinContent(58,1471.007); h_SL1L261->SetBinContent(59,1468.471); h_SL1L261->SetMaximum(83538.77); 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,433.6936); h_SL1L362->SetBinContent(2,382.9692); h_SL1L362->SetBinContent(3,446.3747); h_SL1L362->SetBinContent(4,385.5054); h_SL1L362->SetBinContent(5,504.7077); h_SL1L362->SetBinContent(6,499.6353); h_SL1L362->SetBinContent(7,497.0991); h_SL1L362->SetBinContent(8,545.2873); h_SL1L362->SetBinContent(9,588.403); h_SL1L362->SetBinContent(10,616.3014); h_SL1L362->SetBinContent(11,743.1124); h_SL1L362->SetBinContent(12,748.1849); h_SL1L362->SetBinContent(13,958.6911); h_SL1L362->SetBinContent(14,943.4738); h_SL1L362->SetBinContent(15,877.532); h_SL1L362->SetBinContent(16,946.01); h_SL1L362->SetBinContent(17,1060.14); h_SL1L362->SetBinContent(18,1308.689); h_SL1L362->SetBinContent(19,1544.558); h_SL1L362->SetBinContent(20,1671.369); h_SL1L362->SetBinContent(21,1810.861); h_SL1L362->SetBinContent(22,1996.005); h_SL1L362->SetBinContent(23,2457.597); h_SL1L362->SetBinContent(24,2685.857); h_SL1L362->SetBinContent(25,2807.595); h_SL1L362->SetBinContent(26,3038.391); h_SL1L362->SetBinContent(27,3365.564); h_SL1L362->SetBinContent(28,4263.386); h_SL1L362->SetBinContent(29,4656.5); h_SL1L362->SetBinContent(30,5194.178); h_SL1L362->SetBinContent(31,7456.486); h_SL1L362->SetBinContent(32,14065.88); h_SL1L362->SetBinContent(33,69185.54); h_SL1L362->SetBinContent(34,67651.12); h_SL1L362->SetBinContent(35,64729.4); h_SL1L362->SetBinContent(36,61627.61); h_SL1L362->SetBinContent(37,56134.15); h_SL1L362->SetBinContent(38,45182.76); h_SL1L362->SetBinContent(39,25501.69); h_SL1L362->SetBinContent(40,7025.329); h_SL1L362->SetBinContent(41,4570.268); h_SL1L362->SetBinContent(42,3933.677); h_SL1L362->SetBinContent(43,3611.577); h_SL1L362->SetBinContent(44,3322.448); h_SL1L362->SetBinContent(45,2916.653); h_SL1L362->SetBinContent(46,2706.146); h_SL1L362->SetBinContent(47,2409.409); h_SL1L362->SetBinContent(48,2404.336); h_SL1L362->SetBinContent(49,2214.12); h_SL1L362->SetBinContent(50,2107.599); h_SL1L362->SetBinContent(51,1889.484); h_SL1L362->SetBinContent(52,1739.847); h_SL1L362->SetBinContent(53,1757.6); h_SL1L362->SetBinContent(54,1509.051); h_SL1L362->SetBinContent(55,1562.311); h_SL1L362->SetBinContent(56,1410.138); h_SL1L362->SetBinContent(57,1453.254); h_SL1L362->SetBinContent(58,1399.993); h_SL1L362->SetBinContent(59,1392.385); h_SL1L362->SetMaximum(83538.77); 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,233.3322); h_SL1L463->SetBinContent(3,169.9267); h_SL1L463->SetBinContent(4,195.2889); h_SL1L463->SetBinContent(5,207.97); h_SL1L463->SetBinContent(6,192.7527); h_SL1L463->SetBinContent(7,180.0716); h_SL1L463->SetBinContent(8,228.2598); h_SL1L463->SetBinContent(9,240.9409); h_SL1L463->SetBinContent(10,281.5204); h_SL1L463->SetBinContent(11,291.6653); h_SL1L463->SetBinContent(12,304.3464); h_SL1L463->SetBinContent(13,355.0708); h_SL1L463->SetBinContent(14,413.4038); h_SL1L463->SetBinContent(15,405.7952); h_SL1L463->SetBinContent(16,410.8676); h_SL1L463->SetBinContent(17,362.6794); h_SL1L463->SetBinContent(18,499.6353); h_SL1L463->SetBinContent(19,641.6636); h_SL1L463->SetBinContent(20,689.8518); h_SL1L463->SetBinContent(21,692.388); h_SL1L463->SetBinContent(22,877.532); h_SL1L463->SetBinContent(23,829.3439); h_SL1L463->SetBinContent(24,956.1549); h_SL1L463->SetBinContent(25,966.2997); h_SL1L463->SetBinContent(26,1194.56); h_SL1L463->SetBinContent(27,1328.979); h_SL1L463->SetBinContent(28,1752.528); h_SL1L463->SetBinContent(29,1851.44); h_SL1L463->SetBinContent(30,1841.296); h_SL1L463->SetBinContent(31,2652.886); h_SL1L463->SetBinContent(32,4131.502); h_SL1L463->SetBinContent(33,16117.68); h_SL1L463->SetBinContent(34,35240.77); h_SL1L463->SetBinContent(35,35570.48); h_SL1L463->SetBinContent(36,31190.43); h_SL1L463->SetBinContent(37,24763.65); h_SL1L463->SetBinContent(38,23683.22); h_SL1L463->SetBinContent(39,19919.47); h_SL1L463->SetBinContent(40,5019.179); h_SL1L463->SetBinContent(41,2655.422); h_SL1L463->SetBinContent(42,1973.179); h_SL1L463->SetBinContent(43,1904.701); h_SL1L463->SetBinContent(44,1808.325); h_SL1L463->SetBinContent(45,1278.255); h_SL1L463->SetBinContent(46,1432.964); h_SL1L463->SetBinContent(47,1065.212); h_SL1L463->SetBinContent(48,1022.097); h_SL1L463->SetBinContent(49,892.7494); h_SL1L463->SetBinContent(50,867.3872); h_SL1L463->SetBinContent(51,946.01); h_SL1L463->SetBinContent(52,740.5762); h_SL1L463->SetBinContent(53,710.1415); h_SL1L463->SetBinContent(54,639.1274); h_SL1L463->SetBinContent(56,611.229); h_SL1L463->SetBinContent(57,563.0408); h_SL1L463->SetBinContent(58,634.0549); h_SL1L463->SetBinContent(59,557.9684); h_SL1L463->SetMaximum(83538.77); 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 5393"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }