void RatesPerCell_Removing_noisy_cells_run_4999_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 14:54:39 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11388.88,67.5,102499.9); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 4999",60,0,60); h_SL1L160->SetBinContent(1,23.51945); h_SL1L160->SetBinContent(2,28.22334); h_SL1L160->SetBinContent(3,23.51945); h_SL1L160->SetBinContent(4,18.81556); h_SL1L160->SetBinContent(5,47.0389); h_SL1L160->SetBinContent(6,32.92723); h_SL1L160->SetBinContent(7,42.33501); h_SL1L160->SetBinContent(8,84.67003); h_SL1L160->SetBinContent(9,28.22334); h_SL1L160->SetBinContent(10,37.63112); h_SL1L160->SetBinContent(11,65.85446); h_SL1L160->SetBinContent(12,47.0389); h_SL1L160->SetBinContent(13,70.55836); h_SL1L160->SetBinContent(14,51.74279); h_SL1L160->SetBinContent(15,75.26225); h_SL1L160->SetBinContent(16,103.4856); h_SL1L160->SetBinContent(17,42.33501); h_SL1L160->SetBinContent(18,108.1895); h_SL1L160->SetBinContent(19,98.7817); h_SL1L160->SetBinContent(20,150.5245); h_SL1L160->SetBinContent(21,127.005); h_SL1L160->SetBinContent(22,136.4128); h_SL1L160->SetBinContent(23,174.0439); h_SL1L160->SetBinContent(24,136.4128); h_SL1L160->SetBinContent(25,178.7478); h_SL1L160->SetBinContent(26,192.8595); h_SL1L160->SetBinContent(27,230.4906); h_SL1L160->SetBinContent(28,286.9373); h_SL1L160->SetBinContent(29,333.9762); h_SL1L160->SetBinContent(30,423.3501); h_SL1L160->SetBinContent(31,522.1318); h_SL1L160->SetBinContent(32,1133.638); h_SL1L160->SetBinContent(33,5522.367); h_SL1L160->SetBinContent(34,6604.262); h_SL1L160->SetBinContent(35,6693.636); h_SL1L160->SetBinContent(36,5550.591); h_SL1L160->SetBinContent(37,6924.126); h_SL1L160->SetBinContent(38,5249.542); h_SL1L160->SetBinContent(39,2554.212); h_SL1L160->SetBinContent(40,625.6174); h_SL1L160->SetBinContent(41,371.6073); h_SL1L160->SetBinContent(42,418.6462); h_SL1L160->SetBinContent(43,329.2723); h_SL1L160->SetBinContent(44,249.3062); h_SL1L160->SetBinContent(45,239.8984); h_SL1L160->SetBinContent(46,235.1945); h_SL1L160->SetBinContent(47,206.9712); h_SL1L160->SetBinContent(48,150.5245); h_SL1L160->SetBinContent(49,225.7867); h_SL1L160->SetBinContent(50,178.7478); h_SL1L160->SetBinContent(51,155.2284); h_SL1L160->SetBinContent(52,89.37392); h_SL1L160->SetBinContent(53,136.4128); h_SL1L160->SetBinContent(54,141.1167); h_SL1L160->SetBinContent(55,84.67003); h_SL1L160->SetBinContent(56,70.55836); h_SL1L160->SetBinContent(57,141.1167); h_SL1L160->SetBinContent(58,98.7817); h_SL1L160->SetBinContent(59,150.5245); h_SL1L160->SetMaximum(91111.05); 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,305.7529); h_SL1L261->SetBinContent(2,310.4568); h_SL1L261->SetBinContent(3,230.4906); h_SL1L261->SetBinContent(4,348.0879); h_SL1L261->SetBinContent(5,352.7918); h_SL1L261->SetBinContent(6,319.8645); h_SL1L261->SetBinContent(7,352.7918); h_SL1L261->SetBinContent(8,352.7918); h_SL1L261->SetBinContent(9,418.6462); h_SL1L261->SetBinContent(10,413.9424); h_SL1L261->SetBinContent(11,348.0879); h_SL1L261->SetBinContent(12,555.0591); h_SL1L261->SetBinContent(13,526.8357); h_SL1L261->SetBinContent(14,536.2435); h_SL1L261->SetBinContent(15,663.2485); h_SL1L261->SetBinContent(16,460.9813); h_SL1L261->SetBinContent(17,597.394); h_SL1L261->SetBinContent(18,757.3264); h_SL1L261->SetBinContent(19,1006.633); h_SL1L261->SetBinContent(20,1001.929); h_SL1L261->SetBinContent(21,1171.269); h_SL1L261->SetBinContent(22,1288.866); h_SL1L261->SetBinContent(23,1477.022); h_SL1L261->SetBinContent(24,1669.881); h_SL1L261->SetBinContent(25,1754.551); h_SL1L261->SetBinContent(26,1858.037); h_SL1L261->SetBinContent(27,1952.115); h_SL1L261->SetBinContent(28,2850.558); h_SL1L261->SetBinContent(29,3038.713); h_SL1L261->SetBinContent(30,3335.058); h_SL1L261->SetBinContent(31,4271.132); h_SL1L261->SetBinContent(32,8264.735); h_SL1L261->SetBinContent(33,35777.79); h_SL1L261->SetBinContent(34,67928.88); h_SL1L261->SetBinContent(35,63370.81); h_SL1L261->SetBinContent(36,63300.25); h_SL1L261->SetBinContent(37,59758.22); h_SL1L261->SetBinContent(38,51672.23); h_SL1L261->SetBinContent(39,38355.52); h_SL1L261->SetBinContent(40,11858.51); h_SL1L261->SetBinContent(41,5047.274); h_SL1L261->SetBinContent(42,3504.398); h_SL1L261->SetBinContent(43,3128.087); h_SL1L261->SetBinContent(44,2864.669); h_SL1L261->SetBinContent(45,2568.324); h_SL1L261->SetBinContent(46,2474.246); h_SL1L261->SetBinContent(47,2243.756); h_SL1L261->SetBinContent(48,2069.712); h_SL1L261->SetBinContent(49,10174.51); h_SL1L261->SetBinContent(50,1589.915); h_SL1L261->SetBinContent(51,1462.91); h_SL1L261->SetBinContent(52,1288.866); h_SL1L261->SetBinContent(53,1081.895); h_SL1L261->SetBinContent(54,1067.783); h_SL1L261->SetBinContent(55,1001.929); h_SL1L261->SetBinContent(56,1218.308); h_SL1L261->SetBinContent(57,921.9625); h_SL1L261->SetBinContent(58,1030.152); h_SL1L261->SetBinContent(59,898.4431); h_SL1L261->SetMaximum(79227.16); 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,310.4568); h_SL1L362->SetBinContent(2,239.8984); h_SL1L362->SetBinContent(3,239.8984); h_SL1L362->SetBinContent(4,376.3112); h_SL1L362->SetBinContent(5,305.7529); h_SL1L362->SetBinContent(6,296.3451); h_SL1L362->SetBinContent(7,291.6412); h_SL1L362->SetBinContent(8,343.384); h_SL1L362->SetBinContent(9,329.2723); h_SL1L362->SetBinContent(10,348.0879); h_SL1L362->SetBinContent(11,385.719); h_SL1L362->SetBinContent(12,451.5735); h_SL1L362->SetBinContent(13,489.2046); h_SL1L362->SetBinContent(14,409.2385); h_SL1L362->SetBinContent(15,517.4279); h_SL1L362->SetBinContent(16,564.4669); h_SL1L362->SetBinContent(17,630.3213); h_SL1L362->SetBinContent(18,870.2197); h_SL1L362->SetBinContent(19,809.0692); h_SL1L362->SetBinContent(20,1025.448); h_SL1L362->SetBinContent(21,1284.162); h_SL1L362->SetBinContent(22,1199.492); h_SL1L362->SetBinContent(23,1486.429); h_SL1L362->SetBinContent(24,1552.284); h_SL1L362->SetBinContent(25,1632.25); h_SL1L362->SetBinContent(26,1970.93); h_SL1L362->SetBinContent(27,2173.197); h_SL1L362->SetBinContent(28,2925.82); h_SL1L362->SetBinContent(29,3250.388); h_SL1L362->SetBinContent(30,3344.466); h_SL1L362->SetBinContent(31,5969.237); h_SL1L362->SetBinContent(32,12074.89); h_SL1L362->SetBinContent(33,63535.45); h_SL1L362->SetBinContent(34,65750.98); h_SL1L362->SetBinContent(35,63337.88); h_SL1L362->SetBinContent(36,62180.73); h_SL1L362->SetBinContent(37,57345.12); h_SL1L362->SetBinContent(38,45641.85); h_SL1L362->SetBinContent(39,25711.46); h_SL1L362->SetBinContent(40,6449.034); h_SL1L362->SetBinContent(41,3800.743); h_SL1L362->SetBinContent(42,3405.617); h_SL1L362->SetBinContent(43,2845.854); h_SL1L362->SetBinContent(44,2634.178); h_SL1L362->SetBinContent(45,2290.795); h_SL1L362->SetBinContent(46,2220.236); h_SL1L362->SetBinContent(47,2083.823); h_SL1L362->SetBinContent(48,1820.406); h_SL1L362->SetBinContent(49,1669.881); h_SL1L362->SetBinContent(50,1467.614); h_SL1L362->SetBinContent(51,1251.235); h_SL1L362->SetBinContent(52,1166.565); h_SL1L362->SetBinContent(53,1810.998); h_SL1L362->SetBinContent(54,1058.375); h_SL1L362->SetBinContent(55,1072.487); h_SL1L362->SetBinContent(56,1721.624); h_SL1L362->SetBinContent(57,987.817); h_SL1L362->SetBinContent(58,945.4819); h_SL1L362->SetBinContent(59,917.2586); h_SL1L362->SetMaximum(79227.16); 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,244.6023); h_SL1L463->SetBinContent(3,235.1945); h_SL1L463->SetBinContent(4,282.2334); h_SL1L463->SetBinContent(5,244.6023); h_SL1L463->SetBinContent(6,263.4178); h_SL1L463->SetBinContent(7,249.3062); h_SL1L463->SetBinContent(8,301.049); h_SL1L463->SetBinContent(9,385.719); h_SL1L463->SetBinContent(10,324.5684); h_SL1L463->SetBinContent(11,371.6073); h_SL1L463->SetBinContent(12,442.1657); h_SL1L463->SetBinContent(13,460.9813); h_SL1L463->SetBinContent(14,390.4229); h_SL1L463->SetBinContent(15,479.7968); h_SL1L463->SetBinContent(16,404.5346); h_SL1L463->SetBinContent(17,526.8357); h_SL1L463->SetBinContent(18,597.394); h_SL1L463->SetBinContent(19,804.3652); h_SL1L463->SetBinContent(20,926.6664); h_SL1L463->SetBinContent(21,1020.744); h_SL1L463->SetBinContent(22,1161.861); h_SL1L463->SetBinContent(23,1317.089); h_SL1L463->SetBinContent(24,1500.541); h_SL1L463->SetBinContent(25,1599.323); h_SL1L463->SetBinContent(26,1825.109); h_SL1L463->SetBinContent(27,1970.93); h_SL1L463->SetBinContent(28,2643.586); h_SL1L463->SetBinContent(29,2954.043); h_SL1L463->SetBinContent(30,3057.529); h_SL1L463->SetBinContent(31,4021.826); h_SL1L463->SetBinContent(32,8128.322); h_SL1L463->SetBinContent(33,35876.57); h_SL1L463->SetBinContent(34,68893.18); h_SL1L463->SetBinContent(35,64090.5); h_SL1L463->SetBinContent(36,63845.9); h_SL1L463->SetBinContent(37,60063.98); h_SL1L463->SetBinContent(38,51775.72); h_SL1L463->SetBinContent(39,39131.66); h_SL1L463->SetBinContent(40,11830.28); h_SL1L463->SetBinContent(41,4986.124); h_SL1L463->SetBinContent(42,3509.102); h_SL1L463->SetBinContent(43,3024.602); h_SL1L463->SetBinContent(44,2558.916); h_SL1L463->SetBinContent(45,2403.688); h_SL1L463->SetBinContent(46,2177.901); h_SL1L463->SetBinContent(47,2027.377); h_SL1L463->SetBinContent(48,1956.818); h_SL1L463->SetBinContent(49,1716.92); h_SL1L463->SetBinContent(50,1509.949); h_SL1L463->SetBinContent(51,1340.609); h_SL1L463->SetBinContent(52,1171.269); h_SL1L463->SetBinContent(53,1039.56); h_SL1L463->SetBinContent(54,1053.671); h_SL1L463->SetBinContent(56,940.7781); h_SL1L463->SetBinContent(57,827.8847); h_SL1L463->SetBinContent(58,865.5158); h_SL1L463->SetBinContent(59,907.8508); h_SL1L463->SetMaximum(79227.16); 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 4999"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }