void RatesPerCell_Removing_noisy_cells_run_5393_SL3() { //=========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,-12331.45,67.5,110983.1); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 5393",60,0,60); h_SL3L168->SetBinContent(1,256.1582); h_SL3L168->SetBinContent(2,281.5204); h_SL3L168->SetBinContent(4,324.6361); h_SL3L168->SetBinContent(5,281.5204); h_SL3L168->SetBinContent(6,362.6794); h_SL3L168->SetBinContent(7,380.433); h_SL3L168->SetBinContent(8,380.433); h_SL3L168->SetBinContent(9,377.8968); h_SL3L168->SetBinContent(10,431.1574); h_SL3L168->SetBinContent(11,484.418); h_SL3L168->SetBinContent(12,509.7802); h_SL3L168->SetBinContent(13,575.7219); h_SL3L168->SetBinContent(14,717.7502); h_SL3L168->SetBinContent(15,699.9967); h_SL3L168->SetBinContent(16,788.7643); h_SL3L168->SetBinContent(17,826.8077); h_SL3L168->SetBinContent(18,859.7785); h_SL3L168->SetBinContent(19,1034.778); h_SL3L168->SetBinContent(20,1171.734); h_SL3L168->SetBinContent(21,1288.4); h_SL3L168->SetBinContent(22,1496.37); h_SL3L168->SetBinContent(23,1597.818); h_SL3L168->SetBinContent(24,1864.122); h_SL3L168->SetBinContent(25,2051.802); h_SL3L168->SetBinContent(26,2262.308); h_SL3L168->SetBinContent(27,2642.741); h_SL3L168->SetBinContent(28,2980.058); h_SL3L168->SetBinContent(29,3629.331); h_SL3L168->SetBinContent(30,4017.372); h_SL3L168->SetBinContent(31,4780.774); h_SL3L168->SetBinContent(32,7086.198); h_SL3L168->SetBinContent(33,13898.48); h_SL3L168->SetBinContent(34,69981.91); h_SL3L168->SetBinContent(35,68645.33); h_SL3L168->SetBinContent(36,65363.46); h_SL3L168->SetBinContent(37,62994.63); h_SL3L168->SetBinContent(38,56575.46); h_SL3L168->SetBinContent(39,45930.94); h_SL3L168->SetBinContent(40,26201.69); h_SL3L168->SetBinContent(41,6878.228); h_SL3L168->SetBinContent(42,4052.879); h_SL3L168->SetBinContent(43,3256.506); h_SL3L168->SetBinContent(44,2916.653); h_SL3L168->SetBinContent(45,2706.146); h_SL3L168->SetBinContent(46,2358.684); h_SL3L168->SetBinContent(47,2183.685); h_SL3L168->SetBinContent(48,1897.092); h_SL3L168->SetBinContent(49,21004.97); h_SL3L168->SetBinContent(50,1717.021); h_SL3L168->SetBinContent(51,1531.877); h_SL3L168->SetBinContent(52,1473.544); h_SL3L168->SetBinContent(53,1422.819); h_SL3L168->SetBinContent(54,1377.167); h_SL3L168->SetBinContent(55,1156.516); h_SL3L168->SetBinContent(56,1166.661); h_SL3L168->SetBinContent(57,1161.589); h_SL3L168->SetBinContent(58,991.6619); h_SL3L168->SetBinContent(59,951.0825); h_SL3L168->SetMaximum(98651.6); 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,271.3755); h_SL3L269->SetBinContent(2,268.8393); h_SL3L269->SetBinContent(4,294.2015); h_SL3L269->SetBinContent(5,317.0275); h_SL3L269->SetBinContent(6,332.2448); h_SL3L269->SetBinContent(7,421.0125); h_SL3L269->SetBinContent(8,365.2157); h_SL3L269->SetBinContent(9,403.2589); h_SL3L269->SetBinContent(10,415.9401); h_SL3L269->SetBinContent(11,431.1574); h_SL3L269->SetBinContent(12,484.418); h_SL3L269->SetBinContent(13,535.1424); h_SL3L269->SetBinContent(14,578.2581); h_SL3L269->SetBinContent(15,707.6053); h_SL3L269->SetBinContent(16,740.5762); h_SL3L269->SetBinContent(17,783.692); h_SL3L269->SetBinContent(18,753.2573); h_SL3L269->SetBinContent(19,981.5171); h_SL3L269->SetBinContent(20,1080.43); h_SL3L269->SetBinContent(21,1197.096); h_SL3L269->SetBinContent(22,1354.341); h_SL3L269->SetBinContent(23,1536.949); h_SL3L269->SetBinContent(24,1663.76); h_SL3L269->SetBinContent(25,1909.774); h_SL3L269->SetBinContent(26,2092.381); h_SL3L269->SetBinContent(27,2419.554); h_SL3L269->SetBinContent(28,2711.219); h_SL3L269->SetBinContent(29,3368.1); h_SL3L269->SetBinContent(30,3642.012); h_SL3L269->SetBinContent(31,4232.951); h_SL3L269->SetBinContent(32,5189.106); h_SL3L269->SetBinContent(33,9680.751); h_SL3L269->SetBinContent(34,39821.19); h_SL3L269->SetBinContent(35,73836.97); h_SL3L269->SetBinContent(36,66223.23); h_SL3L269->SetBinContent(37,63993.9); h_SL3L269->SetBinContent(38,60245.37); h_SL3L269->SetBinContent(39,51766.78); h_SL3L269->SetBinContent(40,38548); h_SL3L269->SetBinContent(41,12508.64); h_SL3L269->SetBinContent(42,5430.047); h_SL3L269->SetBinContent(43,3474.621); h_SL3L269->SetBinContent(44,2939.479); h_SL3L269->SetBinContent(45,2871.001); h_SL3L269->SetBinContent(46,2419.554); h_SL3L269->SetBinContent(47,2346.003); h_SL3L269->SetBinContent(48,1960.498); h_SL3L269->SetBinContent(49,1729.702); h_SL3L269->SetBinContent(50,1762.673); h_SL3L269->SetBinContent(51,1511.587); h_SL3L269->SetBinContent(52,1476.08); h_SL3L269->SetBinContent(53,1394.921); h_SL3L269->SetBinContent(54,1415.211); h_SL3L269->SetBinContent(55,1288.4); h_SL3L269->SetBinContent(56,1065.212); h_SL3L269->SetBinContent(57,1153.98); h_SL3L269->SetBinContent(58,1062.676); h_SL3L269->SetBinContent(59,933.3289); h_SL3L269->SetMaximum(85784.59); 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,235.8684); h_SL3L370->SetBinContent(2,268.8393); h_SL3L370->SetBinContent(3,317.0275); h_SL3L370->SetBinContent(4,324.6361); h_SL3L370->SetBinContent(5,284.0566); h_SL3L370->SetBinContent(6,380.433); h_SL3L370->SetBinContent(7,380.433); h_SL3L370->SetBinContent(8,398.1865); h_SL3L370->SetBinContent(9,370.2881); h_SL3L370->SetBinContent(10,436.2298); h_SL3L370->SetBinContent(11,418.4763); h_SL3L370->SetBinContent(12,494.5629); h_SL3L370->SetBinContent(13,565.577); h_SL3L370->SetBinContent(14,732.9675); h_SL3L370->SetBinContent(15,722.8226); h_SL3L370->SetBinContent(16,748.1849); h_SL3L370->SetBinContent(17,801.4455); h_SL3L370->SetBinContent(18,801.4455); h_SL3L370->SetBinContent(19,989.1257); h_SL3L370->SetBinContent(20,1184.415); h_SL3L370->SetBinContent(21,1242.748); h_SL3L370->SetBinContent(22,1440.573); h_SL3L370->SetBinContent(23,1519.196); h_SL3L370->SetBinContent(24,1790.571); h_SL3L370->SetBinContent(25,1983.324); h_SL3L370->SetBinContent(26,2259.772); h_SL3L370->SetBinContent(27,2635.132); h_SL3L370->SetBinContent(28,2929.334); h_SL3L370->SetBinContent(29,3484.766); h_SL3L370->SetBinContent(30,3844.909); h_SL3L370->SetBinContent(31,4636.21); h_SL3L370->SetBinContent(32,6903.59); h_SL3L370->SetBinContent(33,13939.06); h_SL3L370->SetBinContent(34,69601.48); h_SL3L370->SetBinContent(35,68614.89); h_SL3L370->SetBinContent(36,65482.66); h_SL3L370->SetBinContent(37,62505.14); h_SL3L370->SetBinContent(38,56501.91); h_SL3L370->SetBinContent(39,45880.22); h_SL3L370->SetBinContent(40,26166.18); h_SL3L370->SetBinContent(41,6814.823); h_SL3L370->SetBinContent(42,3928.604); h_SL3L370->SetBinContent(43,3106.869); h_SL3L370->SetBinContent(44,2909.044); h_SL3L370->SetBinContent(45,2690.929); h_SL3L370->SetBinContent(46,2305.424); h_SL3L370->SetBinContent(47,2069.555); h_SL3L370->SetBinContent(48,1892.02); h_SL3L370->SetBinContent(49,1815.933); h_SL3L370->SetBinContent(50,1684.05); h_SL3L370->SetBinContent(51,1488.761); h_SL3L370->SetBinContent(52,1455.79); h_SL3L370->SetBinContent(53,1344.197); h_SL3L370->SetBinContent(54,1336.588); h_SL3L370->SetBinContent(55,1148.908); h_SL3L370->SetBinContent(56,1250.356); h_SL3L370->SetBinContent(57,1141.299); h_SL3L370->SetBinContent(58,986.5895); h_SL3L370->SetBinContent(59,996.7344); h_SL3L370->SetMaximum(85784.59); 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,294.2015); h_SL3L471->SetBinContent(3,289.1291); h_SL3L471->SetBinContent(4,301.8102); h_SL3L471->SetBinContent(5,289.1291); h_SL3L471->SetBinContent(6,314.4913); h_SL3L471->SetBinContent(7,418.4763); h_SL3L471->SetBinContent(8,410.8676); h_SL3L471->SetBinContent(9,375.3605); h_SL3L471->SetBinContent(10,441.3022); h_SL3L471->SetBinContent(11,459.0558); h_SL3L471->SetBinContent(12,502.1715); h_SL3L471->SetBinContent(13,509.7802); h_SL3L471->SetBinContent(14,601.0841); h_SL3L471->SetBinContent(15,743.1124); h_SL3L471->SetBinContent(16,682.2432); h_SL3L471->SetBinContent(17,796.373); h_SL3L471->SetBinContent(18,819.199); h_SL3L471->SetBinContent(19,951.0825); h_SL3L471->SetBinContent(20,1090.575); h_SL3L471->SetBinContent(21,1227.53); h_SL3L471->SetBinContent(22,1448.182); h_SL3L471->SetBinContent(23,1531.877); h_SL3L471->SetBinContent(24,1623.181); h_SL3L471->SetBinContent(25,1864.122); h_SL3L471->SetBinContent(26,2183.685); h_SL3L471->SetBinContent(27,2482.959); h_SL3L471->SetBinContent(28,2792.378); h_SL3L471->SetBinContent(29,3218.463); h_SL3L471->SetBinContent(30,3692.736); h_SL3L471->SetBinContent(31,4265.922); h_SL3L471->SetBinContent(32,5224.613); h_SL3L471->SetBinContent(33,9533.65); h_SL3L471->SetBinContent(34,40024.09); h_SL3L471->SetBinContent(35,74595.3); h_SL3L471->SetBinContent(36,66355.12); h_SL3L471->SetBinContent(37,63844.26); h_SL3L471->SetBinContent(38,60308.77); h_SL3L471->SetBinContent(39,52015.33); h_SL3L471->SetBinContent(40,38532.79); h_SL3L471->SetBinContent(41,12523.85); h_SL3L471->SetBinContent(42,5523.887); h_SL3L471->SetBinContent(43,3459.404); h_SL3L471->SetBinContent(44,3048.536); h_SL3L471->SetBinContent(45,2848.175); h_SL3L471->SetBinContent(46,2411.945); h_SL3L471->SetBinContent(47,2259.772); h_SL3L471->SetBinContent(48,1970.643); h_SL3L471->SetBinContent(49,1727.166); h_SL3L471->SetBinContent(50,1815.933); h_SL3L471->SetBinContent(51,1564.848); h_SL3L471->SetBinContent(52,1526.804); h_SL3L471->SetBinContent(53,1344.197); h_SL3L471->SetBinContent(54,1405.066); h_SL3L471->SetBinContent(55,1224.994); h_SL3L471->SetBinContent(56,1103.256); h_SL3L471->SetBinContent(57,1260.501); h_SL3L471->SetBinContent(58,1006.879); h_SL3L471->SetBinContent(59,981.5171); h_SL3L471->SetMaximum(85784.59); 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 5393"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }