void RatesPerCell_Removing_noisy_cells_run_7388_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:14:31 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-27097.6,67.5,243878.3); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7388",60,0,60); h_SL1L160->SetBinContent(1,109171.4); h_SL1L160->SetBinContent(2,109817.9); h_SL1L160->SetBinContent(3,105810.7); h_SL1L160->SetBinContent(4,93275); h_SL1L160->SetBinContent(5,70714.28); h_SL1L160->SetBinContent(6,71767.86); h_SL1L160->SetBinContent(7,73307.14); h_SL1L160->SetBinContent(8,73071.43); h_SL1L160->SetBinContent(9,65428.57); h_SL1L160->SetBinContent(10,62814.29); h_SL1L160->SetBinContent(11,59264.29); h_SL1L160->SetBinContent(12,51478.57); h_SL1L160->SetBinContent(13,52192.86); h_SL1L160->SetBinContent(14,79410.71); h_SL1L160->SetBinContent(15,76385.71); h_SL1L160->SetBinContent(16,49064.29); h_SL1L160->SetBinContent(17,52832.14); h_SL1L160->SetBinContent(18,54828.57); h_SL1L160->SetBinContent(19,56717.86); h_SL1L160->SetBinContent(20,56153.57); h_SL1L160->SetBinContent(21,52535.71); h_SL1L160->SetBinContent(22,49882.14); h_SL1L160->SetBinContent(23,47100); h_SL1L160->SetBinContent(24,41192.86); h_SL1L160->SetBinContent(25,39082.14); h_SL1L160->SetBinContent(26,41371.43); h_SL1L160->SetBinContent(27,38846.43); h_SL1L160->SetBinContent(28,39771.43); h_SL1L160->SetBinContent(29,39814.29); h_SL1L160->SetBinContent(30,36632.14); h_SL1L160->SetBinContent(31,37007.14); h_SL1L160->SetBinContent(32,33932.14); h_SL1L160->SetBinContent(33,139325); h_SL1L160->SetBinContent(34,144364.3); h_SL1L160->SetBinContent(35,141007.1); h_SL1L160->SetBinContent(36,142389.3); h_SL1L160->SetBinContent(37,133460.7); h_SL1L160->SetBinContent(38,132003.6); h_SL1L160->SetBinContent(39,131732.1); h_SL1L160->SetBinContent(41,33942.86); h_SL1L160->SetBinContent(42,35132.14); h_SL1L160->SetBinContent(43,34425); h_SL1L160->SetBinContent(44,33800); h_SL1L160->SetBinContent(45,33446.43); h_SL1L160->SetBinContent(46,32182.14); h_SL1L160->SetBinContent(47,32310.71); h_SL1L160->SetBinContent(48,33960.71); h_SL1L160->SetBinContent(49,38357.14); h_SL1L160->SetBinContent(50,42367.86); h_SL1L160->SetBinContent(51,44914.29); h_SL1L160->SetBinContent(52,43953.57); h_SL1L160->SetBinContent(53,40917.86); h_SL1L160->SetBinContent(54,42564.29); h_SL1L160->SetBinContent(55,44439.29); h_SL1L160->SetBinContent(56,52210.71); h_SL1L160->SetMaximum(216780.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,153721.4); h_SL1L261->SetBinContent(2,159953.6); h_SL1L261->SetBinContent(3,161653.6); h_SL1L261->SetBinContent(4,163917.9); h_SL1L261->SetBinContent(5,155196.4); h_SL1L261->SetBinContent(6,155271.4); h_SL1L261->SetBinContent(7,157714.3); h_SL1L261->SetBinContent(8,159100); h_SL1L261->SetBinContent(9,144825); h_SL1L261->SetBinContent(10,135232.1); h_SL1L261->SetBinContent(11,132003.6); h_SL1L261->SetBinContent(12,116396.4); h_SL1L261->SetBinContent(13,111267.9); h_SL1L261->SetBinContent(14,109360.7); h_SL1L261->SetBinContent(15,118692.9); h_SL1L261->SetBinContent(16,119071.4); h_SL1L261->SetBinContent(17,132689.3); h_SL1L261->SetBinContent(18,140564.3); h_SL1L261->SetBinContent(19,144503.6); h_SL1L261->SetBinContent(20,149346.4); h_SL1L261->SetBinContent(21,147925); h_SL1L261->SetBinContent(22,146728.6); h_SL1L261->SetBinContent(23,144410.7); h_SL1L261->SetBinContent(24,143942.9); h_SL1L261->SetBinContent(25,145850); h_SL1L261->SetBinContent(26,131767.9); h_SL1L261->SetBinContent(27,129860.7); h_SL1L261->SetBinContent(28,136085.7); h_SL1L261->SetBinContent(29,142600); h_SL1L261->SetBinContent(30,141453.6); h_SL1L261->SetBinContent(31,139060.7); h_SL1L261->SetBinContent(32,136385.7); h_SL1L261->SetBinContent(33,137028.6); h_SL1L261->SetBinContent(34,137192.9); h_SL1L261->SetBinContent(35,136964.3); h_SL1L261->SetBinContent(36,136114.3); h_SL1L261->SetBinContent(37,130878.6); h_SL1L261->SetBinContent(38,132128.6); h_SL1L261->SetBinContent(39,130482.1); h_SL1L261->SetBinContent(40,129685.7); h_SL1L261->SetBinContent(41,131982.1); h_SL1L261->SetBinContent(42,136860.7); h_SL1L261->SetBinContent(43,140810.7); h_SL1L261->SetBinContent(44,138757.1); h_SL1L261->SetBinContent(45,137282.1); h_SL1L261->SetBinContent(46,138403.6); h_SL1L261->SetBinContent(47,142414.3); h_SL1L261->SetBinContent(48,144378.6); h_SL1L261->SetBinContent(49,159267.9); h_SL1L261->SetBinContent(50,155185.7); h_SL1L261->SetBinContent(51,155185.7); h_SL1L261->SetBinContent(52,155660.7); h_SL1L261->SetBinContent(53,139739.3); h_SL1L261->SetBinContent(54,138432.1); h_SL1L261->SetBinContent(55,140435.7); h_SL1L261->SetBinContent(56,138460.7); h_SL1L261->SetMaximum(188505.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,151607.1); h_SL1L362->SetBinContent(2,155935.7); h_SL1L362->SetBinContent(3,159282.1); h_SL1L362->SetBinContent(4,157196.4); h_SL1L362->SetBinContent(5,150946.4); h_SL1L362->SetBinContent(6,148225); h_SL1L362->SetBinContent(7,152232.1); h_SL1L362->SetBinContent(8,150546.4); h_SL1L362->SetBinContent(9,134721.4); h_SL1L362->SetBinContent(10,128264.3); h_SL1L362->SetBinContent(11,118471.4); h_SL1L362->SetBinContent(12,110110.7); h_SL1L362->SetBinContent(13,106882.1); h_SL1L362->SetBinContent(14,110817.9); h_SL1L362->SetBinContent(15,115632.1); h_SL1L362->SetBinContent(16,120764.3); h_SL1L362->SetBinContent(17,131596.4); h_SL1L362->SetBinContent(18,140114.3); h_SL1L362->SetBinContent(19,141128.6); h_SL1L362->SetBinContent(20,148196.4); h_SL1L362->SetBinContent(21,144582.1); h_SL1L362->SetBinContent(22,141103.6); h_SL1L362->SetBinContent(23,139560.7); h_SL1L362->SetBinContent(24,141092.9); h_SL1L362->SetBinContent(25,134757.1); h_SL1L362->SetBinContent(26,126353.6); h_SL1L362->SetBinContent(27,129307.1); h_SL1L362->SetBinContent(28,138807.1); h_SL1L362->SetBinContent(29,139521.4); h_SL1L362->SetBinContent(30,135850); h_SL1L362->SetBinContent(31,134942.9); h_SL1L362->SetBinContent(32,126392.9); h_SL1L362->SetBinContent(33,133596.4); h_SL1L362->SetBinContent(34,134753.6); h_SL1L362->SetBinContent(35,130471.4); h_SL1L362->SetBinContent(36,134267.9); h_SL1L362->SetBinContent(37,129350); h_SL1L362->SetBinContent(38,128003.6); h_SL1L362->SetBinContent(39,126053.6); h_SL1L362->SetBinContent(40,125185.7); h_SL1L362->SetBinContent(41,129521.4); h_SL1L362->SetBinContent(42,136642.9); h_SL1L362->SetBinContent(43,135350); h_SL1L362->SetBinContent(44,133382.1); h_SL1L362->SetBinContent(45,134814.3); h_SL1L362->SetBinContent(46,135946.4); h_SL1L362->SetBinContent(47,140885.7); h_SL1L362->SetBinContent(48,139878.6); h_SL1L362->SetBinContent(49,151578.6); h_SL1L362->SetBinContent(50,149389.3); h_SL1L362->SetBinContent(51,150125); h_SL1L362->SetBinContent(52,151310.7); h_SL1L362->SetBinContent(53,133203.6); h_SL1L362->SetBinContent(54,134089.3); h_SL1L362->SetBinContent(55,135667.9); h_SL1L362->SetBinContent(56,133139.3); h_SL1L362->SetMaximum(188505.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,94128.57); h_SL1L463->SetBinContent(3,80967.86); h_SL1L463->SetBinContent(4,71332.14); h_SL1L463->SetBinContent(5,59475); h_SL1L463->SetBinContent(6,56664.29); h_SL1L463->SetBinContent(7,57603.57); h_SL1L463->SetBinContent(8,61421.43); h_SL1L463->SetBinContent(9,64150); h_SL1L463->SetBinContent(10,67914.28); h_SL1L463->SetBinContent(11,71260.71); h_SL1L463->SetBinContent(12,67014.28); h_SL1L463->SetBinContent(13,66414.28); h_SL1L463->SetBinContent(14,66960.71); h_SL1L463->SetBinContent(15,115946.4); h_SL1L463->SetBinContent(16,77778.57); h_SL1L463->SetBinContent(17,66057.14); h_SL1L463->SetBinContent(18,65917.86); h_SL1L463->SetBinContent(19,63785.71); h_SL1L463->SetBinContent(20,64260.71); h_SL1L463->SetBinContent(21,63178.57); h_SL1L463->SetBinContent(22,61671.43); h_SL1L463->SetBinContent(23,58864.29); h_SL1L463->SetBinContent(24,58714.29); h_SL1L463->SetBinContent(25,50764.29); h_SL1L463->SetBinContent(26,49650); h_SL1L463->SetBinContent(27,46528.57); h_SL1L463->SetBinContent(28,47789.29); h_SL1L463->SetBinContent(29,44582.14); h_SL1L463->SetBinContent(30,46667.86); h_SL1L463->SetBinContent(31,44464.29); h_SL1L463->SetBinContent(32,41546.43); h_SL1L463->SetBinContent(33,39217.86); h_SL1L463->SetBinContent(34,42964.29); h_SL1L463->SetBinContent(35,44228.57); h_SL1L463->SetBinContent(36,38253.57); h_SL1L463->SetBinContent(37,189.2857); h_SL1L463->SetBinContent(38,7.142857); h_SL1L463->SetBinContent(41,32267.86); h_SL1L463->SetBinContent(42,34096.43); h_SL1L463->SetBinContent(43,35342.86); h_SL1L463->SetBinContent(44,34153.57); h_SL1L463->SetBinContent(45,31425); h_SL1L463->SetBinContent(46,32889.29); h_SL1L463->SetBinContent(47,30478.57); h_SL1L463->SetBinContent(48,30064.29); h_SL1L463->SetBinContent(49,30314.29); h_SL1L463->SetBinContent(50,33228.57); h_SL1L463->SetBinContent(51,33060.71); h_SL1L463->SetBinContent(52,34896.43); h_SL1L463->SetBinContent(53,33314.29); h_SL1L463->SetBinContent(54,33132.14); h_SL1L463->SetBinContent(56,41557.14); h_SL1L463->SetMaximum(188505.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 7388"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }