void RatesPerCell_Removing_noisy_cells_run_6824_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:21:11 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-19298.15,67.5,173683.4); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6824",60,0,60); h_SL1L160->SetBinContent(1,54088.09); h_SL1L160->SetBinContent(2,52840.48); h_SL1L160->SetBinContent(3,53107.14); h_SL1L160->SetBinContent(4,51259.52); h_SL1L160->SetBinContent(5,48964.29); h_SL1L160->SetBinContent(6,51814.29); h_SL1L160->SetBinContent(7,49457.14); h_SL1L160->SetBinContent(8,49188.09); h_SL1L160->SetBinContent(9,44833.33); h_SL1L160->SetBinContent(10,41376.19); h_SL1L160->SetBinContent(11,40669.05); h_SL1L160->SetBinContent(12,41942.86); h_SL1L160->SetBinContent(13,44161.91); h_SL1L160->SetBinContent(14,42664.29); h_SL1L160->SetBinContent(15,42871.43); h_SL1L160->SetBinContent(16,41361.91); h_SL1L160->SetBinContent(17,41833.33); h_SL1L160->SetBinContent(18,43909.52); h_SL1L160->SetBinContent(19,45761.91); h_SL1L160->SetBinContent(20,44804.76); h_SL1L160->SetBinContent(21,47352.38); h_SL1L160->SetBinContent(22,46764.29); h_SL1L160->SetBinContent(23,46278.57); h_SL1L160->SetBinContent(24,44152.38); h_SL1L160->SetBinContent(25,43604.76); h_SL1L160->SetBinContent(26,43078.57); h_SL1L160->SetBinContent(27,42400); h_SL1L160->SetBinContent(28,42473.81); h_SL1L160->SetBinContent(29,41421.43); h_SL1L160->SetBinContent(30,41630.95); h_SL1L160->SetBinContent(31,39371.43); h_SL1L160->SetBinContent(32,38614.29); h_SL1L160->SetBinContent(33,54671.43); h_SL1L160->SetBinContent(34,67530.95); h_SL1L160->SetBinContent(35,71738.09); h_SL1L160->SetBinContent(36,69664.28); h_SL1L160->SetBinContent(37,76392.86); h_SL1L160->SetBinContent(38,76869.05); h_SL1L160->SetBinContent(39,58195.24); h_SL1L160->SetBinContent(40,36702.38); h_SL1L160->SetBinContent(41,36561.91); h_SL1L160->SetBinContent(42,36688.09); h_SL1L160->SetBinContent(43,36164.29); h_SL1L160->SetBinContent(44,35392.86); h_SL1L160->SetBinContent(45,32790.48); h_SL1L160->SetBinContent(46,32038.1); h_SL1L160->SetBinContent(47,30938.1); h_SL1L160->SetBinContent(48,28516.67); h_SL1L160->SetBinContent(49,29590.48); h_SL1L160->SetBinContent(50,30111.9); h_SL1L160->SetBinContent(51,29021.43); h_SL1L160->SetBinContent(52,29019.05); h_SL1L160->SetBinContent(53,30107.14); h_SL1L160->SetBinContent(54,29033.33); h_SL1L160->SetBinContent(55,30502.38); h_SL1L160->SetBinContent(56,31569.05); h_SL1L160->SetBinContent(57,34373.81); h_SL1L160->SetBinContent(58,35233.33); h_SL1L160->SetBinContent(59,37261.91); h_SL1L160->SetMaximum(154385.2); 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,58238.09); h_SL1L261->SetBinContent(2,55738.09); h_SL1L261->SetBinContent(3,54459.52); h_SL1L261->SetBinContent(4,55985.71); h_SL1L261->SetBinContent(5,54702.38); h_SL1L261->SetBinContent(6,59969.05); h_SL1L261->SetBinContent(7,58778.57); h_SL1L261->SetBinContent(8,56800); h_SL1L261->SetBinContent(9,56126.19); h_SL1L261->SetBinContent(10,49478.57); h_SL1L261->SetBinContent(11,47242.86); h_SL1L261->SetBinContent(12,48778.57); h_SL1L261->SetBinContent(13,50442.86); h_SL1L261->SetBinContent(14,53438.09); h_SL1L261->SetBinContent(15,53821.43); h_SL1L261->SetBinContent(16,53728.57); h_SL1L261->SetBinContent(17,53095.24); h_SL1L261->SetBinContent(18,53757.14); h_SL1L261->SetBinContent(19,57009.52); h_SL1L261->SetBinContent(20,57333.33); h_SL1L261->SetBinContent(21,59402.38); h_SL1L261->SetBinContent(22,59759.52); h_SL1L261->SetBinContent(23,59947.62); h_SL1L261->SetBinContent(24,61585.71); h_SL1L261->SetBinContent(25,62311.9); h_SL1L261->SetBinContent(26,59245.24); h_SL1L261->SetBinContent(27,57342.86); h_SL1L261->SetBinContent(28,58380.95); h_SL1L261->SetBinContent(29,59711.9); h_SL1L261->SetBinContent(30,58861.9); h_SL1L261->SetBinContent(31,58383.33); h_SL1L261->SetBinContent(32,57057.14); h_SL1L261->SetBinContent(33,67852.38); h_SL1L261->SetBinContent(34,100414.3); h_SL1L261->SetBinContent(35,109111.9); h_SL1L261->SetBinContent(36,113316.7); h_SL1L261->SetBinContent(37,116738.1); h_SL1L261->SetBinContent(38,113733.3); h_SL1L261->SetBinContent(39,101154.8); h_SL1L261->SetBinContent(40,64364.29); h_SL1L261->SetBinContent(41,52723.81); h_SL1L261->SetBinContent(42,49621.43); h_SL1L261->SetBinContent(43,48742.86); h_SL1L261->SetBinContent(44,48154.76); h_SL1L261->SetBinContent(45,46764.29); h_SL1L261->SetBinContent(46,48280.95); h_SL1L261->SetBinContent(47,48783.33); h_SL1L261->SetBinContent(48,47276.19); h_SL1L261->SetBinContent(49,54480.95); h_SL1L261->SetBinContent(50,45192.86); h_SL1L261->SetBinContent(51,43154.76); h_SL1L261->SetBinContent(52,42604.76); h_SL1L261->SetBinContent(53,44223.81); h_SL1L261->SetBinContent(54,43300); h_SL1L261->SetBinContent(55,44466.67); h_SL1L261->SetBinContent(56,47602.38); h_SL1L261->SetBinContent(57,43009.52); h_SL1L261->SetBinContent(58,41769.05); h_SL1L261->SetBinContent(59,40102.38); h_SL1L261->SetMaximum(134248.8); 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,54278.57); h_SL1L362->SetBinContent(2,53450); h_SL1L362->SetBinContent(3,53980.95); h_SL1L362->SetBinContent(4,53321.43); h_SL1L362->SetBinContent(5,56378.57); h_SL1L362->SetBinContent(6,57088.09); h_SL1L362->SetBinContent(7,55216.67); h_SL1L362->SetBinContent(8,55157.14); h_SL1L362->SetBinContent(9,51392.86); h_SL1L362->SetBinContent(10,46411.91); h_SL1L362->SetBinContent(11,46790.48); h_SL1L362->SetBinContent(12,49352.38); h_SL1L362->SetBinContent(13,51392.86); h_SL1L362->SetBinContent(14,51961.9); h_SL1L362->SetBinContent(15,52495.24); h_SL1L362->SetBinContent(16,50016.67); h_SL1L362->SetBinContent(17,50919.05); h_SL1L362->SetBinContent(18,54645.24); h_SL1L362->SetBinContent(19,55064.29); h_SL1L362->SetBinContent(20,55709.52); h_SL1L362->SetBinContent(21,58304.76); h_SL1L362->SetBinContent(22,57835.71); h_SL1L362->SetBinContent(23,59052.38); h_SL1L362->SetBinContent(24,59026.19); h_SL1L362->SetBinContent(25,59528.57); h_SL1L362->SetBinContent(26,55447.62); h_SL1L362->SetBinContent(27,55402.38); h_SL1L362->SetBinContent(28,56580.95); h_SL1L362->SetBinContent(29,57073.81); h_SL1L362->SetBinContent(30,57866.67); h_SL1L362->SetBinContent(31,55683.33); h_SL1L362->SetBinContent(32,56535.71); h_SL1L362->SetBinContent(33,85266.66); h_SL1L362->SetBinContent(34,104407.1); h_SL1L362->SetBinContent(35,110366.7); h_SL1L362->SetBinContent(36,113785.7); h_SL1L362->SetBinContent(37,115252.4); h_SL1L362->SetBinContent(38,106747.6); h_SL1L362->SetBinContent(39,82611.91); h_SL1L362->SetBinContent(40,52700); h_SL1L362->SetBinContent(41,49302.38); h_SL1L362->SetBinContent(42,47869.05); h_SL1L362->SetBinContent(43,46557.14); h_SL1L362->SetBinContent(44,46250); h_SL1L362->SetBinContent(45,45709.52); h_SL1L362->SetBinContent(46,46740.48); h_SL1L362->SetBinContent(47,47547.62); h_SL1L362->SetBinContent(48,44780.95); h_SL1L362->SetBinContent(49,43509.52); h_SL1L362->SetBinContent(50,42678.57); h_SL1L362->SetBinContent(51,40678.57); h_SL1L362->SetBinContent(52,42104.76); h_SL1L362->SetBinContent(53,44347.62); h_SL1L362->SetBinContent(54,42011.91); h_SL1L362->SetBinContent(55,42597.62); h_SL1L362->SetBinContent(56,44502.38); h_SL1L362->SetBinContent(57,40900); h_SL1L362->SetBinContent(58,39211.91); h_SL1L362->SetBinContent(59,39404.76); h_SL1L362->SetMaximum(134248.8); 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,49421.43); h_SL1L463->SetBinContent(3,47571.43); h_SL1L463->SetBinContent(4,46519.05); h_SL1L463->SetBinContent(5,44733.33); h_SL1L463->SetBinContent(6,46883.33); h_SL1L463->SetBinContent(7,45609.52); h_SL1L463->SetBinContent(8,46507.14); h_SL1L463->SetBinContent(9,45859.52); h_SL1L463->SetBinContent(10,42466.67); h_SL1L463->SetBinContent(11,42369.05); h_SL1L463->SetBinContent(12,43730.95); h_SL1L463->SetBinContent(13,45607.14); h_SL1L463->SetBinContent(14,48297.62); h_SL1L463->SetBinContent(15,47635.71); h_SL1L463->SetBinContent(16,45257.14); h_SL1L463->SetBinContent(17,43659.52); h_SL1L463->SetBinContent(18,44040.48); h_SL1L463->SetBinContent(19,45783.33); h_SL1L463->SetBinContent(20,44950); h_SL1L463->SetBinContent(21,46819.05); h_SL1L463->SetBinContent(22,46761.91); h_SL1L463->SetBinContent(23,46988.09); h_SL1L463->SetBinContent(24,47164.29); h_SL1L463->SetBinContent(25,45311.91); h_SL1L463->SetBinContent(26,45621.43); h_SL1L463->SetBinContent(27,42914.29); h_SL1L463->SetBinContent(28,43173.81); h_SL1L463->SetBinContent(29,43252.38); h_SL1L463->SetBinContent(30,45026.19); h_SL1L463->SetBinContent(31,43795.24); h_SL1L463->SetBinContent(32,42240.48); h_SL1L463->SetBinContent(33,44107.14); h_SL1L463->SetBinContent(34,69623.81); h_SL1L463->SetBinContent(35,81688.09); h_SL1L463->SetBinContent(36,77547.62); h_SL1L463->SetBinContent(37,71040.48); h_SL1L463->SetBinContent(38,74990.48); h_SL1L463->SetBinContent(39,74009.52); h_SL1L463->SetBinContent(40,40764.29); h_SL1L463->SetBinContent(41,33283.33); h_SL1L463->SetBinContent(42,33526.19); h_SL1L463->SetBinContent(43,33709.52); h_SL1L463->SetBinContent(44,33107.14); h_SL1L463->SetBinContent(45,28900); h_SL1L463->SetBinContent(46,30740.48); h_SL1L463->SetBinContent(47,30395.24); h_SL1L463->SetBinContent(48,27766.67); h_SL1L463->SetBinContent(49,26352.38); h_SL1L463->SetBinContent(50,27504.76); h_SL1L463->SetBinContent(51,25938.1); h_SL1L463->SetBinContent(52,25942.86); h_SL1L463->SetBinContent(53,26721.43); h_SL1L463->SetBinContent(54,27030.95); h_SL1L463->SetBinContent(55,11.90476); h_SL1L463->SetBinContent(56,29069.05); h_SL1L463->SetBinContent(57,30369.05); h_SL1L463->SetBinContent(58,33542.86); h_SL1L463->SetBinContent(59,33814.29); h_SL1L463->SetMaximum(134248.8); 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 6824"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }