void RatesPerCell_Removing_noisy_cells_run_6685_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 11:10:59 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12898.69,67.5,116088.2); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6685",60,0,60); h_SL1L160->SetBinContent(1,379.7372); h_SL1L160->SetBinContent(2,393.5818); h_SL1L160->SetBinContent(3,472.6937); h_SL1L160->SetBinContent(4,446.9823); h_SL1L160->SetBinContent(5,373.8038); h_SL1L160->SetBinContent(6,435.1156); h_SL1L160->SetBinContent(7,458.8491); h_SL1L160->SetBinContent(8,510.2719); h_SL1L160->SetBinContent(9,530.0499); h_SL1L160->SetBinContent(10,575.5392); h_SL1L160->SetBinContent(11,668.4957); h_SL1L160->SetBinContent(12,708.0517); h_SL1L160->SetBinContent(13,779.2524); h_SL1L160->SetBinContent(14,913.7427); h_SL1L160->SetBinContent(15,729.8074); h_SL1L160->SetBinContent(16,808.9194); h_SL1L160->SetBinContent(17,913.7427); h_SL1L160->SetBinContent(18,1265.791); h_SL1L160->SetBinContent(19,1251.946); h_SL1L160->SetBinContent(20,1370.614); h_SL1L160->SetBinContent(21,1566.416); h_SL1L160->SetBinContent(22,1698.928); h_SL1L160->SetBinContent(23,1930.331); h_SL1L160->SetBinContent(24,1914.508); h_SL1L160->SetBinContent(25,1926.375); h_SL1L160->SetBinContent(26,1967.909); h_SL1L160->SetBinContent(27,2408.958); h_SL1L160->SetBinContent(28,3120.965); h_SL1L160->SetBinContent(29,3261.389); h_SL1L160->SetBinContent(30,3884.395); h_SL1L160->SetBinContent(31,4918.784); h_SL1L160->SetBinContent(32,9115.671); h_SL1L160->SetBinContent(33,36458.73); h_SL1L160->SetBinContent(34,54759.29); h_SL1L160->SetBinContent(35,59622.7); h_SL1L160->SetBinContent(36,64209.21); h_SL1L160->SetBinContent(37,66841.66); h_SL1L160->SetBinContent(38,61048.69); h_SL1L160->SetBinContent(39,38673.86); h_SL1L160->SetBinContent(40,9271.917); h_SL1L160->SetBinContent(41,5229.298); h_SL1L160->SetBinContent(42,4297.755); h_SL1L160->SetBinContent(43,3706.393); h_SL1L160->SetBinContent(44,3593.659); h_SL1L160->SetBinContent(45,3259.411); h_SL1L160->SetBinContent(46,3024.053); h_SL1L160->SetBinContent(47,2662.116); h_SL1L160->SetBinContent(48,2519.715); h_SL1L160->SetBinContent(49,2339.735); h_SL1L160->SetBinContent(50,2185.467); h_SL1L160->SetBinContent(51,2088.555); h_SL1L160->SetBinContent(52,1985.709); h_SL1L160->SetBinContent(53,1926.375); h_SL1L160->SetBinContent(54,1752.329); h_SL1L160->SetBinContent(55,1762.218); h_SL1L160->SetBinContent(56,1586.194); h_SL1L160->SetBinContent(57,1574.327); h_SL1L160->SetBinContent(58,1544.66); h_SL1L160->SetBinContent(59,1493.237); h_SL1L160->SetMaximum(103189.5); 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,334.2479); h_SL1L261->SetBinContent(2,350.0703); h_SL1L261->SetBinContent(3,425.2266); h_SL1L261->SetBinContent(4,415.3376); h_SL1L261->SetBinContent(5,342.1591); h_SL1L261->SetBinContent(6,381.715); h_SL1L261->SetBinContent(7,441.049); h_SL1L261->SetBinContent(8,462.8047); h_SL1L261->SetBinContent(9,446.9823); h_SL1L261->SetBinContent(10,431.16); h_SL1L261->SetBinContent(11,565.6502); h_SL1L261->SetBinContent(12,623.0063); h_SL1L261->SetBinContent(13,617.073); h_SL1L261->SetBinContent(14,791.1192); h_SL1L261->SetBinContent(15,745.6298); h_SL1L261->SetBinContent(16,745.6298); h_SL1L261->SetBinContent(17,801.0082); h_SL1L261->SetBinContent(18,1016.588); h_SL1L261->SetBinContent(19,1147.123); h_SL1L261->SetBinContent(20,1263.813); h_SL1L261->SetBinContent(21,1329.08); h_SL1L261->SetBinContent(22,1556.527); h_SL1L261->SetBinContent(23,1673.217); h_SL1L261->SetBinContent(24,1859.13); h_SL1L261->SetBinContent(25,1898.686); h_SL1L261->SetBinContent(26,1829.463); h_SL1L261->SetBinContent(27,2120.199); h_SL1L261->SetBinContent(28,2699.694); h_SL1L261->SetBinContent(29,2962.741); h_SL1L261->SetBinContent(30,3613.437); h_SL1L261->SetBinContent(31,4099.975); h_SL1L261->SetBinContent(32,7268.408); h_SL1L261->SetBinContent(33,19451.64); h_SL1L261->SetBinContent(34,50677.12); h_SL1L261->SetBinContent(35,59407.12); h_SL1L261->SetBinContent(36,64401.06); h_SL1L261->SetBinContent(37,68036.25); h_SL1L261->SetBinContent(38,66997.91); h_SL1L261->SetBinContent(39,78026.11); h_SL1L261->SetBinContent(40,19125.31); h_SL1L261->SetBinContent(41,7741.101); h_SL1L261->SetBinContent(42,4543.002); h_SL1L261->SetBinContent(43,3811.217); h_SL1L261->SetBinContent(44,3581.792); h_SL1L261->SetBinContent(45,3172.388); h_SL1L261->SetBinContent(46,3095.254); h_SL1L261->SetBinContent(47,2816.384); h_SL1L261->SetBinContent(48,2472.248); h_SL1L261->SetBinContent(49,12663.84); h_SL1L261->SetBinContent(50,2157.778); h_SL1L261->SetBinContent(51,2167.667); h_SL1L261->SetBinContent(52,2015.376); h_SL1L261->SetBinContent(53,1936.264); h_SL1L261->SetBinContent(54,1813.641); h_SL1L261->SetBinContent(55,1635.639); h_SL1L261->SetBinContent(56,4758.582); h_SL1L261->SetBinContent(57,1552.571); h_SL1L261->SetBinContent(58,1471.482); h_SL1L261->SetBinContent(59,1542.682); h_SL1L261->SetMaximum(89730.03); 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,298.6475); h_SL1L362->SetBinContent(2,338.2035); h_SL1L362->SetBinContent(3,348.0924); h_SL1L362->SetBinContent(4,326.3367); h_SL1L362->SetBinContent(5,371.826); h_SL1L362->SetBinContent(6,391.604); h_SL1L362->SetBinContent(7,373.8038); h_SL1L362->SetBinContent(8,399.5152); h_SL1L362->SetBinContent(9,405.4486); h_SL1L362->SetBinContent(10,458.8491); h_SL1L362->SetBinContent(11,571.5836); h_SL1L362->SetBinContent(12,630.9175); h_SL1L362->SetBinContent(13,676.4069); h_SL1L362->SetBinContent(14,775.2968); h_SL1L362->SetBinContent(15,678.3847); h_SL1L362->SetBinContent(16,739.6965); h_SL1L362->SetBinContent(17,907.8093); h_SL1L362->SetBinContent(18,977.0322); h_SL1L362->SetBinContent(19,1044.277); h_SL1L362->SetBinContent(20,1208.435); h_SL1L362->SetBinContent(21,1323.147); h_SL1L362->SetBinContent(22,1495.215); h_SL1L362->SetBinContent(23,1746.396); h_SL1L362->SetBinContent(24,1726.618); h_SL1L362->SetBinContent(25,1772.107); h_SL1L362->SetBinContent(26,1791.885); h_SL1L362->SetBinContent(27,2391.158); h_SL1L362->SetBinContent(28,2824.295); h_SL1L362->SetBinContent(29,3122.943); h_SL1L362->SetBinContent(30,3791.439); h_SL1L362->SetBinContent(31,4914.828); h_SL1L362->SetBinContent(32,9303.562); h_SL1L362->SetBinContent(33,37835.28); h_SL1L362->SetBinContent(34,56691.6); h_SL1L362->SetBinContent(35,61875.41); h_SL1L362->SetBinContent(36,66600.37); h_SL1L362->SetBinContent(37,69185.35); h_SL1L362->SetBinContent(38,62528.08); h_SL1L362->SetBinContent(39,39730.01); h_SL1L362->SetBinContent(40,9461.785); h_SL1L362->SetBinContent(41,5217.431); h_SL1L362->SetBinContent(42,4179.087); h_SL1L362->SetBinContent(43,3512.569); h_SL1L362->SetBinContent(44,3366.212); h_SL1L362->SetBinContent(45,3069.542); h_SL1L362->SetBinContent(46,2844.073); h_SL1L362->SetBinContent(47,2454.447); h_SL1L362->SetBinContent(48,2347.646); h_SL1L362->SetBinContent(49,2094.488); h_SL1L362->SetBinContent(50,2096.466); h_SL1L362->SetBinContent(51,1880.886); h_SL1L362->SetBinContent(52,1785.952); h_SL1L362->SetBinContent(53,3969.441); h_SL1L362->SetBinContent(54,1716.729); h_SL1L362->SetBinContent(55,1594.105); h_SL1L362->SetBinContent(56,4651.781); h_SL1L362->SetBinContent(57,1554.549); h_SL1L362->SetBinContent(58,1396.325); h_SL1L362->SetBinContent(59,1439.837); h_SL1L362->SetMaximum(89730.03); 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,219.5356); h_SL1L463->SetBinContent(3,235.358); h_SL1L463->SetBinContent(4,217.5578); h_SL1L463->SetBinContent(5,203.7132); h_SL1L463->SetBinContent(6,282.8251); h_SL1L463->SetBinContent(7,247.2247); h_SL1L463->SetBinContent(8,267.0027); h_SL1L463->SetBinContent(9,274.9139); h_SL1L463->SetBinContent(10,290.7363); h_SL1L463->SetBinContent(11,387.6484); h_SL1L463->SetBinContent(12,385.6706); h_SL1L463->SetBinContent(13,435.1156); h_SL1L463->SetBinContent(14,555.7612); h_SL1L463->SetBinContent(15,506.3163); h_SL1L463->SetBinContent(16,539.9388); h_SL1L463->SetBinContent(17,498.4051); h_SL1L463->SetBinContent(18,613.1174); h_SL1L463->SetBinContent(19,713.985); h_SL1L463->SetBinContent(20,806.9416); h_SL1L463->SetBinContent(21,862.3199); h_SL1L463->SetBinContent(22,939.454); h_SL1L463->SetBinContent(23,1040.322); h_SL1L463->SetBinContent(24,1133.278); h_SL1L463->SetBinContent(25,1026.477); h_SL1L463->SetBinContent(26,1158.99); h_SL1L463->SetBinContent(27,1283.591); h_SL1L463->SetBinContent(28,1681.128); h_SL1L463->SetBinContent(29,1851.219); h_SL1L463->SetBinContent(30,2310.068); h_SL1L463->SetBinContent(31,2826.273); h_SL1L463->SetBinContent(32,4602.336); h_SL1L463->SetBinContent(33,11700.65); h_SL1L463->SetBinContent(34,37722.54); h_SL1L463->SetBinContent(35,48647.9); h_SL1L463->SetBinContent(36,48412.54); h_SL1L463->SetBinContent(37,46511.88); h_SL1L463->SetBinContent(38,48319.58); h_SL1L463->SetBinContent(39,44828.77); h_SL1L463->SetBinContent(40,13425.29); h_SL1L463->SetBinContent(41,5375.655); h_SL1L463->SetBinContent(42,3269.3); h_SL1L463->SetBinContent(43,2863.852); h_SL1L463->SetBinContent(44,2638.383); h_SL1L463->SetBinContent(45,2084.599); h_SL1L463->SetBinContent(46,2228.978); h_SL1L463->SetBinContent(47,1880.886); h_SL1L463->SetBinContent(48,1560.483); h_SL1L463->SetBinContent(49,1398.303); h_SL1L463->SetBinContent(50,1358.747); h_SL1L463->SetBinContent(51,1336.991); h_SL1L463->SetBinContent(52,1253.924); h_SL1L463->SetBinContent(53,1071.967); h_SL1L463->SetBinContent(54,1105.589); h_SL1L463->SetBinContent(56,1026.477); h_SL1L463->SetBinContent(57,838.5864); h_SL1L463->SetBinContent(58,915.7205); h_SL1L463->SetBinContent(59,951.3208); h_SL1L463->SetMaximum(89730.03); 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 6685"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }