void RatesPerCell_Removing_noisy_cells_run_6604_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:58:55 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11579.35,67.5,104214.2); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6604",60,0,60); h_SL1L160->SetBinContent(1,426.6565); h_SL1L160->SetBinContent(2,436.6451); h_SL1L160->SetBinContent(3,486.5882); h_SL1L160->SetBinContent(4,469.4648); h_SL1L160->SetBinContent(5,509.4193); h_SL1L160->SetBinContent(6,550.8007); h_SL1L160->SetBinContent(7,537.9582); h_SL1L160->SetBinContent(8,569.351); h_SL1L160->SetBinContent(9,623.5748); h_SL1L160->SetBinContent(10,720.6071); h_SL1L160->SetBinContent(11,821.9202); h_SL1L160->SetBinContent(12,809.0776); h_SL1L160->SetBinContent(13,901.8291); h_SL1L160->SetBinContent(14,941.7835); h_SL1L160->SetBinContent(15,874.7171); h_SL1L160->SetBinContent(16,921.8063); h_SL1L160->SetBinContent(17,1018.839); h_SL1L160->SetBinContent(18,1406.968); h_SL1L160->SetBinContent(19,1424.091); h_SL1L160->SetBinContent(20,1588.189); h_SL1L160->SetBinContent(21,1787.962); h_SL1L160->SetBinContent(22,1906.398); h_SL1L160->SetBinContent(23,2086.193); h_SL1L160->SetBinContent(24,2314.504); h_SL1L160->SetBinContent(25,2211.764); h_SL1L160->SetBinContent(26,2207.483); h_SL1L160->SetBinContent(27,2461.48); h_SL1L160->SetBinContent(28,3366.163); h_SL1L160->SetBinContent(29,3621.586); h_SL1L160->SetBinContent(30,4203.779); h_SL1L160->SetBinContent(31,5408.121); h_SL1L160->SetBinContent(32,9309.388); h_SL1L160->SetBinContent(33,36653.93); h_SL1L160->SetBinContent(34,54292.39); h_SL1L160->SetBinContent(35,58834.36); h_SL1L160->SetBinContent(36,63439.11); h_SL1L160->SetBinContent(37,67538.72); h_SL1L160->SetBinContent(38,62465.93); h_SL1L160->SetBinContent(39,40111.42); h_SL1L160->SetBinContent(40,9900.143); h_SL1L160->SetBinContent(41,5886.147); h_SL1L160->SetBinContent(42,4590.481); h_SL1L160->SetBinContent(43,4022.557); h_SL1L160->SetBinContent(44,3794.246); h_SL1L160->SetBinContent(45,3454.633); h_SL1L160->SetBinContent(46,3233.457); h_SL1L160->SetBinContent(47,3029.404); h_SL1L160->SetBinContent(48,2833.912); h_SL1L160->SetBinContent(49,2635.567); h_SL1L160->SetBinContent(50,2511.423); h_SL1L160->SetBinContent(51,2188.933); h_SL1L160->SetBinContent(52,2127.575); h_SL1L160->SetBinContent(53,2046.239); h_SL1L160->SetBinContent(54,1836.478); h_SL1L160->SetBinContent(55,1803.658); h_SL1L160->SetBinContent(56,1659.537); h_SL1L160->SetBinContent(57,1735.165); h_SL1L160->SetBinContent(58,1752.288); h_SL1L160->SetBinContent(59,1660.964); h_SL1L160->SetMaximum(92634.8); h_SL1L160->SetEntries(60); h_SL1L160->SetDirectory(0); h_SL1L160->SetStats(0); h_SL1L160->SetLineWidth(2); h_SL1L160->GetXaxis()->SetTitle("Cell"); h_SL1L160->GetXaxis()->SetLabelFont(42); h_SL1L160->GetXaxis()->SetLabelSize(0.035); h_SL1L160->GetXaxis()->SetTitleSize(0.035); h_SL1L160->GetXaxis()->SetTitleFont(42); h_SL1L160->GetYaxis()->SetTitle("Hz"); h_SL1L160->GetYaxis()->SetLabelFont(42); h_SL1L160->GetYaxis()->SetLabelSize(0.035); h_SL1L160->GetYaxis()->SetTitleSize(0.035); h_SL1L160->GetYaxis()->SetTitleOffset(1.45); h_SL1L160->GetYaxis()->SetTitleFont(42); h_SL1L160->GetZaxis()->SetLabelFont(42); h_SL1L160->GetZaxis()->SetLabelSize(0.035); h_SL1L160->GetZaxis()->SetTitleSize(0.035); h_SL1L160->GetZaxis()->SetTitleFont(42); h_SL1L160->Draw(""); TH1D *h_SL1L261 = new TH1D("h_SL1L261","",60,0,60); h_SL1L261->SetBinContent(1,433.7912); h_SL1L261->SetBinContent(2,386.702); h_SL1L261->SetBinContent(3,418.0948); h_SL1L261->SetBinContent(4,432.3643); h_SL1L261->SetBinContent(5,440.9259); h_SL1L261->SetBinContent(6,495.1498); h_SL1L261->SetBinContent(7,486.5882); h_SL1L261->SetBinContent(8,512.2731); h_SL1L261->SetBinContent(9,557.9354); h_SL1L261->SetBinContent(10,582.1935); h_SL1L261->SetBinContent(11,706.3376); h_SL1L261->SetBinContent(12,794.8082); h_SL1L261->SetBinContent(13,784.8196); h_SL1L261->SetBinContent(14,851.886); h_SL1L261->SetBinContent(15,847.6052); h_SL1L261->SetBinContent(16,844.7513); h_SL1L261->SetBinContent(17,894.6943); h_SL1L261->SetBinContent(18,1128.713); h_SL1L261->SetBinContent(19,1327.059); h_SL1L261->SetBinContent(20,1355.598); h_SL1L261->SetBinContent(21,1533.966); h_SL1L261->SetBinContent(22,1739.446); h_SL1L261->SetBinContent(23,1936.364); h_SL1L261->SetBinContent(24,2086.193); h_SL1L261->SetBinContent(25,2270.269); h_SL1L261->SetBinContent(26,2079.059); h_SL1L261->SetBinContent(27,2315.931); h_SL1L261->SetBinContent(28,2792.531); h_SL1L261->SetBinContent(29,3493.161); h_SL1L261->SetBinContent(30,3844.189); h_SL1L261->SetBinContent(31,4563.369); h_SL1L261->SetBinContent(32,7495.741); h_SL1L261->SetBinContent(33,19432.13); h_SL1L261->SetBinContent(34,51016.13); h_SL1L261->SetBinContent(35,58697.37); h_SL1L261->SetBinContent(36,63289.28); h_SL1L261->SetBinContent(37,68695.98); h_SL1L261->SetBinContent(38,68189.41); h_SL1L261->SetBinContent(39,56582.64); h_SL1L261->SetBinContent(40,19771.75); h_SL1L261->SetBinContent(41,8360.469); h_SL1L261->SetBinContent(42,4918.679); h_SL1L261->SetBinContent(43,4238.026); h_SL1L261->SetBinContent(44,3815.65); h_SL1L261->SetBinContent(45,3518.846); h_SL1L261->SetBinContent(46,3364.736); h_SL1L261->SetBinContent(47,3039.392); h_SL1L261->SetBinContent(48,2763.992); h_SL1L261->SetBinContent(49,18496.06); h_SL1L261->SetBinContent(50,2450.064); h_SL1L261->SetBinContent(51,2381.571); h_SL1L261->SetBinContent(52,2330.201); h_SL1L261->SetBinContent(53,2354.459); h_SL1L261->SetBinContent(54,1919.241); h_SL1L261->SetBinContent(55,1853.601); h_SL1L261->SetBinContent(56,6545.396); h_SL1L261->SetBinContent(57,1650.975); h_SL1L261->SetBinContent(58,1759.423); h_SL1L261->SetBinContent(59,1668.098); h_SL1L261->SetMaximum(80552.74); h_SL1L261->SetEntries(60); h_SL1L261->SetDirectory(0); h_SL1L261->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL1L261->SetLineColor(ci); h_SL1L261->SetLineWidth(2); h_SL1L261->GetXaxis()->SetTitle("Cell"); h_SL1L261->GetXaxis()->SetLabelFont(42); h_SL1L261->GetXaxis()->SetLabelSize(0.035); h_SL1L261->GetXaxis()->SetTitleSize(0.035); h_SL1L261->GetXaxis()->SetTitleFont(42); h_SL1L261->GetYaxis()->SetTitle("Hz"); h_SL1L261->GetYaxis()->SetLabelFont(42); h_SL1L261->GetYaxis()->SetLabelSize(0.035); h_SL1L261->GetYaxis()->SetTitleSize(0.035); h_SL1L261->GetYaxis()->SetTitleOffset(1.45); h_SL1L261->GetYaxis()->SetTitleFont(42); h_SL1L261->GetZaxis()->SetLabelFont(42); h_SL1L261->GetZaxis()->SetLabelSize(0.035); h_SL1L261->GetZaxis()->SetTitleSize(0.035); h_SL1L261->GetZaxis()->SetTitleFont(42); h_SL1L261->Draw("same"); TH1D *h_SL1L362 = new TH1D("h_SL1L362","",60,0,60); h_SL1L362->SetBinContent(1,343.8937); h_SL1L362->SetBinContent(2,355.3092); h_SL1L362->SetBinContent(3,372.4326); h_SL1L362->SetBinContent(4,383.8481); h_SL1L362->SetBinContent(5,445.2068); h_SL1L362->SetBinContent(6,459.4762); h_SL1L362->SetBinContent(7,458.0493); h_SL1L362->SetBinContent(8,468.0379); h_SL1L362->SetBinContent(9,503.7115); h_SL1L362->SetBinContent(10,647.8329); h_SL1L362->SetBinContent(11,744.8652); h_SL1L362->SetBinContent(12,734.8765); h_SL1L362->SetBinContent(13,794.8082); h_SL1L362->SetBinContent(14,830.4818); h_SL1L362->SetBinContent(15,789.1005); h_SL1L362->SetBinContent(16,869.0093); h_SL1L362->SetBinContent(17,946.0643); h_SL1L362->SetBinContent(18,1251.431); h_SL1L362->SetBinContent(19,1198.634); h_SL1L362->SetBinContent(20,1378.429); h_SL1L362->SetBinContent(21,1515.415); h_SL1L362->SetBinContent(22,1710.907); h_SL1L362->SetBinContent(23,1846.466); h_SL1L362->SetBinContent(24,2119.013); h_SL1L362->SetBinContent(25,2020.554); h_SL1L362->SetBinContent(26,2107.597); h_SL1L362->SetBinContent(27,2518.557); h_SL1L362->SetBinContent(28,3150.694); h_SL1L362->SetBinContent(29,3417.533); h_SL1L362->SetBinContent(30,4069.646); h_SL1L362->SetBinContent(31,5460.917); h_SL1L362->SetBinContent(32,9506.306); h_SL1L362->SetBinContent(33,37822.6); h_SL1L362->SetBinContent(34,56310.09); h_SL1L362->SetBinContent(35,61061.82); h_SL1L362->SetBinContent(36,66044.71); h_SL1L362->SetBinContent(37,70045.86); h_SL1L362->SetBinContent(38,63737.34); h_SL1L362->SetBinContent(39,41227.29); h_SL1L362->SetBinContent(40,10069.95); h_SL1L362->SetBinContent(41,5891.855); h_SL1L362->SetBinContent(42,4414.967); h_SL1L362->SetBinContent(43,3946.929); h_SL1L362->SetBinContent(44,3630.147); h_SL1L362->SetBinContent(45,3294.815); h_SL1L362->SetBinContent(46,3055.089); h_SL1L362->SetBinContent(47,2848.182); h_SL1L362->SetBinContent(48,2729.745); h_SL1L362->SetBinContent(49,2575.635); h_SL1L362->SetBinContent(50,2350.178); h_SL1L362->SetBinContent(51,2114.732); h_SL1L362->SetBinContent(52,1943.499); h_SL1L362->SetBinContent(53,5208.348); h_SL1L362->SetBinContent(54,1742.3); h_SL1L362->SetBinContent(55,1755.142); h_SL1L362->SetBinContent(56,7171.824); h_SL1L362->SetBinContent(57,1755.142); h_SL1L362->SetBinContent(58,1650.975); h_SL1L362->SetBinContent(59,1589.616); h_SL1L362->SetMaximum(80552.74); h_SL1L362->SetEntries(60); h_SL1L362->SetDirectory(0); h_SL1L362->SetStats(0); ci = TColor::GetColor("#009900"); h_SL1L362->SetLineColor(ci); h_SL1L362->SetLineWidth(2); h_SL1L362->GetXaxis()->SetTitle("Cell"); h_SL1L362->GetXaxis()->SetLabelFont(42); h_SL1L362->GetXaxis()->SetLabelSize(0.035); h_SL1L362->GetXaxis()->SetTitleSize(0.035); h_SL1L362->GetXaxis()->SetTitleFont(42); h_SL1L362->GetYaxis()->SetTitle("Hz"); h_SL1L362->GetYaxis()->SetLabelFont(42); h_SL1L362->GetYaxis()->SetLabelSize(0.035); h_SL1L362->GetYaxis()->SetTitleSize(0.035); h_SL1L362->GetYaxis()->SetTitleOffset(1.45); h_SL1L362->GetYaxis()->SetTitleFont(42); h_SL1L362->GetZaxis()->SetLabelFont(42); h_SL1L362->GetZaxis()->SetLabelSize(0.035); h_SL1L362->GetZaxis()->SetTitleSize(0.035); h_SL1L362->GetZaxis()->SetTitleFont(42); h_SL1L362->Draw("same"); TH1D *h_SL1L463 = new TH1D("h_SL1L463","",60,0,60); h_SL1L463->SetBinContent(2,44.23529); h_SL1L463->SetBinContent(3,34.24667); h_SL1L463->SetBinContent(4,29.96584); h_SL1L463->SetBinContent(5,35.67362); h_SL1L463->SetBinContent(6,42.80834); h_SL1L463->SetBinContent(7,58.50473); h_SL1L463->SetBinContent(8,19.97723); h_SL1L463->SetBinContent(9,37.10056); h_SL1L463->SetBinContent(10,34.24667); h_SL1L463->SetBinContent(11,42.80834); h_SL1L463->SetBinContent(12,62.78557); h_SL1L463->SetBinContent(13,61.35862); h_SL1L463->SetBinContent(14,74.20113); h_SL1L463->SetBinContent(15,82.76279); h_SL1L463->SetBinContent(16,47.08918); h_SL1L463->SetBinContent(17,95.6053); h_SL1L463->SetBinContent(18,68.49335); h_SL1L463->SetBinContent(19,101.3131); h_SL1L463->SetBinContent(20,109.8747); h_SL1L463->SetBinContent(21,92.7514); h_SL1L463->SetBinContent(22,105.5939); h_SL1L463->SetBinContent(23,105.5939); h_SL1L463->SetBinContent(24,138.4136); h_SL1L463->SetBinContent(25,125.5711); h_SL1L463->SetBinContent(26,108.4478); h_SL1L463->SetBinContent(27,156.9639); h_SL1L463->SetBinContent(28,204.0531); h_SL1L463->SetBinContent(29,188.3567); h_SL1L463->SetBinContent(30,256.85); h_SL1L463->SetBinContent(31,440.9259); h_SL1L463->SetBinContent(32,443.7798); h_SL1L463->SetBinContent(33,1057.366); h_SL1L463->SetBinContent(34,4172.386); h_SL1L463->SetBinContent(35,7621.312); h_SL1L463->SetBinContent(36,5520.849); h_SL1L463->SetBinContent(37,4559.088); h_SL1L463->SetBinContent(38,5378.155); h_SL1L463->SetBinContent(39,6578.215); h_SL1L463->SetBinContent(40,1498.292); h_SL1L463->SetBinContent(41,707.7646); h_SL1L463->SetBinContent(42,495.1498); h_SL1L463->SetBinContent(43,415.2409); h_SL1L463->SetBinContent(44,439.499); h_SL1L463->SetBinContent(45,309.647); h_SL1L463->SetBinContent(46,305.3662); h_SL1L463->SetBinContent(47,285.3889); h_SL1L463->SetBinContent(48,219.7495); h_SL1L463->SetBinContent(49,179.795); h_SL1L463->SetBinContent(50,185.5028); h_SL1L463->SetBinContent(51,184.0759); h_SL1L463->SetBinContent(52,149.8292); h_SL1L463->SetBinContent(53,152.6831); h_SL1L463->SetBinContent(54,119.8634); h_SL1L463->SetBinContent(56,88.47057); h_SL1L463->SetBinContent(57,94.17835); h_SL1L463->SetBinContent(58,98.45918); h_SL1L463->SetBinContent(59,104.167); h_SL1L463->SetMaximum(80552.74); h_SL1L463->SetEntries(60); h_SL1L463->SetDirectory(0); h_SL1L463->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL1L463->SetLineColor(ci); h_SL1L463->SetLineWidth(2); h_SL1L463->GetXaxis()->SetTitle("Cell"); h_SL1L463->GetXaxis()->SetLabelFont(42); h_SL1L463->GetXaxis()->SetLabelSize(0.035); h_SL1L463->GetXaxis()->SetTitleSize(0.035); h_SL1L463->GetXaxis()->SetTitleFont(42); h_SL1L463->GetYaxis()->SetTitle("Hz"); h_SL1L463->GetYaxis()->SetLabelFont(42); h_SL1L463->GetYaxis()->SetLabelSize(0.035); h_SL1L463->GetYaxis()->SetTitleSize(0.035); h_SL1L463->GetYaxis()->SetTitleOffset(1.45); h_SL1L463->GetYaxis()->SetTitleFont(42); h_SL1L463->GetZaxis()->SetLabelFont(42); h_SL1L463->GetZaxis()->SetLabelSize(0.035); h_SL1L463->GetZaxis()->SetTitleSize(0.035); h_SL1L463->GetZaxis()->SetTitleFont(42); h_SL1L463->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_SL1L1","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_SL1L2","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_SL1L3","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_SL1L4","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("SL1, run 6604"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }