void RatesPerCell_Removing_noisy_cells_run_4995_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:37:55 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11343.6,67.5,102092.4); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 4995",60,0,60); h_SL3L168->SetBinContent(1,131.8424); h_SL3L168->SetBinContent(2,152.468); h_SL3L168->SetBinContent(4,157.7256); h_SL3L168->SetBinContent(5,171.476); h_SL3L168->SetBinContent(6,179.5645); h_SL3L168->SetBinContent(7,188.0574); h_SL3L168->SetBinContent(8,193.7194); h_SL3L168->SetBinContent(9,234.9707); h_SL3L168->SetBinContent(10,227.2866); h_SL3L168->SetBinContent(11,258.4273); h_SL3L168->SetBinContent(12,262.8759); h_SL3L168->SetBinContent(13,297.6565); h_SL3L168->SetBinContent(14,294.4211); h_SL3L168->SetBinContent(15,334.0547); h_SL3L168->SetBinContent(16,357.5113); h_SL3L168->SetBinContent(17,395.9316); h_SL3L168->SetBinContent(18,441.6316); h_SL3L168->SetBinContent(19,531.4139); h_SL3L168->SetBinContent(20,594.9085); h_SL3L168->SetBinContent(21,674.1757); h_SL3L168->SetBinContent(22,734.8394); h_SL3L168->SetBinContent(23,895.3959); h_SL3L168->SetBinContent(24,975.0676); h_SL3L168->SetBinContent(25,1112.572); h_SL3L168->SetBinContent(26,1245.223); h_SL3L168->SetBinContent(27,1493.135); h_SL3L168->SetBinContent(28,1828.808); h_SL3L168->SetBinContent(29,2209.776); h_SL3L168->SetBinContent(30,2646.959); h_SL3L168->SetBinContent(31,3068.369); h_SL3L168->SetBinContent(32,5480.357); h_SL3L168->SetBinContent(33,11902.62); h_SL3L168->SetBinContent(34,63093.46); h_SL3L168->SetBinContent(35,65350.15); h_SL3L168->SetBinContent(36,63270.6); h_SL3L168->SetBinContent(37,62508.67); h_SL3L168->SetBinContent(38,57238.61); h_SL3L168->SetBinContent(39,45725.05); h_SL3L168->SetBinContent(40,26077.29); h_SL3L168->SetBinContent(41,5920.371); h_SL3L168->SetBinContent(42,3342.569); h_SL3L168->SetBinContent(43,2618.245); h_SL3L168->SetBinContent(44,2241.321); h_SL3L168->SetBinContent(45,1969.548); h_SL3L168->SetBinContent(46,1740.643); h_SL3L168->SetBinContent(47,1502.842); h_SL3L168->SetBinContent(48,1372.617); h_SL3L168->SetBinContent(49,12815.41); h_SL3L168->SetBinContent(50,1097.608); h_SL3L168->SetBinContent(51,1026.429); h_SL3L168->SetBinContent(52,1002.164); h_SL3L168->SetBinContent(53,908.7419); h_SL3L168->SetBinContent(54,906.3154); h_SL3L168->SetBinContent(55,830.2836); h_SL3L168->SetBinContent(56,778.9217); h_SL3L168->SetBinContent(57,744.1412); h_SL3L168->SetBinContent(58,649.1014); h_SL3L168->SetBinContent(59,562.959); h_SL3L168->SetMaximum(90748.8); 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,122.5406); h_SL3L269->SetBinContent(2,140.7397); h_SL3L269->SetBinContent(4,150.8504); h_SL3L269->SetBinContent(5,163.3875); h_SL3L269->SetBinContent(6,184.4176); h_SL3L269->SetBinContent(7,174.7114); h_SL3L269->SetBinContent(8,183.6087); h_SL3L269->SetBinContent(9,209.4919); h_SL3L269->SetBinContent(10,206.6609); h_SL3L269->SetBinContent(11,235.3751); h_SL3L269->SetBinContent(12,234.1618); h_SL3L269->SetBinContent(13,259.6406); h_SL3L269->SetBinContent(14,285.1193); h_SL3L269->SetBinContent(15,311.0025); h_SL3L269->SetBinContent(16,342.952); h_SL3L269->SetBinContent(17,368.4308); h_SL3L269->SetBinContent(18,392.2918); h_SL3L269->SetBinContent(19,489.3537); h_SL3L269->SetBinContent(20,547.5908); h_SL3L269->SetBinContent(21,607.8501); h_SL3L269->SetBinContent(22,658.4031); h_SL3L269->SetBinContent(23,814.511); h_SL3L269->SetBinContent(24,906.7198); h_SL3L269->SetBinContent(25,1024.003); h_SL3L269->SetBinContent(26,1167.574); h_SL3L269->SetBinContent(27,1265.444); h_SL3L269->SetBinContent(28,1621.742); h_SL3L269->SetBinContent(29,1996.644); h_SL3L269->SetBinContent(30,2385.296); h_SL3L269->SetBinContent(31,2758.984); h_SL3L269->SetBinContent(32,3493.824); h_SL3L269->SetBinContent(33,7970.803); h_SL3L269->SetBinContent(34,35542.85); h_SL3L269->SetBinContent(35,68128.15); h_SL3L269->SetBinContent(36,63558.15); h_SL3L269->SetBinContent(37,63112.07); h_SL3L269->SetBinContent(38,60435.18); h_SL3L269->SetBinContent(39,52032.86); h_SL3L269->SetBinContent(40,38197.09); h_SL3L269->SetBinContent(41,11701.22); h_SL3L269->SetBinContent(42,4728.936); h_SL3L269->SetBinContent(43,2813.986); h_SL3L269->SetBinContent(44,2378.421); h_SL3L269->SetBinContent(45,2058.116); h_SL3L269->SetBinContent(46,1802.925); h_SL3L269->SetBinContent(47,1568.763); h_SL3L269->SetBinContent(48,1389.198); h_SL3L269->SetBinContent(49,1240.775); h_SL3L269->SetBinContent(50,1072.938); h_SL3L269->SetBinContent(51,1051.908); h_SL3L269->SetBinContent(52,992.4578); h_SL3L269->SetBinContent(53,920.0659); h_SL3L269->SetBinContent(54,868.2995); h_SL3L269->SetBinContent(55,860.6154); h_SL3L269->SetBinContent(56,809.658); h_SL3L269->SetBinContent(57,725.9421); h_SL3L269->SetBinContent(58,668.5138); h_SL3L269->SetBinContent(59,590.4598); h_SL3L269->SetMaximum(78912.45); 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,136.6955); h_SL3L370->SetBinContent(2,145.5928); h_SL3L370->SetBinContent(3,143.1663); h_SL3L370->SetBinContent(4,162.1742); h_SL3L370->SetBinContent(5,163.7919); h_SL3L370->SetBinContent(6,170.2627); h_SL3L370->SetBinContent(7,180.7778); h_SL3L370->SetBinContent(8,203.0211); h_SL3L370->SetBinContent(9,213.1317); h_SL3L370->SetBinContent(10,213.5362); h_SL3L370->SetBinContent(11,243.868); h_SL3L370->SetBinContent(12,248.7211); h_SL3L370->SetBinContent(13,264.8981); h_SL3L370->SetBinContent(14,300.083); h_SL3L370->SetBinContent(15,318.2821); h_SL3L370->SetBinContent(16,354.2759); h_SL3L370->SetBinContent(17,357.1069); h_SL3L370->SetBinContent(18,428.2856); h_SL3L370->SetBinContent(19,500.6776); h_SL3L370->SetBinContent(20,556.8926); h_SL3L370->SetBinContent(21,639.7996); h_SL3L370->SetBinContent(22,704.1031); h_SL3L370->SetBinContent(23,831.9013); h_SL3L370->SetBinContent(24,937.8605); h_SL3L370->SetBinContent(25,1076.174); h_SL3L370->SetBinContent(26,1172.022); h_SL3L370->SetBinContent(27,1423.574); h_SL3L370->SetBinContent(28,1767.74); h_SL3L370->SetBinContent(29,2127.273); h_SL3L370->SetBinContent(30,2517.543); h_SL3L370->SetBinContent(31,2978.991); h_SL3L370->SetBinContent(32,5365.5); h_SL3L370->SetBinContent(33,11894.93); h_SL3L370->SetBinContent(34,62898.53); h_SL3L370->SetBinContent(35,65354.6); h_SL3L370->SetBinContent(36,63314.68); h_SL3L370->SetBinContent(37,62299.98); h_SL3L370->SetBinContent(38,57152.06); h_SL3L370->SetBinContent(39,45514.75); h_SL3L370->SetBinContent(40,25968.91); h_SL3L370->SetBinContent(41,5846.766); h_SL3L370->SetBinContent(42,3232.161); h_SL3L370->SetBinContent(43,2547.066); h_SL3L370->SetBinContent(44,2128.486); h_SL3L370->SetBinContent(45,1749.945); h_SL3L370->SetBinContent(46,1649.648); h_SL3L370->SetBinContent(47,1416.699); h_SL3L370->SetBinContent(48,1307.1); h_SL3L370->SetBinContent(49,1149.375); h_SL3L370->SetBinContent(50,1002.568); h_SL3L370->SetBinContent(51,1015.51); h_SL3L370->SetBinContent(52,973.4499); h_SL3L370->SetBinContent(53,878.4101); h_SL3L370->SetBinContent(54,839.5854); h_SL3L370->SetBinContent(55,812.4889); h_SL3L370->SetBinContent(56,769.6199); h_SL3L370->SetBinContent(57,696.8235); h_SL3L370->SetBinContent(58,635.7554); h_SL3L370->SetBinContent(59,545.5687); h_SL3L370->SetMaximum(78912.45); 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,138.7176); h_SL3L471->SetBinContent(3,144.784); h_SL3L471->SetBinContent(4,145.9973); h_SL3L471->SetBinContent(5,165.0052); h_SL3L471->SetBinContent(6,167.4318); h_SL3L471->SetBinContent(7,173.0937); h_SL3L471->SetBinContent(8,180.3734); h_SL3L471->SetBinContent(9,218.7937); h_SL3L471->SetBinContent(10,215.9627); h_SL3L471->SetBinContent(11,226.8822); h_SL3L471->SetBinContent(12,238.2061); h_SL3L471->SetBinContent(13,276.6264); h_SL3L471->SetBinContent(14,299.6786); h_SL3L471->SetBinContent(15,328.7971); h_SL3L471->SetBinContent(16,334.4591); h_SL3L471->SetBinContent(17,369.2396); h_SL3L471->SetBinContent(18,433.1387); h_SL3L471->SetBinContent(19,501.8909); h_SL3L471->SetBinContent(20,544.3555); h_SL3L471->SetBinContent(21,619.9828); h_SL3L471->SetBinContent(22,681.8598); h_SL3L471->SetBinContent(23,814.9155); h_SL3L471->SetBinContent(24,922.8968); h_SL3L471->SetBinContent(25,1015.51); h_SL3L471->SetBinContent(26,1179.302); h_SL3L471->SetBinContent(27,1335.41); h_SL3L471->SetBinContent(28,1618.507); h_SL3L471->SetBinContent(29,1981.276); h_SL3L471->SetBinContent(30,2365.884); h_SL3L471->SetBinContent(31,2742.807); h_SL3L471->SetBinContent(32,3466.323); h_SL3L471->SetBinContent(33,8019.334); h_SL3L471->SetBinContent(34,35774.99); h_SL3L471->SetBinContent(35,68619.52); h_SL3L471->SetBinContent(36,63555.32); h_SL3L471->SetBinContent(37,63171.11); h_SL3L471->SetBinContent(38,60556.11); h_SL3L471->SetBinContent(39,51933.77); h_SL3L471->SetBinContent(40,38289.7); h_SL3L471->SetBinContent(41,11766.33); h_SL3L471->SetBinContent(42,4724.488); h_SL3L471->SetBinContent(43,2761.006); h_SL3L471->SetBinContent(44,2313.308); h_SL3L471->SetBinContent(45,2039.109); h_SL3L471->SetBinContent(46,1765.313); h_SL3L471->SetBinContent(47,1530.747); h_SL3L471->SetBinContent(48,1366.146); h_SL3L471->SetBinContent(49,1199.119); h_SL3L471->SetBinContent(50,1074.152); h_SL3L471->SetBinContent(51,1021.172); h_SL3L471->SetBinContent(52,989.6269); h_SL3L471->SetBinContent(53,925.3234); h_SL3L471->SetBinContent(54,862.2332); h_SL3L471->SetBinContent(55,843.6296); h_SL3L471->SetBinContent(56,769.2155); h_SL3L471->SetBinContent(57,729.1775); h_SL3L471->SetBinContent(58,661.2341); h_SL3L471->SetBinContent(59,610.2767); h_SL3L471->SetMaximum(78912.45); 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.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("SL3, run 4995"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }