void RatesPerCell_Removing_noisy_cells_run_6551_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:20:21 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11817.4,67.5,106356.6); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6551",60,0,60); h_SL3L168->SetBinContent(1,520); h_SL3L168->SetBinContent(2,247.1429); h_SL3L168->SetBinContent(3,1.428571); h_SL3L168->SetBinContent(4,254.2857); h_SL3L168->SetBinContent(5,434.2857); h_SL3L168->SetBinContent(6,241.4286); h_SL3L168->SetBinContent(7,324.2857); h_SL3L168->SetBinContent(8,305.7143); h_SL3L168->SetBinContent(9,308.5714); h_SL3L168->SetBinContent(10,341.4286); h_SL3L168->SetBinContent(11,390); h_SL3L168->SetBinContent(12,430); h_SL3L168->SetBinContent(13,461.4286); h_SL3L168->SetBinContent(14,554.2857); h_SL3L168->SetBinContent(15,574.2857); h_SL3L168->SetBinContent(16,620); h_SL3L168->SetBinContent(17,710); h_SL3L168->SetBinContent(18,775.7143); h_SL3L168->SetBinContent(19,757.1429); h_SL3L168->SetBinContent(20,961.4286); h_SL3L168->SetBinContent(21,941.4286); h_SL3L168->SetBinContent(22,1032.857); h_SL3L168->SetBinContent(23,1144.286); h_SL3L168->SetBinContent(24,1190); h_SL3L168->SetBinContent(25,1374.286); h_SL3L168->SetBinContent(26,1508.571); h_SL3L168->SetBinContent(27,1715.714); h_SL3L168->SetBinContent(28,1908.572); h_SL3L168->SetBinContent(29,2344.286); h_SL3L168->SetBinContent(30,2760); h_SL3L168->SetBinContent(31,3237.143); h_SL3L168->SetBinContent(32,4702.857); h_SL3L168->SetBinContent(33,8852.857); h_SL3L168->SetBinContent(34,38675.71); h_SL3L168->SetBinContent(35,57597.14); h_SL3L168->SetBinContent(36,61881.43); h_SL3L168->SetBinContent(37,67520); h_SL3L168->SetBinContent(38,71485.72); h_SL3L168->SetBinContent(39,64448.57); h_SL3L168->SetBinContent(40,41134.29); h_SL3L168->SetBinContent(41,9358.571); h_SL3L168->SetBinContent(42,5015.714); h_SL3L168->SetBinContent(43,3614.286); h_SL3L168->SetBinContent(44,3195.714); h_SL3L168->SetBinContent(45,2752.857); h_SL3L168->SetBinContent(46,2528.572); h_SL3L168->SetBinContent(47,2217.143); h_SL3L168->SetBinContent(48,2134.286); h_SL3L168->SetBinContent(49,20964.29); h_SL3L168->SetBinContent(50,1882.857); h_SL3L168->SetBinContent(51,1698.571); h_SL3L168->SetBinContent(52,1608.571); h_SL3L168->SetBinContent(53,1460); h_SL3L168->SetBinContent(54,1440); h_SL3L168->SetBinContent(55,1370); h_SL3L168->SetBinContent(56,1268.571); h_SL3L168->SetBinContent(57,1244.286); h_SL3L168->SetBinContent(58,1100); h_SL3L168->SetBinContent(59,1331.429); h_SL3L168->SetMaximum(94539.2); h_SL3L168->SetEntries(60); h_SL3L168->SetDirectory(0); h_SL3L168->SetStats(0); h_SL3L168->SetLineWidth(2); h_SL3L168->GetXaxis()->SetTitle("Cell"); h_SL3L168->GetXaxis()->SetLabelFont(42); h_SL3L168->GetXaxis()->SetLabelSize(0.035); h_SL3L168->GetXaxis()->SetTitleSize(0.035); h_SL3L168->GetXaxis()->SetTitleFont(42); h_SL3L168->GetYaxis()->SetTitle("Hz"); h_SL3L168->GetYaxis()->SetLabelFont(42); h_SL3L168->GetYaxis()->SetLabelSize(0.035); h_SL3L168->GetYaxis()->SetTitleSize(0.035); h_SL3L168->GetYaxis()->SetTitleOffset(1.45); h_SL3L168->GetYaxis()->SetTitleFont(42); h_SL3L168->GetZaxis()->SetLabelFont(42); h_SL3L168->GetZaxis()->SetLabelSize(0.035); h_SL3L168->GetZaxis()->SetTitleSize(0.035); h_SL3L168->GetZaxis()->SetTitleFont(42); h_SL3L168->Draw(""); TH1D *h_SL3L269 = new TH1D("h_SL3L269","",60,0,60); h_SL3L269->SetBinContent(1,257.1429); h_SL3L269->SetBinContent(2,250); h_SL3L269->SetBinContent(4,230); h_SL3L269->SetBinContent(5,252.8571); h_SL3L269->SetBinContent(6,398.5714); h_SL3L269->SetBinContent(7,284.2857); h_SL3L269->SetBinContent(8,310); h_SL3L269->SetBinContent(9,298.5714); h_SL3L269->SetBinContent(10,302.8571); h_SL3L269->SetBinContent(11,340); h_SL3L269->SetBinContent(12,384.2857); h_SL3L269->SetBinContent(13,444.2857); h_SL3L269->SetBinContent(14,534.2857); h_SL3L269->SetBinContent(15,565.7143); h_SL3L269->SetBinContent(16,595.7143); h_SL3L269->SetBinContent(17,658.5715); h_SL3L269->SetBinContent(18,697.1429); h_SL3L269->SetBinContent(19,718.5715); h_SL3L269->SetBinContent(20,868.5715); h_SL3L269->SetBinContent(21,938.5715); h_SL3L269->SetBinContent(22,961.4286); h_SL3L269->SetBinContent(23,1057.143); h_SL3L269->SetBinContent(24,1151.429); h_SL3L269->SetBinContent(25,1228.571); h_SL3L269->SetBinContent(26,1420); h_SL3L269->SetBinContent(27,1634.286); h_SL3L269->SetBinContent(28,1734.286); h_SL3L269->SetBinContent(29,2091.429); h_SL3L269->SetBinContent(30,2510); h_SL3L269->SetBinContent(31,2815.714); h_SL3L269->SetBinContent(32,3611.429); h_SL3L269->SetBinContent(33,6677.143); h_SL3L269->SetBinContent(34,19185.71); h_SL3L269->SetBinContent(35,51491.43); h_SL3L269->SetBinContent(36,59384.29); h_SL3L269->SetBinContent(37,63927.14); h_SL3L269->SetBinContent(38,69394.29); h_SL3L269->SetBinContent(39,68580); h_SL3L269->SetBinContent(40,56890); h_SL3L269->SetBinContent(41,20022.86); h_SL3L269->SetBinContent(42,7215.714); h_SL3L269->SetBinContent(43,3925.714); h_SL3L269->SetBinContent(44,3342.857); h_SL3L269->SetBinContent(45,2890); h_SL3L269->SetBinContent(46,2550); h_SL3L269->SetBinContent(47,2417.143); h_SL3L269->SetBinContent(48,2095.714); h_SL3L269->SetBinContent(49,3990); h_SL3L269->SetBinContent(50,1850); h_SL3L269->SetBinContent(51,1720); h_SL3L269->SetBinContent(52,1991.429); h_SL3L269->SetBinContent(53,4812.857); h_SL3L269->SetBinContent(54,1375.714); h_SL3L269->SetBinContent(55,1407.143); h_SL3L269->SetBinContent(56,1591.429); h_SL3L269->SetBinContent(57,1288.571); h_SL3L269->SetBinContent(58,1138.571); h_SL3L269->SetBinContent(59,1087.143); h_SL3L269->SetMaximum(82208.58); h_SL3L269->SetEntries(60); h_SL3L269->SetDirectory(0); h_SL3L269->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL3L269->SetLineColor(ci); h_SL3L269->SetLineWidth(2); h_SL3L269->GetXaxis()->SetTitle("Cell"); h_SL3L269->GetXaxis()->SetLabelFont(42); h_SL3L269->GetXaxis()->SetLabelSize(0.035); h_SL3L269->GetXaxis()->SetTitleSize(0.035); h_SL3L269->GetXaxis()->SetTitleFont(42); h_SL3L269->GetYaxis()->SetTitle("Hz"); h_SL3L269->GetYaxis()->SetLabelFont(42); h_SL3L269->GetYaxis()->SetLabelSize(0.035); h_SL3L269->GetYaxis()->SetTitleSize(0.035); h_SL3L269->GetYaxis()->SetTitleOffset(1.45); h_SL3L269->GetYaxis()->SetTitleFont(42); h_SL3L269->GetZaxis()->SetLabelFont(42); h_SL3L269->GetZaxis()->SetLabelSize(0.035); h_SL3L269->GetZaxis()->SetTitleSize(0.035); h_SL3L269->GetZaxis()->SetTitleFont(42); h_SL3L269->Draw("same"); TH1D *h_SL3L370 = new TH1D("h_SL3L370","",60,0,60); h_SL3L370->SetBinContent(1,241.4286); h_SL3L370->SetBinContent(2,235.7143); h_SL3L370->SetBinContent(3,218.5714); h_SL3L370->SetBinContent(4,225.7143); h_SL3L370->SetBinContent(5,540); h_SL3L370->SetBinContent(6,600); h_SL3L370->SetBinContent(7,300); h_SL3L370->SetBinContent(8,287.1429); h_SL3L370->SetBinContent(9,302.8571); h_SL3L370->SetBinContent(10,317.1429); h_SL3L370->SetBinContent(11,402.8571); h_SL3L370->SetBinContent(12,427.1429); h_SL3L370->SetBinContent(13,477.1429); h_SL3L370->SetBinContent(14,544.2857); h_SL3L370->SetBinContent(15,597.1429); h_SL3L370->SetBinContent(16,611.4286); h_SL3L370->SetBinContent(17,668.5715); h_SL3L370->SetBinContent(18,710); h_SL3L370->SetBinContent(19,748.5715); h_SL3L370->SetBinContent(20,871.4286); h_SL3L370->SetBinContent(21,1005.714); h_SL3L370->SetBinContent(22,968.5715); h_SL3L370->SetBinContent(23,1108.571); h_SL3L370->SetBinContent(24,1098.571); h_SL3L370->SetBinContent(25,1310); h_SL3L370->SetBinContent(26,1441.429); h_SL3L370->SetBinContent(27,1682.857); h_SL3L370->SetBinContent(28,1855.714); h_SL3L370->SetBinContent(29,2250); h_SL3L370->SetBinContent(30,2580); h_SL3L370->SetBinContent(31,3002.857); h_SL3L370->SetBinContent(32,4531.429); h_SL3L370->SetBinContent(33,8847.144); h_SL3L370->SetBinContent(34,38098.57); h_SL3L370->SetBinContent(35,56892.86); h_SL3L370->SetBinContent(36,61844.29); h_SL3L370->SetBinContent(37,66905.72); h_SL3L370->SetBinContent(38,70030); h_SL3L370->SetBinContent(39,64238.57); h_SL3L370->SetBinContent(40,40847.14); h_SL3L370->SetBinContent(41,9327.144); h_SL3L370->SetBinContent(42,4838.572); h_SL3L370->SetBinContent(43,3555.714); h_SL3L370->SetBinContent(44,2992.857); h_SL3L370->SetBinContent(45,927.1429); h_SL3L370->SetBinContent(46,2471.429); h_SL3L370->SetBinContent(47,2060); h_SL3L370->SetBinContent(48,2081.429); h_SL3L370->SetBinContent(49,1811.429); h_SL3L370->SetBinContent(50,1801.429); h_SL3L370->SetBinContent(51,1697.143); h_SL3L370->SetBinContent(52,1538.571); h_SL3L370->SetBinContent(53,1514.286); h_SL3L370->SetBinContent(54,1367.143); h_SL3L370->SetBinContent(55,1342.857); h_SL3L370->SetBinContent(56,1251.429); h_SL3L370->SetBinContent(57,1387.143); h_SL3L370->SetBinContent(58,1234.286); h_SL3L370->SetBinContent(59,1544.286); h_SL3L370->SetMaximum(82208.58); h_SL3L370->SetEntries(60); h_SL3L370->SetDirectory(0); h_SL3L370->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L370->SetLineColor(ci); h_SL3L370->SetLineWidth(2); h_SL3L370->GetXaxis()->SetTitle("Cell"); h_SL3L370->GetXaxis()->SetLabelFont(42); h_SL3L370->GetXaxis()->SetLabelSize(0.035); h_SL3L370->GetXaxis()->SetTitleSize(0.035); h_SL3L370->GetXaxis()->SetTitleFont(42); h_SL3L370->GetYaxis()->SetTitle("Hz"); h_SL3L370->GetYaxis()->SetLabelFont(42); h_SL3L370->GetYaxis()->SetLabelSize(0.035); h_SL3L370->GetYaxis()->SetTitleSize(0.035); h_SL3L370->GetYaxis()->SetTitleOffset(1.45); h_SL3L370->GetYaxis()->SetTitleFont(42); h_SL3L370->GetZaxis()->SetLabelFont(42); h_SL3L370->GetZaxis()->SetLabelSize(0.035); h_SL3L370->GetZaxis()->SetTitleSize(0.035); h_SL3L370->GetZaxis()->SetTitleFont(42); h_SL3L370->Draw("same"); TH1D *h_SL3L471 = new TH1D("h_SL3L471","",60,0,60); h_SL3L471->SetBinContent(2,275.7143); h_SL3L471->SetBinContent(3,230); h_SL3L471->SetBinContent(4,218.5714); h_SL3L471->SetBinContent(5,1165.714); h_SL3L471->SetBinContent(7,1491.429); h_SL3L471->SetBinContent(8,1304.286); h_SL3L471->SetBinContent(9,282.8571); h_SL3L471->SetBinContent(10,294.2857); h_SL3L471->SetBinContent(11,358.5714); h_SL3L471->SetBinContent(12,410); h_SL3L471->SetBinContent(13,445.7143); h_SL3L471->SetBinContent(14,540); h_SL3L471->SetBinContent(15,567.1429); h_SL3L471->SetBinContent(16,588.5715); h_SL3L471->SetBinContent(17,618.5715); h_SL3L471->SetBinContent(18,687.1429); h_SL3L471->SetBinContent(19,732.8572); h_SL3L471->SetBinContent(20,842.8572); h_SL3L471->SetBinContent(21,861.4286); h_SL3L471->SetBinContent(22,938.5715); h_SL3L471->SetBinContent(23,1024.286); h_SL3L471->SetBinContent(24,1110); h_SL3L471->SetBinContent(25,1237.143); h_SL3L471->SetBinContent(26,1397.143); h_SL3L471->SetBinContent(27,1621.429); h_SL3L471->SetBinContent(28,1727.143); h_SL3L471->SetBinContent(29,2047.143); h_SL3L471->SetBinContent(30,2410); h_SL3L471->SetBinContent(31,2661.429); h_SL3L471->SetBinContent(32,3512.857); h_SL3L471->SetBinContent(33,6630); h_SL3L471->SetBinContent(34,19070); h_SL3L471->SetBinContent(35,51790); h_SL3L471->SetBinContent(36,59037.14); h_SL3L471->SetBinContent(37,63805.71); h_SL3L471->SetBinContent(38,69137.14); h_SL3L471->SetBinContent(39,68097.14); h_SL3L471->SetBinContent(40,56357.14); h_SL3L471->SetBinContent(41,19965.71); h_SL3L471->SetBinContent(42,7282.857); h_SL3L471->SetBinContent(43,3895.714); h_SL3L471->SetBinContent(44,3222.857); h_SL3L471->SetBinContent(45,2757.143); h_SL3L471->SetBinContent(46,2474.286); h_SL3L471->SetBinContent(47,2227.143); h_SL3L471->SetBinContent(48,2060); h_SL3L471->SetBinContent(49,1868.572); h_SL3L471->SetBinContent(50,1850); h_SL3L471->SetBinContent(51,1705.714); h_SL3L471->SetBinContent(52,1590); h_SL3L471->SetBinContent(53,1468.571); h_SL3L471->SetBinContent(54,1317.143); h_SL3L471->SetBinContent(55,1371.429); h_SL3L471->SetBinContent(56,1301.429); h_SL3L471->SetBinContent(57,3360); h_SL3L471->SetBinContent(58,2965.714); h_SL3L471->SetBinContent(59,3097.143); h_SL3L471->SetMaximum(82208.58); h_SL3L471->SetEntries(60); h_SL3L471->SetDirectory(0); h_SL3L471->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L471->SetLineColor(ci); h_SL3L471->SetLineWidth(2); h_SL3L471->GetXaxis()->SetTitle("Cell"); h_SL3L471->GetXaxis()->SetLabelFont(42); h_SL3L471->GetXaxis()->SetLabelSize(0.035); h_SL3L471->GetXaxis()->SetTitleSize(0.035); h_SL3L471->GetXaxis()->SetTitleFont(42); h_SL3L471->GetYaxis()->SetTitle("Hz"); h_SL3L471->GetYaxis()->SetLabelFont(42); h_SL3L471->GetYaxis()->SetLabelSize(0.035); h_SL3L471->GetYaxis()->SetTitleSize(0.035); h_SL3L471->GetYaxis()->SetTitleOffset(1.45); h_SL3L471->GetYaxis()->SetTitleFont(42); h_SL3L471->GetZaxis()->SetLabelFont(42); h_SL3L471->GetZaxis()->SetLabelSize(0.035); h_SL3L471->GetZaxis()->SetTitleSize(0.035); h_SL3L471->GetZaxis()->SetTitleFont(42); h_SL3L471->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_SL3L1","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_SL3L2","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_SL3L3","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_SL3L4","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.3744221,0.9362587,0.6255779,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL3, run 6551"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }