void RatesPerCell_Removing_noisy_cells_run_7436_SL2() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:33:49 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-7901.794,67.5,71116.14); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7436",60,0,60); h_SL2L164->SetBinContent(1,11178.57); h_SL2L164->SetBinContent(2,13800); h_SL2L164->SetBinContent(3,16650); h_SL2L164->SetBinContent(4,18214.29); h_SL2L164->SetBinContent(5,17964.29); h_SL2L164->SetBinContent(6,18150); h_SL2L164->SetBinContent(7,17585.71); h_SL2L164->SetBinContent(8,17300); h_SL2L164->SetBinContent(9,17864.29); h_SL2L164->SetBinContent(10,18107.14); h_SL2L164->SetBinContent(11,19128.57); h_SL2L164->SetBinContent(12,19264.29); h_SL2L164->SetBinContent(13,18500); h_SL2L164->SetBinContent(14,19107.14); h_SL2L164->SetBinContent(15,17857.14); h_SL2L164->SetBinContent(16,18092.86); h_SL2L164->SetBinContent(17,17835.71); h_SL2L164->SetBinContent(18,17950); h_SL2L164->SetBinContent(19,17821.43); h_SL2L164->SetBinContent(20,17078.57); h_SL2L164->SetBinContent(21,17257.14); h_SL2L164->SetBinContent(22,16492.86); h_SL2L164->SetBinContent(23,16157.14); h_SL2L164->SetBinContent(24,15457.14); h_SL2L164->SetBinContent(25,14785.71); h_SL2L164->SetBinContent(26,14921.43); h_SL2L164->SetBinContent(27,14371.43); h_SL2L164->SetBinContent(28,14700); h_SL2L164->SetBinContent(29,14857.14); h_SL2L164->SetBinContent(30,15335.71); h_SL2L164->SetBinContent(31,14371.43); h_SL2L164->SetBinContent(32,14807.14); h_SL2L164->SetBinContent(33,14792.86); h_SL2L164->SetBinContent(34,14735.71); h_SL2L164->SetBinContent(35,7.142857); h_SL2L164->SetBinContent(36,14621.43); h_SL2L164->SetBinContent(37,15321.43); h_SL2L164->SetBinContent(38,15335.71); h_SL2L164->SetBinContent(39,15450); h_SL2L164->SetBinContent(40,47800); h_SL2L164->SetBinContent(41,42607.14); h_SL2L164->SetBinContent(42,17750); h_SL2L164->SetBinContent(43,17992.86); h_SL2L164->SetBinContent(44,17250); h_SL2L164->SetBinContent(45,14328.57); h_SL2L164->SetBinContent(46,13921.43); h_SL2L164->SetBinContent(47,13892.86); h_SL2L164->SetBinContent(48,14392.86); h_SL2L164->SetBinContent(49,14157.14); h_SL2L164->SetBinContent(50,13864.29); h_SL2L164->SetBinContent(51,14778.57); h_SL2L164->SetBinContent(52,15542.86); h_SL2L164->SetBinContent(53,15342.86); h_SL2L164->SetBinContent(54,15150); h_SL2L164->SetBinContent(55,14000); h_SL2L164->SetBinContent(56,11150); h_SL2L164->SetBinContent(57,8321.429); h_SL2L164->SetMaximum(63214.35); h_SL2L164->SetEntries(60); h_SL2L164->SetDirectory(0); h_SL2L164->SetStats(0); h_SL2L164->SetLineWidth(2); h_SL2L164->GetXaxis()->SetTitle("Cell"); h_SL2L164->GetXaxis()->SetLabelFont(42); h_SL2L164->GetXaxis()->SetLabelSize(0.035); h_SL2L164->GetXaxis()->SetTitleSize(0.035); h_SL2L164->GetXaxis()->SetTitleFont(42); h_SL2L164->GetYaxis()->SetTitle("Hz"); h_SL2L164->GetYaxis()->SetLabelFont(42); h_SL2L164->GetYaxis()->SetLabelSize(0.035); h_SL2L164->GetYaxis()->SetTitleSize(0.035); h_SL2L164->GetYaxis()->SetTitleOffset(1.45); h_SL2L164->GetYaxis()->SetTitleFont(42); h_SL2L164->GetZaxis()->SetLabelFont(42); h_SL2L164->GetZaxis()->SetLabelSize(0.035); h_SL2L164->GetZaxis()->SetTitleSize(0.035); h_SL2L164->GetZaxis()->SetTitleFont(42); h_SL2L164->Draw(""); TH1D *h_SL2L265 = new TH1D("h_SL2L265","",60,0,60); h_SL2L265->SetBinContent(1,7714.286); h_SL2L265->SetBinContent(2,13007.14); h_SL2L265->SetBinContent(3,14821.43); h_SL2L265->SetBinContent(4,18200); h_SL2L265->SetBinContent(5,17778.57); h_SL2L265->SetBinContent(6,18164.29); h_SL2L265->SetBinContent(7,17778.57); h_SL2L265->SetBinContent(8,16692.86); h_SL2L265->SetBinContent(9,17407.14); h_SL2L265->SetBinContent(10,17757.14); h_SL2L265->SetBinContent(11,17935.71); h_SL2L265->SetBinContent(12,18571.43); h_SL2L265->SetBinContent(13,18435.71); h_SL2L265->SetBinContent(14,18807.14); h_SL2L265->SetBinContent(15,18392.86); h_SL2L265->SetBinContent(16,17850); h_SL2L265->SetBinContent(17,17742.86); h_SL2L265->SetBinContent(18,18042.86); h_SL2L265->SetBinContent(19,17714.29); h_SL2L265->SetBinContent(20,17242.86); h_SL2L265->SetBinContent(21,16807.14); h_SL2L265->SetBinContent(22,16714.29); h_SL2L265->SetBinContent(23,16414.29); h_SL2L265->SetBinContent(24,14621.43); h_SL2L265->SetBinContent(25,14378.57); h_SL2L265->SetBinContent(26,14678.57); h_SL2L265->SetBinContent(27,14585.71); h_SL2L265->SetBinContent(28,14278.57); h_SL2L265->SetBinContent(29,14835.71); h_SL2L265->SetBinContent(30,14807.14); h_SL2L265->SetBinContent(31,14314.29); h_SL2L265->SetBinContent(32,13957.14); h_SL2L265->SetBinContent(33,14221.43); h_SL2L265->SetBinContent(34,14014.29); h_SL2L265->SetBinContent(35,12721.43); h_SL2L265->SetBinContent(36,13442.86); h_SL2L265->SetBinContent(37,14342.86); h_SL2L265->SetBinContent(38,15100); h_SL2L265->SetBinContent(39,14864.29); h_SL2L265->SetBinContent(40,15450); h_SL2L265->SetBinContent(41,15942.86); h_SL2L265->SetBinContent(42,14685.71); h_SL2L265->SetBinContent(43,14814.29); h_SL2L265->SetBinContent(44,14257.14); h_SL2L265->SetBinContent(45,14178.57); h_SL2L265->SetBinContent(46,13457.14); h_SL2L265->SetBinContent(47,13807.14); h_SL2L265->SetBinContent(48,14178.57); h_SL2L265->SetBinContent(49,13771.43); h_SL2L265->SetBinContent(50,14300); h_SL2L265->SetBinContent(51,13857.14); h_SL2L265->SetBinContent(52,15007.14); h_SL2L265->SetBinContent(53,15292.86); h_SL2L265->SetBinContent(54,15664.29); h_SL2L265->SetBinContent(55,14835.71); h_SL2L265->SetBinContent(56,11771.43); h_SL2L265->SetBinContent(57,11157.14); h_SL2L265->SetMaximum(54970); h_SL2L265->SetEntries(60); h_SL2L265->SetDirectory(0); h_SL2L265->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL2L265->SetLineColor(ci); h_SL2L265->SetLineWidth(2); h_SL2L265->GetXaxis()->SetTitle("Cell"); h_SL2L265->GetXaxis()->SetLabelFont(42); h_SL2L265->GetXaxis()->SetLabelSize(0.035); h_SL2L265->GetXaxis()->SetTitleSize(0.035); h_SL2L265->GetXaxis()->SetTitleFont(42); h_SL2L265->GetYaxis()->SetTitle("Hz"); h_SL2L265->GetYaxis()->SetLabelFont(42); h_SL2L265->GetYaxis()->SetLabelSize(0.035); h_SL2L265->GetYaxis()->SetTitleSize(0.035); h_SL2L265->GetYaxis()->SetTitleOffset(1.45); h_SL2L265->GetYaxis()->SetTitleFont(42); h_SL2L265->GetZaxis()->SetLabelFont(42); h_SL2L265->GetZaxis()->SetLabelSize(0.035); h_SL2L265->GetZaxis()->SetTitleSize(0.035); h_SL2L265->GetZaxis()->SetTitleFont(42); h_SL2L265->Draw("same"); TH1D *h_SL2L366 = new TH1D("h_SL2L366","",60,0,60); h_SL2L366->SetBinContent(1,9192.857); h_SL2L366->SetBinContent(2,13207.14); h_SL2L366->SetBinContent(3,16942.86); h_SL2L366->SetBinContent(4,17564.29); h_SL2L366->SetBinContent(5,17914.29); h_SL2L366->SetBinContent(6,17385.71); h_SL2L366->SetBinContent(7,16307.14); h_SL2L366->SetBinContent(8,16450); h_SL2L366->SetBinContent(9,17642.86); h_SL2L366->SetBinContent(10,17178.57); h_SL2L366->SetBinContent(11,17985.71); h_SL2L366->SetBinContent(12,19178.57); h_SL2L366->SetBinContent(13,17714.29); h_SL2L366->SetBinContent(14,18135.71); h_SL2L366->SetBinContent(15,17957.14); h_SL2L366->SetBinContent(16,17114.29); h_SL2L366->SetBinContent(17,17885.71); h_SL2L366->SetBinContent(18,17364.29); h_SL2L366->SetBinContent(19,16935.71); h_SL2L366->SetBinContent(20,17114.29); h_SL2L366->SetBinContent(21,16650); h_SL2L366->SetBinContent(22,15857.14); h_SL2L366->SetBinContent(23,14500); h_SL2L366->SetBinContent(24,15142.86); h_SL2L366->SetBinContent(25,14092.86); h_SL2L366->SetBinContent(26,14428.57); h_SL2L366->SetBinContent(27,14471.43); h_SL2L366->SetBinContent(28,14307.14); h_SL2L366->SetBinContent(29,13971.43); h_SL2L366->SetBinContent(30,13835.71); h_SL2L366->SetBinContent(31,14121.43); h_SL2L366->SetBinContent(32,13928.57); h_SL2L366->SetBinContent(33,13314.29); h_SL2L366->SetBinContent(34,13621.43); h_SL2L366->SetBinContent(35,13150); h_SL2L366->SetBinContent(36,12978.57); h_SL2L366->SetBinContent(37,14585.71); h_SL2L366->SetBinContent(38,14650); h_SL2L366->SetBinContent(39,14707.14); h_SL2L366->SetBinContent(40,13957.14); h_SL2L366->SetBinContent(41,14878.57); h_SL2L366->SetBinContent(42,13878.57); h_SL2L366->SetBinContent(43,14228.57); h_SL2L366->SetBinContent(44,13678.57); h_SL2L366->SetBinContent(45,14050); h_SL2L366->SetBinContent(46,13692.86); h_SL2L366->SetBinContent(47,13521.43); h_SL2L366->SetBinContent(48,13742.86); h_SL2L366->SetBinContent(49,13471.43); h_SL2L366->SetBinContent(50,13535.71); h_SL2L366->SetBinContent(51,14150); h_SL2L366->SetBinContent(52,14928.57); h_SL2L366->SetBinContent(53,15414.29); h_SL2L366->SetBinContent(54,15450); h_SL2L366->SetBinContent(55,14078.57); h_SL2L366->SetBinContent(56,10507.14); h_SL2L366->SetBinContent(57,9085.714); h_SL2L366->SetMaximum(54970); h_SL2L366->SetEntries(60); h_SL2L366->SetDirectory(0); h_SL2L366->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L366->SetLineColor(ci); h_SL2L366->SetLineWidth(2); h_SL2L366->GetXaxis()->SetTitle("Cell"); h_SL2L366->GetXaxis()->SetLabelFont(42); h_SL2L366->GetXaxis()->SetLabelSize(0.035); h_SL2L366->GetXaxis()->SetTitleSize(0.035); h_SL2L366->GetXaxis()->SetTitleFont(42); h_SL2L366->GetYaxis()->SetTitle("Hz"); h_SL2L366->GetYaxis()->SetLabelFont(42); h_SL2L366->GetYaxis()->SetLabelSize(0.035); h_SL2L366->GetYaxis()->SetTitleSize(0.035); h_SL2L366->GetYaxis()->SetTitleOffset(1.45); h_SL2L366->GetYaxis()->SetTitleFont(42); h_SL2L366->GetZaxis()->SetLabelFont(42); h_SL2L366->GetZaxis()->SetLabelSize(0.035); h_SL2L366->GetZaxis()->SetTitleSize(0.035); h_SL2L366->GetZaxis()->SetTitleFont(42); h_SL2L366->Draw("same"); TH1D *h_SL2L467 = new TH1D("h_SL2L467","",60,0,60); h_SL2L467->SetBinContent(2,12214.29); h_SL2L467->SetBinContent(3,15192.86); h_SL2L467->SetBinContent(4,17271.43); h_SL2L467->SetBinContent(5,17942.86); h_SL2L467->SetBinContent(6,17642.86); h_SL2L467->SetBinContent(7,17892.86); h_SL2L467->SetBinContent(8,15985.71); h_SL2L467->SetBinContent(9,16450); h_SL2L467->SetBinContent(10,16564.29); h_SL2L467->SetBinContent(11,17050); h_SL2L467->SetBinContent(12,18021.43); h_SL2L467->SetBinContent(13,17242.86); h_SL2L467->SetBinContent(14,18242.86); h_SL2L467->SetBinContent(15,18092.86); h_SL2L467->SetBinContent(16,17150); h_SL2L467->SetBinContent(17,16785.71); h_SL2L467->SetBinContent(18,17371.43); h_SL2L467->SetBinContent(19,16992.86); h_SL2L467->SetBinContent(20,16764.29); h_SL2L467->SetBinContent(21,16657.14); h_SL2L467->SetBinContent(22,16200); h_SL2L467->SetBinContent(23,15542.86); h_SL2L467->SetBinContent(24,14235.71); h_SL2L467->SetBinContent(25,13957.14); h_SL2L467->SetBinContent(26,13921.43); h_SL2L467->SetBinContent(27,14357.14); h_SL2L467->SetBinContent(28,14400); h_SL2L467->SetBinContent(29,13578.57); h_SL2L467->SetBinContent(30,14314.29); h_SL2L467->SetBinContent(31,13378.57); h_SL2L467->SetBinContent(32,13950); h_SL2L467->SetBinContent(33,13414.29); h_SL2L467->SetBinContent(34,13521.43); h_SL2L467->SetBinContent(35,13328.57); h_SL2L467->SetBinContent(36,13207.14); h_SL2L467->SetBinContent(37,13271.43); h_SL2L467->SetBinContent(38,13907.14); h_SL2L467->SetBinContent(39,14242.86); h_SL2L467->SetBinContent(40,14135.71); h_SL2L467->SetBinContent(41,14100); h_SL2L467->SetBinContent(42,14385.71); h_SL2L467->SetBinContent(43,13600); h_SL2L467->SetBinContent(44,14071.43); h_SL2L467->SetBinContent(45,13264.29); h_SL2L467->SetBinContent(46,13735.71); h_SL2L467->SetBinContent(47,13678.57); h_SL2L467->SetBinContent(48,12871.43); h_SL2L467->SetBinContent(49,13328.57); h_SL2L467->SetBinContent(50,13342.86); h_SL2L467->SetBinContent(51,13742.86); h_SL2L467->SetBinContent(52,14407.14); h_SL2L467->SetBinContent(53,15278.57); h_SL2L467->SetBinContent(54,15350); h_SL2L467->SetBinContent(55,15221.43); h_SL2L467->SetBinContent(56,12342.86); h_SL2L467->SetBinContent(57,9250); h_SL2L467->SetMaximum(54970); h_SL2L467->SetEntries(60); h_SL2L467->SetDirectory(0); h_SL2L467->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L467->SetLineColor(ci); h_SL2L467->SetLineWidth(2); h_SL2L467->GetXaxis()->SetTitle("Cell"); h_SL2L467->GetXaxis()->SetLabelFont(42); h_SL2L467->GetXaxis()->SetLabelSize(0.035); h_SL2L467->GetXaxis()->SetTitleSize(0.035); h_SL2L467->GetXaxis()->SetTitleFont(42); h_SL2L467->GetYaxis()->SetTitle("Hz"); h_SL2L467->GetYaxis()->SetLabelFont(42); h_SL2L467->GetYaxis()->SetLabelSize(0.035); h_SL2L467->GetYaxis()->SetTitleSize(0.035); h_SL2L467->GetYaxis()->SetTitleOffset(1.45); h_SL2L467->GetYaxis()->SetTitleFont(42); h_SL2L467->GetZaxis()->SetLabelFont(42); h_SL2L467->GetZaxis()->SetLabelSize(0.035); h_SL2L467->GetZaxis()->SetTitleSize(0.035); h_SL2L467->GetZaxis()->SetTitleFont(42); h_SL2L467->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_SL2L1","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_SL2L2","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_SL2L3","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_SL2L4","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("SL2, run 7436"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }