void RatesPerCell_Removing_noisy_cells_run_6647_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:05:40 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12512.58,67.5,112613.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 6647",60,0,60); h_SL1L160->SetBinContent(1,9413.148); h_SL1L160->SetBinContent(2,9128.168); h_SL1L160->SetBinContent(3,9720.052); h_SL1L160->SetBinContent(4,9068.979); h_SL1L160->SetBinContent(5,8990.062); h_SL1L160->SetBinContent(6,9691.554); h_SL1L160->SetBinContent(7,9211.47); h_SL1L160->SetBinContent(8,9279.427); h_SL1L160->SetBinContent(9,8678.774); h_SL1L160->SetBinContent(10,7924.67); h_SL1L160->SetBinContent(11,7883.019); h_SL1L160->SetBinContent(12,8192.114); h_SL1L160->SetBinContent(13,8834.418); h_SL1L160->SetBinContent(14,8716.041); h_SL1L160->SetBinContent(15,8610.817); h_SL1L160->SetBinContent(16,8082.506); h_SL1L160->SetBinContent(17,8588.896); h_SL1L160->SetBinContent(18,9099.67); h_SL1L160->SetBinContent(19,9494.259); h_SL1L160->SetBinContent(20,9612.636); h_SL1L160->SetBinContent(21,9976.535); h_SL1L160->SetBinContent(22,10478.54); h_SL1L160->SetBinContent(23,10134.37); h_SL1L160->SetBinContent(24,10186.98); h_SL1L160->SetBinContent(25,10276.86); h_SL1L160->SetBinContent(26,9886.656); h_SL1L160->SetBinContent(27,10129.99); h_SL1L160->SetBinContent(28,10835.86); h_SL1L160->SetBinContent(29,11085.77); h_SL1L160->SetBinContent(30,11015.62); h_SL1L160->SetBinContent(31,11622.85); h_SL1L160->SetBinContent(32,14639.27); h_SL1L160->SetBinContent(33,38281.75); h_SL1L160->SetBinContent(34,54148.62); h_SL1L160->SetBinContent(35,57750.35); h_SL1L160->SetBinContent(36,60231.88); h_SL1L160->SetBinContent(37,64497.83); h_SL1L160->SetBinContent(38,60988.17); h_SL1L160->SetBinContent(39,40627.36); h_SL1L160->SetBinContent(40,14082.46); h_SL1L160->SetBinContent(41,11085.77); h_SL1L160->SetBinContent(42,10243.98); h_SL1L160->SetBinContent(43,9831.853); h_SL1L160->SetBinContent(44,9505.22); h_SL1L160->SetBinContent(45,9068.979); h_SL1L160->SetBinContent(46,8617.394); h_SL1L160->SetBinContent(47,8531.899); h_SL1L160->SetBinContent(48,7850.137); h_SL1L160->SetBinContent(49,7758.065); h_SL1L160->SetBinContent(50,8178.961); h_SL1L160->SetBinContent(51,7492.814); h_SL1L160->SetBinContent(52,7306.48); h_SL1L160->SetBinContent(53,7505.967); h_SL1L160->SetBinContent(54,7142.068); h_SL1L160->SetBinContent(55,7580.5); h_SL1L160->SetBinContent(56,7367.861); h_SL1L160->SetBinContent(57,7738.336); h_SL1L160->SetBinContent(58,7681.34); h_SL1L160->SetBinContent(59,7841.368); h_SL1L160->SetMaximum(100100.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,9779.24); h_SL1L261->SetBinContent(2,9406.572); h_SL1L261->SetBinContent(3,9630.173); h_SL1L261->SetBinContent(4,9581.945); h_SL1L261->SetBinContent(5,9625.789); h_SL1L261->SetBinContent(6,10276.86); h_SL1L261->SetBinContent(7,9570.984); h_SL1L261->SetBinContent(8,9678.4); h_SL1L261->SetBinContent(9,9542.486); h_SL1L261->SetBinContent(10,8505.594); h_SL1L261->SetBinContent(11,8310.491); h_SL1L261->SetBinContent(12,8683.158); h_SL1L261->SetBinContent(13,8632.739); h_SL1L261->SetBinContent(14,9441.647); h_SL1L261->SetBinContent(15,9584.138); h_SL1L261->SetBinContent(16,9415.341); h_SL1L261->SetBinContent(17,9384.65); h_SL1L261->SetBinContent(18,9908.578); h_SL1L261->SetBinContent(19,10171.64); h_SL1L261->SetBinContent(20,10761.33); h_SL1L261->SetBinContent(21,10973.97); h_SL1L261->SetBinContent(22,11403.63); h_SL1L261->SetBinContent(23,11636); h_SL1L261->SetBinContent(24,11662.31); h_SL1L261->SetBinContent(25,11734.65); h_SL1L261->SetBinContent(26,11416.79); h_SL1L261->SetBinContent(27,11186.61); h_SL1L261->SetBinContent(28,11741.23); h_SL1L261->SetBinContent(29,12405.45); h_SL1L261->SetBinContent(30,12751.81); h_SL1L261->SetBinContent(31,13315.2); h_SL1L261->SetBinContent(32,15932.64); h_SL1L261->SetBinContent(33,27570.84); h_SL1L261->SetBinContent(34,58397.04); h_SL1L261->SetBinContent(35,66663.69); h_SL1L261->SetBinContent(36,72122.17); h_SL1L261->SetBinContent(37,75691.02); h_SL1L261->SetBinContent(38,74943.48); h_SL1L261->SetBinContent(39,62820.82); h_SL1L261->SetBinContent(40,26685.2); h_SL1L261->SetBinContent(41,15336.37); h_SL1L261->SetBinContent(42,12098.55); h_SL1L261->SetBinContent(43,11219.49); h_SL1L261->SetBinContent(44,10684.6); h_SL1L261->SetBinContent(45,10342.63); h_SL1L261->SetBinContent(46,10384.28); h_SL1L261->SetBinContent(47,10213.29); h_SL1L261->SetBinContent(48,9794.585); h_SL1L261->SetBinContent(49,20549.34); h_SL1L261->SetBinContent(50,9395.611); h_SL1L261->SetBinContent(51,9244.353); h_SL1L261->SetBinContent(52,8753.308); h_SL1L261->SetBinContent(53,9108.438); h_SL1L261->SetBinContent(54,8858.531); h_SL1L261->SetBinContent(55,8913.336); h_SL1L261->SetBinContent(56,12133.62); h_SL1L261->SetBinContent(57,8242.534); h_SL1L261->SetBinContent(58,8047.431); h_SL1L261->SetBinContent(59,8058.392); h_SL1L261->SetMaximum(87044.67); 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,1861.147); h_SL1L362->SetBinContent(2,1808.535); h_SL1L362->SetBinContent(3,1747.154); h_SL1L362->SetBinContent(4,1946.641); h_SL1L362->SetBinContent(5,1681.389); h_SL1L362->SetBinContent(6,1931.296); h_SL1L362->SetBinContent(7,1872.107); h_SL1L362->SetBinContent(8,1865.531); h_SL1L362->SetBinContent(9,1679.197); h_SL1L362->SetBinContent(10,1628.777); h_SL1L362->SetBinContent(11,1626.585); h_SL1L362->SetBinContent(12,1712.079); h_SL1L362->SetBinContent(13,1869.915); h_SL1L362->SetBinContent(14,1705.503); h_SL1L362->SetBinContent(15,1839.225); h_SL1L362->SetBinContent(16,1729.617); h_SL1L362->SetBinContent(17,1749.346); h_SL1L362->SetBinContent(18,1672.62); h_SL1L362->SetBinContent(19,1780.036); h_SL1L362->SetBinContent(20,1953.217); h_SL1L362->SetBinContent(21,2089.132); h_SL1L362->SetBinContent(22,1937.872); h_SL1L362->SetBinContent(23,1968.563); h_SL1L362->SetBinContent(24,1872.107); h_SL1L362->SetBinContent(25,1744.962); h_SL1L362->SetBinContent(26,1615.624); h_SL1L362->SetBinContent(27,1929.104); h_SL1L362->SetBinContent(28,1600.279); h_SL1L362->SetBinContent(29,1946.641); h_SL1L362->SetBinContent(30,1898.413); h_SL1L362->SetBinContent(31,1944.449); h_SL1L362->SetBinContent(32,1975.139); h_SL1L362->SetBinContent(33,2924.346); h_SL1L362->SetBinContent(34,4029.196); h_SL1L362->SetBinContent(35,4274.718); h_SL1L362->SetBinContent(36,4333.907); h_SL1L362->SetBinContent(37,4553.123); h_SL1L362->SetBinContent(38,4033.58); h_SL1L362->SetBinContent(39,3411.006); h_SL1L362->SetBinContent(40,1725.232); h_SL1L362->SetBinContent(41,1679.197); h_SL1L362->SetBinContent(42,1874.3); h_SL1L362->SetBinContent(43,1758.115); h_SL1L362->SetBinContent(44,1698.927); h_SL1L362->SetBinContent(45,1519.169); h_SL1L362->SetBinContent(46,1580.55); h_SL1L362->SetBinContent(47,1736.193); h_SL1L362->SetBinContent(48,1302.145); h_SL1L362->SetBinContent(49,1554.244); h_SL1L362->SetBinContent(50,1512.593); h_SL1L362->SetBinContent(51,1462.173); h_SL1L362->SetBinContent(52,1424.906); h_SL1L362->SetBinContent(53,4513.664); h_SL1L362->SetBinContent(54,1350.373); h_SL1L362->SetBinContent(55,1335.027); h_SL1L362->SetBinContent(56,5988.99); h_SL1L362->SetBinContent(57,1635.354); h_SL1L362->SetBinContent(58,1324.067); h_SL1L362->SetBinContent(59,1324.067); h_SL1L362->SetMaximum(87044.67); 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,8602.049); h_SL1L463->SetBinContent(3,8146.079); h_SL1L463->SetBinContent(4,8284.185); h_SL1L463->SetBinContent(5,8071.545); h_SL1L463->SetBinContent(6,9084.324); h_SL1L463->SetBinContent(7,8527.515); h_SL1L463->SetBinContent(8,8501.209); h_SL1L463->SetBinContent(9,8251.303); h_SL1L463->SetBinContent(10,7448.971); h_SL1L463->SetBinContent(11,7508.159); h_SL1L463->SetBinContent(12,7729.567); h_SL1L463->SetBinContent(13,8014.549); h_SL1L463->SetBinContent(14,8505.594); h_SL1L463->SetBinContent(15,8395.985); h_SL1L463->SetBinContent(16,8093.467); h_SL1L463->SetBinContent(17,8150.463); h_SL1L463->SetBinContent(18,8251.303); h_SL1L463->SetBinContent(19,8694.119); h_SL1L463->SetBinContent(20,8665.621); h_SL1L463->SetBinContent(21,9492.066); h_SL1L463->SetBinContent(22,9215.854); h_SL1L463->SetBinContent(23,9332.039); h_SL1L463->SetBinContent(24,9595.099); h_SL1L463->SetBinContent(25,9068.979); h_SL1L463->SetBinContent(26,9535.91); h_SL1L463->SetBinContent(27,9115.015); h_SL1L463->SetBinContent(28,9415.341); h_SL1L463->SetBinContent(29,9849.39); h_SL1L463->SetBinContent(30,10375.51); h_SL1L463->SetBinContent(31,11066.04); h_SL1L463->SetBinContent(32,12800.04); h_SL1L463->SetBinContent(33,21825.18); h_SL1L463->SetBinContent(34,51395.27); h_SL1L463->SetBinContent(35,61435.38); h_SL1L463->SetBinContent(36,65436.07); h_SL1L463->SetBinContent(37,66992.51); h_SL1L463->SetBinContent(38,66177.02); h_SL1L463->SetBinContent(39,57695.54); h_SL1L463->SetBinContent(40,22973.87); h_SL1L463->SetBinContent(41,12368.18); h_SL1L463->SetBinContent(42,10287.82); h_SL1L463->SetBinContent(43,9415.341); h_SL1L463->SetBinContent(44,9211.47); h_SL1L463->SetBinContent(45,8231.573); h_SL1L463->SetBinContent(46,8630.547); h_SL1L463->SetBinContent(47,8233.765); h_SL1L463->SetBinContent(48,7924.67); h_SL1L463->SetBinContent(49,7416.088); h_SL1L463->SetBinContent(50,7253.868); h_SL1L463->SetBinContent(51,7192.488); h_SL1L463->SetBinContent(52,6490.995); h_SL1L463->SetBinContent(53,6374.811); h_SL1L463->SetBinContent(54,6607.18); h_SL1L463->SetBinContent(55,6.576489); h_SL1L463->SetBinContent(56,6482.227); h_SL1L463->SetBinContent(57,6778.169); h_SL1L463->SetBinContent(58,6771.592); h_SL1L463->SetBinContent(59,6771.592); h_SL1L463->SetMaximum(87044.67); 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 6647"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }