void RatesPerCell_Removing_noisy_cells_run_5391_SL3() { //=========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,-12165.71,67.5,109491.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 5391",60,0,60); h_SL3L168->SetBinContent(1,289.2114); h_SL3L168->SetBinContent(2,214.989); h_SL3L168->SetBinContent(4,319.9241); h_SL3L168->SetBinContent(5,360.8745); h_SL3L168->SetBinContent(6,312.246); h_SL3L168->SetBinContent(7,350.6369); h_SL3L168->SetBinContent(8,381.3496); h_SL3L168->SetBinContent(9,389.0278); h_SL3L168->SetBinContent(10,409.5029); h_SL3L168->SetBinContent(11,422.2999); h_SL3L168->SetBinContent(12,524.6756); h_SL3L168->SetBinContent(13,509.3192); h_SL3L168->SetBinContent(14,639.8483); h_SL3L168->SetBinContent(15,721.7489); h_SL3L168->SetBinContent(16,734.5458); h_SL3L168->SetBinContent(17,749.9022); h_SL3L168->SetBinContent(18,980.2476); h_SL3L168->SetBinContent(19,998.1633); h_SL3L168->SetBinContent(20,995.6039); h_SL3L168->SetBinContent(21,1320.647); h_SL3L168->SetBinContent(22,1251.543); h_SL3L168->SetBinContent(23,1535.636); h_SL3L168->SetBinContent(24,1789.016); h_SL3L168->SetBinContent(25,1970.733); h_SL3L168->SetBinContent(26,2206.197); h_SL3L168->SetBinContent(27,2375.117); h_SL3L168->SetBinContent(28,2938.183); h_SL3L168->SetBinContent(29,3539.641); h_SL3L168->SetBinContent(30,4046.401); h_SL3L168->SetBinContent(31,4658.096); h_SL3L168->SetBinContent(32,7086.959); h_SL3L168->SetBinContent(33,14273.74); h_SL3L168->SetBinContent(34,68522.63); h_SL3L168->SetBinContent(35,68919.34); h_SL3L168->SetBinContent(36,65766.16); h_SL3L168->SetBinContent(37,63071.12); h_SL3L168->SetBinContent(38,56959.3); h_SL3L168->SetBinContent(39,45662.13); h_SL3L168->SetBinContent(40,26592.1); h_SL3L168->SetBinContent(41,6774.714); h_SL3L168->SetBinContent(42,4143.658); h_SL3L168->SetBinContent(43,3380.958); h_SL3L168->SetBinContent(44,2907.471); h_SL3L168->SetBinContent(45,2684.803); h_SL3L168->SetBinContent(46,2497.968); h_SL3L168->SetBinContent(47,2175.484); h_SL3L168->SetBinContent(48,2006.564); h_SL3L168->SetBinContent(49,20505.86); h_SL3L168->SetBinContent(50,1604.74); h_SL3L168->SetBinContent(51,1561.23); h_SL3L168->SetBinContent(52,1666.165); h_SL3L168->SetBinContent(53,1289.934); h_SL3L168->SetBinContent(54,1348.8); h_SL3L168->SetBinContent(55,1325.766); h_SL3L168->SetBinContent(56,1238.746); h_SL3L168->SetBinContent(57,1138.93); h_SL3L168->SetBinContent(58,1108.217); h_SL3L168->SetBinContent(59,929.0597); h_SL3L168->SetMaximum(97325.65); 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,284.0927); h_SL3L269->SetBinContent(2,263.6175); h_SL3L269->SetBinContent(4,299.449); h_SL3L269->SetBinContent(5,312.246); h_SL3L269->SetBinContent(6,340.3993); h_SL3L269->SetBinContent(7,332.7211); h_SL3L269->SetBinContent(8,327.6023); h_SL3L269->SetBinContent(9,371.112); h_SL3L269->SetBinContent(10,429.9781); h_SL3L269->SetBinContent(11,412.0623); h_SL3L269->SetBinContent(12,465.8096); h_SL3L269->SetBinContent(13,504.2004); h_SL3L269->SetBinContent(14,570.7447); h_SL3L269->SetBinContent(15,670.561); h_SL3L269->SetBinContent(16,688.4767); h_SL3L269->SetBinContent(17,785.7337); h_SL3L269->SetBinContent(18,870.1937); h_SL3L269->SetBinContent(19,898.347); h_SL3L269->SetBinContent(20,957.2131); h_SL3L269->SetBinContent(21,1138.93); h_SL3L269->SetBinContent(22,1233.628); h_SL3L269->SetBinContent(23,1443.498); h_SL3L269->SetBinContent(24,1525.398); h_SL3L269->SetBinContent(25,1855.56); h_SL3L269->SetBinContent(26,2131.975); h_SL3L269->SetBinContent(27,2377.676); h_SL3L269->SetBinContent(28,2515.884); h_SL3L269->SetBinContent(29,3189.004); h_SL3L269->SetBinContent(30,3754.63); h_SL3L269->SetBinContent(31,4240.915); h_SL3L269->SetBinContent(32,5131.583); h_SL3L269->SetBinContent(33,9671.947); h_SL3L269->SetBinContent(34,39135.68); h_SL3L269->SetBinContent(35,72935.02); h_SL3L269->SetBinContent(36,66359.95); h_SL3L269->SetBinContent(37,64509.5); h_SL3L269->SetBinContent(38,60949.39); h_SL3L269->SetBinContent(39,51768.84); h_SL3L269->SetBinContent(40,38342.27); h_SL3L269->SetBinContent(41,12535.91); h_SL3L269->SetBinContent(42,5471.982); h_SL3L269->SetBinContent(43,3706.001); h_SL3L269->SetBinContent(44,3004.728); h_SL3L269->SetBinContent(45,2761.585); h_SL3L269->SetBinContent(46,2579.868); h_SL3L269->SetBinContent(47,2218.994); h_SL3L269->SetBinContent(48,2037.277); h_SL3L269->SetBinContent(49,1911.867); h_SL3L269->SetBinContent(50,1655.927); h_SL3L269->SetBinContent(51,1517.72); h_SL3L269->SetBinContent(52,1576.586); h_SL3L269->SetBinContent(53,1448.617); h_SL3L269->SetBinContent(54,1315.528); h_SL3L269->SetBinContent(55,1282.256); h_SL3L269->SetBinContent(56,1256.662); h_SL3L269->SetBinContent(57,1128.692); h_SL3L269->SetBinContent(58,1021.198); h_SL3L269->SetBinContent(59,964.8912); h_SL3L269->SetMaximum(84631.71); 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,271.2957); h_SL3L370->SetBinContent(2,253.3799); h_SL3L370->SetBinContent(3,273.8551); h_SL3L370->SetBinContent(4,322.4836); h_SL3L370->SetBinContent(5,337.8399); h_SL3L370->SetBinContent(6,327.6023); h_SL3L370->SetBinContent(7,350.6369); h_SL3L370->SetBinContent(8,348.0775); h_SL3L370->SetBinContent(9,376.2308); h_SL3L370->SetBinContent(10,424.8593); h_SL3L370->SetBinContent(11,458.1314); h_SL3L370->SetBinContent(12,563.0665); h_SL3L370->SetBinContent(13,516.9974); h_SL3L370->SetBinContent(14,583.5416); h_SL3L370->SetBinContent(15,724.3083); h_SL3L370->SetBinContent(16,752.4616); h_SL3L370->SetBinContent(17,798.5306); h_SL3L370->SetBinContent(18,916.2628); h_SL3L370->SetBinContent(19,962.3318); h_SL3L370->SetBinContent(20,1013.52); h_SL3L370->SetBinContent(21,1284.815); h_SL3L370->SetBinContent(22,1318.088); h_SL3L370->SetBinContent(23,1525.398); h_SL3L370->SetBinContent(24,1699.437); h_SL3L370->SetBinContent(25,1960.495); h_SL3L370->SetBinContent(26,2211.316); h_SL3L370->SetBinContent(27,2500.527); h_SL3L370->SetBinContent(28,2779.501); h_SL3L370->SetBinContent(29,3457.74); h_SL3L370->SetBinContent(30,3967.059); h_SL3L370->SetBinContent(31,4699.046); h_SL3L370->SetBinContent(32,6895.005); h_SL3L370->SetBinContent(33,14158.56); h_SL3L370->SetBinContent(34,68248.78); h_SL3L370->SetBinContent(35,68824.64); h_SL3L370->SetBinContent(36,65648.44); h_SL3L370->SetBinContent(37,63019.94); h_SL3L370->SetBinContent(38,56874.84); h_SL3L370->SetBinContent(39,45649.34); h_SL3L370->SetBinContent(40,26423.18); h_SL3L370->SetBinContent(41,6567.403); h_SL3L370->SetBinContent(42,4077.113); h_SL3L370->SetBinContent(43,3204.36); h_SL3L370->SetBinContent(44,2861.402); h_SL3L370->SetBinContent(45,2444.22); h_SL3L370->SetBinContent(46,2421.186); h_SL3L370->SetBinContent(47,2142.212); h_SL3L370->SetBinContent(48,1929.782); h_SL3L370->SetBinContent(49,1794.135); h_SL3L370->SetBinContent(50,1543.314); h_SL3L370->SetBinContent(51,1512.601); h_SL3L370->SetBinContent(52,1540.755); h_SL3L370->SetBinContent(53,1361.597); h_SL3L370->SetBinContent(54,1305.291); h_SL3L370->SetBinContent(55,1289.934); h_SL3L370->SetBinContent(56,1184.999); h_SL3L370->SetBinContent(57,1087.742); h_SL3L370->SetBinContent(58,1080.064); h_SL3L370->SetBinContent(59,898.347); h_SL3L370->SetMaximum(84631.71); 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,261.0581); h_SL3L471->SetBinContent(3,284.0927); h_SL3L471->SetBinContent(4,335.2805); h_SL3L471->SetBinContent(5,304.5678); h_SL3L471->SetBinContent(6,337.8399); h_SL3L471->SetBinContent(7,360.8745); h_SL3L471->SetBinContent(8,340.3993); h_SL3L471->SetBinContent(9,404.3841); h_SL3L471->SetBinContent(10,445.3344); h_SL3L471->SetBinContent(11,445.3344); h_SL3L471->SetBinContent(12,470.9283); h_SL3L471->SetBinContent(13,552.8289); h_SL3L471->SetBinContent(14,634.7295); h_SL3L471->SetBinContent(15,675.6798); h_SL3L471->SetBinContent(16,691.0361); h_SL3L471->SetBinContent(17,867.6343); h_SL3L471->SetBinContent(18,880.4313); h_SL3L471->SetBinContent(19,931.6191); h_SL3L471->SetBinContent(20,1062.148); h_SL3L471->SetBinContent(21,1167.083); h_SL3L471->SetBinContent(22,1315.528); h_SL3L471->SetBinContent(23,1420.463); h_SL3L471->SetBinContent(24,1599.621); h_SL3L471->SetBinContent(25,1870.916); h_SL3L471->SetBinContent(26,2108.94); h_SL3L471->SetBinContent(27,2449.339); h_SL3L471->SetBinContent(28,2613.14); h_SL3L471->SetBinContent(29,3045.678); h_SL3L471->SetBinContent(30,3769.986); h_SL3L471->SetBinContent(31,4269.068); h_SL3L471->SetBinContent(32,5093.192); h_SL3L471->SetBinContent(33,9782.001); h_SL3L471->SetBinContent(34,39450.48); h_SL3L471->SetBinContent(35,73592.79); h_SL3L471->SetBinContent(36,66475.12); h_SL3L471->SetBinContent(37,64637.47); h_SL3L471->SetBinContent(38,60964.75); h_SL3L471->SetBinContent(39,51889.14); h_SL3L471->SetBinContent(40,38447.2); h_SL3L471->SetBinContent(41,12681.79); h_SL3L471->SetBinContent(42,5438.71); h_SL3L471->SetBinContent(43,3473.096); h_SL3L471->SetBinContent(44,3048.237); h_SL3L471->SetBinContent(45,2697.6); h_SL3L471->SetBinContent(46,2469.814); h_SL3L471->SetBinContent(47,2267.622); h_SL3L471->SetBinContent(48,1980.97); h_SL3L471->SetBinContent(49,1878.595); h_SL3L471->SetBinContent(50,9298.275); h_SL3L471->SetBinContent(51,1545.873); h_SL3L471->SetBinContent(52,1504.923); h_SL3L471->SetBinContent(53,1556.111); h_SL3L471->SetBinContent(54,1277.137); h_SL3L471->SetBinContent(55,1343.681); h_SL3L471->SetBinContent(56,1205.474); h_SL3L471->SetBinContent(57,1126.133); h_SL3L471->SetBinContent(58,1105.658); h_SL3L471->SetBinContent(59,995.6039); h_SL3L471->SetMaximum(84631.71); 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.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("SL3, run 5391"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }