void RatesPerCell_Removing_noisy_cells_run_5397_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:30:26 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11925.36,67.5,107328.2); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 5397",60,0,60); h_SL3L168->SetBinContent(1,270.2401); h_SL3L168->SetBinContent(2,243.3576); h_SL3L168->SetBinContent(4,339.5688); h_SL3L168->SetBinContent(5,340.9836); h_SL3L168->SetBinContent(6,342.3985); h_SL3L168->SetBinContent(7,348.058); h_SL3L168->SetBinContent(8,370.6959); h_SL3L168->SetBinContent(9,394.7487); h_SL3L168->SetBinContent(10,363.6215); h_SL3L168->SetBinContent(11,445.684); h_SL3L168->SetBinContent(12,519.2572); h_SL3L168->SetBinContent(13,585.7561); h_SL3L168->SetBinContent(14,645.1806); h_SL3L168->SetBinContent(15,747.0513); h_SL3L168->SetBinContent(16,752.7108); h_SL3L168->SetBinContent(17,809.3055); h_SL3L168->SetBinContent(18,882.8787); h_SL3L168->SetBinContent(19,963.5263); h_SL3L168->SetBinContent(20,1163.023); h_SL3L168->SetBinContent(21,1161.608); h_SL3L168->SetBinContent(22,1328.563); h_SL3L168->SetBinContent(23,1637.004); h_SL3L168->SetBinContent(24,1683.695); h_SL3L168->SetBinContent(25,1945.446); h_SL3L168->SetBinContent(26,2129.379); h_SL3L168->SetBinContent(27,2539.691); h_SL3L168->SetBinContent(28,2925.951); h_SL3L168->SetBinContent(29,3450.867); h_SL3L168->SetBinContent(30,3941.827); h_SL3L168->SetBinContent(31,4547.392); h_SL3L168->SetBinContent(32,6787.13); h_SL3L168->SetBinContent(33,13878.46); h_SL3L168->SetBinContent(34,67006.82); h_SL3L168->SetBinContent(35,67592.58); h_SL3L168->SetBinContent(36,63509.26); h_SL3L168->SetBinContent(37,61661.44); h_SL3L168->SetBinContent(38,55341.21); h_SL3L168->SetBinContent(39,44876.84); h_SL3L168->SetBinContent(40,25705.35); h_SL3L168->SetBinContent(41,6422.094); h_SL3L168->SetBinContent(42,3998.422); h_SL3L168->SetBinContent(43,3094.32); h_SL3L168->SetBinContent(44,2781.634); h_SL3L168->SetBinContent(45,2534.032); h_SL3L168->SetBinContent(46,2333.12); h_SL3L168->SetBinContent(47,1992.137); h_SL3L168->SetBinContent(48,1856.309); h_SL3L168->SetBinContent(49,19462.95); h_SL3L168->SetBinContent(50,1532.304); h_SL3L168->SetBinContent(51,1621.441); h_SL3L168->SetBinContent(52,1472.879); h_SL3L168->SetBinContent(53,1403.551); h_SL3L168->SetBinContent(54,1311.584); h_SL3L168->SetBinContent(55,1305.925); h_SL3L168->SetBinContent(56,1223.862); h_SL3L168->SetBinContent(57,1191.32); h_SL3L168->SetBinContent(58,1005.972); h_SL3L168->SetBinContent(59,1058.323); h_SL3L168->SetMaximum(95402.85); 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,244.7725); h_SL3L269->SetBinContent(2,236.2832); h_SL3L269->SetBinContent(4,319.7606); h_SL3L269->SetBinContent(5,363.6215); h_SL3L269->SetBinContent(6,328.2498); h_SL3L269->SetBinContent(7,357.9621); h_SL3L269->SetBinContent(8,333.9093); h_SL3L269->SetBinContent(9,400.4081); h_SL3L269->SetBinContent(10,376.3554); h_SL3L269->SetBinContent(11,411.7271); h_SL3L269->SetBinContent(12,506.5234); h_SL3L269->SetBinContent(13,537.6505); h_SL3L269->SetBinContent(14,612.6386); h_SL3L269->SetBinContent(15,680.5524); h_SL3L269->SetBinContent(16,731.4877); h_SL3L269->SetBinContent(17,793.7419); h_SL3L269->SetBinContent(18,853.1665); h_SL3L269->SetBinContent(19,875.8044); h_SL3L269->SetBinContent(20,1041.344); h_SL3L269->SetBinContent(21,1204.054); h_SL3L269->SetBinContent(22,1182.831); h_SL3L269->SetBinContent(23,1539.378); h_SL3L269->SetBinContent(24,1590.314); h_SL3L269->SetBinContent(25,1863.384); h_SL3L269->SetBinContent(26,1972.328); h_SL3L269->SetBinContent(27,2225.59); h_SL3L269->SetBinContent(28,2628.828); h_SL3L269->SetBinContent(29,3099.98); h_SL3L269->SetBinContent(30,3634.801); h_SL3L269->SetBinContent(31,3995.592); h_SL3L269->SetBinContent(32,5000.15); h_SL3L269->SetBinContent(33,9471.139); h_SL3L269->SetBinContent(34,38971.17); h_SL3L269->SetBinContent(35,71262.75); h_SL3L269->SetBinContent(36,64208.21); h_SL3L269->SetBinContent(37,62467.91); h_SL3L269->SetBinContent(38,58976.02); h_SL3L269->SetBinContent(39,50683.46); h_SL3L269->SetBinContent(40,37544.98); h_SL3L269->SetBinContent(41,11972.63); h_SL3L269->SetBinContent(42,5111.924); h_SL3L269->SetBinContent(43,3310.795); h_SL3L269->SetBinContent(44,2815.591); h_SL3L269->SetBinContent(45,2575.063); h_SL3L269->SetBinContent(46,2340.195); h_SL3L269->SetBinContent(47,2176.07); h_SL3L269->SetBinContent(48,1857.724); h_SL3L269->SetBinContent(49,1835.086); h_SL3L269->SetBinContent(50,1628.515); h_SL3L269->SetBinContent(51,1520.985); h_SL3L269->SetBinContent(52,1461.561); h_SL3L269->SetBinContent(53,1342.711); h_SL3L269->SetBinContent(54,1380.913); h_SL3L269->SetBinContent(55,1264.894); h_SL3L269->SetBinContent(56,1256.404); h_SL3L269->SetBinContent(57,1209.714); h_SL3L269->SetBinContent(58,1062.567); h_SL3L269->SetBinContent(59,1001.728); h_SL3L269->SetMaximum(82959.34); 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,251.8468); h_SL3L370->SetBinContent(2,254.6766); h_SL3L370->SetBinContent(3,275.8996); h_SL3L370->SetBinContent(4,333.9093); h_SL3L370->SetBinContent(5,348.058); h_SL3L370->SetBinContent(6,338.1539); h_SL3L370->SetBinContent(7,340.9836); h_SL3L370->SetBinContent(8,387.6743); h_SL3L370->SetBinContent(9,383.4297); h_SL3L370->SetBinContent(10,376.3554); h_SL3L370->SetBinContent(11,466.907); h_SL3L370->SetBinContent(12,500.8639); h_SL3L370->SetBinContent(13,592.8304); h_SL3L370->SetBinContent(14,629.6171); h_SL3L370->SetBinContent(15,714.5092); h_SL3L370->SetBinContent(16,793.7419); h_SL3L370->SetBinContent(17,836.188); h_SL3L370->SetBinContent(18,841.8475); h_SL3L370->SetBinContent(19,980.5048); h_SL3L370->SetBinContent(20,1165.853); h_SL3L370->SetBinContent(21,1110.673); h_SL3L370->SetBinContent(22,1352.615); h_SL3L370->SetBinContent(23,1583.239); h_SL3L370->SetBinContent(24,1673.791); h_SL3L370->SetBinContent(25,1873.288); h_SL3L370->SetBinContent(26,2061.465); h_SL3L370->SetBinContent(27,2395.375); h_SL3L370->SetBinContent(28,2829.74); h_SL3L370->SetBinContent(29,3306.551); h_SL3L370->SetBinContent(30,3711.203); h_SL3L370->SetBinContent(31,4388.926); h_SL3L370->SetBinContent(32,6729.121); h_SL3L370->SetBinContent(33,13770.93); h_SL3L370->SetBinContent(34,66726.67); h_SL3L370->SetBinContent(35,67681.71); h_SL3L370->SetBinContent(36,63690.36); h_SL3L370->SetBinContent(37,61357.24); h_SL3L370->SetBinContent(38,55256.32); h_SL3L370->SetBinContent(39,44582.55); h_SL3L370->SetBinContent(40,25552.55); h_SL3L370->SetBinContent(41,6279.192); h_SL3L370->SetBinContent(42,3762.139); h_SL3L370->SetBinContent(43,2942.929); h_SL3L370->SetBinContent(44,2700.986); h_SL3L370->SetBinContent(45,2430.746); h_SL3L370->SetBinContent(46,2243.983); h_SL3L370->SetBinContent(47,1939.786); h_SL3L370->SetBinContent(48,1839.331); h_SL3L370->SetBinContent(49,1700.673); h_SL3L370->SetBinContent(50,1532.304); h_SL3L370->SetBinContent(51,1508.251); h_SL3L370->SetBinContent(52,1404.966); h_SL3L370->SetBinContent(53,1351.201); h_SL3L370->SetBinContent(54,1263.479); h_SL3L370->SetBinContent(55,1223.862); h_SL3L370->SetBinContent(56,1205.469); h_SL3L370->SetBinContent(57,1121.992); h_SL3L370->SetBinContent(58,1008.802); h_SL3L370->SetBinContent(59,981.9196); h_SL3L370->SetMaximum(82959.34); 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,250.4319); h_SL3L471->SetBinContent(3,274.4847); h_SL3L471->SetBinContent(4,324.0052); h_SL3L471->SetBinContent(5,321.1754); h_SL3L471->SetBinContent(6,338.1539); h_SL3L471->SetBinContent(7,369.281); h_SL3L471->SetBinContent(8,359.3769); h_SL3L471->SetBinContent(9,348.058); h_SL3L471->SetBinContent(10,404.6528); h_SL3L471->SetBinContent(11,451.3435); h_SL3L471->SetBinContent(12,500.8639); h_SL3L471->SetBinContent(13,531.991); h_SL3L471->SetBinContent(14,626.7873); h_SL3L471->SetBinContent(15,693.2862); h_SL3L471->SetBinContent(16,762.6148); h_SL3L471->SetBinContent(17,792.3271); h_SL3L471->SetBinContent(18,872.9747); h_SL3L471->SetBinContent(19,885.7085); h_SL3L471->SetBinContent(20,1076.716); h_SL3L471->SetBinContent(21,1229.522); h_SL3L471->SetBinContent(22,1228.107); h_SL3L471->SetBinContent(23,1610.122); h_SL3L471->SetBinContent(24,1644.079); h_SL3L471->SetBinContent(25,1846.405); h_SL3L471->SetBinContent(26,2110.986); h_SL3L471->SetBinContent(27,2242.569); h_SL3L471->SetBinContent(28,2692.497); h_SL3L471->SetBinContent(29,3131.107); h_SL3L471->SetBinContent(30,3552.738); h_SL3L471->SetBinContent(31,4057.846); h_SL3L471->SetBinContent(32,4896.864); h_SL3L471->SetBinContent(33,9367.853); h_SL3L471->SetBinContent(34,39189.06); h_SL3L471->SetBinContent(35,72138.55); h_SL3L471->SetBinContent(36,64714.73); h_SL3L471->SetBinContent(37,62531.59); h_SL3L471->SetBinContent(38,59070.81); h_SL3L471->SetBinContent(39,50341.07); h_SL3L471->SetBinContent(40,37523.76); h_SL3L471->SetBinContent(41,12088.65); h_SL3L471->SetBinContent(42,5110.51); h_SL3L471->SetBinContent(43,3326.359); h_SL3L471->SetBinContent(44,2867.941); h_SL3L471->SetBinContent(45,2594.871); h_SL3L471->SetBinContent(46,2335.95); h_SL3L471->SetBinContent(47,2115.23); h_SL3L471->SetBinContent(48,1816.693); h_SL3L471->SetBinContent(49,1730.386); h_SL3L471->SetBinContent(50,1605.877); h_SL3L471->SetBinContent(51,1545.038); h_SL3L471->SetBinContent(52,1444.582); h_SL3L471->SetBinContent(53,1324.318); h_SL3L471->SetBinContent(54,1331.392); h_SL3L471->SetBinContent(55,1205.469); h_SL3L471->SetBinContent(56,1211.129); h_SL3L471->SetBinContent(57,1215.373); h_SL3L471->SetBinContent(58,1097.939); h_SL3L471->SetBinContent(59,981.9196); h_SL3L471->SetMaximum(82959.34); 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.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("SL3, run 5397"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }