void RatesPerCell_Removing_noisy_cells_run_6620_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:06:23 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11977.83,67.5,107800.4); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6620",60,0,60); h_SL1L160->SetBinContent(1,229.057); h_SL1L160->SetBinContent(2,270.1697); h_SL1L160->SetBinContent(3,281.9163); h_SL1L160->SetBinContent(4,248.6345); h_SL1L160->SetBinContent(5,246.6767); h_SL1L160->SetBinContent(6,266.2542); h_SL1L160->SetBinContent(7,348.4798); h_SL1L160->SetBinContent(8,379.8038); h_SL1L160->SetBinContent(9,354.3531); h_SL1L160->SetBinContent(10,444.4096); h_SL1L160->SetBinContent(11,440.4941); h_SL1L160->SetBinContent(12,438.5364); h_SL1L160->SetBinContent(13,556.0015); h_SL1L160->SetBinContent(14,644.1003); h_SL1L160->SetBinContent(15,438.5364); h_SL1L160->SetBinContent(16,442.4519); h_SL1L160->SetBinContent(17,583.41); h_SL1L160->SetBinContent(18,894.6926); h_SL1L160->SetBinContent(19,863.3685); h_SL1L160->SetBinContent(20,1000.411); h_SL1L160->SetBinContent(21,1127.665); h_SL1L160->SetBinContent(22,1235.341); h_SL1L160->SetBinContent(23,1460.483); h_SL1L160->SetBinContent(24,1738.484); h_SL1L160->SetBinContent(25,1529.004); h_SL1L160->SetBinContent(26,1574.032); h_SL1L160->SetBinContent(27,1848.118); h_SL1L160->SetBinContent(28,2480.471); h_SL1L160->SetBinContent(29,2778.05); h_SL1L160->SetBinContent(30,3296.854); h_SL1L160->SetBinContent(31,4641.83); h_SL1L160->SetBinContent(32,7876.035); h_SL1L160->SetBinContent(33,33230.88); h_SL1L160->SetBinContent(34,50905.46); h_SL1L160->SetBinContent(35,57884.85); h_SL1L160->SetBinContent(36,65672.78); h_SL1L160->SetBinContent(37,69825.17); h_SL1L160->SetBinContent(38,62595.2); h_SL1L160->SetBinContent(39,36228.2); h_SL1L160->SetBinContent(40,8504.474); h_SL1L160->SetBinContent(41,4843.478); h_SL1L160->SetBinContent(42,3662.954); h_SL1L160->SetBinContent(43,3153.938); h_SL1L160->SetBinContent(44,2856.36); h_SL1L160->SetBinContent(45,2537.246); h_SL1L160->SetBinContent(46,2304.274); h_SL1L160->SetBinContent(47,2182.893); h_SL1L160->SetBinContent(48,1946.005); h_SL1L160->SetBinContent(49,1589.694); h_SL1L160->SetBinContent(50,1530.962); h_SL1L160->SetBinContent(51,1370.426); h_SL1L160->SetBinContent(52,1256.877); h_SL1L160->SetBinContent(53,1133.538); h_SL1L160->SetBinContent(54,1066.975); h_SL1L160->SetBinContent(55,1041.524); h_SL1L160->SetBinContent(56,969.0871); h_SL1L160->SetBinContent(57,1006.284); h_SL1L160->SetBinContent(58,877.0728); h_SL1L160->SetBinContent(59,837.9177); h_SL1L160->SetMaximum(95822.6); 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,203.6062); h_SL1L261->SetBinContent(2,195.7752); h_SL1L261->SetBinContent(3,199.6907); h_SL1L261->SetBinContent(4,201.6484); h_SL1L261->SetBinContent(5,201.6484); h_SL1L261->SetBinContent(6,201.6484); h_SL1L261->SetBinContent(7,252.55); h_SL1L261->SetBinContent(8,272.1275); h_SL1L261->SetBinContent(9,297.5783); h_SL1L261->SetBinContent(10,346.5221); h_SL1L261->SetBinContent(11,371.9728); h_SL1L261->SetBinContent(12,366.0996); h_SL1L261->SetBinContent(13,426.7899); h_SL1L261->SetBinContent(14,483.5647); h_SL1L261->SetBinContent(15,454.1984); h_SL1L261->SetBinContent(16,350.4376); h_SL1L261->SetBinContent(17,483.5647); h_SL1L261->SetBinContent(18,677.3821); h_SL1L261->SetBinContent(19,753.7344); h_SL1L261->SetBinContent(20,785.0585); h_SL1L261->SetBinContent(21,1023.904); h_SL1L261->SetBinContent(22,1045.439); h_SL1L261->SetBinContent(23,1188.355); h_SL1L261->SetBinContent(24,1470.272); h_SL1L261->SetBinContent(25,1509.427); h_SL1L261->SetBinContent(26,1370.426); h_SL1L261->SetBinContent(27,1668.005); h_SL1L261->SetBinContent(28,2075.217); h_SL1L261->SetBinContent(29,2392.373); h_SL1L261->SetBinContent(30,2860.275); h_SL1L261->SetBinContent(31,3729.517); h_SL1L261->SetBinContent(32,6386.186); h_SL1L261->SetBinContent(33,17337.85); h_SL1L261->SetBinContent(34,46911.65); h_SL1L261->SetBinContent(35,56050.43); h_SL1L261->SetBinContent(36,64177.06); h_SL1L261->SetBinContent(37,71395.29); h_SL1L261->SetBinContent(38,70261.75); h_SL1L261->SetBinContent(39,54623.23); h_SL1L261->SetBinContent(40,17226.26); h_SL1L261->SetBinContent(41,7116.428); h_SL1L261->SetBinContent(42,3839.151); h_SL1L261->SetBinContent(43,3408.446); h_SL1L261->SetBinContent(44,2895.515); h_SL1L261->SetBinContent(45,2617.514); h_SL1L261->SetBinContent(46,2451.105); h_SL1L261->SetBinContent(47,2165.273); h_SL1L261->SetBinContent(48,1836.371); h_SL1L261->SetBinContent(49,19730.22); h_SL1L261->SetBinContent(50,1476.145); h_SL1L261->SetBinContent(51,1468.314); h_SL1L261->SetBinContent(52,1448.736); h_SL1L261->SetBinContent(53,1542.708); h_SL1L261->SetBinContent(54,1016.073); h_SL1L261->SetBinContent(55,1006.284); h_SL1L261->SetBinContent(56,8085.515); h_SL1L261->SetBinContent(57,974.9604); h_SL1L261->SetBinContent(58,861.4108); h_SL1L261->SetBinContent(59,812.467); h_SL1L261->SetMaximum(83324.85); 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,146.8314); h_SL1L362->SetBinContent(2,154.6624); h_SL1L362->SetBinContent(3,158.5779); h_SL1L362->SetBinContent(4,156.6201); h_SL1L362->SetBinContent(5,197.7329); h_SL1L362->SetBinContent(6,184.0287); h_SL1L362->SetBinContent(7,252.55); h_SL1L362->SetBinContent(8,260.381); h_SL1L362->SetBinContent(9,256.4655); h_SL1L362->SetBinContent(10,323.0291); h_SL1L362->SetBinContent(11,301.4938); h_SL1L362->SetBinContent(12,324.9868); h_SL1L362->SetBinContent(13,432.6631); h_SL1L362->SetBinContent(14,422.8744); h_SL1L362->SetBinContent(15,328.9023); h_SL1L362->SetBinContent(16,401.3391); h_SL1L362->SetBinContent(17,550.1282); h_SL1L362->SetBinContent(18,693.0441); h_SL1L362->SetBinContent(19,693.0441); h_SL1L362->SetBinContent(20,830.0867); h_SL1L362->SetBinContent(21,849.6642); h_SL1L362->SetBinContent(22,996.4957); h_SL1L362->SetBinContent(23,1237.299); h_SL1L362->SetBinContent(24,1413.497); h_SL1L362->SetBinContent(25,1313.651); h_SL1L362->SetBinContent(26,1409.581); h_SL1L362->SetBinContent(27,1738.484); h_SL1L362->SetBinContent(28,2143.738); h_SL1L362->SetBinContent(29,2533.331); h_SL1L362->SetBinContent(30,3148.065); h_SL1L362->SetBinContent(31,4577.224); h_SL1L362->SetBinContent(32,8071.811); h_SL1L362->SetBinContent(33,34444.68); h_SL1L362->SetBinContent(34,52747.71); h_SL1L362->SetBinContent(35,60177.38); h_SL1L362->SetBinContent(36,68468.45); h_SL1L362->SetBinContent(37,72456.39); h_SL1L362->SetBinContent(38,64055.68); h_SL1L362->SetBinContent(39,37320.62); h_SL1L362->SetBinContent(40,8537.756); h_SL1L362->SetBinContent(41,4759.294); h_SL1L362->SetBinContent(42,3494.587); h_SL1L362->SetBinContent(43,3005.149); h_SL1L362->SetBinContent(44,2642.965); h_SL1L362->SetBinContent(45,2449.147); h_SL1L362->SetBinContent(46,2110.456); h_SL1L362->SetBinContent(47,1938.174); h_SL1L362->SetBinContent(48,1679.751); h_SL1L362->SetBinContent(49,1415.454); h_SL1L362->SetBinContent(50,1409.581); h_SL1L362->SetBinContent(51,1245.13); h_SL1L362->SetBinContent(52,1082.637); h_SL1L362->SetBinContent(53,5679.438); h_SL1L362->SetBinContent(54,929.9321); h_SL1L362->SetBinContent(55,927.9743); h_SL1L362->SetBinContent(56,7692.007); h_SL1L362->SetBinContent(57,1575.99); h_SL1L362->SetBinContent(58,726.3259); h_SL1L362->SetBinContent(59,687.1708); h_SL1L362->SetMaximum(83324.85); 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,9.788759); h_SL1L463->SetBinContent(3,33.28178); h_SL1L463->SetBinContent(4,23.49302); h_SL1L463->SetBinContent(5,23.49302); h_SL1L463->SetBinContent(6,23.49302); h_SL1L463->SetBinContent(7,27.40852); h_SL1L463->SetBinContent(8,25.45077); h_SL1L463->SetBinContent(9,23.49302); h_SL1L463->SetBinContent(10,19.57752); h_SL1L463->SetBinContent(11,25.45077); h_SL1L463->SetBinContent(12,52.8593); h_SL1L463->SetBinContent(13,56.7748); h_SL1L463->SetBinContent(14,50.90155); h_SL1L463->SetBinContent(15,68.52131); h_SL1L463->SetBinContent(16,27.40852); h_SL1L463->SetBinContent(17,56.7748); h_SL1L463->SetBinContent(18,54.81705); h_SL1L463->SetBinContent(19,70.47906); h_SL1L463->SetBinContent(20,64.6058); h_SL1L463->SetBinContent(21,90.05658); h_SL1L463->SetBinContent(22,78.31007); h_SL1L463->SetBinContent(23,113.5496); h_SL1L463->SetBinContent(24,125.2961); h_SL1L463->SetBinContent(25,66.56356); h_SL1L463->SetBinContent(26,129.2116); h_SL1L463->SetBinContent(27,135.0849); h_SL1L463->SetBinContent(28,182.0709); h_SL1L463->SetBinContent(29,203.6062); h_SL1L463->SetBinContent(30,223.1837); h_SL1L463->SetBinContent(31,336.7333); h_SL1L463->SetBinContent(32,481.6069); h_SL1L463->SetBinContent(33,1247.088); h_SL1L463->SetBinContent(34,4696.646); h_SL1L463->SetBinContent(35,8997.827); h_SL1L463->SetBinContent(36,7208.442); h_SL1L463->SetBinContent(37,5720.551); h_SL1L463->SetBinContent(38,7092.935); h_SL1L463->SetBinContent(39,7881.909); h_SL1L463->SetBinContent(40,1597.525); h_SL1L463->SetBinContent(41,695.0019); h_SL1L463->SetBinContent(42,473.7759); h_SL1L463->SetBinContent(43,487.4802); h_SL1L463->SetBinContent(44,426.7899); h_SL1L463->SetBinContent(45,293.6628); h_SL1L463->SetBinContent(46,291.705); h_SL1L463->SetBinContent(47,258.4232); h_SL1L463->SetBinContent(48,152.7046); h_SL1L463->SetBinContent(49,133.1271); h_SL1L463->SetBinContent(50,111.5919); h_SL1L463->SetBinContent(51,125.2961); h_SL1L463->SetBinContent(52,99.84534); h_SL1L463->SetBinContent(53,82.22557); h_SL1L463->SetBinContent(54,90.05658); h_SL1L463->SetBinContent(56,93.97208); h_SL1L463->SetBinContent(57,56.7748); h_SL1L463->SetBinContent(58,72.43681); h_SL1L463->SetBinContent(59,62.64806); h_SL1L463->SetMaximum(83324.85); 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 6620"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }