void RatesPerCell_Removing_noisy_cells_run_6762_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:14:06 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11478.58,67.5,103307.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 6762",60,0,60); h_SL1L160->SetBinContent(1,297.619); h_SL1L160->SetBinContent(2,404.7619); h_SL1L160->SetBinContent(3,416.6667); h_SL1L160->SetBinContent(4,461.9048); h_SL1L160->SetBinContent(5,421.4286); h_SL1L160->SetBinContent(6,476.1905); h_SL1L160->SetBinContent(7,421.4286); h_SL1L160->SetBinContent(8,476.1905); h_SL1L160->SetBinContent(9,492.8571); h_SL1L160->SetBinContent(10,611.9048); h_SL1L160->SetBinContent(11,709.5238); h_SL1L160->SetBinContent(12,754.7619); h_SL1L160->SetBinContent(13,773.8095); h_SL1L160->SetBinContent(14,850); h_SL1L160->SetBinContent(15,778.5714); h_SL1L160->SetBinContent(16,771.4286); h_SL1L160->SetBinContent(17,964.2857); h_SL1L160->SetBinContent(18,1245.238); h_SL1L160->SetBinContent(19,1292.857); h_SL1L160->SetBinContent(20,1400); h_SL1L160->SetBinContent(21,1595.238); h_SL1L160->SetBinContent(22,1711.905); h_SL1L160->SetBinContent(23,1814.286); h_SL1L160->SetBinContent(24,2042.857); h_SL1L160->SetBinContent(25,2061.905); h_SL1L160->SetBinContent(26,2052.381); h_SL1L160->SetBinContent(27,2283.333); h_SL1L160->SetBinContent(28,3164.286); h_SL1L160->SetBinContent(29,3350); h_SL1L160->SetBinContent(30,3854.762); h_SL1L160->SetBinContent(31,4890.476); h_SL1L160->SetBinContent(32,8797.619); h_SL1L160->SetBinContent(33,37402.38); h_SL1L160->SetBinContent(34,54097.62); h_SL1L160->SetBinContent(35,59580.95); h_SL1L160->SetBinContent(36,64361.9); h_SL1L160->SetBinContent(37,67380.95); h_SL1L160->SetBinContent(38,61371.43); h_SL1L160->SetBinContent(39,38878.57); h_SL1L160->SetBinContent(40,9135.714); h_SL1L160->SetBinContent(41,5452.381); h_SL1L160->SetBinContent(42,4464.286); h_SL1L160->SetBinContent(43,3733.333); h_SL1L160->SetBinContent(44,3511.905); h_SL1L160->SetBinContent(45,3259.524); h_SL1L160->SetBinContent(46,2992.857); h_SL1L160->SetBinContent(47,2676.19); h_SL1L160->SetBinContent(48,2426.19); h_SL1L160->SetBinContent(49,2369.048); h_SL1L160->SetBinContent(50,2123.81); h_SL1L160->SetBinContent(51,1950); h_SL1L160->SetBinContent(52,1919.048); h_SL1L160->SetBinContent(53,1752.381); h_SL1L160->SetBinContent(54,1740.476); h_SL1L160->SetBinContent(55,1566.667); h_SL1L160->SetBinContent(56,1390.476); h_SL1L160->SetBinContent(57,1511.905); h_SL1L160->SetBinContent(58,1511.905); h_SL1L160->SetBinContent(59,1352.381); h_SL1L160->SetMaximum(91828.65); 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,233.3333); h_SL1L261->SetBinContent(2,340.4762); h_SL1L261->SetBinContent(3,388.0952); h_SL1L261->SetBinContent(4,357.1429); h_SL1L261->SetBinContent(5,350); h_SL1L261->SetBinContent(6,426.1905); h_SL1L261->SetBinContent(7,395.2381); h_SL1L261->SetBinContent(8,345.2381); h_SL1L261->SetBinContent(9,404.7619); h_SL1L261->SetBinContent(10,502.381); h_SL1L261->SetBinContent(11,597.619); h_SL1L261->SetBinContent(12,588.0952); h_SL1L261->SetBinContent(13,661.9048); h_SL1L261->SetBinContent(14,809.5238); h_SL1L261->SetBinContent(15,735.7143); h_SL1L261->SetBinContent(16,730.9524); h_SL1L261->SetBinContent(17,847.619); h_SL1L261->SetBinContent(18,1040.476); h_SL1L261->SetBinContent(19,1190.476); h_SL1L261->SetBinContent(20,1152.381); h_SL1L261->SetBinContent(21,1435.714); h_SL1L261->SetBinContent(22,1619.048); h_SL1L261->SetBinContent(23,1614.286); h_SL1L261->SetBinContent(24,1759.524); h_SL1L261->SetBinContent(25,1938.095); h_SL1L261->SetBinContent(26,1914.286); h_SL1L261->SetBinContent(27,2135.714); h_SL1L261->SetBinContent(28,2685.714); h_SL1L261->SetBinContent(29,3142.857); h_SL1L261->SetBinContent(30,3309.524); h_SL1L261->SetBinContent(31,4023.81); h_SL1L261->SetBinContent(32,7038.095); h_SL1L261->SetBinContent(33,19430.95); h_SL1L261->SetBinContent(34,50600); h_SL1L261->SetBinContent(35,59490.48); h_SL1L261->SetBinContent(36,64376.19); h_SL1L261->SetBinContent(37,67678.57); h_SL1L261->SetBinContent(38,66971.43); h_SL1L261->SetBinContent(39,54957.14); h_SL1L261->SetBinContent(40,18857.14); h_SL1L261->SetBinContent(41,7559.524); h_SL1L261->SetBinContent(42,4600); h_SL1L261->SetBinContent(43,4109.524); h_SL1L261->SetBinContent(44,3611.905); h_SL1L261->SetBinContent(45,3264.286); h_SL1L261->SetBinContent(46,3130.952); h_SL1L261->SetBinContent(47,2761.905); h_SL1L261->SetBinContent(48,2423.81); h_SL1L261->SetBinContent(49,14326.19); h_SL1L261->SetBinContent(50,2102.381); h_SL1L261->SetBinContent(51,2014.286); h_SL1L261->SetBinContent(52,1790.476); h_SL1L261->SetBinContent(53,1971.429); h_SL1L261->SetBinContent(54,1607.143); h_SL1L261->SetBinContent(55,1597.619); h_SL1L261->SetBinContent(56,5128.571); h_SL1L261->SetBinContent(57,1473.81); h_SL1L261->SetBinContent(58,1440.476); h_SL1L261->SetBinContent(59,1314.286); h_SL1L261->SetMaximum(79851.07); 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,278.5714); h_SL1L362->SetBinContent(2,342.8571); h_SL1L362->SetBinContent(3,259.5238); h_SL1L362->SetBinContent(4,397.619); h_SL1L362->SetBinContent(5,283.3333); h_SL1L362->SetBinContent(6,385.7143); h_SL1L362->SetBinContent(7,311.9048); h_SL1L362->SetBinContent(8,354.7619); h_SL1L362->SetBinContent(9,397.619); h_SL1L362->SetBinContent(10,500); h_SL1L362->SetBinContent(11,554.7619); h_SL1L362->SetBinContent(12,607.1428); h_SL1L362->SetBinContent(13,671.4286); h_SL1L362->SetBinContent(14,735.7143); h_SL1L362->SetBinContent(15,711.9048); h_SL1L362->SetBinContent(16,721.4286); h_SL1L362->SetBinContent(17,852.3809); h_SL1L362->SetBinContent(18,1030.952); h_SL1L362->SetBinContent(19,1109.524); h_SL1L362->SetBinContent(20,1209.524); h_SL1L362->SetBinContent(21,1395.238); h_SL1L362->SetBinContent(22,1376.19); h_SL1L362->SetBinContent(23,1614.286); h_SL1L362->SetBinContent(24,1719.048); h_SL1L362->SetBinContent(25,1850); h_SL1L362->SetBinContent(26,1866.667); h_SL1L362->SetBinContent(27,2216.667); h_SL1L362->SetBinContent(28,2847.619); h_SL1L362->SetBinContent(29,3135.714); h_SL1L362->SetBinContent(30,3540.476); h_SL1L362->SetBinContent(31,4852.381); h_SL1L362->SetBinContent(32,9009.523); h_SL1L362->SetBinContent(33,38366.67); h_SL1L362->SetBinContent(34,56069.05); h_SL1L362->SetBinContent(35,61540.48); h_SL1L362->SetBinContent(36,66207.14); h_SL1L362->SetBinContent(37,69435.71); h_SL1L362->SetBinContent(38,62138.09); h_SL1L362->SetBinContent(39,39869.05); h_SL1L362->SetBinContent(40,9042.857); h_SL1L362->SetBinContent(41,5285.714); h_SL1L362->SetBinContent(42,4238.095); h_SL1L362->SetBinContent(43,3411.905); h_SL1L362->SetBinContent(44,3259.524); h_SL1L362->SetBinContent(45,3016.667); h_SL1L362->SetBinContent(46,2795.238); h_SL1L362->SetBinContent(47,2457.143); h_SL1L362->SetBinContent(48,2204.762); h_SL1L362->SetBinContent(49,2169.048); h_SL1L362->SetBinContent(50,1930.952); h_SL1L362->SetBinContent(51,1780.952); h_SL1L362->SetBinContent(52,1654.762); h_SL1L362->SetBinContent(53,4145.238); h_SL1L362->SetBinContent(54,1614.286); h_SL1L362->SetBinContent(55,1516.667); h_SL1L362->SetBinContent(56,5052.381); h_SL1L362->SetBinContent(57,1626.19); h_SL1L362->SetBinContent(58,1385.714); h_SL1L362->SetBinContent(59,1223.81); h_SL1L362->SetMaximum(79851.07); 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,247.619); h_SL1L463->SetBinContent(3,290.4762); h_SL1L463->SetBinContent(4,254.7619); h_SL1L463->SetBinContent(5,273.8095); h_SL1L463->SetBinContent(6,285.7143); h_SL1L463->SetBinContent(7,295.2381); h_SL1L463->SetBinContent(8,280.9524); h_SL1L463->SetBinContent(9,300); h_SL1L463->SetBinContent(10,359.5238); h_SL1L463->SetBinContent(11,464.2857); h_SL1L463->SetBinContent(12,469.0476); h_SL1L463->SetBinContent(13,480.9524); h_SL1L463->SetBinContent(14,640.4762); h_SL1L463->SetBinContent(15,542.8571); h_SL1L463->SetBinContent(16,564.2857); h_SL1L463->SetBinContent(17,661.9048); h_SL1L463->SetBinContent(18,788.0952); h_SL1L463->SetBinContent(19,842.8571); h_SL1L463->SetBinContent(20,911.9047); h_SL1L463->SetBinContent(21,1064.286); h_SL1L463->SetBinContent(22,1171.429); h_SL1L463->SetBinContent(23,1238.095); h_SL1L463->SetBinContent(24,1300); h_SL1L463->SetBinContent(25,1376.19); h_SL1L463->SetBinContent(26,1497.619); h_SL1L463->SetBinContent(27,1671.429); h_SL1L463->SetBinContent(28,2283.333); h_SL1L463->SetBinContent(29,2459.524); h_SL1L463->SetBinContent(30,2835.714); h_SL1L463->SetBinContent(31,3280.952); h_SL1L463->SetBinContent(32,5611.905); h_SL1L463->SetBinContent(33,15421.43); h_SL1L463->SetBinContent(34,45564.29); h_SL1L463->SetBinContent(35,55147.62); h_SL1L463->SetBinContent(36,57421.43); h_SL1L463->SetBinContent(37,57347.62); h_SL1L463->SetBinContent(38,58716.67); h_SL1L463->SetBinContent(39,50840.48); h_SL1L463->SetBinContent(40,16454.76); h_SL1L463->SetBinContent(41,6311.905); h_SL1L463->SetBinContent(42,4045.238); h_SL1L463->SetBinContent(43,3280.952); h_SL1L463->SetBinContent(44,3002.381); h_SL1L463->SetBinContent(45,2647.619); h_SL1L463->SetBinContent(46,2571.428); h_SL1L463->SetBinContent(47,2230.952); h_SL1L463->SetBinContent(48,1976.19); h_SL1L463->SetBinContent(49,1752.381); h_SL1L463->SetBinContent(50,1635.714); h_SL1L463->SetBinContent(51,1576.19); h_SL1L463->SetBinContent(52,1326.19); h_SL1L463->SetBinContent(53,1316.667); h_SL1L463->SetBinContent(54,1326.19); h_SL1L463->SetBinContent(55,2.380952); h_SL1L463->SetBinContent(56,1102.381); h_SL1L463->SetBinContent(57,1107.143); h_SL1L463->SetBinContent(58,1166.667); h_SL1L463->SetBinContent(59,1066.667); h_SL1L463->SetMaximum(79851.07); 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 6762"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }