void RatesPerCell_Removing_noisy_cells_run_6354_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:25:28 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-5477.307,67.5,49295.76); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6354",60,0,60); h_SL1L160->SetBinContent(1,13490.48); h_SL1L160->SetBinContent(2,13395.24); h_SL1L160->SetBinContent(3,13776.19); h_SL1L160->SetBinContent(4,12457.14); h_SL1L160->SetBinContent(5,10447.62); h_SL1L160->SetBinContent(6,11271.43); h_SL1L160->SetBinContent(7,10909.52); h_SL1L160->SetBinContent(8,12509.52); h_SL1L160->SetBinContent(9,11514.29); h_SL1L160->SetBinContent(10,11757.14); h_SL1L160->SetBinContent(11,12214.29); h_SL1L160->SetBinContent(12,12247.62); h_SL1L160->SetBinContent(13,12195.24); h_SL1L160->SetBinContent(14,10404.76); h_SL1L160->SetBinContent(15,9480.952); h_SL1L160->SetBinContent(16,8752.381); h_SL1L160->SetBinContent(17,9147.619); h_SL1L160->SetBinContent(18,9971.429); h_SL1L160->SetBinContent(19,10004.76); h_SL1L160->SetBinContent(20,9342.857); h_SL1L160->SetBinContent(21,9961.904); h_SL1L160->SetBinContent(22,9138.095); h_SL1L160->SetBinContent(23,9233.333); h_SL1L160->SetBinContent(24,8609.523); h_SL1L160->SetBinContent(25,8028.571); h_SL1L160->SetBinContent(26,8657.143); h_SL1L160->SetBinContent(27,8442.857); h_SL1L160->SetBinContent(28,8471.429); h_SL1L160->SetBinContent(29,9023.81); h_SL1L160->SetBinContent(30,8066.667); h_SL1L160->SetBinContent(31,8347.619); h_SL1L160->SetBinContent(32,8009.524); h_SL1L160->SetBinContent(33,8209.523); h_SL1L160->SetBinContent(34,8200); h_SL1L160->SetBinContent(35,8280.952); h_SL1L160->SetBinContent(36,7919.047); h_SL1L160->SetBinContent(37,8595.238); h_SL1L160->SetBinContent(38,8761.904); h_SL1L160->SetBinContent(39,8204.762); h_SL1L160->SetBinContent(40,7557.143); h_SL1L160->SetBinContent(41,8066.667); h_SL1L160->SetBinContent(42,8238.095); h_SL1L160->SetBinContent(43,8090.476); h_SL1L160->SetBinContent(44,8033.333); h_SL1L160->SetBinContent(45,7523.81); h_SL1L160->SetBinContent(46,7400); h_SL1L160->SetBinContent(47,7271.429); h_SL1L160->SetBinContent(48,6814.286); h_SL1L160->SetBinContent(49,7376.19); h_SL1L160->SetBinContent(50,8252.381); h_SL1L160->SetBinContent(51,8023.81); h_SL1L160->SetBinContent(52,7647.619); h_SL1L160->SetBinContent(53,7733.333); h_SL1L160->SetBinContent(54,7452.381); h_SL1L160->SetBinContent(55,7442.857); h_SL1L160->SetBinContent(56,8595.238); h_SL1L160->SetBinContent(57,11580.95); h_SL1L160->SetBinContent(58,12880.95); h_SL1L160->SetBinContent(59,13157.14); h_SL1L160->SetMaximum(43818.45); 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,25928.57); h_SL1L261->SetBinContent(2,26066.67); h_SL1L261->SetBinContent(3,28628.57); h_SL1L261->SetBinContent(4,28319.05); h_SL1L261->SetBinContent(5,28719.05); h_SL1L261->SetBinContent(6,29380.95); h_SL1L261->SetBinContent(7,29185.71); h_SL1L261->SetBinContent(8,30352.38); h_SL1L261->SetBinContent(9,30052.38); h_SL1L261->SetBinContent(10,28514.29); h_SL1L261->SetBinContent(11,31695.24); h_SL1L261->SetBinContent(12,30861.9); h_SL1L261->SetBinContent(13,32671.43); h_SL1L261->SetBinContent(14,31728.57); h_SL1L261->SetBinContent(15,30795.24); h_SL1L261->SetBinContent(16,28638.1); h_SL1L261->SetBinContent(17,27257.14); h_SL1L261->SetBinContent(18,30680.95); h_SL1L261->SetBinContent(19,29800); h_SL1L261->SetBinContent(20,30819.05); h_SL1L261->SetBinContent(21,31390.48); h_SL1L261->SetBinContent(22,31366.67); h_SL1L261->SetBinContent(23,30871.43); h_SL1L261->SetBinContent(24,28590.48); h_SL1L261->SetBinContent(25,29100); h_SL1L261->SetBinContent(26,26376.19); h_SL1L261->SetBinContent(27,26904.76); h_SL1L261->SetBinContent(28,28780.95); h_SL1L261->SetBinContent(29,30233.33); h_SL1L261->SetBinContent(30,31690.48); h_SL1L261->SetBinContent(31,31885.71); h_SL1L261->SetBinContent(32,31261.9); h_SL1L261->SetBinContent(33,31780.95); h_SL1L261->SetBinContent(34,31442.86); h_SL1L261->SetBinContent(35,30890.48); h_SL1L261->SetBinContent(36,31176.19); h_SL1L261->SetBinContent(37,29276.19); h_SL1L261->SetBinContent(38,31838.1); h_SL1L261->SetBinContent(39,31742.86); h_SL1L261->SetBinContent(40,31590.48); h_SL1L261->SetBinContent(41,31404.76); h_SL1L261->SetBinContent(42,31395.24); h_SL1L261->SetBinContent(43,33133.33); h_SL1L261->SetBinContent(44,32400); h_SL1L261->SetBinContent(45,32214.29); h_SL1L261->SetBinContent(46,31009.52); h_SL1L261->SetBinContent(47,29138.1); h_SL1L261->SetBinContent(48,30290.48); h_SL1L261->SetBinContent(49,30628.57); h_SL1L261->SetBinContent(50,32019.05); h_SL1L261->SetBinContent(51,32752.38); h_SL1L261->SetBinContent(52,30995.24); h_SL1L261->SetBinContent(53,32104.76); h_SL1L261->SetBinContent(54,30523.81); h_SL1L261->SetBinContent(55,31504.76); h_SL1L261->SetBinContent(56,30500); h_SL1L261->SetBinContent(57,29119.05); h_SL1L261->SetBinContent(58,29523.81); h_SL1L261->SetBinContent(59,29347.62); h_SL1L261->SetMaximum(38103.33); 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,25309.52); h_SL1L362->SetBinContent(2,26609.52); h_SL1L362->SetBinContent(3,27385.71); h_SL1L362->SetBinContent(4,29071.43); h_SL1L362->SetBinContent(5,27419.05); h_SL1L362->SetBinContent(6,28628.57); h_SL1L362->SetBinContent(7,29757.14); h_SL1L362->SetBinContent(8,29114.29); h_SL1L362->SetBinContent(9,29123.81); h_SL1L362->SetBinContent(10,29676.19); h_SL1L362->SetBinContent(11,30557.14); h_SL1L362->SetBinContent(12,30600); h_SL1L362->SetBinContent(13,31128.57); h_SL1L362->SetBinContent(14,30209.52); h_SL1L362->SetBinContent(15,28895.24); h_SL1L362->SetBinContent(16,28071.43); h_SL1L362->SetBinContent(17,27938.1); h_SL1L362->SetBinContent(18,29052.38); h_SL1L362->SetBinContent(19,29076.19); h_SL1L362->SetBinContent(20,29447.62); h_SL1L362->SetBinContent(21,30171.43); h_SL1L362->SetBinContent(22,29809.52); h_SL1L362->SetBinContent(23,29500); h_SL1L362->SetBinContent(24,28900); h_SL1L362->SetBinContent(25,26919.05); h_SL1L362->SetBinContent(26,25804.76); h_SL1L362->SetBinContent(27,28233.33); h_SL1L362->SetBinContent(28,28052.38); h_SL1L362->SetBinContent(29,30990.48); h_SL1L362->SetBinContent(30,30152.38); h_SL1L362->SetBinContent(31,30190.48); h_SL1L362->SetBinContent(32,30119.05); h_SL1L362->SetBinContent(33,30023.81); h_SL1L362->SetBinContent(34,30485.71); h_SL1L362->SetBinContent(35,29776.19); h_SL1L362->SetBinContent(36,29542.86); h_SL1L362->SetBinContent(37,29080.95); h_SL1L362->SetBinContent(38,29842.86); h_SL1L362->SetBinContent(39,30404.76); h_SL1L362->SetBinContent(40,28252.38); h_SL1L362->SetBinContent(41,29652.38); h_SL1L362->SetBinContent(42,31152.38); h_SL1L362->SetBinContent(43,32147.62); h_SL1L362->SetBinContent(44,31209.52); h_SL1L362->SetBinContent(45,30328.57); h_SL1L362->SetBinContent(46,30038.1); h_SL1L362->SetBinContent(47,30409.52); h_SL1L362->SetBinContent(48,29009.52); h_SL1L362->SetBinContent(49,30619.05); h_SL1L362->SetBinContent(50,31042.86); h_SL1L362->SetBinContent(51,30819.05); h_SL1L362->SetBinContent(52,29752.38); h_SL1L362->SetBinContent(53,29533.33); h_SL1L362->SetBinContent(54,28461.9); h_SL1L362->SetBinContent(55,28533.33); h_SL1L362->SetBinContent(56,29623.81); h_SL1L362->SetBinContent(57,29861.9); h_SL1L362->SetBinContent(58,29233.33); h_SL1L362->SetBinContent(59,28742.86); h_SL1L362->SetMaximum(38103.33); 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,11500); h_SL1L463->SetBinContent(3,10828.57); h_SL1L463->SetBinContent(4,10552.38); h_SL1L463->SetBinContent(5,10723.81); h_SL1L463->SetBinContent(6,10238.09); h_SL1L463->SetBinContent(7,10461.9); h_SL1L463->SetBinContent(8,10561.9); h_SL1L463->SetBinContent(9,11447.62); h_SL1L463->SetBinContent(10,12547.62); h_SL1L463->SetBinContent(11,13980.95); h_SL1L463->SetBinContent(12,14752.38); h_SL1L463->SetBinContent(13,14733.33); h_SL1L463->SetBinContent(14,15347.62); h_SL1L463->SetBinContent(15,14071.43); h_SL1L463->SetBinContent(16,12866.67); h_SL1L463->SetBinContent(17,11266.67); h_SL1L463->SetBinContent(18,11519.05); h_SL1L463->SetBinContent(19,10814.29); h_SL1L463->SetBinContent(20,10357.14); h_SL1L463->SetBinContent(21,11138.09); h_SL1L463->SetBinContent(22,11790.48); h_SL1L463->SetBinContent(23,11090.48); h_SL1L463->SetBinContent(24,10619.05); h_SL1L463->SetBinContent(25,9352.381); h_SL1L463->SetBinContent(26,9557.143); h_SL1L463->SetBinContent(27,9480.952); h_SL1L463->SetBinContent(28,9480.952); h_SL1L463->SetBinContent(29,8876.19); h_SL1L463->SetBinContent(30,9295.238); h_SL1L463->SetBinContent(31,9847.619); h_SL1L463->SetBinContent(32,8909.523); h_SL1L463->SetBinContent(33,8452.381); h_SL1L463->SetBinContent(34,8580.952); h_SL1L463->SetBinContent(35,8642.857); h_SL1L463->SetBinContent(36,7742.857); h_SL1L463->SetBinContent(37,6761.905); h_SL1L463->SetBinContent(38,7271.429); h_SL1L463->SetBinContent(39,8038.095); h_SL1L463->SetBinContent(40,6900); h_SL1L463->SetBinContent(41,5928.571); h_SL1L463->SetBinContent(42,7161.905); h_SL1L463->SetBinContent(43,7647.619); h_SL1L463->SetBinContent(44,7147.619); h_SL1L463->SetBinContent(45,6257.143); h_SL1L463->SetBinContent(46,6995.238); h_SL1L463->SetBinContent(47,6652.381); h_SL1L463->SetBinContent(48,6238.095); h_SL1L463->SetBinContent(49,6238.095); h_SL1L463->SetBinContent(50,6914.286); h_SL1L463->SetBinContent(51,6871.429); h_SL1L463->SetBinContent(52,6990.476); h_SL1L463->SetBinContent(53,6828.571); h_SL1L463->SetBinContent(54,6776.19); h_SL1L463->SetBinContent(56,7419.047); h_SL1L463->SetBinContent(57,9428.571); h_SL1L463->SetBinContent(58,11704.76); h_SL1L463->SetBinContent(59,12509.52); h_SL1L463->SetMaximum(38103.33); 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 6354"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }