void RatesPerCell_Removing_noisy_cells_run_6140_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:16:05 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12379.46,67.5,111415.2); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6140",60,0,60); h_SL1L160->SetBinContent(1,54923.89); h_SL1L160->SetBinContent(2,58001.26); h_SL1L160->SetBinContent(3,60105.49); h_SL1L160->SetBinContent(4,58475.09); h_SL1L160->SetBinContent(5,55158.26); h_SL1L160->SetBinContent(6,56600.14); h_SL1L160->SetBinContent(7,57226.82); h_SL1L160->SetBinContent(8,60105.49); h_SL1L160->SetBinContent(9,58342.62); h_SL1L160->SetBinContent(10,60727.07); h_SL1L160->SetBinContent(11,63809.54); h_SL1L160->SetBinContent(12,64543.21); h_SL1L160->SetBinContent(13,63315.32); h_SL1L160->SetBinContent(14,60625.18); h_SL1L160->SetBinContent(15,53110.08); h_SL1L160->SetBinContent(16,53023.46); h_SL1L160->SetBinContent(17,53099.89); h_SL1L160->SetBinContent(18,57068.88); h_SL1L160->SetBinContent(19,57364.39); h_SL1L160->SetBinContent(20,57425.53); h_SL1L160->SetBinContent(21,58429.24); h_SL1L160->SetBinContent(22,58322.25); h_SL1L160->SetBinContent(23,56630.71); h_SL1L160->SetBinContent(24,51815.95); h_SL1L160->SetBinContent(25,47062.34); h_SL1L160->SetBinContent(26,49783.05); h_SL1L160->SetBinContent(27,48045.67); h_SL1L160->SetBinContent(28,49691.35); h_SL1L160->SetBinContent(29,49681.16); h_SL1L160->SetBinContent(30,45742.74); h_SL1L160->SetBinContent(31,47077.62); h_SL1L160->SetBinContent(32,44789.98); h_SL1L160->SetBinContent(33,49380.55); h_SL1L160->SetBinContent(34,50537.11); h_SL1L160->SetBinContent(35,53211.98); h_SL1L160->SetBinContent(36,51026.23); h_SL1L160->SetBinContent(37,51708.96); h_SL1L160->SetBinContent(38,53242.55); h_SL1L160->SetBinContent(39,49635.3); h_SL1L160->SetBinContent(40,45493.08); h_SL1L160->SetBinContent(41,48193.42); h_SL1L160->SetBinContent(42,51077.18); h_SL1L160->SetBinContent(43,52524.16); h_SL1L160->SetBinContent(44,52972.52); h_SL1L160->SetBinContent(45,46822.87); h_SL1L160->SetBinContent(46,47485.22); h_SL1L160->SetBinContent(47,47541.27); h_SL1L160->SetBinContent(48,48213.8); h_SL1L160->SetBinContent(49,52131.84); h_SL1L160->SetBinContent(50,54302.3); h_SL1L160->SetBinContent(51,53344.45); h_SL1L160->SetBinContent(52,51963.71); h_SL1L160->SetBinContent(53,51907.66); h_SL1L160->SetBinContent(54,51286.07); h_SL1L160->SetBinContent(55,52233.74); h_SL1L160->SetBinContent(56,55367.16); h_SL1L160->SetBinContent(57,64828.54); h_SL1L160->SetBinContent(58,69770.66); h_SL1L160->SetBinContent(59,74886.02); h_SL1L160->SetMaximum(99035.7); 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,132.4695); h_SL1L261->SetBinContent(2,112.0896); h_SL1L261->SetBinContent(3,112.0896); h_SL1L261->SetBinContent(4,132.4695); h_SL1L261->SetBinContent(5,112.0896); h_SL1L261->SetBinContent(6,61.13977); h_SL1L261->SetBinContent(7,76.42471); h_SL1L261->SetBinContent(8,96.80463); h_SL1L261->SetBinContent(9,106.9946); h_SL1L261->SetBinContent(10,50.94981); h_SL1L261->SetBinContent(11,50.94981); h_SL1L261->SetBinContent(12,76.42471); h_SL1L261->SetBinContent(13,61.13977); h_SL1L261->SetBinContent(14,35.66486); h_SL1L261->SetBinContent(15,61.13977); h_SL1L261->SetBinContent(16,56.04479); h_SL1L261->SetBinContent(17,45.85483); h_SL1L261->SetBinContent(18,40.75985); h_SL1L261->SetBinContent(19,45.85483); h_SL1L261->SetBinContent(20,40.75985); h_SL1L261->SetBinContent(21,50.94981); h_SL1L261->SetBinContent(22,40.75985); h_SL1L261->SetBinContent(23,50.94981); h_SL1L261->SetBinContent(24,61.13977); h_SL1L261->SetBinContent(25,96.80463); h_SL1L261->SetBinContent(26,76.42471); h_SL1L261->SetBinContent(27,66.23475); h_SL1L261->SetBinContent(28,117.1846); h_SL1L261->SetBinContent(29,71.32973); h_SL1L261->SetBinContent(30,50.94981); h_SL1L261->SetBinContent(31,71.32973); h_SL1L261->SetBinContent(32,76.42471); h_SL1L261->SetBinContent(33,50.94981); h_SL1L261->SetBinContent(34,66.23475); h_SL1L261->SetBinContent(35,50.94981); h_SL1L261->SetBinContent(36,71.32973); h_SL1L261->SetBinContent(37,66.23475); h_SL1L261->SetBinContent(38,50.94981); h_SL1L261->SetBinContent(39,50.94981); h_SL1L261->SetBinContent(40,66.23475); h_SL1L261->SetBinContent(41,122.2795); h_SL1L261->SetBinContent(42,76.42471); h_SL1L261->SetBinContent(43,91.70966); h_SL1L261->SetBinContent(44,106.9946); h_SL1L261->SetBinContent(45,81.51969); h_SL1L261->SetBinContent(46,86.61467); h_SL1L261->SetBinContent(47,61.13977); h_SL1L261->SetBinContent(48,76.42471); h_SL1L261->SetBinContent(49,29749.59); h_SL1L261->SetBinContent(50,91.70966); h_SL1L261->SetBinContent(51,96.80463); h_SL1L261->SetBinContent(52,820.2919); h_SL1L261->SetBinContent(53,489.1182); h_SL1L261->SetBinContent(54,45.85483); h_SL1L261->SetBinContent(55,56.04479); h_SL1L261->SetBinContent(56,6643.855); h_SL1L261->SetBinContent(57,188.5143); h_SL1L261->SetBinContent(58,132.4695); h_SL1L261->SetBinContent(59,91.70966); h_SL1L261->SetMaximum(86118.93); 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,157.9444); h_SL1L362->SetBinContent(2,91.70966); h_SL1L362->SetBinContent(3,122.2795); h_SL1L362->SetBinContent(4,157.9444); h_SL1L362->SetBinContent(5,101.8996); h_SL1L362->SetBinContent(6,91.70966); h_SL1L362->SetBinContent(7,112.0896); h_SL1L362->SetBinContent(8,101.8996); h_SL1L362->SetBinContent(9,61.13977); h_SL1L362->SetBinContent(10,40.75985); h_SL1L362->SetBinContent(11,35.66486); h_SL1L362->SetBinContent(12,81.51969); h_SL1L362->SetBinContent(13,96.80463); h_SL1L362->SetBinContent(14,96.80463); h_SL1L362->SetBinContent(15,101.8996); h_SL1L362->SetBinContent(16,96.80463); h_SL1L362->SetBinContent(17,86.61467); h_SL1L362->SetBinContent(18,61.13977); h_SL1L362->SetBinContent(19,40.75985); h_SL1L362->SetBinContent(20,66.23475); h_SL1L362->SetBinContent(21,10.18996); h_SL1L362->SetBinContent(22,15.28494); h_SL1L362->SetBinContent(23,20.37992); h_SL1L362->SetBinContent(24,15.28494); h_SL1L362->SetBinContent(25,117.1846); h_SL1L362->SetBinContent(26,81.51969); h_SL1L362->SetBinContent(27,66.23475); h_SL1L362->SetBinContent(28,127.3745); h_SL1L362->SetBinContent(29,45.85483); h_SL1L362->SetBinContent(30,15.28494); h_SL1L362->SetBinContent(31,10.18996); h_SL1L362->SetBinContent(32,45.85483); h_SL1L362->SetBinContent(33,40.75985); h_SL1L362->SetBinContent(34,20.37992); h_SL1L362->SetBinContent(35,15.28494); h_SL1L362->SetBinContent(36,30.56989); h_SL1L362->SetBinContent(37,61.13977); h_SL1L362->SetBinContent(38,40.75985); h_SL1L362->SetBinContent(39,50.94981); h_SL1L362->SetBinContent(40,56.04479); h_SL1L362->SetBinContent(41,96.80463); h_SL1L362->SetBinContent(42,30.56989); h_SL1L362->SetBinContent(43,40.75985); h_SL1L362->SetBinContent(44,106.9946); h_SL1L362->SetBinContent(45,81.51969); h_SL1L362->SetBinContent(46,81.51969); h_SL1L362->SetBinContent(47,76.42471); h_SL1L362->SetBinContent(48,96.80463); h_SL1L362->SetBinContent(49,157.9444); h_SL1L362->SetBinContent(50,61.13977); h_SL1L362->SetBinContent(51,76.42471); h_SL1L362->SetBinContent(52,168.1344); h_SL1L362->SetBinContent(53,10378.48); h_SL1L362->SetBinContent(54,25.4749); h_SL1L362->SetBinContent(55,30.56989); h_SL1L362->SetBinContent(56,15952.38); h_SL1L362->SetBinContent(57,412.6935); h_SL1L362->SetBinContent(58,117.1846); h_SL1L362->SetBinContent(59,81.51969); h_SL1L362->SetMaximum(86118.93); 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,52743.24); h_SL1L463->SetBinContent(3,51912.76); h_SL1L463->SetBinContent(4,49691.35); h_SL1L463->SetBinContent(5,49477.36); h_SL1L463->SetBinContent(6,48753.87); h_SL1L463->SetBinContent(7,48137.38); h_SL1L463->SetBinContent(8,52580.2); h_SL1L463->SetBinContent(9,54613.1); h_SL1L463->SetBinContent(10,58352.81); h_SL1L463->SetBinContent(11,64191.66); h_SL1L463->SetBinContent(12,66499.69); h_SL1L463->SetBinContent(13,66306.08); h_SL1L463->SetBinContent(14,69556.68); h_SL1L463->SetBinContent(15,64033.72); h_SL1L463->SetBinContent(16,59336.14); h_SL1L463->SetBinContent(17,56936.41); h_SL1L463->SetBinContent(18,60421.38); h_SL1L463->SetBinContent(19,58006.36); h_SL1L463->SetBinContent(20,57476.48); h_SL1L463->SetBinContent(21,60222.67); h_SL1L463->SetBinContent(22,59962.83); h_SL1L463->SetBinContent(23,57598.76); h_SL1L463->SetBinContent(24,57364.39); h_SL1L463->SetBinContent(25,54129.07); h_SL1L463->SetBinContent(26,51734.43); h_SL1L463->SetBinContent(27,51398.16); h_SL1L463->SetBinContent(28,53711.29); h_SL1L463->SetBinContent(29,51795.57); h_SL1L463->SetBinContent(30,53874.32); h_SL1L463->SetBinContent(31,52417.16); h_SL1L463->SetBinContent(32,51066.99); h_SL1L463->SetBinContent(33,48376.84); h_SL1L463->SetBinContent(34,51337.03); h_SL1L463->SetBinContent(35,56472.77); h_SL1L463->SetBinContent(36,49594.54); h_SL1L463->SetBinContent(37,42915.02); h_SL1L463->SetBinContent(38,44499.56); h_SL1L463->SetBinContent(39,48274.94); h_SL1L463->SetBinContent(40,42446.29); h_SL1L463->SetBinContent(41,41248.96); h_SL1L463->SetBinContent(42,47887.72); h_SL1L463->SetBinContent(43,49813.62); h_SL1L463->SetBinContent(44,48086.43); h_SL1L463->SetBinContent(45,41738.08); h_SL1L463->SetBinContent(46,44596.37); h_SL1L463->SetBinContent(47,42879.36); h_SL1L463->SetBinContent(48,41748.27); h_SL1L463->SetBinContent(49,39827.46); h_SL1L463->SetBinContent(50,45172.1); h_SL1L463->SetBinContent(51,42048.88); h_SL1L463->SetBinContent(52,43674.18); h_SL1L463->SetBinContent(53,43414.33); h_SL1L463->SetBinContent(54,43210.53); h_SL1L463->SetBinContent(55,249.6541); h_SL1L463->SetBinContent(56,49584.35); h_SL1L463->SetBinContent(57,52753.43); h_SL1L463->SetBinContent(58,63748.4); h_SL1L463->SetBinContent(59,66841.05); h_SL1L463->SetMaximum(86118.93); 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 6140"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }