void RatesPerCell_Removing_noisy_cells_run_5659_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:36:12 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11889.85,67.5,107008.7); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 5659",60,0,60); h_SL1L160->SetBinContent(1,494.2857); h_SL1L160->SetBinContent(2,431.4286); h_SL1L160->SetBinContent(3,467.1429); h_SL1L160->SetBinContent(4,574.2857); h_SL1L160->SetBinContent(5,587.1429); h_SL1L160->SetBinContent(6,548.5714); h_SL1L160->SetBinContent(7,585.7143); h_SL1L160->SetBinContent(8,590); h_SL1L160->SetBinContent(9,560); h_SL1L160->SetBinContent(10,704.2857); h_SL1L160->SetBinContent(11,777.1429); h_SL1L160->SetBinContent(12,831.4286); h_SL1L160->SetBinContent(13,888.5715); h_SL1L160->SetBinContent(14,908.5715); h_SL1L160->SetBinContent(15,852.8572); h_SL1L160->SetBinContent(16,887.1429); h_SL1L160->SetBinContent(17,991.4286); h_SL1L160->SetBinContent(18,1194.286); h_SL1L160->SetBinContent(19,1375.714); h_SL1L160->SetBinContent(20,1602.857); h_SL1L160->SetBinContent(21,1652.857); h_SL1L160->SetBinContent(22,1767.143); h_SL1L160->SetBinContent(23,1862.857); h_SL1L160->SetBinContent(24,2224.286); h_SL1L160->SetBinContent(25,2185.714); h_SL1L160->SetBinContent(26,2378.572); h_SL1L160->SetBinContent(27,2605.714); h_SL1L160->SetBinContent(28,3437.143); h_SL1L160->SetBinContent(29,3794.286); h_SL1L160->SetBinContent(30,4137.143); h_SL1L160->SetBinContent(31,5694.286); h_SL1L160->SetBinContent(32,9052.857); h_SL1L160->SetBinContent(33,37550); h_SL1L160->SetBinContent(34,50824.29); h_SL1L160->SetBinContent(35,58640); h_SL1L160->SetBinContent(36,66535.72); h_SL1L160->SetBinContent(37,71690); h_SL1L160->SetBinContent(38,64884.29); h_SL1L160->SetBinContent(39,43455.71); h_SL1L160->SetBinContent(40,9961.429); h_SL1L160->SetBinContent(41,5971.429); h_SL1L160->SetBinContent(42,5114.286); h_SL1L160->SetBinContent(43,4677.143); h_SL1L160->SetBinContent(44,4090); h_SL1L160->SetBinContent(45,3704.286); h_SL1L160->SetBinContent(46,3352.857); h_SL1L160->SetBinContent(47,3252.857); h_SL1L160->SetBinContent(48,2980); h_SL1L160->SetBinContent(49,2812.857); h_SL1L160->SetBinContent(50,2518.572); h_SL1L160->SetBinContent(51,2368.572); h_SL1L160->SetBinContent(52,2142.857); h_SL1L160->SetBinContent(53,2070); h_SL1L160->SetBinContent(54,1930); h_SL1L160->SetBinContent(55,1810); h_SL1L160->SetBinContent(56,1728.571); h_SL1L160->SetBinContent(57,1707.143); h_SL1L160->SetBinContent(58,1555.714); h_SL1L160->SetBinContent(59,1507.143); h_SL1L160->SetMaximum(95118.8); 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,427.1429); h_SL1L261->SetBinContent(2,397.1429); h_SL1L261->SetBinContent(3,391.4286); h_SL1L261->SetBinContent(4,498.5714); h_SL1L261->SetBinContent(5,511.4286); h_SL1L261->SetBinContent(6,430); h_SL1L261->SetBinContent(7,498.5714); h_SL1L261->SetBinContent(8,541.4286); h_SL1L261->SetBinContent(9,501.4286); h_SL1L261->SetBinContent(10,550); h_SL1L261->SetBinContent(11,648.5715); h_SL1L261->SetBinContent(12,734.2857); h_SL1L261->SetBinContent(13,731.4286); h_SL1L261->SetBinContent(14,841.4286); h_SL1L261->SetBinContent(15,874.2857); h_SL1L261->SetBinContent(16,741.4286); h_SL1L261->SetBinContent(17,905.7143); h_SL1L261->SetBinContent(18,990); h_SL1L261->SetBinContent(19,1228.571); h_SL1L261->SetBinContent(20,1327.143); h_SL1L261->SetBinContent(21,1508.571); h_SL1L261->SetBinContent(22,1615.714); h_SL1L261->SetBinContent(23,1685.714); h_SL1L261->SetBinContent(24,1872.857); h_SL1L261->SetBinContent(25,2121.429); h_SL1L261->SetBinContent(26,2094.286); h_SL1L261->SetBinContent(27,2341.429); h_SL1L261->SetBinContent(28,2915.714); h_SL1L261->SetBinContent(29,3411.429); h_SL1L261->SetBinContent(30,3828.572); h_SL1L261->SetBinContent(31,4348.571); h_SL1L261->SetBinContent(32,7221.429); h_SL1L261->SetBinContent(33,20252.86); h_SL1L261->SetBinContent(34,46735.71); h_SL1L261->SetBinContent(35,54351.43); h_SL1L261->SetBinContent(36,62655.71); h_SL1L261->SetBinContent(37,70204.29); h_SL1L261->SetBinContent(38,69558.57); h_SL1L261->SetBinContent(39,58905.71); h_SL1L261->SetBinContent(40,20264.29); h_SL1L261->SetBinContent(41,8351.429); h_SL1L261->SetBinContent(42,5214.286); h_SL1L261->SetBinContent(43,4755.714); h_SL1L261->SetBinContent(44,4157.143); h_SL1L261->SetBinContent(45,3881.429); h_SL1L261->SetBinContent(46,3382.857); h_SL1L261->SetBinContent(47,3160); h_SL1L261->SetBinContent(48,3064.286); h_SL1L261->SetBinContent(49,2885.714); h_SL1L261->SetBinContent(50,2542.857); h_SL1L261->SetBinContent(51,2324.286); h_SL1L261->SetBinContent(52,2170); h_SL1L261->SetBinContent(53,2044.286); h_SL1L261->SetBinContent(54,1927.143); h_SL1L261->SetBinContent(55,1797.143); h_SL1L261->SetBinContent(56,1690); h_SL1L261->SetBinContent(57,1594.286); h_SL1L261->SetBinContent(58,1592.857); h_SL1L261->SetBinContent(59,1448.571); h_SL1L261->SetMaximum(82712.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,365.7143); h_SL1L362->SetBinContent(2,362.8571); h_SL1L362->SetBinContent(3,375.7143); h_SL1L362->SetBinContent(4,445.7143); h_SL1L362->SetBinContent(5,434.2857); h_SL1L362->SetBinContent(6,431.4286); h_SL1L362->SetBinContent(7,460); h_SL1L362->SetBinContent(8,468.5714); h_SL1L362->SetBinContent(9,470); h_SL1L362->SetBinContent(10,562.8572); h_SL1L362->SetBinContent(11,620); h_SL1L362->SetBinContent(12,675.7143); h_SL1L362->SetBinContent(13,735.7143); h_SL1L362->SetBinContent(14,775.7143); h_SL1L362->SetBinContent(15,717.1429); h_SL1L362->SetBinContent(16,790); h_SL1L362->SetBinContent(17,882.8572); h_SL1L362->SetBinContent(18,1058.571); h_SL1L362->SetBinContent(19,1220); h_SL1L362->SetBinContent(20,1374.286); h_SL1L362->SetBinContent(21,1497.143); h_SL1L362->SetBinContent(22,1548.571); h_SL1L362->SetBinContent(23,1661.429); h_SL1L362->SetBinContent(24,1997.143); h_SL1L362->SetBinContent(25,1964.286); h_SL1L362->SetBinContent(26,2157.143); h_SL1L362->SetBinContent(27,2464.286); h_SL1L362->SetBinContent(28,3201.429); h_SL1L362->SetBinContent(29,3572.857); h_SL1L362->SetBinContent(30,3941.429); h_SL1L362->SetBinContent(31,5545.714); h_SL1L362->SetBinContent(32,8915.715); h_SL1L362->SetBinContent(33,37665.71); h_SL1L362->SetBinContent(34,50681.43); h_SL1L362->SetBinContent(35,58914.29); h_SL1L362->SetBinContent(36,66890); h_SL1L362->SetBinContent(37,71924.29); h_SL1L362->SetBinContent(38,64980); h_SL1L362->SetBinContent(39,43771.43); h_SL1L362->SetBinContent(40,9795.715); h_SL1L362->SetBinContent(41,5810); h_SL1L362->SetBinContent(42,4992.857); h_SL1L362->SetBinContent(43,4487.143); h_SL1L362->SetBinContent(44,3837.143); h_SL1L362->SetBinContent(45,3592.857); h_SL1L362->SetBinContent(46,3175.714); h_SL1L362->SetBinContent(47,3072.857); h_SL1L362->SetBinContent(48,2835.714); h_SL1L362->SetBinContent(49,2557.143); h_SL1L362->SetBinContent(50,2412.857); h_SL1L362->SetBinContent(51,2097.143); h_SL1L362->SetBinContent(52,2020); h_SL1L362->SetBinContent(53,1881.429); h_SL1L362->SetBinContent(54,1778.571); h_SL1L362->SetBinContent(55,1680); h_SL1L362->SetBinContent(56,1610); h_SL1L362->SetBinContent(57,1510); h_SL1L362->SetBinContent(58,1487.143); h_SL1L362->SetBinContent(59,1394.286); h_SL1L362->SetMaximum(82712.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,272.8571); h_SL1L463->SetBinContent(3,202.8571); h_SL1L463->SetBinContent(4,280); h_SL1L463->SetBinContent(5,285.7143); h_SL1L463->SetBinContent(6,284.2857); h_SL1L463->SetBinContent(7,291.4286); h_SL1L463->SetBinContent(8,292.8571); h_SL1L463->SetBinContent(9,288.5714); h_SL1L463->SetBinContent(10,297.1429); h_SL1L463->SetBinContent(11,377.1429); h_SL1L463->SetBinContent(12,434.2857); h_SL1L463->SetBinContent(13,454.2857); h_SL1L463->SetBinContent(14,541.4286); h_SL1L463->SetBinContent(15,497.1429); h_SL1L463->SetBinContent(16,505.7143); h_SL1L463->SetBinContent(17,574.2857); h_SL1L463->SetBinContent(18,605.7143); h_SL1L463->SetBinContent(19,762.8572); h_SL1L463->SetBinContent(20,780); h_SL1L463->SetBinContent(21,844.2857); h_SL1L463->SetBinContent(22,994.2858); h_SL1L463->SetBinContent(23,1070); h_SL1L463->SetBinContent(24,1178.571); h_SL1L463->SetBinContent(25,1218.571); h_SL1L463->SetBinContent(26,1381.429); h_SL1L463->SetBinContent(27,1502.857); h_SL1L463->SetBinContent(28,1928.572); h_SL1L463->SetBinContent(29,2131.429); h_SL1L463->SetBinContent(30,2411.429); h_SL1L463->SetBinContent(31,3088.572); h_SL1L463->SetBinContent(32,4758.572); h_SL1L463->SetBinContent(33,13178.57); h_SL1L463->SetBinContent(34,34154.29); h_SL1L463->SetBinContent(35,42055.71); h_SL1L463->SetBinContent(36,45868.57); h_SL1L463->SetBinContent(37,47220); h_SL1L463->SetBinContent(38,48935.71); h_SL1L463->SetBinContent(39,44385.71); h_SL1L463->SetBinContent(40,13418.57); h_SL1L463->SetBinContent(41,5802.857); h_SL1L463->SetBinContent(42,3758.572); h_SL1L463->SetBinContent(43,3520); h_SL1L463->SetBinContent(44,3035.714); h_SL1L463->SetBinContent(45,2544.286); h_SL1L463->SetBinContent(46,2430); h_SL1L463->SetBinContent(47,2070); h_SL1L463->SetBinContent(48,1897.143); h_SL1L463->SetBinContent(49,1740); h_SL1L463->SetBinContent(50,1590); h_SL1L463->SetBinContent(51,1522.857); h_SL1L463->SetBinContent(52,1354.286); h_SL1L463->SetBinContent(53,1274.286); h_SL1L463->SetBinContent(54,1214.286); h_SL1L463->SetBinContent(56,1014.286); h_SL1L463->SetBinContent(57,908.5715); h_SL1L463->SetBinContent(58,975.7143); h_SL1L463->SetBinContent(59,970); h_SL1L463->SetMaximum(82712.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 5659"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }