void RatesPerCell_Removing_noisy_cells_run_4981_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:16:51 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11730.58,67.5,105575.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 4981",60,0,60); h_SL1L160->SetBinContent(1,456.7752); h_SL1L160->SetBinContent(2,482.414); h_SL1L160->SetBinContent(3,514.7998); h_SL1L160->SetBinContent(4,481.7393); h_SL1L160->SetBinContent(5,508.0528); h_SL1L160->SetBinContent(6,516.1492); h_SL1L160->SetBinContent(7,524.2457); h_SL1L160->SetBinContent(8,562.7039); h_SL1L160->SetBinContent(9,613.9814); h_SL1L160->SetBinContent(10,642.9937); h_SL1L160->SetBinContent(11,763.0912); h_SL1L160->SetBinContent(12,744.1995); h_SL1L160->SetBinContent(13,854.1763); h_SL1L160->SetBinContent(14,956.7315); h_SL1L160->SetBinContent(15,864.9716); h_SL1L160->SetBinContent(16,860.9234); h_SL1L160->SetBinContent(17,964.1533); h_SL1L160->SetBinContent(18,1256.975); h_SL1L160->SetBinContent(19,1348.735); h_SL1L160->SetBinContent(20,1600.4); h_SL1L160->SetBinContent(21,1794.715); h_SL1L160->SetBinContent(22,1981.608); h_SL1L160->SetBinContent(23,2192.116); h_SL1L160->SetBinContent(24,2464.022); h_SL1L160->SetBinContent(25,2632.024); h_SL1L160->SetBinContent(26,2663.735); h_SL1L160->SetBinContent(27,3165.715); h_SL1L160->SetBinContent(28,3988.855); h_SL1L160->SetBinContent(29,4378.834); h_SL1L160->SetBinContent(30,4904.43); h_SL1L160->SetBinContent(31,7231.487); h_SL1L160->SetBinContent(32,13571.01); h_SL1L160->SetBinContent(33,64108.43); h_SL1L160->SetBinContent(34,66224.98); h_SL1L160->SetBinContent(35,63874.98); h_SL1L160->SetBinContent(36,61647.78); h_SL1L160->SetBinContent(37,56583.45); h_SL1L160->SetBinContent(38,45439.35); h_SL1L160->SetBinContent(39,26183.95); h_SL1L160->SetBinContent(40,6902.905); h_SL1L160->SetBinContent(41,4594.74); h_SL1L160->SetBinContent(42,3966.59); h_SL1L160->SetBinContent(43,3487.549); h_SL1L160->SetBinContent(44,3179.884); h_SL1L160->SetBinContent(45,2914.05); h_SL1L160->SetBinContent(46,2783.157); h_SL1L160->SetBinContent(47,2596.939); h_SL1L160->SetBinContent(48,2341.226); h_SL1L160->SetBinContent(49,2149.61); h_SL1L160->SetBinContent(50,1924.258); h_SL1L160->SetBinContent(51,1725.22); h_SL1L160->SetBinContent(52,1682.039); h_SL1L160->SetBinContent(53,1656.4); h_SL1L160->SetBinContent(54,1568.689); h_SL1L160->SetBinContent(55,1511.339); h_SL1L160->SetBinContent(56,1494.471); h_SL1L160->SetBinContent(57,1478.278); h_SL1L160->SetBinContent(58,1490.423); h_SL1L160->SetBinContent(59,1435.097); h_SL1L160->SetMaximum(93844.6); 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,415.6182); h_SL1L261->SetBinContent(2,414.2688); h_SL1L261->SetBinContent(3,428.4376); h_SL1L261->SetBinContent(4,421.6905); h_SL1L261->SetBinContent(5,477.691); h_SL1L261->SetBinContent(6,479.0404); h_SL1L261->SetBinContent(7,489.8357); h_SL1L261->SetBinContent(8,471.6187); h_SL1L261->SetBinContent(9,526.9445); h_SL1L261->SetBinContent(10,569.4509); h_SL1L261->SetBinContent(11,667.2831); h_SL1L261->SetBinContent(12,685.5001); h_SL1L261->SetBinContent(13,768.4888); h_SL1L261->SetBinContent(14,821.1158); h_SL1L261->SetBinContent(15,873.7428); h_SL1L261->SetBinContent(16,767.1394); h_SL1L261->SetBinContent(17,903.4298); h_SL1L261->SetBinContent(18,1064.01); h_SL1L261->SetBinContent(19,1303.53); h_SL1L261->SetBinContent(20,1404.061); h_SL1L261->SetBinContent(21,1627.388); h_SL1L261->SetBinContent(22,1818.33); h_SL1L261->SetBinContent(23,2027.488); h_SL1L261->SetBinContent(24,2265.659); h_SL1L261->SetBinContent(25,2547.011); h_SL1L261->SetBinContent(26,2524.746); h_SL1L261->SetBinContent(27,2891.785); h_SL1L261->SetBinContent(28,3665.671); h_SL1L261->SetBinContent(29,4169.676); h_SL1L261->SetBinContent(30,4457.775); h_SL1L261->SetBinContent(31,5390.217); h_SL1L261->SetBinContent(32,9992.379); h_SL1L261->SetBinContent(33,37954.17); h_SL1L261->SetBinContent(34,70076.2); h_SL1L261->SetBinContent(35,64940.34); h_SL1L261->SetBinContent(36,63818.98); h_SL1L261->SetBinContent(37,60747.73); h_SL1L261->SetBinContent(38,52118.93); h_SL1L261->SetBinContent(39,38382.61); h_SL1L261->SetBinContent(40,12172.35); h_SL1L261->SetBinContent(41,5985.307); h_SL1L261->SetBinContent(42,4071.844); h_SL1L261->SetBinContent(43,3589.43); h_SL1L261->SetBinContent(44,3220.366); h_SL1L261->SetBinContent(45,3026.051); h_SL1L261->SetBinContent(46,2732.555); h_SL1L261->SetBinContent(47,2590.867); h_SL1L261->SetBinContent(48,2441.757); h_SL1L261->SetBinContent(49,12351.15); h_SL1L261->SetBinContent(50,1966.09); h_SL1L261->SetBinContent(51,1791.341); h_SL1L261->SetBinContent(52,1644.93); h_SL1L261->SetBinContent(53,1625.364); h_SL1L261->SetBinContent(54,1556.544); h_SL1L261->SetBinContent(55,1466.134); h_SL1L261->SetBinContent(56,1941.801); h_SL1L261->SetBinContent(57,1473.555); h_SL1L261->SetBinContent(58,1509.315); h_SL1L261->SetBinContent(59,1393.266); h_SL1L261->SetMaximum(81604.84); 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,359.6177); h_SL1L362->SetBinContent(2,369.0635); h_SL1L362->SetBinContent(3,404.8229); h_SL1L362->SetBinContent(4,398.0759); h_SL1L362->SetBinContent(5,444.6305); h_SL1L362->SetBinContent(6,416.9676); h_SL1L362->SetBinContent(7,437.2087); h_SL1L362->SetBinContent(8,448.004); h_SL1L362->SetBinContent(9,523.571); h_SL1L362->SetBinContent(10,556.6315); h_SL1L362->SetBinContent(11,638.2708); h_SL1L362->SetBinContent(12,642.9937); h_SL1L362->SetBinContent(13,717.2112); h_SL1L362->SetBinContent(14,833.9352); h_SL1L362->SetBinContent(15,763.7659); h_SL1L362->SetBinContent(16,808.9711); h_SL1L362->SetBinContent(17,883.8633); h_SL1L362->SetBinContent(18,1111.914); h_SL1L362->SetBinContent(19,1267.096); h_SL1L362->SetBinContent(20,1456.688); h_SL1L362->SetBinContent(21,1605.123); h_SL1L362->SetBinContent(22,1863.535); h_SL1L362->SetBinContent(23,2048.404); h_SL1L362->SetBinContent(24,2302.768); h_SL1L362->SetBinContent(25,2491.685); h_SL1L362->SetBinContent(26,2559.156); h_SL1L362->SetBinContent(27,3086.775); h_SL1L362->SetBinContent(28,3816.805); h_SL1L362->SetBinContent(29,4190.592); h_SL1L362->SetBinContent(30,4815.369); h_SL1L362->SetBinContent(31,7252.402); h_SL1L362->SetBinContent(32,13822.68); h_SL1L362->SetBinContent(33,65344.49); h_SL1L362->SetBinContent(34,67142.58); h_SL1L362->SetBinContent(35,64770.32); h_SL1L362->SetBinContent(36,62821.77); h_SL1L362->SetBinContent(37,57285.82); h_SL1L362->SetBinContent(38,45985.18); h_SL1L362->SetBinContent(39,26113.78); h_SL1L362->SetBinContent(40,6872.543); h_SL1L362->SetBinContent(41,4475.317); h_SL1L362->SetBinContent(42,3780.371); h_SL1L362->SetBinContent(43,3302.68); h_SL1L362->SetBinContent(44,2977.472); h_SL1L362->SetBinContent(45,2756.169); h_SL1L362->SetBinContent(46,2544.987); h_SL1L362->SetBinContent(47,2392.503); h_SL1L362->SetBinContent(48,2139.489); h_SL1L362->SetBinContent(49,2014.669); h_SL1L362->SetBinContent(50,1839.245); h_SL1L362->SetBinContent(51,1675.967); h_SL1L362->SetBinContent(52,1652.352); h_SL1L362->SetBinContent(53,2724.458); h_SL1L362->SetBinContent(54,1521.459); h_SL1L362->SetBinContent(55,1435.097); h_SL1L362->SetBinContent(56,2823.64); h_SL1L362->SetBinContent(57,1423.627); h_SL1L362->SetBinContent(58,1441.844); h_SL1L362->SetBinContent(59,1346.711); h_SL1L362->SetMaximum(81604.84); 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,349.4971); h_SL1L463->SetBinContent(3,362.3165); h_SL1L463->SetBinContent(4,361.6418); h_SL1L463->SetBinContent(5,413.5941); h_SL1L463->SetBinContent(6,410.8953); h_SL1L463->SetBinContent(7,420.3411); h_SL1L463->SetBinContent(8,410.2206); h_SL1L463->SetBinContent(9,476.3416); h_SL1L463->SetBinContent(10,514.7998); h_SL1L463->SetBinContent(11,547.1856); h_SL1L463->SetBinContent(12,581.5956); h_SL1L463->SetBinContent(13,651.7649); h_SL1L463->SetBinContent(14,744.1995); h_SL1L463->SetBinContent(15,742.85); h_SL1L463->SetBinContent(16,723.2836); h_SL1L463->SetBinContent(17,816.3929); h_SL1L463->SetBinContent(18,974.9485); h_SL1L463->SetBinContent(19,1157.119); h_SL1L463->SetBinContent(20,1283.289); h_SL1L463->SetBinContent(21,1478.953); h_SL1L463->SetBinContent(22,1640.882); h_SL1L463->SetBinContent(23,1850.041); h_SL1L463->SetBinContent(24,2122.621); h_SL1L463->SetBinContent(25,2350.672); h_SL1L463->SetBinContent(26,2352.021); h_SL1L463->SetBinContent(27,2713.663); h_SL1L463->SetBinContent(28,3386.344); h_SL1L463->SetBinContent(29,3940.276); h_SL1L463->SetBinContent(30,4366.69); h_SL1L463->SetBinContent(31,5209.396); h_SL1L463->SetBinContent(32,9847.992); h_SL1L463->SetBinContent(33,37740.29); h_SL1L463->SetBinContent(34,70960.73); h_SL1L463->SetBinContent(35,65472.68); h_SL1L463->SetBinContent(36,64351.32); h_SL1L463->SetBinContent(37,61203.15); h_SL1L463->SetBinContent(38,52423.22); h_SL1L463->SetBinContent(39,38823.87); h_SL1L463->SetBinContent(40,12245.22); h_SL1L463->SetBinContent(41,5865.884); h_SL1L463->SetBinContent(42,4008.422); h_SL1L463->SetBinContent(43,3465.959); h_SL1L463->SetBinContent(44,3100.269); h_SL1L463->SetBinContent(45,2797.326); h_SL1L463->SetBinContent(46,2549.035); h_SL1L463->SetBinContent(47,2399.925); h_SL1L463->SetBinContent(48,2216.406); h_SL1L463->SetBinContent(49,1982.958); h_SL1L463->SetBinContent(50,1916.162); h_SL1L463->SetBinContent(51,1744.112); h_SL1L463->SetBinContent(52,1591.629); h_SL1L463->SetBinContent(53,1547.773); h_SL1L463->SetBinContent(54,1521.459); h_SL1L463->SetBinContent(55,0.6747048); h_SL1L463->SetBinContent(56,1384.494); h_SL1L463->SetBinContent(57,1412.157); h_SL1L463->SetBinContent(58,1400.687); h_SL1L463->SetBinContent(59,1393.94); h_SL1L463->SetMaximum(81604.84); 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.3744221,0.9362587,0.6255779,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL1, run 4981"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }