void RatesPerCell_Removing_noisy_cells_run_6606_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:22:07 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12380.61,67.5,111425.5); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6606",60,0,60); h_SL2L164->SetBinContent(1,1052.857); h_SL2L164->SetBinContent(2,1238.571); h_SL2L164->SetBinContent(3,1401.429); h_SL2L164->SetBinContent(4,1438.571); h_SL2L164->SetBinContent(5,1408.571); h_SL2L164->SetBinContent(6,1595.714); h_SL2L164->SetBinContent(7,1638.571); h_SL2L164->SetBinContent(8,1708.571); h_SL2L164->SetBinContent(9,1925.714); h_SL2L164->SetBinContent(10,1927.143); h_SL2L164->SetBinContent(11,2180); h_SL2L164->SetBinContent(12,2374.286); h_SL2L164->SetBinContent(13,2467.143); h_SL2L164->SetBinContent(14,2460); h_SL2L164->SetBinContent(15,2507.143); h_SL2L164->SetBinContent(16,2791.429); h_SL2L164->SetBinContent(17,2781.429); h_SL2L164->SetBinContent(18,3008.572); h_SL2L164->SetBinContent(19,3354.286); h_SL2L164->SetBinContent(20,3338.572); h_SL2L164->SetBinContent(21,3285.714); h_SL2L164->SetBinContent(22,3534.286); h_SL2L164->SetBinContent(23,3951.429); h_SL2L164->SetBinContent(24,4601.429); h_SL2L164->SetBinContent(25,9714.286); h_SL2L164->SetBinContent(26,28097.14); h_SL2L164->SetBinContent(27,42688.57); h_SL2L164->SetBinContent(28,50805.71); h_SL2L164->SetBinContent(29,53820); h_SL2L164->SetBinContent(30,52614.29); h_SL2L164->SetBinContent(31,50767.14); h_SL2L164->SetBinContent(32,50255.71); h_SL2L164->SetBinContent(33,48684.29); h_SL2L164->SetBinContent(34,27588.57); h_SL2L164->SetBinContent(35,2.857143); h_SL2L164->SetBinContent(36,4165.714); h_SL2L164->SetBinContent(37,9261.429); h_SL2L164->SetBinContent(38,5780); h_SL2L164->SetBinContent(39,7155.714); h_SL2L164->SetBinContent(40,61441.43); h_SL2L164->SetBinContent(41,74892.86); h_SL2L164->SetBinContent(42,14011.43); h_SL2L164->SetBinContent(43,13935.71); h_SL2L164->SetBinContent(44,14312.86); h_SL2L164->SetBinContent(45,1808.571); h_SL2L164->SetBinContent(46,1620); h_SL2L164->SetBinContent(47,1510); h_SL2L164->SetBinContent(48,1408.571); h_SL2L164->SetBinContent(49,1407.143); h_SL2L164->SetBinContent(50,1245.714); h_SL2L164->SetBinContent(51,1200); h_SL2L164->SetBinContent(52,1148.571); h_SL2L164->SetBinContent(53,1017.143); h_SL2L164->SetBinContent(54,1051.429); h_SL2L164->SetBinContent(55,984.2858); h_SL2L164->SetBinContent(56,841.4286); h_SL2L164->SetBinContent(57,6922.857); h_SL2L164->SetMaximum(99044.9); 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,961.4286); h_SL2L265->SetBinContent(2,1154.286); h_SL2L265->SetBinContent(3,1244.286); h_SL2L265->SetBinContent(4,1400); h_SL2L265->SetBinContent(5,1424.286); h_SL2L265->SetBinContent(6,1532.857); h_SL2L265->SetBinContent(7,1587.143); h_SL2L265->SetBinContent(8,1672.857); h_SL2L265->SetBinContent(9,1715.714); h_SL2L265->SetBinContent(10,1895.714); h_SL2L265->SetBinContent(11,1998.572); h_SL2L265->SetBinContent(12,2281.429); h_SL2L265->SetBinContent(13,2365.714); h_SL2L265->SetBinContent(14,2422.857); h_SL2L265->SetBinContent(15,2391.429); h_SL2L265->SetBinContent(16,2648.572); h_SL2L265->SetBinContent(17,2740); h_SL2L265->SetBinContent(18,2887.143); h_SL2L265->SetBinContent(19,3201.429); h_SL2L265->SetBinContent(20,3322.857); h_SL2L265->SetBinContent(21,3187.143); h_SL2L265->SetBinContent(22,3321.429); h_SL2L265->SetBinContent(23,3674.286); h_SL2L265->SetBinContent(24,4188.571); h_SL2L265->SetBinContent(25,5251.429); h_SL2L265->SetBinContent(26,18812.86); h_SL2L265->SetBinContent(27,35934.29); h_SL2L265->SetBinContent(28,47528.57); h_SL2L265->SetBinContent(29,52845.71); h_SL2L265->SetBinContent(30,53131.43); h_SL2L265->SetBinContent(31,51241.43); h_SL2L265->SetBinContent(32,50000); h_SL2L265->SetBinContent(33,50708.57); h_SL2L265->SetBinContent(34,40898.57); h_SL2L265->SetBinContent(35,15114.29); h_SL2L265->SetBinContent(36,5354.286); h_SL2L265->SetBinContent(37,3987.143); h_SL2L265->SetBinContent(38,3302.857); h_SL2L265->SetBinContent(39,4412.857); h_SL2L265->SetBinContent(40,5722.857); h_SL2L265->SetBinContent(41,4090); h_SL2L265->SetBinContent(42,4105.714); h_SL2L265->SetBinContent(43,3040); h_SL2L265->SetBinContent(44,4145.714); h_SL2L265->SetBinContent(45,1767.143); h_SL2L265->SetBinContent(46,1661.429); h_SL2L265->SetBinContent(47,1548.571); h_SL2L265->SetBinContent(48,1431.429); h_SL2L265->SetBinContent(49,1368.571); h_SL2L265->SetBinContent(50,1255.714); h_SL2L265->SetBinContent(51,1254.286); h_SL2L265->SetBinContent(52,1132.857); h_SL2L265->SetBinContent(53,1110); h_SL2L265->SetBinContent(54,978.5715); h_SL2L265->SetBinContent(55,1045.714); h_SL2L265->SetBinContent(56,947.1429); h_SL2L265->SetBinContent(57,825.7143); h_SL2L265->SetMaximum(86126.79); 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,1012.857); h_SL2L366->SetBinContent(2,1207.143); h_SL2L366->SetBinContent(3,1388.571); h_SL2L366->SetBinContent(4,1422.857); h_SL2L366->SetBinContent(5,1427.143); h_SL2L366->SetBinContent(6,1530); h_SL2L366->SetBinContent(7,1634.286); h_SL2L366->SetBinContent(8,1737.143); h_SL2L366->SetBinContent(9,1862.857); h_SL2L366->SetBinContent(10,1882.857); h_SL2L366->SetBinContent(11,2125.714); h_SL2L366->SetBinContent(12,2311.429); h_SL2L366->SetBinContent(13,2381.429); h_SL2L366->SetBinContent(14,2450); h_SL2L366->SetBinContent(15,2460); h_SL2L366->SetBinContent(16,2712.857); h_SL2L366->SetBinContent(17,2724.286); h_SL2L366->SetBinContent(18,2987.143); h_SL2L366->SetBinContent(19,3232.857); h_SL2L366->SetBinContent(20,3232.857); h_SL2L366->SetBinContent(21,3242.857); h_SL2L366->SetBinContent(22,3440); h_SL2L366->SetBinContent(23,3815.714); h_SL2L366->SetBinContent(24,4445.714); h_SL2L366->SetBinContent(25,9622.857); h_SL2L366->SetBinContent(26,28252.86); h_SL2L366->SetBinContent(27,42538.57); h_SL2L366->SetBinContent(28,50691.43); h_SL2L366->SetBinContent(29,53330); h_SL2L366->SetBinContent(30,52340); h_SL2L366->SetBinContent(31,51004.29); h_SL2L366->SetBinContent(32,50537.14); h_SL2L366->SetBinContent(33,48714.29); h_SL2L366->SetBinContent(34,27808.57); h_SL2L366->SetBinContent(35,7728.572); h_SL2L366->SetBinContent(36,4288.571); h_SL2L366->SetBinContent(37,3601.429); h_SL2L366->SetBinContent(38,3017.143); h_SL2L366->SetBinContent(39,2781.429); h_SL2L366->SetBinContent(40,4398.572); h_SL2L366->SetBinContent(41,2792.857); h_SL2L366->SetBinContent(42,2347.143); h_SL2L366->SetBinContent(43,2058.572); h_SL2L366->SetBinContent(44,1890); h_SL2L366->SetBinContent(45,1751.429); h_SL2L366->SetBinContent(46,1615.714); h_SL2L366->SetBinContent(47,1394.286); h_SL2L366->SetBinContent(48,1315.714); h_SL2L366->SetBinContent(49,1344.286); h_SL2L366->SetBinContent(50,1181.429); h_SL2L366->SetBinContent(51,1142.857); h_SL2L366->SetBinContent(52,1132.857); h_SL2L366->SetBinContent(53,995.7143); h_SL2L366->SetBinContent(54,991.4286); h_SL2L366->SetBinContent(55,937.1429); h_SL2L366->SetBinContent(56,857.1429); h_SL2L366->SetBinContent(57,854.2857); h_SL2L366->SetMaximum(86126.79); 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,1194.286); h_SL2L467->SetBinContent(3,1257.143); h_SL2L467->SetBinContent(4,1421.429); h_SL2L467->SetBinContent(5,1400); h_SL2L467->SetBinContent(6,1447.143); h_SL2L467->SetBinContent(7,1584.286); h_SL2L467->SetBinContent(8,1631.429); h_SL2L467->SetBinContent(9,1692.857); h_SL2L467->SetBinContent(10,1850); h_SL2L467->SetBinContent(11,1944.286); h_SL2L467->SetBinContent(12,2211.429); h_SL2L467->SetBinContent(13,2251.429); h_SL2L467->SetBinContent(14,2380); h_SL2L467->SetBinContent(15,2371.429); h_SL2L467->SetBinContent(16,2568.572); h_SL2L467->SetBinContent(17,2678.572); h_SL2L467->SetBinContent(18,2764.286); h_SL2L467->SetBinContent(19,3097.143); h_SL2L467->SetBinContent(20,3261.429); h_SL2L467->SetBinContent(21,3110); h_SL2L467->SetBinContent(22,3268.572); h_SL2L467->SetBinContent(23,3552.857); h_SL2L467->SetBinContent(24,4095.714); h_SL2L467->SetBinContent(25,5084.286); h_SL2L467->SetBinContent(26,18717.14); h_SL2L467->SetBinContent(27,36070); h_SL2L467->SetBinContent(28,47397.14); h_SL2L467->SetBinContent(29,52811.43); h_SL2L467->SetBinContent(30,53864.29); h_SL2L467->SetBinContent(31,51361.43); h_SL2L467->SetBinContent(32,50367.14); h_SL2L467->SetBinContent(33,50817.14); h_SL2L467->SetBinContent(34,40952.86); h_SL2L467->SetBinContent(35,15075.71); h_SL2L467->SetBinContent(36,5232.857); h_SL2L467->SetBinContent(37,3872.857); h_SL2L467->SetBinContent(38,3231.429); h_SL2L467->SetBinContent(39,2865.714); h_SL2L467->SetBinContent(40,2451.429); h_SL2L467->SetBinContent(41,2220); h_SL2L467->SetBinContent(42,2707.143); h_SL2L467->SetBinContent(43,2078.572); h_SL2L467->SetBinContent(44,1917.143); h_SL2L467->SetBinContent(45,1777.143); h_SL2L467->SetBinContent(46,1637.143); h_SL2L467->SetBinContent(47,1484.286); h_SL2L467->SetBinContent(48,1355.714); h_SL2L467->SetBinContent(49,1304.286); h_SL2L467->SetBinContent(50,1235.714); h_SL2L467->SetBinContent(51,1185.714); h_SL2L467->SetBinContent(52,1087.143); h_SL2L467->SetBinContent(53,1108.571); h_SL2L467->SetBinContent(54,961.4286); h_SL2L467->SetBinContent(55,991.4286); h_SL2L467->SetBinContent(56,897.1429); h_SL2L467->SetBinContent(57,797.1429); h_SL2L467->SetMaximum(86126.79); 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 6606"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }