void RatesPerCell_Removing_noisy_cells_run_6574_SL3() { //=========Macro generated from canvas: c/c //========= (Wed Jan 16 13:20:30 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12332.17,67.5,110989.5); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6574",60,0,60); h_SL3L168->SetBinContent(1,262.0974); h_SL3L168->SetBinContent(2,72.80482); h_SL3L168->SetBinContent(4,74.01823); h_SL3L168->SetBinContent(5,226.9084); h_SL3L168->SetBinContent(6,97.0731); h_SL3L168->SetBinContent(7,99.49992); h_SL3L168->SetBinContent(8,137.1158); h_SL3L168->SetBinContent(9,126.195); h_SL3L168->SetBinContent(10,150.4633); h_SL3L168->SetBinContent(11,144.3962); h_SL3L168->SetBinContent(12,168.6645); h_SL3L168->SetBinContent(13,222.0547); h_SL3L168->SetBinContent(14,242.6827); h_SL3L168->SetBinContent(15,279.0851); h_SL3L168->SetBinContent(16,248.7498); h_SL3L168->SetBinContent(17,294.8595); h_SL3L168->SetBinContent(18,357.957); h_SL3L168->SetBinContent(19,384.6522); h_SL3L168->SetBinContent(20,458.6704); h_SL3L168->SetBinContent(21,549.6764); h_SL3L168->SetBinContent(22,632.1885); h_SL3L168->SetBinContent(23,691.6458); h_SL3L168->SetBinContent(24,777.7982); h_SL3L168->SetBinContent(25,935.542); h_SL3L168->SetBinContent(26,1043.536); h_SL3L168->SetBinContent(27,1206.133); h_SL3L168->SetBinContent(28,1453.67); h_SL3L168->SetBinContent(29,1770.371); h_SL3L168->SetBinContent(30,2246.029); h_SL3L168->SetBinContent(31,2749.595); h_SL3L168->SetBinContent(32,4284.564); h_SL3L168->SetBinContent(33,8350.713); h_SL3L168->SetBinContent(34,35869.72); h_SL3L168->SetBinContent(35,54268.71); h_SL3L168->SetBinContent(36,61284.67); h_SL3L168->SetBinContent(37,69845.3); h_SL3L168->SetBinContent(38,74599.46); h_SL3L168->SetBinContent(39,65672.38); h_SL3L168->SetBinContent(40,38982.13); h_SL3L168->SetBinContent(41,8644.359); h_SL3L168->SetBinContent(42,4518.752); h_SL3L168->SetBinContent(43,3037.175); h_SL3L168->SetBinContent(44,2622.187); h_SL3L168->SetBinContent(45,2232.681); h_SL3L168->SetBinContent(46,1822.547); h_SL3L168->SetBinContent(47,1691.499); h_SL3L168->SetBinContent(48,1396.639); h_SL3L168->SetBinContent(49,11288.39); h_SL3L168->SetBinContent(50,1078.725); h_SL3L168->SetBinContent(51,1021.694); h_SL3L168->SetBinContent(52,880.9384); h_SL3L168->SetBinContent(53,815.414); h_SL3L168->SetBinContent(54,815.414); h_SL3L168->SetBinContent(55,689.219); h_SL3L168->SetBinContent(56,650.3898); h_SL3L168->SetBinContent(57,560.5971); h_SL3L168->SetBinContent(58,472.0179); h_SL3L168->SetBinContent(59,463.524); h_SL3L168->SetMaximum(98657.35); 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,87.36578); h_SL3L269->SetBinContent(2,74.01823); h_SL3L269->SetBinContent(4,94.64627); h_SL3L269->SetBinContent(5,80.0853); h_SL3L269->SetBinContent(6,222.0547); h_SL3L269->SetBinContent(7,75.23165); h_SL3L269->SetBinContent(8,128.6219); h_SL3L269->SetBinContent(9,115.2743); h_SL3L269->SetBinContent(10,122.5548); h_SL3L269->SetBinContent(11,140.756); h_SL3L269->SetBinContent(12,152.8901); h_SL3L269->SetBinContent(13,173.5182); h_SL3L269->SetBinContent(14,209.9206); h_SL3L269->SetBinContent(15,231.762); h_SL3L269->SetBinContent(16,259.6705); h_SL3L269->SetBinContent(17,249.9632); h_SL3L269->SetBinContent(18,293.6461); h_SL3L269->SetBinContent(19,344.6095); h_SL3L269->SetBinContent(20,423.4814); h_SL3L269->SetBinContent(21,495.0728); h_SL3L269->SetBinContent(22,572.7313); h_SL3L269->SetBinContent(23,694.0726); h_SL3L269->SetBinContent(24,698.9263); h_SL3L269->SetBinContent(25,851.8164); h_SL3L269->SetBinContent(26,913.7005); h_SL3L269->SetBinContent(27,1107.847); h_SL3L269->SetBinContent(28,1321.408); h_SL3L269->SetBinContent(29,1517.981); h_SL3L269->SetBinContent(30,1939.035); h_SL3L269->SetBinContent(31,2417.12); h_SL3L269->SetBinContent(32,3154.876); h_SL3L269->SetBinContent(33,6269.708); h_SL3L269->SetBinContent(34,17378.51); h_SL3L269->SetBinContent(35,47973.52); h_SL3L269->SetBinContent(36,57365.35); h_SL3L269->SetBinContent(37,64195.65); h_SL3L269->SetBinContent(38,72451.72); h_SL3L269->SetBinContent(39,71294.12); h_SL3L269->SetBinContent(40,55681.13); h_SL3L269->SetBinContent(41,18473.01); h_SL3L269->SetBinContent(42,6724.739); h_SL3L269->SetBinContent(43,3404.839); h_SL3L269->SetBinContent(44,2674.364); h_SL3L269->SetBinContent(45,2277.578); h_SL3L269->SetBinContent(46,1951.169); h_SL3L269->SetBinContent(47,1719.407); h_SL3L269->SetBinContent(48,1419.694); h_SL3L269->SetBinContent(49,3197.345); h_SL3L269->SetBinContent(50,1151.53); h_SL3L269->SetBinContent(51,1064.164); h_SL3L269->SetBinContent(52,1238.895); h_SL3L269->SetBinContent(53,3776.144); h_SL3L269->SetBinContent(54,748.6763); h_SL3L269->SetBinContent(55,707.4202); h_SL3L269->SetBinContent(56,961.0237); h_SL3L269->SetBinContent(57,624.9081); h_SL3L269->SetBinContent(58,496.2862); h_SL3L269->SetBinContent(59,431.9753); h_SL3L269->SetMaximum(85789.38); 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,66.73775); h_SL3L370->SetBinContent(2,69.16458); h_SL3L370->SetBinContent(3,82.51213); h_SL3L370->SetBinContent(4,63.09751); h_SL3L370->SetBinContent(5,337.329); h_SL3L370->SetBinContent(6,414.9875); h_SL3L370->SetBinContent(7,106.7804); h_SL3L370->SetBinContent(8,105.567); h_SL3L370->SetBinContent(9,105.567); h_SL3L370->SetBinContent(10,120.128); h_SL3L370->SetBinContent(11,124.9816); h_SL3L370->SetBinContent(12,175.945); h_SL3L370->SetBinContent(13,202.6401); h_SL3L370->SetBinContent(14,219.6279); h_SL3L370->SetBinContent(15,260.8839); h_SL3L370->SetBinContent(16,252.39); h_SL3L370->SetBinContent(17,274.2315); h_SL3L370->SetBinContent(18,317.9144); h_SL3L370->SetBinContent(19,367.6644); h_SL3L370->SetBinContent(20,447.7497); h_SL3L370->SetBinContent(21,519.3411); h_SL3L370->SetBinContent(22,596.9996); h_SL3L370->SetBinContent(23,663.7373); h_SL3L370->SetBinContent(24,709.847); h_SL3L370->SetBinContent(25,878.5115); h_SL3L370->SetBinContent(26,1016.841); h_SL3L370->SetBinContent(27,1206.133); h_SL3L370->SetBinContent(28,1377.225); h_SL3L370->SetBinContent(29,1675.724); h_SL3L370->SetBinContent(30,2207.199); h_SL3L370->SetBinContent(31,2619.76); h_SL3L370->SetBinContent(32,4212.973); h_SL3L370->SetBinContent(33,8226.945); h_SL3L370->SetBinContent(34,35190.21); h_SL3L370->SetBinContent(35,53566.15); h_SL3L370->SetBinContent(36,60986.17); h_SL3L370->SetBinContent(37,69244.66); h_SL3L370->SetBinContent(38,73413.95); h_SL3L370->SetBinContent(39,65466.1); h_SL3L370->SetBinContent(40,38767.36); h_SL3L370->SetBinContent(41,8689.256); h_SL3L370->SetBinContent(42,4426.533); h_SL3L370->SetBinContent(43,2907.339); h_SL3L370->SetBinContent(44,2475.364); h_SL3L370->SetBinContent(45,709.847); h_SL3L370->SetBinContent(46,1718.194); h_SL3L370->SetBinContent(47,1596.852); h_SL3L370->SetBinContent(48,1300.78); h_SL3L370->SetBinContent(49,1223.121); h_SL3L370->SetBinContent(50,1076.298); h_SL3L370->SetBinContent(51,978.0115); h_SL3L370->SetBinContent(52,812.9872); h_SL3L370->SetBinContent(53,867.5908); h_SL3L370->SetBinContent(54,746.2495); h_SL3L370->SetBinContent(55,629.7617); h_SL3L370->SetBinContent(56,626.1215); h_SL3L370->SetBinContent(57,639.4691); h_SL3L370->SetBinContent(58,563.024); h_SL3L370->SetBinContent(59,510.8472); h_SL3L370->SetMaximum(85789.38); 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,80.0853); h_SL3L471->SetBinContent(3,72.80482); h_SL3L471->SetBinContent(4,80.0853); h_SL3L471->SetBinContent(5,879.7249); h_SL3L471->SetBinContent(7,1086.005); h_SL3L471->SetBinContent(8,1031.402); h_SL3L471->SetBinContent(9,114.0609); h_SL3L471->SetBinContent(10,131.0487); h_SL3L471->SetBinContent(11,144.3962); h_SL3L471->SetBinContent(12,162.5974); h_SL3L471->SetBinContent(13,186.8657); h_SL3L471->SetBinContent(14,209.9206); h_SL3L471->SetBinContent(15,240.2559); h_SL3L471->SetBinContent(16,263.3108); h_SL3L471->SetBinContent(17,274.2315); h_SL3L471->SetBinContent(18,305.7802); h_SL3L471->SetBinContent(19,300.9266); h_SL3L471->SetBinContent(20,421.0546); h_SL3L471->SetBinContent(21,491.4326); h_SL3L471->SetBinContent(22,548.463); h_SL3L471->SetBinContent(23,675.8715); h_SL3L471->SetBinContent(24,672.2312); h_SL3L471->SetBinContent(25,837.2555); h_SL3L471->SetBinContent(26,910.0603); h_SL3L471->SetBinContent(27,1084.792); h_SL3L471->SetBinContent(28,1251.03); h_SL3L471->SetBinContent(29,1520.407); h_SL3L471->SetBinContent(30,1920.834); h_SL3L471->SetBinContent(31,2368.583); h_SL3L471->SetBinContent(32,3069.937); h_SL3L471->SetBinContent(33,6159.288); h_SL3L471->SetBinContent(34,17305.71); h_SL3L471->SetBinContent(35,48137.34); h_SL3L471->SetBinContent(36,57105.68); h_SL3L471->SetBinContent(37,64155.61); h_SL3L471->SetBinContent(38,72467.49); h_SL3L471->SetBinContent(39,70751.73); h_SL3L471->SetBinContent(40,55428.74); h_SL3L471->SetBinContent(41,18349.24); h_SL3L471->SetBinContent(42,6759.928); h_SL3L471->SetBinContent(43,3322.327); h_SL3L471->SetBinContent(44,2619.76); h_SL3L471->SetBinContent(45,2204.773); h_SL3L471->SetBinContent(46,1871.084); h_SL3L471->SetBinContent(47,1600.493); h_SL3L471->SetBinContent(48,1392.999); h_SL3L471->SetBinContent(49,1275.298); h_SL3L471->SetBinContent(50,1110.274); h_SL3L471->SetBinContent(51,964.6639); h_SL3L471->SetBinContent(52,862.7371); h_SL3L471->SetBinContent(53,754.7433); h_SL3L471->SetBinContent(54,729.2617); h_SL3L471->SetBinContent(55,700.1397); h_SL3L471->SetBinContent(56,622.4813); h_SL3L471->SetBinContent(57,1259.523); h_SL3L471->SetBinContent(58,1092.072); h_SL3L471->SetBinContent(59,1071.444); h_SL3L471->SetMaximum(85789.38); 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 6574"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }