void RatesPerCell_Removing_noisy_cells_run_5668_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:28:39 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11919.61,67.5,107276.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 5668",60,0,60); h_SL1L160->SetBinContent(1,111.4286); h_SL1L160->SetBinContent(2,91.42857); h_SL1L160->SetBinContent(3,118.5714); h_SL1L160->SetBinContent(4,105.7143); h_SL1L160->SetBinContent(5,95.71429); h_SL1L160->SetBinContent(6,122.8571); h_SL1L160->SetBinContent(7,122.8571); h_SL1L160->SetBinContent(8,132.8571); h_SL1L160->SetBinContent(9,118.5714); h_SL1L160->SetBinContent(10,118.5714); h_SL1L160->SetBinContent(11,127.1429); h_SL1L160->SetBinContent(12,177.1429); h_SL1L160->SetBinContent(13,181.4286); h_SL1L160->SetBinContent(14,177.1429); h_SL1L160->SetBinContent(15,160); h_SL1L160->SetBinContent(16,171.4286); h_SL1L160->SetBinContent(17,185.7143); h_SL1L160->SetBinContent(18,218.5714); h_SL1L160->SetBinContent(19,244.2857); h_SL1L160->SetBinContent(20,272.8571); h_SL1L160->SetBinContent(21,280); h_SL1L160->SetBinContent(22,301.4286); h_SL1L160->SetBinContent(23,372.8571); h_SL1L160->SetBinContent(24,335.7143); h_SL1L160->SetBinContent(25,385.7143); h_SL1L160->SetBinContent(26,421.4286); h_SL1L160->SetBinContent(27,518.5714); h_SL1L160->SetBinContent(28,582.8572); h_SL1L160->SetBinContent(29,708.5715); h_SL1L160->SetBinContent(30,910); h_SL1L160->SetBinContent(31,1021.429); h_SL1L160->SetBinContent(32,1432.857); h_SL1L160->SetBinContent(33,6497.143); h_SL1L160->SetBinContent(34,10231.43); h_SL1L160->SetBinContent(35,12108.57); h_SL1L160->SetBinContent(36,11978.57); h_SL1L160->SetBinContent(37,17272.86); h_SL1L160->SetBinContent(38,15697.14); h_SL1L160->SetBinContent(39,9300); h_SL1L160->SetBinContent(40,1781.429); h_SL1L160->SetBinContent(41,1248.571); h_SL1L160->SetBinContent(42,1151.429); h_SL1L160->SetBinContent(43,957.1429); h_SL1L160->SetBinContent(44,851.4286); h_SL1L160->SetBinContent(45,741.4286); h_SL1L160->SetBinContent(46,567.1429); h_SL1L160->SetBinContent(47,622.8572); h_SL1L160->SetBinContent(48,495.7143); h_SL1L160->SetBinContent(49,537.1429); h_SL1L160->SetBinContent(50,455.7143); h_SL1L160->SetBinContent(51,500); h_SL1L160->SetBinContent(52,404.2857); h_SL1L160->SetBinContent(53,410); h_SL1L160->SetBinContent(54,334.2857); h_SL1L160->SetBinContent(55,325.7143); h_SL1L160->SetBinContent(56,307.1429); h_SL1L160->SetBinContent(57,322.8571); h_SL1L160->SetBinContent(58,272.8571); h_SL1L160->SetBinContent(59,304.2857); h_SL1L160->SetMaximum(95356.85); 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,441.4286); h_SL1L261->SetBinContent(2,460); h_SL1L261->SetBinContent(3,487.1429); h_SL1L261->SetBinContent(4,440); h_SL1L261->SetBinContent(5,454.2857); h_SL1L261->SetBinContent(6,500); h_SL1L261->SetBinContent(7,517.1429); h_SL1L261->SetBinContent(8,578.5715); h_SL1L261->SetBinContent(9,631.4286); h_SL1L261->SetBinContent(10,597.1429); h_SL1L261->SetBinContent(11,684.2857); h_SL1L261->SetBinContent(12,662.8572); h_SL1L261->SetBinContent(13,840); h_SL1L261->SetBinContent(14,912.8572); h_SL1L261->SetBinContent(15,905.7143); h_SL1L261->SetBinContent(16,852.8572); h_SL1L261->SetBinContent(17,925.7143); h_SL1L261->SetBinContent(18,1087.143); h_SL1L261->SetBinContent(19,1270); h_SL1L261->SetBinContent(20,1340); h_SL1L261->SetBinContent(21,1495.714); h_SL1L261->SetBinContent(22,1655.714); h_SL1L261->SetBinContent(23,1782.857); h_SL1L261->SetBinContent(24,2027.143); h_SL1L261->SetBinContent(25,2195.714); h_SL1L261->SetBinContent(26,2340); h_SL1L261->SetBinContent(27,2435.714); h_SL1L261->SetBinContent(28,3115.714); h_SL1L261->SetBinContent(29,3538.572); h_SL1L261->SetBinContent(30,4067.143); h_SL1L261->SetBinContent(31,4794.286); h_SL1L261->SetBinContent(32,7511.429); h_SL1L261->SetBinContent(33,20497.14); h_SL1L261->SetBinContent(34,46724.29); h_SL1L261->SetBinContent(35,55150); h_SL1L261->SetBinContent(36,63788.57); h_SL1L261->SetBinContent(37,70034.29); h_SL1L261->SetBinContent(38,70517.15); h_SL1L261->SetBinContent(39,58831.43); h_SL1L261->SetBinContent(40,20552.86); h_SL1L261->SetBinContent(41,8768.571); h_SL1L261->SetBinContent(42,5642.857); h_SL1L261->SetBinContent(43,4801.429); h_SL1L261->SetBinContent(44,4188.571); h_SL1L261->SetBinContent(45,4002.857); h_SL1L261->SetBinContent(46,3597.143); h_SL1L261->SetBinContent(47,3387.143); h_SL1L261->SetBinContent(48,3187.143); h_SL1L261->SetBinContent(49,3101.429); h_SL1L261->SetBinContent(50,2604.286); h_SL1L261->SetBinContent(51,2472.857); h_SL1L261->SetBinContent(52,2402.857); h_SL1L261->SetBinContent(53,2220); h_SL1L261->SetBinContent(54,1955.714); h_SL1L261->SetBinContent(55,1871.429); h_SL1L261->SetBinContent(56,1838.572); h_SL1L261->SetBinContent(57,1730); h_SL1L261->SetBinContent(58,1638.571); h_SL1L261->SetBinContent(59,1591.429); h_SL1L261->SetMaximum(82919.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,418.5714); h_SL1L362->SetBinContent(2,437.1429); h_SL1L362->SetBinContent(3,462.8571); h_SL1L362->SetBinContent(4,400); h_SL1L362->SetBinContent(5,445.7143); h_SL1L362->SetBinContent(6,488.5714); h_SL1L362->SetBinContent(7,510); h_SL1L362->SetBinContent(8,558.5715); h_SL1L362->SetBinContent(9,561.4286); h_SL1L362->SetBinContent(10,584.2857); h_SL1L362->SetBinContent(11,590); h_SL1L362->SetBinContent(12,720); h_SL1L362->SetBinContent(13,844.2857); h_SL1L362->SetBinContent(14,861.4286); h_SL1L362->SetBinContent(15,811.4286); h_SL1L362->SetBinContent(16,868.5715); h_SL1L362->SetBinContent(17,942.8572); h_SL1L362->SetBinContent(18,1124.286); h_SL1L362->SetBinContent(19,1190); h_SL1L362->SetBinContent(20,1285.714); h_SL1L362->SetBinContent(21,1527.143); h_SL1L362->SetBinContent(22,1567.143); h_SL1L362->SetBinContent(23,1844.286); h_SL1L362->SetBinContent(24,1955.714); h_SL1L362->SetBinContent(25,2181.429); h_SL1L362->SetBinContent(26,2250); h_SL1L362->SetBinContent(27,2608.572); h_SL1L362->SetBinContent(28,3267.143); h_SL1L362->SetBinContent(29,3664.286); h_SL1L362->SetBinContent(30,4441.429); h_SL1L362->SetBinContent(31,5941.429); h_SL1L362->SetBinContent(32,9031.429); h_SL1L362->SetBinContent(33,37780); h_SL1L362->SetBinContent(34,51004.29); h_SL1L362->SetBinContent(35,59894.29); h_SL1L362->SetBinContent(36,67448.57); h_SL1L362->SetBinContent(37,72104.29); h_SL1L362->SetBinContent(38,65328.57); h_SL1L362->SetBinContent(39,43727.14); h_SL1L362->SetBinContent(40,10171.43); h_SL1L362->SetBinContent(41,6184.286); h_SL1L362->SetBinContent(42,5294.286); h_SL1L362->SetBinContent(43,4414.286); h_SL1L362->SetBinContent(44,3875.714); h_SL1L362->SetBinContent(45,3705.714); h_SL1L362->SetBinContent(46,3344.286); h_SL1L362->SetBinContent(47,3188.572); h_SL1L362->SetBinContent(48,2990); h_SL1L362->SetBinContent(49,2638.572); h_SL1L362->SetBinContent(50,2464.286); h_SL1L362->SetBinContent(51,2361.429); h_SL1L362->SetBinContent(52,2218.572); h_SL1L362->SetBinContent(53,2061.429); h_SL1L362->SetBinContent(54,1880); h_SL1L362->SetBinContent(55,1794.286); h_SL1L362->SetBinContent(56,1661.429); h_SL1L362->SetBinContent(57,1707.143); h_SL1L362->SetBinContent(58,1504.286); h_SL1L362->SetBinContent(59,1558.571); h_SL1L362->SetMaximum(82919.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,431.4286); h_SL1L463->SetBinContent(3,424.2857); h_SL1L463->SetBinContent(4,354.2857); h_SL1L463->SetBinContent(5,422.8571); h_SL1L463->SetBinContent(6,451.4286); h_SL1L463->SetBinContent(7,448.5714); h_SL1L463->SetBinContent(8,474.2857); h_SL1L463->SetBinContent(9,532.8572); h_SL1L463->SetBinContent(10,508.5714); h_SL1L463->SetBinContent(11,562.8572); h_SL1L463->SetBinContent(12,595.7143); h_SL1L463->SetBinContent(13,725.7143); h_SL1L463->SetBinContent(14,804.2857); h_SL1L463->SetBinContent(15,801.4286); h_SL1L463->SetBinContent(16,811.4286); h_SL1L463->SetBinContent(17,887.1429); h_SL1L463->SetBinContent(18,985.7143); h_SL1L463->SetBinContent(19,1140); h_SL1L463->SetBinContent(20,1165.714); h_SL1L463->SetBinContent(21,1364.286); h_SL1L463->SetBinContent(22,1505.714); h_SL1L463->SetBinContent(23,1711.429); h_SL1L463->SetBinContent(24,1818.571); h_SL1L463->SetBinContent(25,2014.286); h_SL1L463->SetBinContent(26,2207.143); h_SL1L463->SetBinContent(27,2295.714); h_SL1L463->SetBinContent(28,2950); h_SL1L463->SetBinContent(29,3372.857); h_SL1L463->SetBinContent(30,3854.286); h_SL1L463->SetBinContent(31,4712.857); h_SL1L463->SetBinContent(32,7342.857); h_SL1L463->SetBinContent(33,20315.71); h_SL1L463->SetBinContent(34,47147.14); h_SL1L463->SetBinContent(35,55644.29); h_SL1L463->SetBinContent(36,64007.14); h_SL1L463->SetBinContent(37,70292.86); h_SL1L463->SetBinContent(38,70551.43); h_SL1L463->SetBinContent(39,59408.57); h_SL1L463->SetBinContent(40,20804.29); h_SL1L463->SetBinContent(41,8655.715); h_SL1L463->SetBinContent(42,5592.857); h_SL1L463->SetBinContent(43,4700); h_SL1L463->SetBinContent(44,4178.571); h_SL1L463->SetBinContent(45,3778.572); h_SL1L463->SetBinContent(46,3485.714); h_SL1L463->SetBinContent(47,3262.857); h_SL1L463->SetBinContent(48,3077.143); h_SL1L463->SetBinContent(49,2771.429); h_SL1L463->SetBinContent(50,2470); h_SL1L463->SetBinContent(51,2278.572); h_SL1L463->SetBinContent(52,2302.857); h_SL1L463->SetBinContent(53,2152.857); h_SL1L463->SetBinContent(54,1797.143); h_SL1L463->SetBinContent(56,1761.429); h_SL1L463->SetBinContent(57,1627.143); h_SL1L463->SetBinContent(58,1512.857); h_SL1L463->SetBinContent(59,1454.286); h_SL1L463->SetMaximum(82919.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 5668"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }