void RatesPerCell_Removing_noisy_cells_run_5668_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:28:40 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-9817.838,67.5,88360.54); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 5668",60,0,60); h_SL2L164->SetBinContent(1,861.4286); h_SL2L164->SetBinContent(2,997.1429); h_SL2L164->SetBinContent(3,1081.429); h_SL2L164->SetBinContent(4,1224.286); h_SL2L164->SetBinContent(5,1198.571); h_SL2L164->SetBinContent(6,1391.429); h_SL2L164->SetBinContent(7,1298.571); h_SL2L164->SetBinContent(8,1488.571); h_SL2L164->SetBinContent(9,1575.714); h_SL2L164->SetBinContent(10,1637.143); h_SL2L164->SetBinContent(11,1898.572); h_SL2L164->SetBinContent(12,2060); h_SL2L164->SetBinContent(13,2192.857); h_SL2L164->SetBinContent(14,2387.143); h_SL2L164->SetBinContent(15,2631.429); h_SL2L164->SetBinContent(16,2828.572); h_SL2L164->SetBinContent(17,2964.286); h_SL2L164->SetBinContent(18,3141.429); h_SL2L164->SetBinContent(19,3455.714); h_SL2L164->SetBinContent(20,3632.857); h_SL2L164->SetBinContent(21,3831.429); h_SL2L164->SetBinContent(22,4097.143); h_SL2L164->SetBinContent(23,4267.143); h_SL2L164->SetBinContent(24,4597.143); h_SL2L164->SetBinContent(25,10097.14); h_SL2L164->SetBinContent(26,32512.86); h_SL2L164->SetBinContent(27,49652.86); h_SL2L164->SetBinContent(28,58334.29); h_SL2L164->SetBinContent(29,59030); h_SL2L164->SetBinContent(30,52828.57); h_SL2L164->SetBinContent(31,44787.14); h_SL2L164->SetBinContent(32,41904.29); h_SL2L164->SetBinContent(33,39587.14); h_SL2L164->SetBinContent(34,21710); h_SL2L164->SetBinContent(36,4175.714); h_SL2L164->SetBinContent(37,3364.286); h_SL2L164->SetBinContent(38,2941.429); h_SL2L164->SetBinContent(39,2581.429); h_SL2L164->SetBinContent(40,2012.857); h_SL2L164->SetBinContent(41,2130); h_SL2L164->SetBinContent(42,1915.714); h_SL2L164->SetBinContent(43,1711.429); h_SL2L164->SetBinContent(44,1721.429); h_SL2L164->SetBinContent(45,1602.857); h_SL2L164->SetBinContent(46,1572.857); h_SL2L164->SetBinContent(47,1527.143); h_SL2L164->SetBinContent(48,1338.571); h_SL2L164->SetBinContent(49,1397.143); h_SL2L164->SetBinContent(50,1247.143); h_SL2L164->SetBinContent(51,1160); h_SL2L164->SetBinContent(52,1111.429); h_SL2L164->SetBinContent(53,1084.286); h_SL2L164->SetBinContent(54,1057.143); h_SL2L164->SetBinContent(55,974.2858); h_SL2L164->SetBinContent(56,880); h_SL2L164->SetBinContent(57,832.8572); h_SL2L164->SetMaximum(78542.7); h_SL2L164->SetEntries(60); h_SL2L164->SetDirectory(0); h_SL2L164->SetStats(0); h_SL2L164->SetLineWidth(2); h_SL2L164->GetXaxis()->SetTitle("Cell"); h_SL2L164->GetXaxis()->SetLabelFont(42); h_SL2L164->GetXaxis()->SetLabelSize(0.035); h_SL2L164->GetXaxis()->SetTitleSize(0.035); h_SL2L164->GetXaxis()->SetTitleFont(42); h_SL2L164->GetYaxis()->SetTitle("Hz"); h_SL2L164->GetYaxis()->SetLabelFont(42); h_SL2L164->GetYaxis()->SetLabelSize(0.035); h_SL2L164->GetYaxis()->SetTitleSize(0.035); h_SL2L164->GetYaxis()->SetTitleOffset(1.45); h_SL2L164->GetYaxis()->SetTitleFont(42); h_SL2L164->GetZaxis()->SetLabelFont(42); h_SL2L164->GetZaxis()->SetLabelSize(0.035); h_SL2L164->GetZaxis()->SetTitleSize(0.035); h_SL2L164->GetZaxis()->SetTitleFont(42); h_SL2L164->Draw(""); TH1D *h_SL2L265 = new TH1D("h_SL2L265","",60,0,60); h_SL2L265->SetBinContent(1,820); h_SL2L265->SetBinContent(2,995.7143); h_SL2L265->SetBinContent(3,982.8572); h_SL2L265->SetBinContent(4,1180); h_SL2L265->SetBinContent(5,1208.571); h_SL2L265->SetBinContent(6,1258.571); h_SL2L265->SetBinContent(7,1344.286); h_SL2L265->SetBinContent(8,1348.571); h_SL2L265->SetBinContent(9,1517.143); h_SL2L265->SetBinContent(10,1538.571); h_SL2L265->SetBinContent(11,1780); h_SL2L265->SetBinContent(12,1948.572); h_SL2L265->SetBinContent(13,2168.572); h_SL2L265->SetBinContent(14,2312.857); h_SL2L265->SetBinContent(15,2410); h_SL2L265->SetBinContent(16,2691.429); h_SL2L265->SetBinContent(17,2862.857); h_SL2L265->SetBinContent(18,2944.286); h_SL2L265->SetBinContent(19,3174.286); h_SL2L265->SetBinContent(20,3631.429); h_SL2L265->SetBinContent(21,3601.429); h_SL2L265->SetBinContent(22,3970); h_SL2L265->SetBinContent(23,3955.714); h_SL2L265->SetBinContent(24,4422.857); h_SL2L265->SetBinContent(25,5181.429); h_SL2L265->SetBinContent(26,20354.29); h_SL2L265->SetBinContent(27,42088.57); h_SL2L265->SetBinContent(28,54731.43); h_SL2L265->SetBinContent(29,59390); h_SL2L265->SetBinContent(30,56220); h_SL2L265->SetBinContent(31,47940); h_SL2L265->SetBinContent(32,42712.86); h_SL2L265->SetBinContent(33,41310); h_SL2L265->SetBinContent(34,33071.43); h_SL2L265->SetBinContent(35,11865.71); h_SL2L265->SetBinContent(36,4870); h_SL2L265->SetBinContent(37,3781.429); h_SL2L265->SetBinContent(38,3105.714); h_SL2L265->SetBinContent(39,2660); h_SL2L265->SetBinContent(40,2477.143); h_SL2L265->SetBinContent(41,2101.429); h_SL2L265->SetBinContent(42,2062.857); h_SL2L265->SetBinContent(43,1772.857); h_SL2L265->SetBinContent(44,1800); h_SL2L265->SetBinContent(45,1602.857); h_SL2L265->SetBinContent(46,1577.143); h_SL2L265->SetBinContent(47,1514.286); h_SL2L265->SetBinContent(48,1401.429); h_SL2L265->SetBinContent(49,1397.143); h_SL2L265->SetBinContent(50,1244.286); h_SL2L265->SetBinContent(51,1108.571); h_SL2L265->SetBinContent(52,1122.857); h_SL2L265->SetBinContent(53,1118.571); h_SL2L265->SetBinContent(54,1058.571); h_SL2L265->SetBinContent(55,994.2858); h_SL2L265->SetBinContent(56,960); h_SL2L265->SetBinContent(57,887.1429); h_SL2L265->SetMaximum(68298.5); h_SL2L265->SetEntries(60); h_SL2L265->SetDirectory(0); h_SL2L265->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL2L265->SetLineColor(ci); h_SL2L265->SetLineWidth(2); h_SL2L265->GetXaxis()->SetTitle("Cell"); h_SL2L265->GetXaxis()->SetLabelFont(42); h_SL2L265->GetXaxis()->SetLabelSize(0.035); h_SL2L265->GetXaxis()->SetTitleSize(0.035); h_SL2L265->GetXaxis()->SetTitleFont(42); h_SL2L265->GetYaxis()->SetTitle("Hz"); h_SL2L265->GetYaxis()->SetLabelFont(42); h_SL2L265->GetYaxis()->SetLabelSize(0.035); h_SL2L265->GetYaxis()->SetTitleSize(0.035); h_SL2L265->GetYaxis()->SetTitleOffset(1.45); h_SL2L265->GetYaxis()->SetTitleFont(42); h_SL2L265->GetZaxis()->SetLabelFont(42); h_SL2L265->GetZaxis()->SetLabelSize(0.035); h_SL2L265->GetZaxis()->SetTitleSize(0.035); h_SL2L265->GetZaxis()->SetTitleFont(42); h_SL2L265->Draw("same"); TH1D *h_SL2L366 = new TH1D("h_SL2L366","",60,0,60); h_SL2L366->SetBinContent(1,857.1429); h_SL2L366->SetBinContent(2,987.1429); h_SL2L366->SetBinContent(3,1082.857); h_SL2L366->SetBinContent(4,1198.571); h_SL2L366->SetBinContent(5,1180); h_SL2L366->SetBinContent(6,1362.857); h_SL2L366->SetBinContent(7,1312.857); h_SL2L366->SetBinContent(8,1458.571); h_SL2L366->SetBinContent(9,1508.571); h_SL2L366->SetBinContent(10,1612.857); h_SL2L366->SetBinContent(11,1821.429); h_SL2L366->SetBinContent(12,2025.714); h_SL2L366->SetBinContent(13,2102.857); h_SL2L366->SetBinContent(14,2331.429); h_SL2L366->SetBinContent(15,2514.286); h_SL2L366->SetBinContent(16,2798.572); h_SL2L366->SetBinContent(17,2858.572); h_SL2L366->SetBinContent(18,3030); h_SL2L366->SetBinContent(19,3382.857); h_SL2L366->SetBinContent(20,3498.572); h_SL2L366->SetBinContent(21,3730); h_SL2L366->SetBinContent(22,4048.572); h_SL2L366->SetBinContent(23,4132.857); h_SL2L366->SetBinContent(24,4504.286); h_SL2L366->SetBinContent(25,9897.144); h_SL2L366->SetBinContent(26,32487.14); h_SL2L366->SetBinContent(27,49380); h_SL2L366->SetBinContent(28,58125.71); h_SL2L366->SetBinContent(29,58681.43); h_SL2L366->SetBinContent(30,52375.71); h_SL2L366->SetBinContent(31,44701.43); h_SL2L366->SetBinContent(32,41921.43); h_SL2L366->SetBinContent(33,39490); h_SL2L366->SetBinContent(34,21780); h_SL2L366->SetBinContent(35,6750); h_SL2L366->SetBinContent(36,4242.857); h_SL2L366->SetBinContent(37,3237.143); h_SL2L366->SetBinContent(38,2755.714); h_SL2L366->SetBinContent(39,2500); h_SL2L366->SetBinContent(40,2201.429); h_SL2L366->SetBinContent(41,2125.714); h_SL2L366->SetBinContent(42,1857.143); h_SL2L366->SetBinContent(43,1655.714); h_SL2L366->SetBinContent(44,1641.429); h_SL2L366->SetBinContent(45,1498.571); h_SL2L366->SetBinContent(46,1495.714); h_SL2L366->SetBinContent(47,1428.571); h_SL2L366->SetBinContent(48,1331.429); h_SL2L366->SetBinContent(49,1338.571); h_SL2L366->SetBinContent(50,1198.571); h_SL2L366->SetBinContent(51,1082.857); h_SL2L366->SetBinContent(52,1074.286); h_SL2L366->SetBinContent(53,1028.571); h_SL2L366->SetBinContent(54,1045.714); h_SL2L366->SetBinContent(55,972.8572); h_SL2L366->SetBinContent(56,850); h_SL2L366->SetBinContent(57,821.4286); h_SL2L366->SetMaximum(68298.5); h_SL2L366->SetEntries(60); h_SL2L366->SetDirectory(0); h_SL2L366->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L366->SetLineColor(ci); h_SL2L366->SetLineWidth(2); h_SL2L366->GetXaxis()->SetTitle("Cell"); h_SL2L366->GetXaxis()->SetLabelFont(42); h_SL2L366->GetXaxis()->SetLabelSize(0.035); h_SL2L366->GetXaxis()->SetTitleSize(0.035); h_SL2L366->GetXaxis()->SetTitleFont(42); h_SL2L366->GetYaxis()->SetTitle("Hz"); h_SL2L366->GetYaxis()->SetLabelFont(42); h_SL2L366->GetYaxis()->SetLabelSize(0.035); h_SL2L366->GetYaxis()->SetTitleSize(0.035); h_SL2L366->GetYaxis()->SetTitleOffset(1.45); h_SL2L366->GetYaxis()->SetTitleFont(42); h_SL2L366->GetZaxis()->SetLabelFont(42); h_SL2L366->GetZaxis()->SetLabelSize(0.035); h_SL2L366->GetZaxis()->SetTitleSize(0.035); h_SL2L366->GetZaxis()->SetTitleFont(42); h_SL2L366->Draw("same"); TH1D *h_SL2L467 = new TH1D("h_SL2L467","",60,0,60); h_SL2L467->SetBinContent(2,934.2858); h_SL2L467->SetBinContent(3,968.5715); h_SL2L467->SetBinContent(4,1137.143); h_SL2L467->SetBinContent(5,1157.143); h_SL2L467->SetBinContent(6,1212.857); h_SL2L467->SetBinContent(7,1372.857); h_SL2L467->SetBinContent(8,1340); h_SL2L467->SetBinContent(9,1482.857); h_SL2L467->SetBinContent(10,1450); h_SL2L467->SetBinContent(11,1727.143); h_SL2L467->SetBinContent(12,1814.286); h_SL2L467->SetBinContent(13,2084.286); h_SL2L467->SetBinContent(14,2182.857); h_SL2L467->SetBinContent(15,2330); h_SL2L467->SetBinContent(16,2665.714); h_SL2L467->SetBinContent(17,2764.286); h_SL2L467->SetBinContent(18,2851.429); h_SL2L467->SetBinContent(19,3081.429); h_SL2L467->SetBinContent(20,3542.857); h_SL2L467->SetBinContent(21,3508.572); h_SL2L467->SetBinContent(22,3804.286); h_SL2L467->SetBinContent(23,3944.286); h_SL2L467->SetBinContent(24,4315.714); h_SL2L467->SetBinContent(25,5111.429); h_SL2L467->SetBinContent(26,20308.57); h_SL2L467->SetBinContent(27,42115.71); h_SL2L467->SetBinContent(28,54524.29); h_SL2L467->SetBinContent(29,59322.86); h_SL2L467->SetBinContent(30,56588.57); h_SL2L467->SetBinContent(31,48055.71); h_SL2L467->SetBinContent(32,42830); h_SL2L467->SetBinContent(33,41552.86); h_SL2L467->SetBinContent(34,33287.14); h_SL2L467->SetBinContent(35,11817.14); h_SL2L467->SetBinContent(36,4847.143); h_SL2L467->SetBinContent(37,3742.857); h_SL2L467->SetBinContent(38,2951.429); h_SL2L467->SetBinContent(39,2552.857); h_SL2L467->SetBinContent(40,2262.857); h_SL2L467->SetBinContent(41,2085.714); h_SL2L467->SetBinContent(42,1977.143); h_SL2L467->SetBinContent(43,1695.714); h_SL2L467->SetBinContent(44,1702.857); h_SL2L467->SetBinContent(45,1512.857); h_SL2L467->SetBinContent(46,1458.571); h_SL2L467->SetBinContent(47,1467.143); h_SL2L467->SetBinContent(48,1292.857); h_SL2L467->SetBinContent(49,1314.286); h_SL2L467->SetBinContent(50,1244.286); h_SL2L467->SetBinContent(51,1101.429); h_SL2L467->SetBinContent(52,1081.429); h_SL2L467->SetBinContent(53,1064.286); h_SL2L467->SetBinContent(54,1032.857); h_SL2L467->SetBinContent(55,1007.143); h_SL2L467->SetBinContent(56,967.1429); h_SL2L467->SetBinContent(57,868.5715); h_SL2L467->SetMaximum(68298.5); h_SL2L467->SetEntries(60); h_SL2L467->SetDirectory(0); h_SL2L467->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L467->SetLineColor(ci); h_SL2L467->SetLineWidth(2); h_SL2L467->GetXaxis()->SetTitle("Cell"); h_SL2L467->GetXaxis()->SetLabelFont(42); h_SL2L467->GetXaxis()->SetLabelSize(0.035); h_SL2L467->GetXaxis()->SetTitleSize(0.035); h_SL2L467->GetXaxis()->SetTitleFont(42); h_SL2L467->GetYaxis()->SetTitle("Hz"); h_SL2L467->GetYaxis()->SetLabelFont(42); h_SL2L467->GetYaxis()->SetLabelSize(0.035); h_SL2L467->GetYaxis()->SetTitleSize(0.035); h_SL2L467->GetYaxis()->SetTitleOffset(1.45); h_SL2L467->GetYaxis()->SetTitleFont(42); h_SL2L467->GetZaxis()->SetLabelFont(42); h_SL2L467->GetZaxis()->SetLabelSize(0.035); h_SL2L467->GetZaxis()->SetTitleSize(0.035); h_SL2L467->GetZaxis()->SetTitleFont(42); h_SL2L467->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_SL2L1","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_SL2L2","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_SL2L3","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_SL2L4","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("SL2, run 5668"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }