void RatesPerCell_Removing_noisy_cells_run_5055_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:26:05 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-9342.026,67.5,84078.23); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 5055",60,0,60); h_SL2L164->SetBinContent(1,632.8572); h_SL2L164->SetBinContent(2,807.1429); h_SL2L164->SetBinContent(3,900); h_SL2L164->SetBinContent(4,1015.714); h_SL2L164->SetBinContent(5,1100); h_SL2L164->SetBinContent(6,1082.857); h_SL2L164->SetBinContent(7,1168.571); h_SL2L164->SetBinContent(8,1212.857); h_SL2L164->SetBinContent(9,1308.571); h_SL2L164->SetBinContent(10,1501.429); h_SL2L164->SetBinContent(11,1565.714); h_SL2L164->SetBinContent(12,1710); h_SL2L164->SetBinContent(13,1900); h_SL2L164->SetBinContent(14,2045.714); h_SL2L164->SetBinContent(15,2151.429); h_SL2L164->SetBinContent(16,2284.286); h_SL2L164->SetBinContent(17,2390); h_SL2L164->SetBinContent(18,2570); h_SL2L164->SetBinContent(19,2882.857); h_SL2L164->SetBinContent(20,3042.857); h_SL2L164->SetBinContent(21,3342.857); h_SL2L164->SetBinContent(22,3668.572); h_SL2L164->SetBinContent(23,3702.857); h_SL2L164->SetBinContent(24,4238.571); h_SL2L164->SetBinContent(25,9095.715); h_SL2L164->SetBinContent(26,29170); h_SL2L164->SetBinContent(27,45012.86); h_SL2L164->SetBinContent(28,52580); h_SL2L164->SetBinContent(29,56511.43); h_SL2L164->SetBinContent(30,52804.29); h_SL2L164->SetBinContent(31,47932.86); h_SL2L164->SetBinContent(32,48017.14); h_SL2L164->SetBinContent(33,47101.43); h_SL2L164->SetBinContent(34,26764.29); h_SL2L164->SetBinContent(35,5.714286); h_SL2L164->SetBinContent(36,4750); h_SL2L164->SetBinContent(37,6495.714); h_SL2L164->SetBinContent(38,4304.286); h_SL2L164->SetBinContent(39,4975.714); h_SL2L164->SetBinContent(40,26697.14); h_SL2L164->SetBinContent(41,5781.429); h_SL2L164->SetBinContent(42,6071.429); h_SL2L164->SetBinContent(43,6181.429); h_SL2L164->SetBinContent(44,6258.572); h_SL2L164->SetBinContent(45,1337.143); h_SL2L164->SetBinContent(46,1277.143); h_SL2L164->SetBinContent(47,1065.714); h_SL2L164->SetBinContent(48,1101.429); h_SL2L164->SetBinContent(49,987.1429); h_SL2L164->SetBinContent(50,887.1429); h_SL2L164->SetBinContent(51,828.5715); h_SL2L164->SetBinContent(52,810); h_SL2L164->SetBinContent(53,734.2857); h_SL2L164->SetBinContent(54,707.1429); h_SL2L164->SetBinContent(55,682.8572); h_SL2L164->SetBinContent(56,554.2857); h_SL2L164->SetBinContent(57,4350); h_SL2L164->SetMaximum(74736.2); 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,618.5715); h_SL2L265->SetBinContent(2,751.4286); h_SL2L265->SetBinContent(3,845.7143); h_SL2L265->SetBinContent(4,947.1429); h_SL2L265->SetBinContent(5,1061.429); h_SL2L265->SetBinContent(6,1064.286); h_SL2L265->SetBinContent(7,1157.143); h_SL2L265->SetBinContent(8,1138.571); h_SL2L265->SetBinContent(9,1198.571); h_SL2L265->SetBinContent(10,1397.143); h_SL2L265->SetBinContent(11,1451.429); h_SL2L265->SetBinContent(12,1610); h_SL2L265->SetBinContent(13,1751.429); h_SL2L265->SetBinContent(14,1891.429); h_SL2L265->SetBinContent(15,2058.572); h_SL2L265->SetBinContent(16,2201.429); h_SL2L265->SetBinContent(17,2202.857); h_SL2L265->SetBinContent(18,2464.286); h_SL2L265->SetBinContent(19,2712.857); h_SL2L265->SetBinContent(20,2918.572); h_SL2L265->SetBinContent(21,3137.143); h_SL2L265->SetBinContent(22,3491.429); h_SL2L265->SetBinContent(23,3445.714); h_SL2L265->SetBinContent(24,3814.286); h_SL2L265->SetBinContent(25,4737.143); h_SL2L265->SetBinContent(26,18340); h_SL2L265->SetBinContent(27,38427.14); h_SL2L265->SetBinContent(28,49447.14); h_SL2L265->SetBinContent(29,54770); h_SL2L265->SetBinContent(30,54771.43); h_SL2L265->SetBinContent(31,49191.43); h_SL2L265->SetBinContent(32,47332.86); h_SL2L265->SetBinContent(33,48280); h_SL2L265->SetBinContent(34,40551.43); h_SL2L265->SetBinContent(35,14267.14); h_SL2L265->SetBinContent(36,5318.572); h_SL2L265->SetBinContent(37,3852.857); h_SL2L265->SetBinContent(38,3128.572); h_SL2L265->SetBinContent(39,3211.429); h_SL2L265->SetBinContent(40,4164.286); h_SL2L265->SetBinContent(41,2371.429); h_SL2L265->SetBinContent(42,2237.143); h_SL2L265->SetBinContent(43,1842.857); h_SL2L265->SetBinContent(44,2247.143); h_SL2L265->SetBinContent(45,1347.143); h_SL2L265->SetBinContent(46,1267.143); h_SL2L265->SetBinContent(47,1150); h_SL2L265->SetBinContent(48,1051.429); h_SL2L265->SetBinContent(49,1034.286); h_SL2L265->SetBinContent(50,884.2857); h_SL2L265->SetBinContent(51,890); h_SL2L265->SetBinContent(52,770); h_SL2L265->SetBinContent(53,690); h_SL2L265->SetBinContent(54,710); h_SL2L265->SetBinContent(55,731.4286); h_SL2L265->SetBinContent(56,635.7143); h_SL2L265->SetBinContent(57,532.8572); h_SL2L265->SetMaximum(64988.14); 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,625.7143); h_SL2L366->SetBinContent(2,804.2857); h_SL2L366->SetBinContent(3,860); h_SL2L366->SetBinContent(4,977.1429); h_SL2L366->SetBinContent(5,992.8572); h_SL2L366->SetBinContent(6,1017.143); h_SL2L366->SetBinContent(7,1084.286); h_SL2L366->SetBinContent(8,1200); h_SL2L366->SetBinContent(9,1208.571); h_SL2L366->SetBinContent(10,1398.571); h_SL2L366->SetBinContent(11,1498.571); h_SL2L366->SetBinContent(12,1592.857); h_SL2L366->SetBinContent(13,1728.571); h_SL2L366->SetBinContent(14,1955.714); h_SL2L366->SetBinContent(15,1955.714); h_SL2L366->SetBinContent(16,2217.143); h_SL2L366->SetBinContent(17,2310); h_SL2L366->SetBinContent(18,2500); h_SL2L366->SetBinContent(19,2814.286); h_SL2L366->SetBinContent(20,2901.429); h_SL2L366->SetBinContent(21,3140); h_SL2L366->SetBinContent(22,3484.286); h_SL2L366->SetBinContent(23,3558.572); h_SL2L366->SetBinContent(24,4062.857); h_SL2L366->SetBinContent(25,8964.286); h_SL2L366->SetBinContent(26,29085.71); h_SL2L366->SetBinContent(27,45105.71); h_SL2L366->SetBinContent(28,52568.57); h_SL2L366->SetBinContent(29,55682.86); h_SL2L366->SetBinContent(30,52292.86); h_SL2L366->SetBinContent(31,47814.29); h_SL2L366->SetBinContent(32,47922.86); h_SL2L366->SetBinContent(33,47025.71); h_SL2L366->SetBinContent(34,26904.29); h_SL2L366->SetBinContent(35,7580); h_SL2L366->SetBinContent(36,4388.571); h_SL2L366->SetBinContent(37,3341.429); h_SL2L366->SetBinContent(38,2707.143); h_SL2L366->SetBinContent(39,2387.143); h_SL2L366->SetBinContent(40,2858.572); h_SL2L366->SetBinContent(41,1868.572); h_SL2L366->SetBinContent(42,1620); h_SL2L366->SetBinContent(43,1510); h_SL2L366->SetBinContent(44,1402.857); h_SL2L366->SetBinContent(45,1208.571); h_SL2L366->SetBinContent(46,1178.571); h_SL2L366->SetBinContent(47,1017.143); h_SL2L366->SetBinContent(48,1027.143); h_SL2L366->SetBinContent(49,960); h_SL2L366->SetBinContent(50,842.8572); h_SL2L366->SetBinContent(51,791.4286); h_SL2L366->SetBinContent(52,735.7143); h_SL2L366->SetBinContent(53,632.8572); h_SL2L366->SetBinContent(54,672.8572); h_SL2L366->SetBinContent(55,677.1429); h_SL2L366->SetBinContent(56,582.8572); h_SL2L366->SetBinContent(57,524.2857); h_SL2L366->SetMaximum(64988.14); 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,720); h_SL2L467->SetBinContent(3,801.4286); h_SL2L467->SetBinContent(4,871.4286); h_SL2L467->SetBinContent(5,927.1429); h_SL2L467->SetBinContent(6,1000); h_SL2L467->SetBinContent(7,1058.571); h_SL2L467->SetBinContent(8,1047.143); h_SL2L467->SetBinContent(9,1142.857); h_SL2L467->SetBinContent(10,1250); h_SL2L467->SetBinContent(11,1408.571); h_SL2L467->SetBinContent(12,1530); h_SL2L467->SetBinContent(13,1655.714); h_SL2L467->SetBinContent(14,1792.857); h_SL2L467->SetBinContent(15,1925.714); h_SL2L467->SetBinContent(16,2020); h_SL2L467->SetBinContent(17,2098.572); h_SL2L467->SetBinContent(18,2430); h_SL2L467->SetBinContent(19,2557.143); h_SL2L467->SetBinContent(20,2768.572); h_SL2L467->SetBinContent(21,2954.286); h_SL2L467->SetBinContent(22,3295.714); h_SL2L467->SetBinContent(23,3252.857); h_SL2L467->SetBinContent(24,3610); h_SL2L467->SetBinContent(25,4610); h_SL2L467->SetBinContent(26,18225.71); h_SL2L467->SetBinContent(27,38468.57); h_SL2L467->SetBinContent(28,49192.86); h_SL2L467->SetBinContent(29,54978.57); h_SL2L467->SetBinContent(30,55435.71); h_SL2L467->SetBinContent(31,49301.43); h_SL2L467->SetBinContent(32,47664.29); h_SL2L467->SetBinContent(33,48390); h_SL2L467->SetBinContent(34,40527.14); h_SL2L467->SetBinContent(35,14288.57); h_SL2L467->SetBinContent(36,5140); h_SL2L467->SetBinContent(37,3778.572); h_SL2L467->SetBinContent(38,2930); h_SL2L467->SetBinContent(39,2471.429); h_SL2L467->SetBinContent(40,2165.714); h_SL2L467->SetBinContent(41,2018.572); h_SL2L467->SetBinContent(42,1817.143); h_SL2L467->SetBinContent(43,1550); h_SL2L467->SetBinContent(44,1434.286); h_SL2L467->SetBinContent(45,1305.714); h_SL2L467->SetBinContent(46,1205.714); h_SL2L467->SetBinContent(47,1098.571); h_SL2L467->SetBinContent(48,964.2858); h_SL2L467->SetBinContent(49,940); h_SL2L467->SetBinContent(50,812.8572); h_SL2L467->SetBinContent(51,827.1429); h_SL2L467->SetBinContent(52,717.1429); h_SL2L467->SetBinContent(53,642.8572); h_SL2L467->SetBinContent(54,644.2857); h_SL2L467->SetBinContent(55,691.4286); h_SL2L467->SetBinContent(56,624.2857); h_SL2L467->SetBinContent(57,495.7143); h_SL2L467->SetMaximum(64988.14); 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 5055"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }