void RatesPerCell_Removing_noisy_cells_run_6538_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:42:56 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11458.17,67.5,103123.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 6538",60,0,60); h_SL1L160->SetBinContent(1,385.7282); h_SL1L160->SetBinContent(2,418.7181); h_SL1L160->SetBinContent(3,410.2592); h_SL1L160->SetBinContent(4,413.6427); h_SL1L160->SetBinContent(5,420.4099); h_SL1L160->SetBinContent(6,445.7867); h_SL1L160->SetBinContent(7,455.0916); h_SL1L160->SetBinContent(8,504.1535); h_SL1L160->SetBinContent(9,532.0681); h_SL1L160->SetBinContent(10,593.8184); h_SL1L160->SetBinContent(11,656.4147); h_SL1L160->SetBinContent(12,755.3844); h_SL1L160->SetBinContent(13,823.9019); h_SL1L160->SetBinContent(14,898.3407); h_SL1L160->SetBinContent(15,749.4631); h_SL1L160->SetBinContent(16,792.6038); h_SL1L160->SetBinContent(17,899.1866); h_SL1L160->SetBinContent(18,1265.459); h_SL1L160->SetBinContent(19,1251.079); h_SL1L160->SetBinContent(20,1380.501); h_SL1L160->SetBinContent(21,1601.28); h_SL1L160->SetBinContent(22,1640.191); h_SL1L160->SetBinContent(23,1793.298); h_SL1L160->SetBinContent(24,2042.837); h_SL1L160->SetBinContent(25,1959.093); h_SL1L160->SetBinContent(26,1916.798); h_SL1L160->SetBinContent(27,2256.848); h_SL1L160->SetBinContent(28,2873.506); h_SL1L160->SetBinContent(29,3230.474); h_SL1L160->SetBinContent(30,3774.384); h_SL1L160->SetBinContent(31,5011.929); h_SL1L160->SetBinContent(32,8900.509); h_SL1L160->SetBinContent(33,36491.07); h_SL1L160->SetBinContent(34,54571.23); h_SL1L160->SetBinContent(35,58503.8); h_SL1L160->SetBinContent(36,63029.34); h_SL1L160->SetBinContent(37,67312.95); h_SL1L160->SetBinContent(38,63160.45); h_SL1L160->SetBinContent(39,39368.81); h_SL1L160->SetBinContent(40,9227.87); h_SL1L160->SetBinContent(41,5254.701); h_SL1L160->SetBinContent(42,4132.198); h_SL1L160->SetBinContent(43,3720.247); h_SL1L160->SetBinContent(44,3279.536); h_SL1L160->SetBinContent(45,3005.466); h_SL1L160->SetBinContent(46,2851.513); h_SL1L160->SetBinContent(47,2630.734); h_SL1L160->SetBinContent(48,2488.624); h_SL1L160->SetBinContent(49,2344.822); h_SL1L160->SetBinContent(50,2145.19); h_SL1L160->SetBinContent(51,1972.628); h_SL1L160->SetBinContent(52,1863.507); h_SL1L160->SetBinContent(53,1794.99); h_SL1L160->SetBinContent(54,1731.547); h_SL1L160->SetBinContent(55,1635.961); h_SL1L160->SetBinContent(56,1466.782); h_SL1L160->SetBinContent(57,1480.317); h_SL1L160->SetBinContent(58,1440.559); h_SL1L160->SetBinContent(59,691.9423); h_SL1L160->SetMaximum(91665.35); 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,327.3614); h_SL1L261->SetBinContent(2,358.6595); h_SL1L261->SetBinContent(3,366.2726); h_SL1L261->SetBinContent(4,350.2006); h_SL1L261->SetBinContent(5,365.4267); h_SL1L261->SetBinContent(6,387.42); h_SL1L261->SetBinContent(7,423.7935); h_SL1L261->SetBinContent(8,427.1771); h_SL1L261->SetBinContent(9,403.492); h_SL1L261->SetBinContent(10,532.9139); h_SL1L261->SetBinContent(11,555.7531); h_SL1L261->SetBinContent(12,632.7296); h_SL1L261->SetBinContent(13,723.2404); h_SL1L261->SetBinContent(14,795.9874); h_SL1L261->SetBinContent(15,790.0661); h_SL1L261->SetBinContent(16,743.5419); h_SL1L261->SetBinContent(17,817.1348); h_SL1L261->SetBinContent(18,1077.67); h_SL1L261->SetBinContent(19,1097.972); h_SL1L261->SetBinContent(20,1252.771); h_SL1L261->SetBinContent(21,1366.967); h_SL1L261->SetBinContent(22,1508.231); h_SL1L261->SetBinContent(23,1632.578); h_SL1L261->SetBinContent(24,1771.304); h_SL1L261->SetBinContent(25,2006.463); h_SL1L261->SetBinContent(26,1762.846); h_SL1L261->SetBinContent(27,2028.457); h_SL1L261->SetBinContent(28,2552.066); h_SL1L261->SetBinContent(29,2992.777); h_SL1L261->SetBinContent(30,3388.656); h_SL1L261->SetBinContent(31,4065.372); h_SL1L261->SetBinContent(32,7037.002); h_SL1L261->SetBinContent(33,19068.17); h_SL1L261->SetBinContent(34,50733.41); h_SL1L261->SetBinContent(35,58269.49); h_SL1L261->SetBinContent(36,62364.47); h_SL1L261->SetBinContent(37,67593.79); h_SL1L261->SetBinContent(38,67685.99); h_SL1L261->SetBinContent(39,56872.07); h_SL1L261->SetBinContent(40,19354.08); h_SL1L261->SetBinContent(41,7578.375); h_SL1L261->SetBinContent(42,4407.96); h_SL1L261->SetBinContent(43,3853.052); h_SL1L261->SetBinContent(44,3454.636); h_SL1L261->SetBinContent(45,3062.986); h_SL1L261->SetBinContent(46,2980.089); h_SL1L261->SetBinContent(47,2645.114); h_SL1L261->SetBinContent(48,2486.932); h_SL1L261->SetBinContent(49,18100.46); h_SL1L261->SetBinContent(50,2158.724); h_SL1L261->SetBinContent(51,2040.299); h_SL1L261->SetBinContent(52,2091.899); h_SL1L261->SetBinContent(53,1947.251); h_SL1L261->SetBinContent(54,1694.328); h_SL1L261->SetBinContent(55,1579.286); h_SL1L261->SetBinContent(56,6339.984); h_SL1L261->SetBinContent(57,1465.09); h_SL1L261->SetBinContent(58,1418.566); h_SL1L261->SetBinContent(59,738.4665); h_SL1L261->SetMaximum(79709.55); 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,297.7551); h_SL1L362->SetBinContent(2,328.2073); h_SL1L362->SetBinContent(3,294.3715); h_SL1L362->SetBinContent(4,301.1387); h_SL1L362->SetBinContent(5,319.7484); h_SL1L362->SetBinContent(6,361.1972); h_SL1L362->SetBinContent(7,384.0364); h_SL1L362->SetBinContent(8,378.1151); h_SL1L362->SetBinContent(9,473.7013); h_SL1L362->SetBinContent(10,517.6879); h_SL1L362->SetBinContent(11,509.2289); h_SL1L362->SetBinContent(12,667.4113); h_SL1L362->SetBinContent(13,675.8702); h_SL1L362->SetBinContent(14,735.9288); h_SL1L362->SetBinContent(15,688.5587); h_SL1L362->SetBinContent(16,730.0075); h_SL1L362->SetBinContent(17,869.5803); h_SL1L362->SetBinContent(18,1006.615); h_SL1L362->SetBinContent(19,1094.588); h_SL1L362->SetBinContent(20,1216.397); h_SL1L362->SetBinContent(21,1390.652); h_SL1L362->SetBinContent(22,1432.1); h_SL1L362->SetBinContent(23,1568.29); h_SL1L362->SetBinContent(24,1826.288); h_SL1L362->SetBinContent(25,1770.459); h_SL1L362->SetBinContent(26,1847.435); h_SL1L362->SetBinContent(27,2206.095); h_SL1L362->SetBinContent(28,2667.953); h_SL1L362->SetBinContent(29,3076.521); h_SL1L362->SetBinContent(30,3564.602); h_SL1L362->SetBinContent(31,5001.778); h_SL1L362->SetBinContent(32,9039.235); h_SL1L362->SetBinContent(33,37402.1); h_SL1L362->SetBinContent(34,56240.19); h_SL1L362->SetBinContent(35,60390.99); h_SL1L362->SetBinContent(36,64859.01); h_SL1L362->SetBinContent(37,69312.65); h_SL1L362->SetBinContent(38,63547.03); h_SL1L362->SetBinContent(39,40131.8); h_SL1L362->SetBinContent(40,9294.696); h_SL1L362->SetBinContent(41,5176.878); h_SL1L362->SetBinContent(42,4058.605); h_SL1L362->SetBinContent(43,3528.229); h_SL1L362->SetBinContent(44,3150.114); h_SL1L362->SetBinContent(45,2876.889); h_SL1L362->SetBinContent(46,2656.111); h_SL1L362->SetBinContent(47,2491.161); h_SL1L362->SetBinContent(48,2287.301); h_SL1L362->SetBinContent(49,2143.498); h_SL1L362->SetBinContent(50,1979.395); h_SL1L362->SetBinContent(51,1827.134); h_SL1L362->SetBinContent(52,1755.232); h_SL1L362->SetBinContent(53,4890.966); h_SL1L362->SetBinContent(54,1496.389); h_SL1L362->SetBinContent(55,1531.07); h_SL1L362->SetBinContent(56,7010.779); h_SL1L362->SetBinContent(57,1717.167); h_SL1L362->SetBinContent(58,1406.724); h_SL1L362->SetBinContent(59,676.7161); h_SL1L362->SetMaximum(79709.55); 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,293.5256); h_SL1L463->SetBinContent(3,297.7551); h_SL1L463->SetBinContent(4,285.9126); h_SL1L463->SetBinContent(5,311.2894); h_SL1L463->SetBinContent(6,316.3648); h_SL1L463->SetBinContent(7,384.8823); h_SL1L463->SetBinContent(8,316.3648); h_SL1L463->SetBinContent(9,347.6629); h_SL1L463->SetBinContent(10,459.3211); h_SL1L463->SetBinContent(11,459.3211); h_SL1L463->SetBinContent(12,564.2121); h_SL1L463->SetBinContent(13,591.2807); h_SL1L463->SetBinContent(14,679.2538); h_SL1L463->SetBinContent(15,675.0244); h_SL1L463->SetBinContent(16,664.0277); h_SL1L463->SetBinContent(17,739.3124); h_SL1L463->SetBinContent(18,894.9571); h_SL1L463->SetBinContent(19,935.5601); h_SL1L463->SetBinContent(20,1078.516); h_SL1L463->SetBinContent(21,1217.243); h_SL1L463->SetBinContent(22,1277.302); h_SL1L463->SetBinContent(23,1369.504); h_SL1L463->SetBinContent(24,1553.909); h_SL1L463->SetBinContent(25,1725.626); h_SL1L463->SetBinContent(26,1661.338); h_SL1L463->SetBinContent(27,1906.648); h_SL1L463->SetBinContent(28,2414.185); h_SL1L463->SetBinContent(29,2743.238); h_SL1L463->SetBinContent(30,3146.73); h_SL1L463->SetBinContent(31,3907.19); h_SL1L463->SetBinContent(32,6699.49); h_SL1L463->SetBinContent(33,18456.59); h_SL1L463->SetBinContent(34,50343.45); h_SL1L463->SetBinContent(35,58176.44); h_SL1L463->SetBinContent(36,61638.69); h_SL1L463->SetBinContent(37,66820.64); h_SL1L463->SetBinContent(38,66158.3); h_SL1L463->SetBinContent(39,55907.75); h_SL1L463->SetBinContent(40,19269.49); h_SL1L463->SetBinContent(41,7234.941); h_SL1L463->SetBinContent(42,4200.715); h_SL1L463->SetBinContent(43,3590.825); h_SL1L463->SetBinContent(44,3172.953); h_SL1L463->SetBinContent(45,2875.198); h_SL1L463->SetBinContent(46,2782.149); h_SL1L463->SetBinContent(47,2417.568); h_SL1L463->SetBinContent(48,2268.691); h_SL1L463->SetBinContent(49,2017.46); h_SL1L463->SetBinContent(50,1940.484); h_SL1L463->SetBinContent(51,1763.691); h_SL1L463->SetBinContent(52,1718.859); h_SL1L463->SetBinContent(53,1542.067); h_SL1L463->SetBinContent(54,1538.683); h_SL1L463->SetBinContent(55,3.383581); h_SL1L463->SetBinContent(56,1394.881); h_SL1L463->SetBinContent(57,1234.161); h_SL1L463->SetBinContent(58,1262.922); h_SL1L463->SetBinContent(59,727.4698); h_SL1L463->SetMaximum(79709.55); 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 6538"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }