void RatesPerCell_Removing_noisy_cells_run_6556_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:20:30 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11262.67,67.5,101364); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6556",60,0,60); h_SL1L160->SetBinContent(1,420); h_SL1L160->SetBinContent(2,462.8571); h_SL1L160->SetBinContent(3,462.8571); h_SL1L160->SetBinContent(4,452.8571); h_SL1L160->SetBinContent(5,427.1429); h_SL1L160->SetBinContent(6,488.5714); h_SL1L160->SetBinContent(7,490); h_SL1L160->SetBinContent(8,564.2857); h_SL1L160->SetBinContent(9,588.5715); h_SL1L160->SetBinContent(10,711.4286); h_SL1L160->SetBinContent(11,721.4286); h_SL1L160->SetBinContent(12,814.2857); h_SL1L160->SetBinContent(13,858.5715); h_SL1L160->SetBinContent(14,974.2858); h_SL1L160->SetBinContent(15,855.7143); h_SL1L160->SetBinContent(16,810); h_SL1L160->SetBinContent(17,1132.857); h_SL1L160->SetBinContent(18,1344.286); h_SL1L160->SetBinContent(19,1394.286); h_SL1L160->SetBinContent(20,1484.286); h_SL1L160->SetBinContent(21,1795.714); h_SL1L160->SetBinContent(22,1897.143); h_SL1L160->SetBinContent(23,2044.286); h_SL1L160->SetBinContent(24,2190); h_SL1L160->SetBinContent(25,2185.714); h_SL1L160->SetBinContent(26,2197.143); h_SL1L160->SetBinContent(27,2377.143); h_SL1L160->SetBinContent(28,3178.572); h_SL1L160->SetBinContent(29,3572.857); h_SL1L160->SetBinContent(30,3951.429); h_SL1L160->SetBinContent(31,5274.286); h_SL1L160->SetBinContent(32,9271.429); h_SL1L160->SetBinContent(33,36931.43); h_SL1L160->SetBinContent(34,54371.43); h_SL1L160->SetBinContent(35,58862.86); h_SL1L160->SetBinContent(36,63761.43); h_SL1L160->SetBinContent(37,66912.86); h_SL1L160->SetBinContent(38,62002.86); h_SL1L160->SetBinContent(39,39155.71); h_SL1L160->SetBinContent(40,9308.571); h_SL1L160->SetBinContent(41,5441.429); h_SL1L160->SetBinContent(42,4374.286); h_SL1L160->SetBinContent(43,3860); h_SL1L160->SetBinContent(44,3668.572); h_SL1L160->SetBinContent(45,3260); h_SL1L160->SetBinContent(46,3017.143); h_SL1L160->SetBinContent(47,2978.572); h_SL1L160->SetBinContent(48,2561.429); h_SL1L160->SetBinContent(49,2511.429); h_SL1L160->SetBinContent(50,2361.429); h_SL1L160->SetBinContent(51,2144.286); h_SL1L160->SetBinContent(52,1941.429); h_SL1L160->SetBinContent(53,1931.429); h_SL1L160->SetBinContent(54,1775.714); h_SL1L160->SetBinContent(55,1772.857); h_SL1L160->SetBinContent(56,1712.857); h_SL1L160->SetBinContent(57,1672.857); h_SL1L160->SetBinContent(58,1567.143); h_SL1L160->SetBinContent(59,1585.714); h_SL1L160->SetMaximum(90101.35); 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,345.7143); h_SL1L261->SetBinContent(2,398.5714); h_SL1L261->SetBinContent(3,437.1429); h_SL1L261->SetBinContent(4,385.7143); h_SL1L261->SetBinContent(5,415.7143); h_SL1L261->SetBinContent(6,417.1429); h_SL1L261->SetBinContent(7,467.1429); h_SL1L261->SetBinContent(8,461.4286); h_SL1L261->SetBinContent(9,581.4286); h_SL1L261->SetBinContent(10,567.1429); h_SL1L261->SetBinContent(11,597.1429); h_SL1L261->SetBinContent(12,720); h_SL1L261->SetBinContent(13,741.4286); h_SL1L261->SetBinContent(14,851.4286); h_SL1L261->SetBinContent(15,814.2857); h_SL1L261->SetBinContent(16,768.5715); h_SL1L261->SetBinContent(17,991.4286); h_SL1L261->SetBinContent(18,1244.286); h_SL1L261->SetBinContent(19,1277.143); h_SL1L261->SetBinContent(20,1375.714); h_SL1L261->SetBinContent(21,1615.714); h_SL1L261->SetBinContent(22,1701.429); h_SL1L261->SetBinContent(23,1910); h_SL1L261->SetBinContent(24,2022.857); h_SL1L261->SetBinContent(25,2144.286); h_SL1L261->SetBinContent(26,2042.857); h_SL1L261->SetBinContent(27,2284.286); h_SL1L261->SetBinContent(28,2748.572); h_SL1L261->SetBinContent(29,3294.286); h_SL1L261->SetBinContent(30,3647.143); h_SL1L261->SetBinContent(31,4225.714); h_SL1L261->SetBinContent(32,7414.286); h_SL1L261->SetBinContent(33,19640); h_SL1L261->SetBinContent(34,51128.57); h_SL1L261->SetBinContent(35,58391.43); h_SL1L261->SetBinContent(36,63792.86); h_SL1L261->SetBinContent(37,68020); h_SL1L261->SetBinContent(38,67604.29); h_SL1L261->SetBinContent(39,55877.14); h_SL1L261->SetBinContent(40,19221.43); h_SL1L261->SetBinContent(41,7897.143); h_SL1L261->SetBinContent(42,4660); h_SL1L261->SetBinContent(43,4108.571); h_SL1L261->SetBinContent(44,3632.857); h_SL1L261->SetBinContent(45,3442.857); h_SL1L261->SetBinContent(46,3125.714); h_SL1L261->SetBinContent(47,2882.857); h_SL1L261->SetBinContent(48,2758.572); h_SL1L261->SetBinContent(49,11302.86); h_SL1L261->SetBinContent(50,2308.572); h_SL1L261->SetBinContent(51,2195.714); h_SL1L261->SetBinContent(52,2128.572); h_SL1L261->SetBinContent(53,1992.857); h_SL1L261->SetBinContent(54,1788.571); h_SL1L261->SetBinContent(55,1737.143); h_SL1L261->SetBinContent(56,4388.571); h_SL1L261->SetBinContent(57,1605.714); h_SL1L261->SetBinContent(58,1647.143); h_SL1L261->SetBinContent(59,1455.714); h_SL1L261->SetMaximum(78349.5); 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,320); h_SL1L362->SetBinContent(2,357.1429); h_SL1L362->SetBinContent(3,348.5714); h_SL1L362->SetBinContent(4,368.5714); h_SL1L362->SetBinContent(5,355.7143); h_SL1L362->SetBinContent(6,390); h_SL1L362->SetBinContent(7,411.4286); h_SL1L362->SetBinContent(8,482.8571); h_SL1L362->SetBinContent(9,500); h_SL1L362->SetBinContent(10,534.2857); h_SL1L362->SetBinContent(11,612.8572); h_SL1L362->SetBinContent(12,635.7143); h_SL1L362->SetBinContent(13,752.8572); h_SL1L362->SetBinContent(14,785.7143); h_SL1L362->SetBinContent(15,738.5715); h_SL1L362->SetBinContent(16,794.2857); h_SL1L362->SetBinContent(17,1002.857); h_SL1L362->SetBinContent(18,1127.143); h_SL1L362->SetBinContent(19,1201.429); h_SL1L362->SetBinContent(20,1332.857); h_SL1L362->SetBinContent(21,1561.429); h_SL1L362->SetBinContent(22,1567.143); h_SL1L362->SetBinContent(23,1761.429); h_SL1L362->SetBinContent(24,1960); h_SL1L362->SetBinContent(25,1970); h_SL1L362->SetBinContent(26,2034.286); h_SL1L362->SetBinContent(27,2300); h_SL1L362->SetBinContent(28,2912.857); h_SL1L362->SetBinContent(29,3310); h_SL1L362->SetBinContent(30,3734.286); h_SL1L362->SetBinContent(31,5121.429); h_SL1L362->SetBinContent(32,9390); h_SL1L362->SetBinContent(33,37574.29); h_SL1L362->SetBinContent(34,55482.86); h_SL1L362->SetBinContent(35,60220); h_SL1L362->SetBinContent(36,65545.72); h_SL1L362->SetBinContent(37,68130); h_SL1L362->SetBinContent(38,61791.43); h_SL1L362->SetBinContent(39,39812.86); h_SL1L362->SetBinContent(40,9394.286); h_SL1L362->SetBinContent(41,5270); h_SL1L362->SetBinContent(42,4291.429); h_SL1L362->SetBinContent(43,3681.429); h_SL1L362->SetBinContent(44,3414.286); h_SL1L362->SetBinContent(45,3091.429); h_SL1L362->SetBinContent(46,2818.572); h_SL1L362->SetBinContent(47,2720); h_SL1L362->SetBinContent(48,2341.429); h_SL1L362->SetBinContent(49,2267.143); h_SL1L362->SetBinContent(50,2197.143); h_SL1L362->SetBinContent(51,1978.572); h_SL1L362->SetBinContent(52,1824.286); h_SL1L362->SetBinContent(53,3495.714); h_SL1L362->SetBinContent(54,1672.857); h_SL1L362->SetBinContent(55,1647.143); h_SL1L362->SetBinContent(56,4434.286); h_SL1L362->SetBinContent(57,1667.143); h_SL1L362->SetBinContent(58,1511.429); h_SL1L362->SetBinContent(59,1420); h_SL1L362->SetMaximum(78349.5); 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,340); h_SL1L463->SetBinContent(3,310); h_SL1L463->SetBinContent(4,315.7143); h_SL1L463->SetBinContent(5,327.1429); h_SL1L463->SetBinContent(6,370); h_SL1L463->SetBinContent(7,370); h_SL1L463->SetBinContent(8,395.7143); h_SL1L463->SetBinContent(9,454.2857); h_SL1L463->SetBinContent(10,480); h_SL1L463->SetBinContent(11,510); h_SL1L463->SetBinContent(12,621.4286); h_SL1L463->SetBinContent(13,640); h_SL1L463->SetBinContent(14,730); h_SL1L463->SetBinContent(15,742.8572); h_SL1L463->SetBinContent(16,707.1429); h_SL1L463->SetBinContent(17,882.8572); h_SL1L463->SetBinContent(18,1017.143); h_SL1L463->SetBinContent(19,1138.571); h_SL1L463->SetBinContent(20,1204.286); h_SL1L463->SetBinContent(21,1352.857); h_SL1L463->SetBinContent(22,1382.857); h_SL1L463->SetBinContent(23,1560); h_SL1L463->SetBinContent(24,1745.714); h_SL1L463->SetBinContent(25,1877.143); h_SL1L463->SetBinContent(26,1887.143); h_SL1L463->SetBinContent(27,2002.857); h_SL1L463->SetBinContent(28,2547.143); h_SL1L463->SetBinContent(29,2857.143); h_SL1L463->SetBinContent(30,3407.143); h_SL1L463->SetBinContent(31,3974.286); h_SL1L463->SetBinContent(32,7074.286); h_SL1L463->SetBinContent(33,18744.29); h_SL1L463->SetBinContent(34,50731.43); h_SL1L463->SetBinContent(35,58218.57); h_SL1L463->SetBinContent(36,63015.71); h_SL1L463->SetBinContent(37,67051.43); h_SL1L463->SetBinContent(38,66198.57); h_SL1L463->SetBinContent(39,55491.43); h_SL1L463->SetBinContent(40,18862.86); h_SL1L463->SetBinContent(41,7448.572); h_SL1L463->SetBinContent(42,4422.857); h_SL1L463->SetBinContent(43,3868.572); h_SL1L463->SetBinContent(44,3325.714); h_SL1L463->SetBinContent(45,3157.143); h_SL1L463->SetBinContent(46,2910); h_SL1L463->SetBinContent(47,2751.429); h_SL1L463->SetBinContent(48,2481.429); h_SL1L463->SetBinContent(49,2238.572); h_SL1L463->SetBinContent(50,2135.714); h_SL1L463->SetBinContent(51,2055.714); h_SL1L463->SetBinContent(52,1930); h_SL1L463->SetBinContent(53,1690); h_SL1L463->SetBinContent(54,1651.429); h_SL1L463->SetBinContent(56,1585.714); h_SL1L463->SetBinContent(57,1451.429); h_SL1L463->SetBinContent(58,1511.429); h_SL1L463->SetBinContent(59,1328.571); h_SL1L463->SetMaximum(78349.5); 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 6556"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }