void RatesPerCell_Removing_noisy_cells_run_5391_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:13:19 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12040.5,67.5,108364.5); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 5391",60,0,60); h_SL1L160->SetBinContent(1,437.6562); h_SL1L160->SetBinContent(2,450.4532); h_SL1L160->SetBinContent(3,529.7944); h_SL1L160->SetBinContent(4,591.2198); h_SL1L160->SetBinContent(5,509.3192); h_SL1L160->SetBinContent(6,591.2198); h_SL1L160->SetBinContent(7,598.898); h_SL1L160->SetBinContent(8,678.2392); h_SL1L160->SetBinContent(9,665.4422); h_SL1L160->SetBinContent(10,747.3428); h_SL1L160->SetBinContent(11,772.9367); h_SL1L160->SetBinContent(12,906.0252); h_SL1L160->SetBinContent(13,923.9409); h_SL1L160->SetBinContent(14,1138.93); h_SL1L160->SetBinContent(15,1026.317); h_SL1L160->SetBinContent(16,1026.317); h_SL1L160->SetBinContent(17,1236.187); h_SL1L160->SetBinContent(18,1394.869); h_SL1L160->SetBinContent(19,1474.21); h_SL1L160->SetBinContent(20,1799.253); h_SL1L160->SetBinContent(21,1952.817); h_SL1L160->SetBinContent(22,2144.771); h_SL1L160->SetBinContent(23,2326.488); h_SL1L160->SetBinContent(24,2825.57); h_SL1L160->SetBinContent(25,2979.134); h_SL1L160->SetBinContent(26,3089.188); h_SL1L160->SetBinContent(27,3242.751); h_SL1L160->SetBinContent(28,4176.93); h_SL1L160->SetBinContent(29,4706.724); h_SL1L160->SetBinContent(30,5397.76); h_SL1L160->SetBinContent(31,7547.65); h_SL1L160->SetBinContent(32,14598.78); h_SL1L160->SetBinContent(33,67585.9); h_SL1L160->SetBinContent(34,67972.37); h_SL1L160->SetBinContent(35,64906.21); h_SL1L160->SetBinContent(36,61747.92); h_SL1L160->SetBinContent(37,56124.93); h_SL1L160->SetBinContent(38,44894.32); h_SL1L160->SetBinContent(39,26008.55); h_SL1L160->SetBinContent(40,6905.243); h_SL1L160->SetBinContent(41,4665.774); h_SL1L160->SetBinContent(42,3984.975); h_SL1L160->SetBinContent(43,3739.273); h_SL1L160->SetBinContent(44,3340.008); h_SL1L160->SetBinContent(45,3222.276); h_SL1L160->SetBinContent(46,2920.268); h_SL1L160->SetBinContent(47,2730.873); h_SL1L160->SetBinContent(48,2505.646); h_SL1L160->SetBinContent(49,2231.791); h_SL1L160->SetBinContent(50,2303.454); h_SL1L160->SetBinContent(51,2101.262); h_SL1L160->SetBinContent(52,1881.154); h_SL1L160->SetBinContent(53,1819.729); h_SL1L160->SetBinContent(54,1842.763); h_SL1L160->SetBinContent(55,1655.927); h_SL1L160->SetBinContent(56,1579.146); h_SL1L160->SetBinContent(57,1648.249); h_SL1L160->SetBinContent(58,1502.364); h_SL1L160->SetBinContent(59,1515.161); h_SL1L160->SetMaximum(96324); 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,417.1811); h_SL1L261->SetBinContent(2,417.1811); h_SL1L261->SetBinContent(3,460.6908); h_SL1L261->SetBinContent(4,463.2502); h_SL1L261->SetBinContent(5,476.0471); h_SL1L261->SetBinContent(6,491.4035); h_SL1L261->SetBinContent(7,534.9131); h_SL1L261->SetBinContent(8,529.7944); h_SL1L261->SetBinContent(9,642.4077); h_SL1L261->SetBinContent(10,593.7792); h_SL1L261->SetBinContent(11,708.9519); h_SL1L261->SetBinContent(12,770.3773); h_SL1L261->SetBinContent(13,778.0555); h_SL1L261->SetBinContent(14,975.1288); h_SL1L261->SetBinContent(15,934.1785); h_SL1L261->SetBinContent(16,1033.995); h_SL1L261->SetBinContent(17,1092.861); h_SL1L261->SetBinContent(18,1118.455); h_SL1L261->SetBinContent(19,1389.75); h_SL1L261->SetBinContent(20,1476.77); h_SL1L261->SetBinContent(21,1722.472); h_SL1L261->SetBinContent(22,2001.445); h_SL1L261->SetBinContent(23,2052.633); h_SL1L261->SetBinContent(24,2329.048); h_SL1L261->SetBinContent(25,2815.333); h_SL1L261->SetBinContent(26,2799.976); h_SL1L261->SetBinContent(27,3017.525); h_SL1L261->SetBinContent(28,3762.308); h_SL1L261->SetBinContent(29,4271.627); h_SL1L261->SetBinContent(30,4760.471); h_SL1L261->SetBinContent(31,5535.967); h_SL1L261->SetBinContent(32,10224.78); h_SL1L261->SetBinContent(33,39366.03); h_SL1L261->SetBinContent(34,72141.62); h_SL1L261->SetBinContent(35,65205.66); h_SL1L261->SetBinContent(36,63956.68); h_SL1L261->SetBinContent(37,59324.18); h_SL1L261->SetBinContent(38,50619.68); h_SL1L261->SetBinContent(39,37763.85); h_SL1L261->SetBinContent(40,12223.66); h_SL1L261->SetBinContent(41,5802.145); h_SL1L261->SetBinContent(42,4054.079); h_SL1L261->SetBinContent(43,3608.744); h_SL1L261->SetBinContent(44,3388.636); h_SL1L261->SetBinContent(45,3132.697); h_SL1L261->SetBinContent(46,2958.658); h_SL1L261->SetBinContent(47,2608.022); h_SL1L261->SetBinContent(48,2449.339); h_SL1L261->SetBinContent(49,2201.078); h_SL1L261->SetBinContent(50,2119.177); h_SL1L261->SetBinContent(51,2155.009); h_SL1L261->SetBinContent(52,1881.154); h_SL1L261->SetBinContent(53,1824.847); h_SL1L261->SetBinContent(54,1722.472); h_SL1L261->SetBinContent(55,1574.027); h_SL1L261->SetBinContent(56,1494.686); h_SL1L261->SetBinContent(57,1510.042); h_SL1L261->SetBinContent(58,1420.463); h_SL1L261->SetBinContent(59,1443.498); h_SL1L261->SetMaximum(83760.49); 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,327.6023); h_SL1L362->SetBinContent(2,378.7902); h_SL1L362->SetBinContent(3,419.7405); h_SL1L362->SetBinContent(4,468.369); h_SL1L362->SetBinContent(5,432.5374); h_SL1L362->SetBinContent(6,496.5223); h_SL1L362->SetBinContent(7,491.4035); h_SL1L362->SetBinContent(8,557.9477); h_SL1L362->SetBinContent(9,560.5071); h_SL1L362->SetBinContent(10,621.9326); h_SL1L362->SetBinContent(11,747.3428); h_SL1L362->SetBinContent(12,783.1743); h_SL1L362->SetBinContent(13,821.5652); h_SL1L362->SetBinContent(14,903.4658); h_SL1L362->SetBinContent(15,939.2973); h_SL1L362->SetBinContent(16,944.4161); h_SL1L362->SetBinContent(17,1082.623); h_SL1L362->SetBinContent(18,1192.677); h_SL1L362->SetBinContent(19,1277.137); h_SL1L362->SetBinContent(20,1574.027); h_SL1L362->SetBinContent(21,1819.729); h_SL1L362->SetBinContent(22,1916.985); h_SL1L362->SetBinContent(23,2129.415); h_SL1L362->SetBinContent(24,2513.324); h_SL1L362->SetBinContent(25,2756.467); h_SL1L362->SetBinContent(26,2840.927); h_SL1L362->SetBinContent(27,3160.851); h_SL1L362->SetBinContent(28,3990.094); h_SL1L362->SetBinContent(29,4509.651); h_SL1L362->SetBinContent(30,5139.262); h_SL1L362->SetBinContent(31,7365.934); h_SL1L362->SetBinContent(32,14478.49); h_SL1L362->SetBinContent(33,68079.86); h_SL1L362->SetBinContent(34,67928.85); h_SL1L362->SetBinContent(35,65072.57); h_SL1L362->SetBinContent(36,62119.03); h_SL1L362->SetBinContent(37,56035.36); h_SL1L362->SetBinContent(38,44817.54); h_SL1L362->SetBinContent(39,25949.69); h_SL1L362->SetBinContent(40,6807.986); h_SL1L362->SetBinContent(41,4545.482); h_SL1L362->SetBinContent(42,3844.208); h_SL1L362->SetBinContent(43,3375.84); h_SL1L362->SetBinContent(44,3045.678); h_SL1L362->SetBinContent(45,3117.341); h_SL1L362->SetBinContent(46,2631.056); h_SL1L362->SetBinContent(47,2431.424); h_SL1L362->SetBinContent(48,2267.622); h_SL1L362->SetBinContent(49,2073.108); h_SL1L362->SetBinContent(50,2091.024); h_SL1L362->SetBinContent(51,1968.173); h_SL1L362->SetBinContent(52,1750.625); h_SL1L362->SetBinContent(53,1689.199); h_SL1L362->SetBinContent(54,1684.081); h_SL1L362->SetBinContent(55,1456.295); h_SL1L362->SetBinContent(56,1430.701); h_SL1L362->SetBinContent(57,1527.958); h_SL1L362->SetBinContent(58,1371.835); h_SL1L362->SetBinContent(59,1336.003); h_SL1L362->SetMaximum(83760.49); 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,391.5872); h_SL1L463->SetBinContent(3,381.3496); h_SL1L463->SetBinContent(4,432.5374); h_SL1L463->SetBinContent(5,422.2999); h_SL1L463->SetBinContent(6,429.9781); h_SL1L463->SetBinContent(7,493.9629); h_SL1L463->SetBinContent(8,509.3192); h_SL1L463->SetBinContent(9,557.9477); h_SL1L463->SetBinContent(10,532.3538); h_SL1L463->SetBinContent(11,634.7295); h_SL1L463->SetBinContent(12,683.358); h_SL1L463->SetBinContent(13,693.5955); h_SL1L463->SetBinContent(14,839.481); h_SL1L463->SetBinContent(15,842.0403); h_SL1L463->SetBinContent(16,923.9409); h_SL1L463->SetBinContent(17,1003.282); h_SL1L463->SetBinContent(18,1121.014); h_SL1L463->SetBinContent(19,1315.528); h_SL1L463->SetBinContent(20,1376.953); h_SL1L463->SetBinContent(21,1597.061); h_SL1L463->SetBinContent(22,1806.932); h_SL1L463->SetBinContent(23,1853.001); h_SL1L463->SetBinContent(24,2170.365); h_SL1L463->SetBinContent(25,2608.022); h_SL1L463->SetBinContent(26,2659.209); h_SL1L463->SetBinContent(27,2843.486); h_SL1L463->SetBinContent(28,3672.729); h_SL1L463->SetBinContent(29,4187.167); h_SL1L463->SetBinContent(30,4606.908); h_SL1L463->SetBinContent(31,5594.833); h_SL1L463->SetBinContent(32,10073.77); h_SL1L463->SetBinContent(33,39130.56); h_SL1L463->SetBinContent(34,72835.21); h_SL1L463->SetBinContent(35,65945.33); h_SL1L463->SetBinContent(36,64089.77); h_SL1L463->SetBinContent(37,59948.67); h_SL1L463->SetBinContent(38,50850.02); h_SL1L463->SetBinContent(39,38191.27); h_SL1L463->SetBinContent(40,12364.43); h_SL1L463->SetBinContent(41,5712.565); h_SL1L463->SetBinContent(42,4079.673); h_SL1L463->SetBinContent(43,3467.978); h_SL1L463->SetBinContent(44,3240.192); h_SL1L463->SetBinContent(45,3084.069); h_SL1L463->SetBinContent(46,2886.996); h_SL1L463->SetBinContent(47,2472.374); h_SL1L463->SetBinContent(48,2218.994); h_SL1L463->SetBinContent(49,2103.821); h_SL1L463->SetBinContent(50,2019.361); h_SL1L463->SetBinContent(51,1927.223); h_SL1L463->SetBinContent(52,1794.135); h_SL1L463->SetBinContent(53,1632.893); h_SL1L463->SetBinContent(54,1612.418); h_SL1L463->SetBinContent(56,1376.953); h_SL1L463->SetBinContent(57,1402.547); h_SL1L463->SetBinContent(58,1376.953); h_SL1L463->SetBinContent(59,1328.325); h_SL1L463->SetMaximum(83760.49); 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.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("SL1, run 5391"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }