void RatesPerCell_Removing_noisy_cells_run_6646_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:59:16 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12488.28,67.5,112394.5); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6646",60,0,60); h_SL1L160->SetBinContent(1,9357.565); h_SL1L160->SetBinContent(2,9362.648); h_SL1L160->SetBinContent(3,9642.206); h_SL1L160->SetBinContent(4,9306.736); h_SL1L160->SetBinContent(5,8991.599); h_SL1L160->SetBinContent(6,9687.952); h_SL1L160->SetBinContent(7,9263.532); h_SL1L160->SetBinContent(8,9255.908); h_SL1L160->SetBinContent(9,8516.351); h_SL1L160->SetBinContent(10,8076.682); h_SL1L160->SetBinContent(11,7774.251); h_SL1L160->SetBinContent(12,8297.787); h_SL1L160->SetBinContent(13,8806.074); h_SL1L160->SetBinContent(14,8882.317); h_SL1L160->SetBinContent(15,8618.008); h_SL1L160->SetBinContent(16,8496.019); h_SL1L160->SetBinContent(17,8508.726); h_SL1L160->SetBinContent(18,9227.952); h_SL1L160->SetBinContent(19,9743.863); h_SL1L160->SetBinContent(20,9459.223); h_SL1L160->SetBinContent(21,10165.74); h_SL1L160->SetBinContent(22,10501.21); h_SL1L160->SetBinContent(23,10521.54); h_SL1L160->SetBinContent(24,10142.87); h_SL1L160->SetBinContent(25,9931.93); h_SL1L160->SetBinContent(26,10188.62); h_SL1L160->SetBinContent(27,10086.96); h_SL1L160->SetBinContent(28,10501.21); h_SL1L160->SetBinContent(29,10770.6); h_SL1L160->SetBinContent(30,11853.25); h_SL1L160->SetBinContent(31,11911.71); h_SL1L160->SetBinContent(32,14537.01); h_SL1L160->SetBinContent(33,38037.66); h_SL1L160->SetBinContent(34,54198.65); h_SL1L160->SetBinContent(35,58142.96); h_SL1L160->SetBinContent(36,59477.21); h_SL1L160->SetBinContent(37,64532.13); h_SL1L160->SetBinContent(38,61327.38); h_SL1L160->SetBinContent(39,40477.44); h_SL1L160->SetBinContent(40,14031.27); h_SL1L160->SetBinContent(41,10846.85); h_SL1L160->SetBinContent(42,10275.02); h_SL1L160->SetBinContent(43,9776.902); h_SL1L160->SetBinContent(44,9418.56); h_SL1L160->SetBinContent(45,9044.969); h_SL1L160->SetBinContent(46,8356.24); h_SL1L160->SetBinContent(47,8539.224); h_SL1L160->SetBinContent(48,7794.583); h_SL1L160->SetBinContent(49,7809.831); h_SL1L160->SetBinContent(50,7741.212); h_SL1L160->SetBinContent(51,7133.81); h_SL1L160->SetBinContent(52,7128.727); h_SL1L160->SetBinContent(53,7408.285); h_SL1L160->SetBinContent(54,7105.854); h_SL1L160->SetBinContent(55,7268.505); h_SL1L160->SetBinContent(56,7126.185); h_SL1L160->SetBinContent(57,7746.295); h_SL1L160->SetBinContent(58,7179.555); h_SL1L160->SetBinContent(59,7532.815); h_SL1L160->SetMaximum(99906.25); 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,9593.919); h_SL1L261->SetBinContent(2,9123.753); h_SL1L261->SetBinContent(3,9665.079); h_SL1L261->SetBinContent(4,9632.04); h_SL1L261->SetBinContent(5,9642.206); h_SL1L261->SetBinContent(6,10208.95); h_SL1L261->SetBinContent(7,9939.554); h_SL1L261->SetBinContent(8,10173.37); h_SL1L261->SetBinContent(9,9525.3); h_SL1L261->SetBinContent(10,8549.389); h_SL1L261->SetBinContent(11,8267.29); h_SL1L261->SetBinContent(12,8630.715); h_SL1L261->SetBinContent(13,8729.831); h_SL1L261->SetBinContent(14,9474.472); h_SL1L261->SetBinContent(15,9339.775); h_SL1L261->SetBinContent(16,8994.141); h_SL1L261->SetBinContent(17,9309.278); h_SL1L261->SetBinContent(18,9131.378); h_SL1L261->SetBinContent(19,10333.48); h_SL1L261->SetBinContent(20,10513.92); h_SL1L261->SetBinContent(21,10884.97); h_SL1L261->SetBinContent(22,11314.47); h_SL1L261->SetBinContent(23,11573.7); h_SL1L261->SetBinContent(24,11769.39); h_SL1L261->SetBinContent(25,12234.47); h_SL1L261->SetBinContent(26,11245.85); h_SL1L261->SetBinContent(27,10930.71); h_SL1L261->SetBinContent(28,12145.52); h_SL1L261->SetBinContent(29,12409.83); h_SL1L261->SetBinContent(30,12829.17); h_SL1L261->SetBinContent(31,13157.01); h_SL1L261->SetBinContent(32,15675.57); h_SL1L261->SetBinContent(33,26580.87); h_SL1L261->SetBinContent(34,59014.67); h_SL1L261->SetBinContent(35,66532.24); h_SL1L261->SetBinContent(36,70834.89); h_SL1L261->SetBinContent(37,75180.74); h_SL1L261->SetBinContent(38,75544.17); h_SL1L261->SetBinContent(39,63025.06); h_SL1L261->SetBinContent(40,27139.99); h_SL1L261->SetBinContent(41,15177.45); h_SL1L261->SetBinContent(42,11721.1); h_SL1L261->SetBinContent(43,11332.26); h_SL1L261->SetBinContent(44,10663.86); h_SL1L261->SetBinContent(45,10478.34); h_SL1L261->SetBinContent(46,9926.847); h_SL1L261->SetBinContent(47,10501.21); h_SL1L261->SetBinContent(48,10043.75); h_SL1L261->SetBinContent(49,20666.95); h_SL1L261->SetBinContent(50,9504.969); h_SL1L261->SetBinContent(51,8981.433); h_SL1L261->SetBinContent(52,8615.466); h_SL1L261->SetBinContent(53,9083.091); h_SL1L261->SetBinContent(54,8709.499); h_SL1L261->SetBinContent(55,8562.096); h_SL1L261->SetBinContent(56,11774.47); h_SL1L261->SetBinContent(57,8152.925); h_SL1L261->SetBinContent(58,7832.704); h_SL1L261->SetBinContent(59,7713.257); h_SL1L261->SetMaximum(86875.8); 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,4488.175); h_SL1L362->SetBinContent(2,4160.33); h_SL1L362->SetBinContent(3,4455.136); h_SL1L362->SetBinContent(4,4399.225); h_SL1L362->SetBinContent(5,4599.998); h_SL1L362->SetBinContent(6,4907.512); h_SL1L362->SetBinContent(7,4452.595); h_SL1L362->SetBinContent(8,4633.037); h_SL1L362->SetBinContent(9,4106.96); h_SL1L362->SetBinContent(10,3781.656); h_SL1L362->SetBinContent(11,4226.407); h_SL1L362->SetBinContent(12,4254.363); h_SL1L362->SetBinContent(13,4488.175); h_SL1L362->SetBinContent(14,4091.711); h_SL1L362->SetBinContent(15,4208.617); h_SL1L362->SetBinContent(16,4460.219); h_SL1L362->SetBinContent(17,4129.833); h_SL1L362->SetBinContent(18,4579.667); h_SL1L362->SetBinContent(19,4533.921); h_SL1L362->SetBinContent(20,4500.882); h_SL1L362->SetBinContent(21,5110.827); h_SL1L362->SetBinContent(22,4688.948); h_SL1L362->SetBinContent(23,4869.39); h_SL1L362->SetBinContent(24,4922.761); h_SL1L362->SetBinContent(25,4683.866); h_SL1L362->SetBinContent(26,4526.296); h_SL1L362->SetBinContent(27,4884.639); h_SL1L362->SetBinContent(28,4343.313); h_SL1L362->SetBinContent(29,5265.854); h_SL1L362->SetBinContent(30,4645.744); h_SL1L362->SetBinContent(31,5413.258); h_SL1L362->SetBinContent(32,5525.081); h_SL1L362->SetBinContent(33,10818.89); h_SL1L362->SetBinContent(34,16356.68); h_SL1L362->SetBinContent(35,17091.15); h_SL1L362->SetBinContent(36,17086.07); h_SL1L362->SetBinContent(37,18786.29); h_SL1L362->SetBinContent(38,16087.29); h_SL1L362->SetBinContent(39,12488.61); h_SL1L362->SetBinContent(40,5120.993); h_SL1L362->SetBinContent(41,4566.959); h_SL1L362->SetBinContent(42,4828.728); h_SL1L362->SetBinContent(43,4666.076); h_SL1L362->SetBinContent(44,4251.822); h_SL1L362->SetBinContent(45,4162.871); h_SL1L362->SetBinContent(46,4325.523); h_SL1L362->SetBinContent(47,4295.026); h_SL1L362->SetBinContent(48,3776.573); h_SL1L362->SetBinContent(49,4137.457); h_SL1L362->SetBinContent(50,3840.109); h_SL1L362->SetBinContent(51,3781.656); h_SL1L362->SetBinContent(52,3382.651); h_SL1L362->SetBinContent(53,6318.009); h_SL1L362->SetBinContent(54,3519.888); h_SL1L362->SetBinContent(55,3418.231); h_SL1L362->SetBinContent(56,7926.737); h_SL1L362->SetBinContent(57,3397.899); h_SL1L362->SetBinContent(58,3174.253); h_SL1L362->SetBinContent(59,3209.833); h_SL1L362->SetMaximum(86875.8); 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,8417.234); h_SL1L463->SetBinContent(3,8340.991); h_SL1L463->SetBinContent(4,8089.389); h_SL1L463->SetBinContent(5,7947.069); h_SL1L463->SetBinContent(6,8557.014); h_SL1L463->SetBinContent(7,8712.041); h_SL1L463->SetBinContent(8,8671.378); h_SL1L463->SetBinContent(9,8323.201); h_SL1L463->SetBinContent(10,7830.163); h_SL1L463->SetBinContent(11,7375.246); h_SL1L463->SetBinContent(12,7822.539); h_SL1L463->SetBinContent(13,7832.704); h_SL1L463->SetBinContent(14,8374.03); h_SL1L463->SetBinContent(15,8618.008); h_SL1L463->SetBinContent(16,8320.66); h_SL1L463->SetBinContent(17,7634.472); h_SL1L463->SetBinContent(18,8277.455); h_SL1L463->SetBinContent(19,8328.284); h_SL1L463->SetBinContent(20,8874.692); h_SL1L463->SetBinContent(21,9011.931); h_SL1L463->SetBinContent(22,9194.913); h_SL1L463->SetBinContent(23,9395.687); h_SL1L463->SetBinContent(24,9527.842); h_SL1L463->SetBinContent(25,9080.549); h_SL1L463->SetBinContent(26,9687.952); h_SL1L463->SetBinContent(27,9123.753); h_SL1L463->SetBinContent(28,10010.71); h_SL1L463->SetBinContent(29,9815.023); h_SL1L463->SetBinContent(30,10984.08); h_SL1L463->SetBinContent(31,10999.33); h_SL1L463->SetBinContent(32,12653.81); h_SL1L463->SetBinContent(33,20987.17); h_SL1L463->SetBinContent(34,52170.59); h_SL1L463->SetBinContent(35,61469.7); h_SL1L463->SetBinContent(36,64887.93); h_SL1L463->SetBinContent(37,66336.55); h_SL1L463->SetBinContent(38,66638.98); h_SL1L463->SetBinContent(39,57881.19); h_SL1L463->SetBinContent(40,23020.32); h_SL1L463->SetBinContent(41,12595.35); h_SL1L463->SetBinContent(42,9731.156); h_SL1L463->SetBinContent(43,9355.024); h_SL1L463->SetBinContent(44,8856.902); h_SL1L463->SetBinContent(45,8264.748); h_SL1L463->SetBinContent(46,8498.561); h_SL1L463->SetBinContent(47,8132.594); h_SL1L463->SetBinContent(48,7911.489); h_SL1L463->SetBinContent(49,7415.909); h_SL1L463->SetBinContent(50,7309.168); h_SL1L463->SetBinContent(51,6760.218); h_SL1L463->SetBinContent(52,6345.964); h_SL1L463->SetBinContent(53,6539.113); h_SL1L463->SetBinContent(54,6564.528); h_SL1L463->SetBinContent(56,6419.666); h_SL1L463->SetBinContent(57,6663.644); h_SL1L463->SetBinContent(58,6968.616); h_SL1L463->SetBinContent(59,6780.55); h_SL1L463->SetMaximum(86875.8); 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 6646"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }