void RatesPerCell_Removing_noisy_cells_run_6684_SL2() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 11:05:18 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-14954.46,67.5,134590.1); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6684",60,0,60); h_SL2L164->SetBinContent(1,659.4116); h_SL2L164->SetBinContent(2,786.527); h_SL2L164->SetBinContent(3,997.062); h_SL2L164->SetBinContent(4,989.1173); h_SL2L164->SetBinContent(5,1076.509); h_SL2L164->SetBinContent(6,1159.929); h_SL2L164->SetBinContent(7,1100.343); h_SL2L164->SetBinContent(8,1191.708); h_SL2L164->SetBinContent(9,1350.602); h_SL2L164->SetBinContent(10,1283.072); h_SL2L164->SetBinContent(11,1592.916); h_SL2L164->SetBinContent(12,1644.557); h_SL2L164->SetBinContent(13,1803.451); h_SL2L164->SetBinContent(14,1882.898); h_SL2L164->SetBinContent(15,1918.649); h_SL2L164->SetBinContent(16,1831.257); h_SL2L164->SetBinContent(17,2069.599); h_SL2L164->SetBinContent(18,2280.134); h_SL2L164->SetBinContent(19,2450.945); h_SL2L164->SetBinContent(20,2518.475); h_SL2L164->SetBinContent(21,2490.669); h_SL2L164->SetBinContent(22,2891.877); h_SL2L164->SetBinContent(23,3126.246); h_SL2L164->SetBinContent(24,3440.063); h_SL2L164->SetBinContent(25,8715.355); h_SL2L164->SetBinContent(26,27719.12); h_SL2L164->SetBinContent(27,41944.14); h_SL2L164->SetBinContent(28,49797.49); h_SL2L164->SetBinContent(29,53642.73); h_SL2L164->SetBinContent(30,52474.86); h_SL2L164->SetBinContent(31,49316.83); h_SL2L164->SetBinContent(32,49499.56); h_SL2L164->SetBinContent(33,47847.06); h_SL2L164->SetBinContent(34,27397.36); h_SL2L164->SetBinContent(36,3753.879); h_SL2L164->SetBinContent(37,4568.212); h_SL2L164->SetBinContent(38,3281.168); h_SL2L164->SetBinContent(39,3730.045); h_SL2L164->SetBinContent(40,64284.68); h_SL2L164->SetBinContent(41,90462.52); h_SL2L164->SetBinContent(42,6256.465); h_SL2L164->SetBinContent(43,6320.022); h_SL2L164->SetBinContent(44,6439.193); h_SL2L164->SetBinContent(45,1346.63); h_SL2L164->SetBinContent(46,1179.791); h_SL2L164->SetBinContent(47,1203.625); h_SL2L164->SetBinContent(48,1155.956); h_SL2L164->SetBinContent(49,1128.15); h_SL2L164->SetBinContent(50,1044.73); h_SL2L164->SetBinContent(51,869.9465); h_SL2L164->SetBinContent(52,718.9969); h_SL2L164->SetBinContent(53,838.1677); h_SL2L164->SetBinContent(54,691.1904); h_SL2L164->SetBinContent(55,607.7709); h_SL2L164->SetBinContent(56,572.0197); h_SL2L164->SetBinContent(57,6478.917); h_SL2L164->SetMaximum(119635.6); h_SL2L164->SetEntries(60); h_SL2L164->SetDirectory(0); h_SL2L164->SetStats(0); h_SL2L164->SetLineWidth(2); h_SL2L164->GetXaxis()->SetTitle("Cell"); h_SL2L164->GetXaxis()->SetLabelFont(42); h_SL2L164->GetXaxis()->SetLabelSize(0.035); h_SL2L164->GetXaxis()->SetTitleSize(0.035); h_SL2L164->GetXaxis()->SetTitleFont(42); h_SL2L164->GetYaxis()->SetTitle("Hz"); h_SL2L164->GetYaxis()->SetLabelFont(42); h_SL2L164->GetYaxis()->SetLabelSize(0.035); h_SL2L164->GetYaxis()->SetTitleSize(0.035); h_SL2L164->GetYaxis()->SetTitleOffset(1.45); h_SL2L164->GetYaxis()->SetTitleFont(42); h_SL2L164->GetZaxis()->SetLabelFont(42); h_SL2L164->GetZaxis()->SetLabelSize(0.035); h_SL2L164->GetZaxis()->SetTitleSize(0.035); h_SL2L164->GetZaxis()->SetTitleFont(42); h_SL2L164->Draw(""); TH1D *h_SL2L265 = new TH1D("h_SL2L265","",60,0,60); h_SL2L265->SetBinContent(1,659.4116); h_SL2L265->SetBinContent(2,798.4441); h_SL2L265->SetBinContent(3,810.3612); h_SL2L265->SetBinContent(4,913.6425); h_SL2L265->SetBinContent(5,1040.758); h_SL2L265->SetBinContent(6,1052.675); h_SL2L265->SetBinContent(7,1044.73); h_SL2L265->SetBinContent(8,1231.431); h_SL2L265->SetBinContent(9,1271.155); h_SL2L265->SetBinContent(10,1326.768); h_SL2L265->SetBinContent(11,1386.353); h_SL2L265->SetBinContent(12,1640.584); h_SL2L265->SetBinContent(13,1704.142); h_SL2L265->SetBinContent(14,1799.479); h_SL2L265->SetBinContent(15,1791.534); h_SL2L265->SetBinContent(16,1878.926); h_SL2L265->SetBinContent(17,1847.147); h_SL2L265->SetBinContent(18,2280.134); h_SL2L265->SetBinContent(19,2280.134); h_SL2L265->SetBinContent(20,2419.167); h_SL2L265->SetBinContent(21,2570.116); h_SL2L265->SetBinContent(22,2589.978); h_SL2L265->SetBinContent(23,2860.098); h_SL2L265->SetBinContent(24,3185.832); h_SL2L265->SetBinContent(25,4353.705); h_SL2L265->SetBinContent(26,17696.86); h_SL2L265->SetBinContent(27,35250.71); h_SL2L265->SetBinContent(28,47167.79); h_SL2L265->SetBinContent(29,51879); h_SL2L265->SetBinContent(30,53019.07); h_SL2L265->SetBinContent(31,50973.31); h_SL2L265->SetBinContent(32,49400.25); h_SL2L265->SetBinContent(33,49698.18); h_SL2L265->SetBinContent(34,40815.98); h_SL2L265->SetBinContent(35,14646.09); h_SL2L265->SetBinContent(36,4778.748); h_SL2L265->SetBinContent(37,3273.224); h_SL2L265->SetBinContent(38,2566.144); h_SL2L265->SetBinContent(39,2844.209); h_SL2L265->SetBinContent(40,3880.994); h_SL2L265->SetBinContent(41,3181.859); h_SL2L265->SetBinContent(42,2605.867); h_SL2L265->SetBinContent(43,2037.82); h_SL2L265->SetBinContent(44,2105.35); h_SL2L265->SetBinContent(45,1402.243); h_SL2L265->SetBinContent(46,1124.177); h_SL2L265->SetBinContent(47,1140.067); h_SL2L265->SetBinContent(48,1076.509); h_SL2L265->SetBinContent(49,1104.316); h_SL2L265->SetBinContent(50,1032.813); h_SL2L265->SetBinContent(51,965.2831); h_SL2L265->SetBinContent(52,842.14); h_SL2L265->SetBinContent(53,782.5547); h_SL2L265->SetBinContent(54,750.7758); h_SL2L265->SetBinContent(55,679.2733); h_SL2L265->SetBinContent(56,607.7709); h_SL2L265->SetBinContent(57,647.4944); h_SL2L265->SetMaximum(104031.9); h_SL2L265->SetEntries(60); h_SL2L265->SetDirectory(0); h_SL2L265->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL2L265->SetLineColor(ci); h_SL2L265->SetLineWidth(2); h_SL2L265->GetXaxis()->SetTitle("Cell"); h_SL2L265->GetXaxis()->SetLabelFont(42); h_SL2L265->GetXaxis()->SetLabelSize(0.035); h_SL2L265->GetXaxis()->SetTitleSize(0.035); h_SL2L265->GetXaxis()->SetTitleFont(42); h_SL2L265->GetYaxis()->SetTitle("Hz"); h_SL2L265->GetYaxis()->SetLabelFont(42); h_SL2L265->GetYaxis()->SetLabelSize(0.035); h_SL2L265->GetYaxis()->SetTitleSize(0.035); h_SL2L265->GetYaxis()->SetTitleOffset(1.45); h_SL2L265->GetYaxis()->SetTitleFont(42); h_SL2L265->GetZaxis()->SetLabelFont(42); h_SL2L265->GetZaxis()->SetLabelSize(0.035); h_SL2L265->GetZaxis()->SetTitleSize(0.035); h_SL2L265->GetZaxis()->SetTitleFont(42); h_SL2L265->Draw("same"); TH1D *h_SL2L366 = new TH1D("h_SL2L366","",60,0,60); h_SL2L366->SetBinContent(1,703.1075); h_SL2L366->SetBinContent(2,738.8587); h_SL2L366->SetBinContent(3,881.8636); h_SL2L366->SetBinContent(4,949.3937); h_SL2L366->SetBinContent(5,957.3384); h_SL2L366->SetBinContent(6,1159.929); h_SL2L366->SetBinContent(7,1028.841); h_SL2L366->SetBinContent(8,1239.376); h_SL2L366->SetBinContent(9,1211.569); h_SL2L366->SetBinContent(10,1259.238); h_SL2L366->SetBinContent(11,1533.33); h_SL2L366->SetBinContent(12,1584.971); h_SL2L366->SetBinContent(13,1692.225); h_SL2L366->SetBinContent(14,1803.451); h_SL2L366->SetBinContent(15,1882.898); h_SL2L366->SetBinContent(16,1811.396); h_SL2L366->SetBinContent(17,2049.737); h_SL2L366->SetBinContent(18,2196.714); h_SL2L366->SetBinContent(19,2383.415); h_SL2L366->SetBinContent(20,2443); h_SL2L366->SetBinContent(21,2427.111); h_SL2L366->SetBinContent(22,2828.319); h_SL2L366->SetBinContent(23,3046.799); h_SL2L366->SetBinContent(24,3344.726); h_SL2L366->SetBinContent(25,8409.483); h_SL2L366->SetBinContent(26,27846.23); h_SL2L366->SetBinContent(27,41876.61); h_SL2L366->SetBinContent(28,49880.91); h_SL2L366->SetBinContent(29,53277.27); h_SL2L366->SetBinContent(30,52383.5); h_SL2L366->SetBinContent(31,49698.18); h_SL2L366->SetBinContent(32,49777.62); h_SL2L366->SetBinContent(33,48057.59); h_SL2L366->SetBinContent(34,27492.7); h_SL2L366->SetBinContent(35,7329.002); h_SL2L366->SetBinContent(36,3797.575); h_SL2L366->SetBinContent(37,3042.827); h_SL2L366->SetBinContent(38,2403.277); h_SL2L366->SetBinContent(39,2069.599); h_SL2L366->SetBinContent(40,2204.659); h_SL2L366->SetBinContent(41,2113.295); h_SL2L366->SetBinContent(42,1648.529); h_SL2L366->SetBinContent(43,1505.524); h_SL2L366->SetBinContent(44,1326.768); h_SL2L366->SetBinContent(45,1350.602); h_SL2L366->SetBinContent(46,1151.984); h_SL2L366->SetBinContent(47,1012.951); h_SL2L366->SetBinContent(48,1036.786); h_SL2L366->SetBinContent(49,1068.564); h_SL2L366->SetBinContent(50,1052.675); h_SL2L366->SetBinContent(51,790.4994); h_SL2L366->SetBinContent(52,762.6929); h_SL2L366->SetBinContent(53,790.4994); h_SL2L366->SetBinContent(54,726.9417); h_SL2L366->SetBinContent(55,564.075); h_SL2L366->SetBinContent(56,635.5774); h_SL2L366->SetBinContent(57,615.7156); h_SL2L366->SetMaximum(104031.9); h_SL2L366->SetEntries(60); h_SL2L366->SetDirectory(0); h_SL2L366->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L366->SetLineColor(ci); h_SL2L366->SetLineWidth(2); h_SL2L366->GetXaxis()->SetTitle("Cell"); h_SL2L366->GetXaxis()->SetLabelFont(42); h_SL2L366->GetXaxis()->SetLabelSize(0.035); h_SL2L366->GetXaxis()->SetTitleSize(0.035); h_SL2L366->GetXaxis()->SetTitleFont(42); h_SL2L366->GetYaxis()->SetTitle("Hz"); h_SL2L366->GetYaxis()->SetLabelFont(42); h_SL2L366->GetYaxis()->SetLabelSize(0.035); h_SL2L366->GetYaxis()->SetTitleSize(0.035); h_SL2L366->GetYaxis()->SetTitleOffset(1.45); h_SL2L366->GetYaxis()->SetTitleFont(42); h_SL2L366->GetZaxis()->SetLabelFont(42); h_SL2L366->GetZaxis()->SetLabelSize(0.035); h_SL2L366->GetZaxis()->SetTitleSize(0.035); h_SL2L366->GetZaxis()->SetTitleFont(42); h_SL2L366->Draw("same"); TH1D *h_SL2L467 = new TH1D("h_SL2L467","",60,0,60); h_SL2L467->SetBinContent(2,794.4717); h_SL2L467->SetBinContent(3,762.6929); h_SL2L467->SetBinContent(4,969.2555); h_SL2L467->SetBinContent(5,1012.951); h_SL2L467->SetBinContent(6,1064.592); h_SL2L467->SetBinContent(7,1048.703); h_SL2L467->SetBinContent(8,1191.708); h_SL2L467->SetBinContent(9,1211.569); h_SL2L467->SetBinContent(10,1231.431); h_SL2L467->SetBinContent(11,1326.768); h_SL2L467->SetBinContent(12,1537.303); h_SL2L467->SetBinContent(13,1652.501); h_SL2L467->SetBinContent(14,1751.81); h_SL2L467->SetBinContent(15,1716.059); h_SL2L467->SetBinContent(16,1795.506); h_SL2L467->SetBinContent(17,1890.843); h_SL2L467->SetBinContent(18,2097.405); h_SL2L467->SetBinContent(19,2220.549); h_SL2L467->SetBinContent(20,2399.305); h_SL2L467->SetBinContent(21,2331.775); h_SL2L467->SetBinContent(22,2518.475); h_SL2L467->SetBinContent(23,2939.545); h_SL2L467->SetBinContent(24,3185.832); h_SL2L467->SetBinContent(25,4198.783); h_SL2L467->SetBinContent(26,17673.02); h_SL2L467->SetBinContent(27,35361.94); h_SL2L467->SetBinContent(28,47056.56); h_SL2L467->SetBinContent(29,51922.7); h_SL2L467->SetBinContent(30,53813.54); h_SL2L467->SetBinContent(31,50766.75); h_SL2L467->SetBinContent(32,49523.39); h_SL2L467->SetBinContent(33,49972.27); h_SL2L467->SetBinContent(34,41038.44); h_SL2L467->SetBinContent(35,14602.39); h_SL2L467->SetBinContent(36,4619.853); h_SL2L467->SetBinContent(37,3308.975); h_SL2L467->SetBinContent(38,2629.701); h_SL2L467->SetBinContent(39,2379.443); h_SL2L467->SetBinContent(40,1819.34); h_SL2L467->SetBinContent(41,1692.225); h_SL2L467->SetBinContent(42,1954.401); h_SL2L467->SetBinContent(43,1521.413); h_SL2L467->SetBinContent(44,1378.408); h_SL2L467->SetBinContent(45,1350.602); h_SL2L467->SetBinContent(46,1112.26); h_SL2L467->SetBinContent(47,1100.343); h_SL2L467->SetBinContent(48,989.1173); h_SL2L467->SetBinContent(49,1008.979); h_SL2L467->SetBinContent(50,977.2003); h_SL2L467->SetBinContent(51,889.8083); h_SL2L467->SetBinContent(52,834.1953); h_SL2L467->SetBinContent(53,842.14); h_SL2L467->SetBinContent(54,679.2733); h_SL2L467->SetBinContent(55,707.0798); h_SL2L467->SetBinContent(56,516.4066); h_SL2L467->SetBinContent(57,671.3286); h_SL2L467->SetMaximum(104031.9); h_SL2L467->SetEntries(60); h_SL2L467->SetDirectory(0); h_SL2L467->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L467->SetLineColor(ci); h_SL2L467->SetLineWidth(2); h_SL2L467->GetXaxis()->SetTitle("Cell"); h_SL2L467->GetXaxis()->SetLabelFont(42); h_SL2L467->GetXaxis()->SetLabelSize(0.035); h_SL2L467->GetXaxis()->SetTitleSize(0.035); h_SL2L467->GetXaxis()->SetTitleFont(42); h_SL2L467->GetYaxis()->SetTitle("Hz"); h_SL2L467->GetYaxis()->SetLabelFont(42); h_SL2L467->GetYaxis()->SetLabelSize(0.035); h_SL2L467->GetYaxis()->SetTitleSize(0.035); h_SL2L467->GetYaxis()->SetTitleOffset(1.45); h_SL2L467->GetYaxis()->SetTitleFont(42); h_SL2L467->GetZaxis()->SetLabelFont(42); h_SL2L467->GetZaxis()->SetLabelSize(0.035); h_SL2L467->GetZaxis()->SetTitleSize(0.035); h_SL2L467->GetZaxis()->SetTitleFont(42); h_SL2L467->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_SL2L1","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_SL2L2","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_SL2L3","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_SL2L4","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("SL2, run 6684"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }