void RatesPerCell_Removing_noisy_cells_run_6681_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:23:33 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11480.88,67.5,103327.9); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6681",60,0,60); h_SL1L160->SetBinContent(1,422.8571); h_SL1L160->SetBinContent(2,421.4286); h_SL1L160->SetBinContent(3,408.5714); h_SL1L160->SetBinContent(4,414.2857); h_SL1L160->SetBinContent(5,431.4286); h_SL1L160->SetBinContent(6,435.7143); h_SL1L160->SetBinContent(7,465.7143); h_SL1L160->SetBinContent(8,461.4286); h_SL1L160->SetBinContent(9,527.1429); h_SL1L160->SetBinContent(10,618.5715); h_SL1L160->SetBinContent(11,740); h_SL1L160->SetBinContent(12,805.7143); h_SL1L160->SetBinContent(13,904.2857); h_SL1L160->SetBinContent(14,882.8572); h_SL1L160->SetBinContent(15,790); h_SL1L160->SetBinContent(16,751.4286); h_SL1L160->SetBinContent(17,898.5715); h_SL1L160->SetBinContent(18,1301.429); h_SL1L160->SetBinContent(19,1332.857); h_SL1L160->SetBinContent(20,1425.714); h_SL1L160->SetBinContent(21,1614.286); h_SL1L160->SetBinContent(22,1755.714); h_SL1L160->SetBinContent(23,1837.143); h_SL1L160->SetBinContent(24,2045.714); h_SL1L160->SetBinContent(25,2081.429); h_SL1L160->SetBinContent(26,2051.429); h_SL1L160->SetBinContent(27,2277.143); h_SL1L160->SetBinContent(28,3125.714); h_SL1L160->SetBinContent(29,3387.143); h_SL1L160->SetBinContent(30,3738.572); h_SL1L160->SetBinContent(31,5188.572); h_SL1L160->SetBinContent(32,9065.715); h_SL1L160->SetBinContent(33,36055.71); h_SL1L160->SetBinContent(34,54367.14); h_SL1L160->SetBinContent(35,58970); h_SL1L160->SetBinContent(36,62900); h_SL1L160->SetBinContent(37,67031.43); h_SL1L160->SetBinContent(38,62040); h_SL1L160->SetBinContent(39,38974.29); h_SL1L160->SetBinContent(40,9004.286); h_SL1L160->SetBinContent(41,5398.572); h_SL1L160->SetBinContent(42,4235.714); h_SL1L160->SetBinContent(43,3947.143); h_SL1L160->SetBinContent(44,3475.714); h_SL1L160->SetBinContent(45,3130); h_SL1L160->SetBinContent(46,2840); h_SL1L160->SetBinContent(47,2621.429); h_SL1L160->SetBinContent(48,2408.572); h_SL1L160->SetBinContent(49,2232.857); h_SL1L160->SetBinContent(50,2188.572); h_SL1L160->SetBinContent(51,2037.143); h_SL1L160->SetBinContent(52,1862.857); h_SL1L160->SetBinContent(53,1821.429); h_SL1L160->SetBinContent(54,1658.571); h_SL1L160->SetBinContent(55,1648.571); h_SL1L160->SetBinContent(56,1507.143); h_SL1L160->SetBinContent(57,1560); h_SL1L160->SetBinContent(58,1575.714); h_SL1L160->SetBinContent(59,1560); h_SL1L160->SetMaximum(91847.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,332.8571); h_SL1L261->SetBinContent(2,324.2857); h_SL1L261->SetBinContent(3,327.1429); h_SL1L261->SetBinContent(4,367.1429); h_SL1L261->SetBinContent(5,407.1429); h_SL1L261->SetBinContent(6,400); h_SL1L261->SetBinContent(7,425.7143); h_SL1L261->SetBinContent(8,454.2857); h_SL1L261->SetBinContent(9,441.4286); h_SL1L261->SetBinContent(10,501.4286); h_SL1L261->SetBinContent(11,600); h_SL1L261->SetBinContent(12,662.8572); h_SL1L261->SetBinContent(13,794.2857); h_SL1L261->SetBinContent(14,784.2857); h_SL1L261->SetBinContent(15,775.7143); h_SL1L261->SetBinContent(16,694.2857); h_SL1L261->SetBinContent(17,825.7143); h_SL1L261->SetBinContent(18,1070); h_SL1L261->SetBinContent(19,1192.857); h_SL1L261->SetBinContent(20,1271.429); h_SL1L261->SetBinContent(21,1407.143); h_SL1L261->SetBinContent(22,1632.857); h_SL1L261->SetBinContent(23,1697.143); h_SL1L261->SetBinContent(24,1865.714); h_SL1L261->SetBinContent(25,2061.429); h_SL1L261->SetBinContent(26,2020); h_SL1L261->SetBinContent(27,2084.286); h_SL1L261->SetBinContent(28,2604.286); h_SL1L261->SetBinContent(29,3081.429); h_SL1L261->SetBinContent(30,3454.286); h_SL1L261->SetBinContent(31,4224.286); h_SL1L261->SetBinContent(32,7277.143); h_SL1L261->SetBinContent(33,19328.57); h_SL1L261->SetBinContent(34,50438.57); h_SL1L261->SetBinContent(35,59300); h_SL1L261->SetBinContent(36,63257.14); h_SL1L261->SetBinContent(37,67685.72); h_SL1L261->SetBinContent(38,67988.57); h_SL1L261->SetBinContent(39,55795.71); h_SL1L261->SetBinContent(40,19242.86); h_SL1L261->SetBinContent(41,7628.572); h_SL1L261->SetBinContent(42,4478.572); h_SL1L261->SetBinContent(43,4015.714); h_SL1L261->SetBinContent(44,3618.572); h_SL1L261->SetBinContent(45,3222.857); h_SL1L261->SetBinContent(46,2855.714); h_SL1L261->SetBinContent(47,2732.857); h_SL1L261->SetBinContent(48,2522.857); h_SL1L261->SetBinContent(49,12771.43); h_SL1L261->SetBinContent(50,2151.429); h_SL1L261->SetBinContent(51,2078.572); h_SL1L261->SetBinContent(52,1998.572); h_SL1L261->SetBinContent(53,1935.714); h_SL1L261->SetBinContent(54,1724.286); h_SL1L261->SetBinContent(55,1610); h_SL1L261->SetBinContent(56,4555.714); h_SL1L261->SetBinContent(57,1567.143); h_SL1L261->SetBinContent(58,1511.429); h_SL1L261->SetBinContent(59,1560); h_SL1L261->SetMaximum(79867.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,285.7143); h_SL1L362->SetBinContent(2,318.5714); h_SL1L362->SetBinContent(3,305.7143); h_SL1L362->SetBinContent(4,340); h_SL1L362->SetBinContent(5,390); h_SL1L362->SetBinContent(6,367.1429); h_SL1L362->SetBinContent(7,381.4286); h_SL1L362->SetBinContent(8,390); h_SL1L362->SetBinContent(9,430); h_SL1L362->SetBinContent(10,524.2857); h_SL1L362->SetBinContent(11,592.8572); h_SL1L362->SetBinContent(12,687.1429); h_SL1L362->SetBinContent(13,717.1429); h_SL1L362->SetBinContent(14,722.8572); h_SL1L362->SetBinContent(15,704.2857); h_SL1L362->SetBinContent(16,747.1429); h_SL1L362->SetBinContent(17,838.5715); h_SL1L362->SetBinContent(18,1098.571); h_SL1L362->SetBinContent(19,1178.571); h_SL1L362->SetBinContent(20,1220); h_SL1L362->SetBinContent(21,1417.143); h_SL1L362->SetBinContent(22,1507.143); h_SL1L362->SetBinContent(23,1588.571); h_SL1L362->SetBinContent(24,1852.857); h_SL1L362->SetBinContent(25,1894.286); h_SL1L362->SetBinContent(26,1965.714); h_SL1L362->SetBinContent(27,2235.714); h_SL1L362->SetBinContent(28,2804.286); h_SL1L362->SetBinContent(29,3150); h_SL1L362->SetBinContent(30,3631.429); h_SL1L362->SetBinContent(31,5278.572); h_SL1L362->SetBinContent(32,9311.429); h_SL1L362->SetBinContent(33,37491.43); h_SL1L362->SetBinContent(34,56517.14); h_SL1L362->SetBinContent(35,61522.86); h_SL1L362->SetBinContent(36,65522.86); h_SL1L362->SetBinContent(37,69450); h_SL1L362->SetBinContent(38,63727.14); h_SL1L362->SetBinContent(39,40165.71); h_SL1L362->SetBinContent(40,9068.571); h_SL1L362->SetBinContent(41,5341.429); h_SL1L362->SetBinContent(42,4147.143); h_SL1L362->SetBinContent(43,3614.286); h_SL1L362->SetBinContent(44,3307.143); h_SL1L362->SetBinContent(45,2958.572); h_SL1L362->SetBinContent(46,2708.572); h_SL1L362->SetBinContent(47,2537.143); h_SL1L362->SetBinContent(48,2271.429); h_SL1L362->SetBinContent(49,2118.572); h_SL1L362->SetBinContent(50,1977.143); h_SL1L362->SetBinContent(51,1897.143); h_SL1L362->SetBinContent(52,1751.429); h_SL1L362->SetBinContent(53,3844.286); h_SL1L362->SetBinContent(54,1547.143); h_SL1L362->SetBinContent(55,1508.571); h_SL1L362->SetBinContent(56,4677.143); h_SL1L362->SetBinContent(57,1590); h_SL1L362->SetBinContent(58,1422.857); h_SL1L362->SetBinContent(59,1418.571); h_SL1L362->SetMaximum(79867.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,134.2857); h_SL1L463->SetBinContent(3,132.8571); h_SL1L463->SetBinContent(4,132.8571); h_SL1L463->SetBinContent(5,170); h_SL1L463->SetBinContent(6,144.2857); h_SL1L463->SetBinContent(7,228.5714); h_SL1L463->SetBinContent(8,162.8571); h_SL1L463->SetBinContent(9,167.1429); h_SL1L463->SetBinContent(10,188.5714); h_SL1L463->SetBinContent(11,255.7143); h_SL1L463->SetBinContent(12,301.4286); h_SL1L463->SetBinContent(13,350); h_SL1L463->SetBinContent(14,332.8571); h_SL1L463->SetBinContent(15,312.8571); h_SL1L463->SetBinContent(16,317.1429); h_SL1L463->SetBinContent(17,301.4286); h_SL1L463->SetBinContent(18,390); h_SL1L463->SetBinContent(19,514.2857); h_SL1L463->SetBinContent(20,510); h_SL1L463->SetBinContent(21,524.2857); h_SL1L463->SetBinContent(22,600); h_SL1L463->SetBinContent(23,631.4286); h_SL1L463->SetBinContent(24,657.1429); h_SL1L463->SetBinContent(25,631.4286); h_SL1L463->SetBinContent(26,701.4286); h_SL1L463->SetBinContent(27,807.1429); h_SL1L463->SetBinContent(28,1012.857); h_SL1L463->SetBinContent(29,1028.571); h_SL1L463->SetBinContent(30,1298.571); h_SL1L463->SetBinContent(31,1792.857); h_SL1L463->SetBinContent(32,2531.429); h_SL1L463->SetBinContent(33,6284.286); h_SL1L463->SetBinContent(34,23481.43); h_SL1L463->SetBinContent(35,33860); h_SL1L463->SetBinContent(36,30321.43); h_SL1L463->SetBinContent(37,26828.57); h_SL1L463->SetBinContent(38,30721.43); h_SL1L463->SetBinContent(39,31142.86); h_SL1L463->SetBinContent(40,7987.143); h_SL1L463->SetBinContent(41,3312.857); h_SL1L463->SetBinContent(42,2035.714); h_SL1L463->SetBinContent(43,1912.857); h_SL1L463->SetBinContent(44,1835.714); h_SL1L463->SetBinContent(45,1438.571); h_SL1L463->SetBinContent(46,1302.857); h_SL1L463->SetBinContent(47,1190); h_SL1L463->SetBinContent(48,977.1429); h_SL1L463->SetBinContent(49,817.1429); h_SL1L463->SetBinContent(50,785.7143); h_SL1L463->SetBinContent(51,781.4286); h_SL1L463->SetBinContent(52,684.2857); h_SL1L463->SetBinContent(53,575.7143); h_SL1L463->SetBinContent(54,600); h_SL1L463->SetBinContent(56,497.1429); h_SL1L463->SetBinContent(57,484.2857); h_SL1L463->SetBinContent(58,557.1429); h_SL1L463->SetBinContent(59,607.1429); h_SL1L463->SetMaximum(79867.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.3744221,0.9362587,0.6255779,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL1, run 6681"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }