void RatesPerCell_Removing_noisy_cells_run_6537_SL1() { //=========Macro generated from canvas: c/c //========= (Mon Jan 14 19:56:54 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11414.76,67.5,102732.8); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6537",60,0,60); h_SL1L160->SetBinContent(1,371.4286); h_SL1L160->SetBinContent(2,460); h_SL1L160->SetBinContent(3,441.4286); h_SL1L160->SetBinContent(4,428.5714); h_SL1L160->SetBinContent(5,415.7143); h_SL1L160->SetBinContent(6,477.1429); h_SL1L160->SetBinContent(7,487.1429); h_SL1L160->SetBinContent(8,530); h_SL1L160->SetBinContent(9,561.4286); h_SL1L160->SetBinContent(10,615.7143); h_SL1L160->SetBinContent(11,741.4286); h_SL1L160->SetBinContent(12,750); h_SL1L160->SetBinContent(13,855.7143); h_SL1L160->SetBinContent(14,921.4286); h_SL1L160->SetBinContent(15,851.4286); h_SL1L160->SetBinContent(16,831.4286); h_SL1L160->SetBinContent(17,862.8572); h_SL1L160->SetBinContent(18,1194.286); h_SL1L160->SetBinContent(19,1297.143); h_SL1L160->SetBinContent(20,1452.857); h_SL1L160->SetBinContent(21,1597.143); h_SL1L160->SetBinContent(22,1615.714); h_SL1L160->SetBinContent(23,1888.572); h_SL1L160->SetBinContent(24,2081.429); h_SL1L160->SetBinContent(25,2057.143); h_SL1L160->SetBinContent(26,2170); h_SL1L160->SetBinContent(27,2380); h_SL1L160->SetBinContent(28,3115.714); h_SL1L160->SetBinContent(29,3352.857); h_SL1L160->SetBinContent(30,4012.857); h_SL1L160->SetBinContent(31,5230); h_SL1L160->SetBinContent(32,9195.715); h_SL1L160->SetBinContent(33,37061.43); h_SL1L160->SetBinContent(34,54571.43); h_SL1L160->SetBinContent(35,59027.14); h_SL1L160->SetBinContent(36,63584.29); h_SL1L160->SetBinContent(37,67474.29); h_SL1L160->SetBinContent(38,62537.14); h_SL1L160->SetBinContent(39,39644.29); h_SL1L160->SetBinContent(40,9391.429); h_SL1L160->SetBinContent(41,5561.429); h_SL1L160->SetBinContent(42,4457.143); h_SL1L160->SetBinContent(43,3865.714); h_SL1L160->SetBinContent(44,3420); h_SL1L160->SetBinContent(45,3157.143); h_SL1L160->SetBinContent(46,2975.714); h_SL1L160->SetBinContent(47,2802.857); h_SL1L160->SetBinContent(48,2582.857); h_SL1L160->SetBinContent(49,2420); h_SL1L160->SetBinContent(50,2182.857); h_SL1L160->SetBinContent(51,2062.857); h_SL1L160->SetBinContent(52,1948.572); h_SL1L160->SetBinContent(53,1860); h_SL1L160->SetBinContent(54,1722.857); h_SL1L160->SetBinContent(55,1654.286); h_SL1L160->SetBinContent(56,1597.143); h_SL1L160->SetBinContent(57,1652.857); h_SL1L160->SetBinContent(58,1522.857); h_SL1L160->SetBinContent(59,807.1429); h_SL1L160->SetMaximum(91318.05); 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,324.2857); h_SL1L261->SetBinContent(2,378.5714); h_SL1L261->SetBinContent(3,417.1429); h_SL1L261->SetBinContent(4,377.1429); h_SL1L261->SetBinContent(5,332.8571); h_SL1L261->SetBinContent(6,401.4286); h_SL1L261->SetBinContent(7,467.1429); h_SL1L261->SetBinContent(8,465.7143); h_SL1L261->SetBinContent(9,488.5714); h_SL1L261->SetBinContent(10,517.1429); h_SL1L261->SetBinContent(11,620); h_SL1L261->SetBinContent(12,647.1429); h_SL1L261->SetBinContent(13,752.8572); h_SL1L261->SetBinContent(14,805.7143); h_SL1L261->SetBinContent(15,812.8572); h_SL1L261->SetBinContent(16,770); h_SL1L261->SetBinContent(17,774.2857); h_SL1L261->SetBinContent(18,994.2858); h_SL1L261->SetBinContent(19,1215.714); h_SL1L261->SetBinContent(20,1297.143); h_SL1L261->SetBinContent(21,1427.143); h_SL1L261->SetBinContent(22,1540); h_SL1L261->SetBinContent(23,1667.143); h_SL1L261->SetBinContent(24,1890); h_SL1L261->SetBinContent(25,2055.714); h_SL1L261->SetBinContent(26,1987.143); h_SL1L261->SetBinContent(27,2232.857); h_SL1L261->SetBinContent(28,2570); h_SL1L261->SetBinContent(29,3110); h_SL1L261->SetBinContent(30,3650); h_SL1L261->SetBinContent(31,4258.571); h_SL1L261->SetBinContent(32,7441.429); h_SL1L261->SetBinContent(33,19138.57); h_SL1L261->SetBinContent(34,51290); h_SL1L261->SetBinContent(35,58117.14); h_SL1L261->SetBinContent(36,62647.14); h_SL1L261->SetBinContent(37,67998.57); h_SL1L261->SetBinContent(38,67944.29); h_SL1L261->SetBinContent(39,56187.14); h_SL1L261->SetBinContent(40,19552.86); h_SL1L261->SetBinContent(41,7755.714); h_SL1L261->SetBinContent(42,4650); h_SL1L261->SetBinContent(43,4105.714); h_SL1L261->SetBinContent(44,3644.286); h_SL1L261->SetBinContent(45,3257.143); h_SL1L261->SetBinContent(46,2951.429); h_SL1L261->SetBinContent(47,2897.143); h_SL1L261->SetBinContent(48,2560); h_SL1L261->SetBinContent(49,17407.14); h_SL1L261->SetBinContent(50,2232.857); h_SL1L261->SetBinContent(51,2004.286); h_SL1L261->SetBinContent(52,2207.143); h_SL1L261->SetBinContent(53,2045.714); h_SL1L261->SetBinContent(54,1720); h_SL1L261->SetBinContent(55,1641.429); h_SL1L261->SetBinContent(56,6130); h_SL1L261->SetBinContent(57,1481.429); h_SL1L261->SetBinContent(58,1507.143); h_SL1L261->SetBinContent(59,804.2857); h_SL1L261->SetMaximum(79407.5); 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,298.5714); h_SL1L362->SetBinContent(2,335.7143); h_SL1L362->SetBinContent(3,367.1429); h_SL1L362->SetBinContent(4,304.2857); h_SL1L362->SetBinContent(5,324.2857); h_SL1L362->SetBinContent(6,375.7143); h_SL1L362->SetBinContent(7,378.5714); h_SL1L362->SetBinContent(8,438.5714); h_SL1L362->SetBinContent(9,457.1429); h_SL1L362->SetBinContent(10,515.7143); h_SL1L362->SetBinContent(11,592.8572); h_SL1L362->SetBinContent(12,631.4286); h_SL1L362->SetBinContent(13,721.4286); h_SL1L362->SetBinContent(14,760); h_SL1L362->SetBinContent(15,774.2857); h_SL1L362->SetBinContent(16,738.5715); h_SL1L362->SetBinContent(17,785.7143); h_SL1L362->SetBinContent(18,1077.143); h_SL1L362->SetBinContent(19,1158.571); h_SL1L362->SetBinContent(20,1320); h_SL1L362->SetBinContent(21,1385.714); h_SL1L362->SetBinContent(22,1421.429); h_SL1L362->SetBinContent(23,1660); h_SL1L362->SetBinContent(24,1881.429); h_SL1L362->SetBinContent(25,1925.714); h_SL1L362->SetBinContent(26,2000); h_SL1L362->SetBinContent(27,2255.714); h_SL1L362->SetBinContent(28,2894.286); h_SL1L362->SetBinContent(29,3168.572); h_SL1L362->SetBinContent(30,3901.429); h_SL1L362->SetBinContent(31,5154.286); h_SL1L362->SetBinContent(32,9207.144); h_SL1L362->SetBinContent(33,37924.29); h_SL1L362->SetBinContent(34,56271.43); h_SL1L362->SetBinContent(35,60844.29); h_SL1L362->SetBinContent(36,65394.29); h_SL1L362->SetBinContent(37,69050); h_SL1L362->SetBinContent(38,63680); h_SL1L362->SetBinContent(39,40500); h_SL1L362->SetBinContent(40,9395.715); h_SL1L362->SetBinContent(41,5527.143); h_SL1L362->SetBinContent(42,4301.429); h_SL1L362->SetBinContent(43,3708.572); h_SL1L362->SetBinContent(44,3231.429); h_SL1L362->SetBinContent(45,3072.857); h_SL1L362->SetBinContent(46,2824.286); h_SL1L362->SetBinContent(47,2668.572); h_SL1L362->SetBinContent(48,2392.857); h_SL1L362->SetBinContent(49,2210); h_SL1L362->SetBinContent(50,2005.714); h_SL1L362->SetBinContent(51,1911.429); h_SL1L362->SetBinContent(52,1780); h_SL1L362->SetBinContent(53,4955.714); h_SL1L362->SetBinContent(54,1598.571); h_SL1L362->SetBinContent(55,1555.714); h_SL1L362->SetBinContent(56,6917.143); h_SL1L362->SetBinContent(57,1661.429); h_SL1L362->SetBinContent(58,1395.714); h_SL1L362->SetBinContent(59,771.4286); h_SL1L362->SetMaximum(79407.5); 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,5.714286); h_SL1L463->SetBinContent(3,12.85714); h_SL1L463->SetBinContent(4,14.28572); h_SL1L463->SetBinContent(5,10); h_SL1L463->SetBinContent(6,2.857143); h_SL1L463->SetBinContent(7,14.28572); h_SL1L463->SetBinContent(8,11.42857); h_SL1L463->SetBinContent(9,17.14286); h_SL1L463->SetBinContent(10,11.42857); h_SL1L463->SetBinContent(11,14.28572); h_SL1L463->SetBinContent(12,12.85714); h_SL1L463->SetBinContent(13,8.571428); h_SL1L463->SetBinContent(14,27.14286); h_SL1L463->SetBinContent(15,18.57143); h_SL1L463->SetBinContent(16,14.28572); h_SL1L463->SetBinContent(17,10); h_SL1L463->SetBinContent(18,24.28572); h_SL1L463->SetBinContent(19,25.71429); h_SL1L463->SetBinContent(20,22.85714); h_SL1L463->SetBinContent(21,24.28572); h_SL1L463->SetBinContent(22,37.14286); h_SL1L463->SetBinContent(23,40); h_SL1L463->SetBinContent(24,28.57143); h_SL1L463->SetBinContent(25,25.71429); h_SL1L463->SetBinContent(26,45.71429); h_SL1L463->SetBinContent(27,31.42857); h_SL1L463->SetBinContent(28,51.42857); h_SL1L463->SetBinContent(29,58.57143); h_SL1L463->SetBinContent(30,70); h_SL1L463->SetBinContent(31,185.7143); h_SL1L463->SetBinContent(32,132.8571); h_SL1L463->SetBinContent(33,284.2857); h_SL1L463->SetBinContent(34,1182.857); h_SL1L463->SetBinContent(35,2331.429); h_SL1L463->SetBinContent(36,1387.143); h_SL1L463->SetBinContent(37,1225.714); h_SL1L463->SetBinContent(38,1542.857); h_SL1L463->SetBinContent(39,1951.429); h_SL1L463->SetBinContent(40,412.8571); h_SL1L463->SetBinContent(41,182.8571); h_SL1L463->SetBinContent(42,112.8571); h_SL1L463->SetBinContent(43,134.2857); h_SL1L463->SetBinContent(44,132.8571); h_SL1L463->SetBinContent(45,82.85715); h_SL1L463->SetBinContent(46,72.85715); h_SL1L463->SetBinContent(47,60); h_SL1L463->SetBinContent(48,45.71429); h_SL1L463->SetBinContent(49,57.14286); h_SL1L463->SetBinContent(50,32.85714); h_SL1L463->SetBinContent(51,37.14286); h_SL1L463->SetBinContent(52,40); h_SL1L463->SetBinContent(53,22.85714); h_SL1L463->SetBinContent(54,41.42857); h_SL1L463->SetBinContent(56,40); h_SL1L463->SetBinContent(57,32.85714); h_SL1L463->SetBinContent(58,21.42857); h_SL1L463->SetBinContent(59,15.71429); h_SL1L463->SetMaximum(79407.5); 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 6537"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }