void RatesPerCell_Removing_noisy_cells_run_4984_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:07:21 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-8930.757,67.5,80376.81); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 4984",60,0,60); h_SL2L164->SetBinContent(1,687.1429); h_SL2L164->SetBinContent(2,835.7143); h_SL2L164->SetBinContent(3,923.5715); h_SL2L164->SetBinContent(4,987.8572); h_SL2L164->SetBinContent(5,1036.429); h_SL2L164->SetBinContent(6,1074.286); h_SL2L164->SetBinContent(7,1086.429); h_SL2L164->SetBinContent(8,1212.857); h_SL2L164->SetBinContent(9,1358.571); h_SL2L164->SetBinContent(10,1410); h_SL2L164->SetBinContent(11,46496.43); h_SL2L164->SetBinContent(12,1701.429); h_SL2L164->SetBinContent(13,1898.572); h_SL2L164->SetBinContent(14,1975.714); h_SL2L164->SetBinContent(15,2140.714); h_SL2L164->SetBinContent(16,2297.143); h_SL2L164->SetBinContent(17,2420); h_SL2L164->SetBinContent(18,2550.714); h_SL2L164->SetBinContent(19,2788.572); h_SL2L164->SetBinContent(20,3025.714); h_SL2L164->SetBinContent(21,3257.857); h_SL2L164->SetBinContent(22,3490); h_SL2L164->SetBinContent(23,3847.143); h_SL2L164->SetBinContent(24,4233.571); h_SL2L164->SetBinContent(25,8876.429); h_SL2L164->SetBinContent(26,28846.43); h_SL2L164->SetBinContent(27,43619.29); h_SL2L164->SetBinContent(28,51105.71); h_SL2L164->SetBinContent(29,54023.57); h_SL2L164->SetBinContent(30,51718.57); h_SL2L164->SetBinContent(31,48037.14); h_SL2L164->SetBinContent(32,48101.43); h_SL2L164->SetBinContent(33,47297.14); h_SL2L164->SetBinContent(34,26841.43); h_SL2L164->SetBinContent(35,2.142857); h_SL2L164->SetBinContent(36,4415.714); h_SL2L164->SetBinContent(37,6180.714); h_SL2L164->SetBinContent(38,4014.286); h_SL2L164->SetBinContent(39,5207.143); h_SL2L164->SetBinContent(40,20985.71); h_SL2L164->SetBinContent(41,6867.857); h_SL2L164->SetBinContent(42,7467.143); h_SL2L164->SetBinContent(43,7758.572); h_SL2L164->SetBinContent(44,7304.286); h_SL2L164->SetBinContent(45,1432.143); h_SL2L164->SetBinContent(46,1342.857); h_SL2L164->SetBinContent(47,1213.571); h_SL2L164->SetBinContent(48,1125.714); h_SL2L164->SetBinContent(49,1067.143); h_SL2L164->SetBinContent(50,888.5715); h_SL2L164->SetBinContent(51,906.4286); h_SL2L164->SetBinContent(52,810.7143); h_SL2L164->SetBinContent(53,763.5715); h_SL2L164->SetBinContent(54,727.8572); h_SL2L164->SetBinContent(55,655.7143); h_SL2L164->SetBinContent(56,589.2857); h_SL2L164->SetBinContent(57,512.8572); h_SL2L164->SetMaximum(71446.05); 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,657.1429); h_SL2L265->SetBinContent(2,770); h_SL2L265->SetBinContent(3,876.4286); h_SL2L265->SetBinContent(4,918.5715); h_SL2L265->SetBinContent(5,1021.429); h_SL2L265->SetBinContent(6,1021.429); h_SL2L265->SetBinContent(7,1083.571); h_SL2L265->SetBinContent(8,1127.143); h_SL2L265->SetBinContent(9,1230.714); h_SL2L265->SetBinContent(10,1316.429); h_SL2L265->SetBinContent(11,1425); h_SL2L265->SetBinContent(12,1597.857); h_SL2L265->SetBinContent(13,1741.429); h_SL2L265->SetBinContent(14,1880); h_SL2L265->SetBinContent(15,2022.857); h_SL2L265->SetBinContent(16,2110.714); h_SL2L265->SetBinContent(17,2307.143); h_SL2L265->SetBinContent(18,2420.714); h_SL2L265->SetBinContent(19,2582.857); h_SL2L265->SetBinContent(20,2995.714); h_SL2L265->SetBinContent(21,2986.429); h_SL2L265->SetBinContent(22,3359.286); h_SL2L265->SetBinContent(23,3592.857); h_SL2L265->SetBinContent(24,3983.572); h_SL2L265->SetBinContent(25,4825.714); h_SL2L265->SetBinContent(26,17970.71); h_SL2L265->SetBinContent(27,37320); h_SL2L265->SetBinContent(28,47948.57); h_SL2L265->SetBinContent(29,53037.14); h_SL2L265->SetBinContent(30,53486.43); h_SL2L265->SetBinContent(31,49112.86); h_SL2L265->SetBinContent(32,47572.86); h_SL2L265->SetBinContent(33,48414.29); h_SL2L265->SetBinContent(34,40501.43); h_SL2L265->SetBinContent(35,14163.57); h_SL2L265->SetBinContent(36,5288.572); h_SL2L265->SetBinContent(37,3675.714); h_SL2L265->SetBinContent(38,2992.143); h_SL2L265->SetBinContent(39,3638.572); h_SL2L265->SetBinContent(40,4515); h_SL2L265->SetBinContent(41,2090); h_SL2L265->SetBinContent(42,2096.429); h_SL2L265->SetBinContent(43,1740); h_SL2L265->SetBinContent(44,1936.429); h_SL2L265->SetBinContent(45,1378.571); h_SL2L265->SetBinContent(46,1378.571); h_SL2L265->SetBinContent(47,1238.571); h_SL2L265->SetBinContent(48,1122.143); h_SL2L265->SetBinContent(49,1089.286); h_SL2L265->SetBinContent(50,963.5715); h_SL2L265->SetBinContent(51,890.7143); h_SL2L265->SetBinContent(52,821.4286); h_SL2L265->SetBinContent(53,757.8572); h_SL2L265->SetBinContent(54,742.8572); h_SL2L265->SetBinContent(55,689.2857); h_SL2L265->SetBinContent(56,607.1429); h_SL2L265->SetBinContent(57,556.4286); h_SL2L265->SetMaximum(62127.11); 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,703.5715); h_SL2L366->SetBinContent(2,796.4286); h_SL2L366->SetBinContent(3,885); h_SL2L366->SetBinContent(4,940.7143); h_SL2L366->SetBinContent(5,975); h_SL2L366->SetBinContent(6,1039.286); h_SL2L366->SetBinContent(7,1032.857); h_SL2L366->SetBinContent(8,1162.857); h_SL2L366->SetBinContent(9,1284.286); h_SL2L366->SetBinContent(10,1330.714); h_SL2L366->SetBinContent(11,1477.857); h_SL2L366->SetBinContent(12,1609.286); h_SL2L366->SetBinContent(13,1755.714); h_SL2L366->SetBinContent(14,1906.429); h_SL2L366->SetBinContent(15,2027.143); h_SL2L366->SetBinContent(16,2161.429); h_SL2L366->SetBinContent(17,2291.429); h_SL2L366->SetBinContent(18,2472.857); h_SL2L366->SetBinContent(19,2699.286); h_SL2L366->SetBinContent(20,2920.714); h_SL2L366->SetBinContent(21,3163.572); h_SL2L366->SetBinContent(22,3400.714); h_SL2L366->SetBinContent(23,3702.143); h_SL2L366->SetBinContent(24,4134.286); h_SL2L366->SetBinContent(25,8699.286); h_SL2L366->SetBinContent(26,28728.57); h_SL2L366->SetBinContent(27,43525.71); h_SL2L366->SetBinContent(28,50934.29); h_SL2L366->SetBinContent(29,53715); h_SL2L366->SetBinContent(30,51400.71); h_SL2L366->SetBinContent(31,47942.14); h_SL2L366->SetBinContent(32,48165); h_SL2L366->SetBinContent(33,47109.29); h_SL2L366->SetBinContent(34,26788.57); h_SL2L366->SetBinContent(35,7537.143); h_SL2L366->SetBinContent(36,4173.571); h_SL2L366->SetBinContent(37,3187.143); h_SL2L366->SetBinContent(38,2757.143); h_SL2L366->SetBinContent(39,2412.857); h_SL2L366->SetBinContent(40,3567.857); h_SL2L366->SetBinContent(41,1885.714); h_SL2L366->SetBinContent(42,1807.143); h_SL2L366->SetBinContent(43,1616.429); h_SL2L366->SetBinContent(44,1410.714); h_SL2L366->SetBinContent(45,1358.571); h_SL2L366->SetBinContent(46,1274.286); h_SL2L366->SetBinContent(47,1145.714); h_SL2L366->SetBinContent(48,1047.857); h_SL2L366->SetBinContent(49,1021.429); h_SL2L366->SetBinContent(50,873.5715); h_SL2L366->SetBinContent(51,866.4286); h_SL2L366->SetBinContent(52,752.1429); h_SL2L366->SetBinContent(53,719.2857); h_SL2L366->SetBinContent(54,703.5715); h_SL2L366->SetBinContent(55,655.7143); h_SL2L366->SetBinContent(56,555.7143); h_SL2L366->SetBinContent(57,522.1429); h_SL2L366->SetMaximum(62127.11); 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,757.8572); h_SL2L467->SetBinContent(3,844.2857); h_SL2L467->SetBinContent(4,908.5715); h_SL2L467->SetBinContent(5,962.8572); h_SL2L467->SetBinContent(6,944.2858); h_SL2L467->SetBinContent(7,1014.286); h_SL2L467->SetBinContent(8,1096.429); h_SL2L467->SetBinContent(9,1155); h_SL2L467->SetBinContent(10,1283.571); h_SL2L467->SetBinContent(11,1378.571); h_SL2L467->SetBinContent(12,1516.429); h_SL2L467->SetBinContent(13,1652.857); h_SL2L467->SetBinContent(14,1770.714); h_SL2L467->SetBinContent(15,1919.286); h_SL2L467->SetBinContent(16,1972.143); h_SL2L467->SetBinContent(17,2194.286); h_SL2L467->SetBinContent(18,2387.143); h_SL2L467->SetBinContent(19,2524.286); h_SL2L467->SetBinContent(20,2857.857); h_SL2L467->SetBinContent(21,2862.857); h_SL2L467->SetBinContent(22,3224.286); h_SL2L467->SetBinContent(23,3480); h_SL2L467->SetBinContent(24,3837.143); h_SL2L467->SetBinContent(25,4667.143); h_SL2L467->SetBinContent(26,17860.71); h_SL2L467->SetBinContent(27,37299.29); h_SL2L467->SetBinContent(28,47923.57); h_SL2L467->SetBinContent(29,52960.71); h_SL2L467->SetBinContent(30,53799.29); h_SL2L467->SetBinContent(31,49063.57); h_SL2L467->SetBinContent(32,47689.29); h_SL2L467->SetBinContent(33,48438.57); h_SL2L467->SetBinContent(34,40617.86); h_SL2L467->SetBinContent(35,14067.14); h_SL2L467->SetBinContent(36,5118.572); h_SL2L467->SetBinContent(37,3612.857); h_SL2L467->SetBinContent(38,2883.572); h_SL2L467->SetBinContent(39,2471.429); h_SL2L467->SetBinContent(40,2175); h_SL2L467->SetBinContent(41,1985); h_SL2L467->SetBinContent(42,1824.286); h_SL2L467->SetBinContent(43,1630.714); h_SL2L467->SetBinContent(44,1482.143); h_SL2L467->SetBinContent(45,1349.286); h_SL2L467->SetBinContent(46,1317.857); h_SL2L467->SetBinContent(47,1127.143); h_SL2L467->SetBinContent(48,1063.571); h_SL2L467->SetBinContent(49,1017.857); h_SL2L467->SetBinContent(50,906.4286); h_SL2L467->SetBinContent(51,868.5715); h_SL2L467->SetBinContent(52,765.7143); h_SL2L467->SetBinContent(53,740); h_SL2L467->SetBinContent(54,701.4286); h_SL2L467->SetBinContent(55,657.1429); h_SL2L467->SetBinContent(56,606.4286); h_SL2L467->SetBinContent(57,575); h_SL2L467->SetMaximum(62127.11); 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 4984"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }