void RatesPerCell_Removing_noisy_cells_run_6353_SL1() { //=========Macro generated from canvas: c/c //========= (Mon Jan 14 19:35:26 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-6606.894,67.5,59462.04); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6353",60,0,60); h_SL1L160->SetBinContent(1,18085.71); h_SL1L160->SetBinContent(2,18400); h_SL1L160->SetBinContent(3,18985.71); h_SL1L160->SetBinContent(4,17523.81); h_SL1L160->SetBinContent(5,15242.86); h_SL1L160->SetBinContent(6,16290.48); h_SL1L160->SetBinContent(7,15457.14); h_SL1L160->SetBinContent(8,17309.52); h_SL1L160->SetBinContent(9,16180.95); h_SL1L160->SetBinContent(10,17480.95); h_SL1L160->SetBinContent(11,17209.52); h_SL1L160->SetBinContent(12,16852.38); h_SL1L160->SetBinContent(13,17328.57); h_SL1L160->SetBinContent(14,15052.38); h_SL1L160->SetBinContent(15,13147.62); h_SL1L160->SetBinContent(16,12976.19); h_SL1L160->SetBinContent(17,12838.09); h_SL1L160->SetBinContent(18,14528.57); h_SL1L160->SetBinContent(19,14442.86); h_SL1L160->SetBinContent(20,14500); h_SL1L160->SetBinContent(21,13800); h_SL1L160->SetBinContent(22,13619.05); h_SL1L160->SetBinContent(23,13133.33); h_SL1L160->SetBinContent(24,11628.57); h_SL1L160->SetBinContent(25,11380.95); h_SL1L160->SetBinContent(26,12214.29); h_SL1L160->SetBinContent(27,11966.67); h_SL1L160->SetBinContent(28,12095.24); h_SL1L160->SetBinContent(29,12519.05); h_SL1L160->SetBinContent(30,12095.24); h_SL1L160->SetBinContent(31,12261.9); h_SL1L160->SetBinContent(32,11390.48); h_SL1L160->SetBinContent(33,12114.29); h_SL1L160->SetBinContent(34,11309.52); h_SL1L160->SetBinContent(35,11923.81); h_SL1L160->SetBinContent(36,12214.29); h_SL1L160->SetBinContent(37,12171.43); h_SL1L160->SetBinContent(38,12995.24); h_SL1L160->SetBinContent(39,12857.14); h_SL1L160->SetBinContent(40,11214.29); h_SL1L160->SetBinContent(41,11509.52); h_SL1L160->SetBinContent(42,12023.81); h_SL1L160->SetBinContent(43,11919.05); h_SL1L160->SetBinContent(44,11138.09); h_SL1L160->SetBinContent(45,10657.14); h_SL1L160->SetBinContent(46,10133.33); h_SL1L160->SetBinContent(47,10219.05); h_SL1L160->SetBinContent(48,10185.71); h_SL1L160->SetBinContent(49,10714.29); h_SL1L160->SetBinContent(50,11614.29); h_SL1L160->SetBinContent(51,11838.09); h_SL1L160->SetBinContent(52,11271.43); h_SL1L160->SetBinContent(53,11142.86); h_SL1L160->SetBinContent(54,11204.76); h_SL1L160->SetBinContent(55,11138.09); h_SL1L160->SetBinContent(56,12880.95); h_SL1L160->SetBinContent(57,15509.52); h_SL1L160->SetBinContent(58,17942.86); h_SL1L160->SetBinContent(59,19309.52); h_SL1L160->SetMaximum(52855.15); 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,30047.62); h_SL1L261->SetBinContent(2,32395.24); h_SL1L261->SetBinContent(3,33676.19); h_SL1L261->SetBinContent(4,34866.67); h_SL1L261->SetBinContent(5,33842.86); h_SL1L261->SetBinContent(6,35485.71); h_SL1L261->SetBinContent(7,34600); h_SL1L261->SetBinContent(8,36695.24); h_SL1L261->SetBinContent(9,36704.76); h_SL1L261->SetBinContent(10,35123.81); h_SL1L261->SetBinContent(11,37400); h_SL1L261->SetBinContent(12,38304.76); h_SL1L261->SetBinContent(13,39033.33); h_SL1L261->SetBinContent(14,38223.81); h_SL1L261->SetBinContent(15,37428.57); h_SL1L261->SetBinContent(16,35938.09); h_SL1L261->SetBinContent(17,33842.86); h_SL1L261->SetBinContent(18,36395.24); h_SL1L261->SetBinContent(19,36480.95); h_SL1L261->SetBinContent(20,37171.43); h_SL1L261->SetBinContent(21,38004.76); h_SL1L261->SetBinContent(22,38271.43); h_SL1L261->SetBinContent(23,36880.95); h_SL1L261->SetBinContent(24,35976.19); h_SL1L261->SetBinContent(25,35861.91); h_SL1L261->SetBinContent(26,33057.14); h_SL1L261->SetBinContent(27,32447.62); h_SL1L261->SetBinContent(28,34728.57); h_SL1L261->SetBinContent(29,36823.81); h_SL1L261->SetBinContent(30,38671.43); h_SL1L261->SetBinContent(31,38266.67); h_SL1L261->SetBinContent(32,38266.67); h_SL1L261->SetBinContent(33,38409.52); h_SL1L261->SetBinContent(34,37871.43); h_SL1L261->SetBinContent(35,37100); h_SL1L261->SetBinContent(36,36933.33); h_SL1L261->SetBinContent(37,35685.71); h_SL1L261->SetBinContent(38,37471.43); h_SL1L261->SetBinContent(39,38461.91); h_SL1L261->SetBinContent(40,37714.29); h_SL1L261->SetBinContent(41,37285.71); h_SL1L261->SetBinContent(42,38052.38); h_SL1L261->SetBinContent(43,39966.67); h_SL1L261->SetBinContent(44,38819.05); h_SL1L261->SetBinContent(45,37947.62); h_SL1L261->SetBinContent(46,37700); h_SL1L261->SetBinContent(47,36176.19); h_SL1L261->SetBinContent(48,36709.52); h_SL1L261->SetBinContent(49,37742.86); h_SL1L261->SetBinContent(50,38942.86); h_SL1L261->SetBinContent(51,38490.48); h_SL1L261->SetBinContent(52,37761.91); h_SL1L261->SetBinContent(53,38752.38); h_SL1L261->SetBinContent(54,36852.38); h_SL1L261->SetBinContent(55,37366.67); h_SL1L261->SetBinContent(56,36671.43); h_SL1L261->SetBinContent(57,36352.38); h_SL1L261->SetBinContent(58,37128.57); h_SL1L261->SetBinContent(59,36652.38); h_SL1L261->SetMaximum(45961.67); 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,30228.57); h_SL1L362->SetBinContent(2,30961.9); h_SL1L362->SetBinContent(3,31614.29); h_SL1L362->SetBinContent(4,33795.24); h_SL1L362->SetBinContent(5,33785.71); h_SL1L362->SetBinContent(6,35580.95); h_SL1L362->SetBinContent(7,34400); h_SL1L362->SetBinContent(8,35300); h_SL1L362->SetBinContent(9,35323.81); h_SL1L362->SetBinContent(10,36342.86); h_SL1L362->SetBinContent(11,38019.05); h_SL1L362->SetBinContent(12,37233.33); h_SL1L362->SetBinContent(13,37414.29); h_SL1L362->SetBinContent(14,37080.95); h_SL1L362->SetBinContent(15,35400); h_SL1L362->SetBinContent(16,33257.14); h_SL1L362->SetBinContent(17,33761.91); h_SL1L362->SetBinContent(18,35814.29); h_SL1L362->SetBinContent(19,35323.81); h_SL1L362->SetBinContent(20,36209.52); h_SL1L362->SetBinContent(21,36542.86); h_SL1L362->SetBinContent(22,35714.29); h_SL1L362->SetBinContent(23,34661.91); h_SL1L362->SetBinContent(24,34028.57); h_SL1L362->SetBinContent(25,33166.67); h_SL1L362->SetBinContent(26,31876.19); h_SL1L362->SetBinContent(27,33876.19); h_SL1L362->SetBinContent(28,34723.81); h_SL1L362->SetBinContent(29,37528.57); h_SL1L362->SetBinContent(30,36190.48); h_SL1L362->SetBinContent(31,36376.19); h_SL1L362->SetBinContent(32,36671.43); h_SL1L362->SetBinContent(33,36271.43); h_SL1L362->SetBinContent(34,36276.19); h_SL1L362->SetBinContent(35,35114.29); h_SL1L362->SetBinContent(36,35123.81); h_SL1L362->SetBinContent(37,35647.62); h_SL1L362->SetBinContent(38,36271.43); h_SL1L362->SetBinContent(39,37538.09); h_SL1L362->SetBinContent(40,35871.43); h_SL1L362->SetBinContent(41,35933.33); h_SL1L362->SetBinContent(42,37938.09); h_SL1L362->SetBinContent(43,39080.95); h_SL1L362->SetBinContent(44,38038.09); h_SL1L362->SetBinContent(45,36442.86); h_SL1L362->SetBinContent(46,35880.95); h_SL1L362->SetBinContent(47,36690.48); h_SL1L362->SetBinContent(48,35028.57); h_SL1L362->SetBinContent(49,37509.52); h_SL1L362->SetBinContent(50,37342.86); h_SL1L362->SetBinContent(51,36471.43); h_SL1L362->SetBinContent(52,36347.62); h_SL1L362->SetBinContent(53,35809.52); h_SL1L362->SetBinContent(54,35509.52); h_SL1L362->SetBinContent(55,35704.76); h_SL1L362->SetBinContent(56,35323.81); h_SL1L362->SetBinContent(57,36471.43); h_SL1L362->SetBinContent(58,36280.95); h_SL1L362->SetBinContent(59,35938.09); h_SL1L362->SetMaximum(45961.67); 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,16757.14); h_SL1L463->SetBinContent(3,15252.38); h_SL1L463->SetBinContent(4,14876.19); h_SL1L463->SetBinContent(5,14861.9); h_SL1L463->SetBinContent(6,14271.43); h_SL1L463->SetBinContent(7,14557.14); h_SL1L463->SetBinContent(8,14923.81); h_SL1L463->SetBinContent(9,16652.38); h_SL1L463->SetBinContent(10,17666.67); h_SL1L463->SetBinContent(11,19228.57); h_SL1L463->SetBinContent(12,20323.81); h_SL1L463->SetBinContent(13,19738.1); h_SL1L463->SetBinContent(14,20928.57); h_SL1L463->SetBinContent(15,18823.81); h_SL1L463->SetBinContent(16,18219.05); h_SL1L463->SetBinContent(17,16357.14); h_SL1L463->SetBinContent(18,16357.14); h_SL1L463->SetBinContent(19,15328.57); h_SL1L463->SetBinContent(20,15004.76); h_SL1L463->SetBinContent(21,15733.33); h_SL1L463->SetBinContent(22,15871.43); h_SL1L463->SetBinContent(23,15052.38); h_SL1L463->SetBinContent(24,15490.48); h_SL1L463->SetBinContent(25,13700); h_SL1L463->SetBinContent(26,14095.24); h_SL1L463->SetBinContent(27,13842.86); h_SL1L463->SetBinContent(28,13995.24); h_SL1L463->SetBinContent(29,13852.38); h_SL1L463->SetBinContent(30,13633.33); h_SL1L463->SetBinContent(31,14319.05); h_SL1L463->SetBinContent(32,12909.52); h_SL1L463->SetBinContent(33,11838.09); h_SL1L463->SetBinContent(34,12423.81); h_SL1L463->SetBinContent(35,12290.48); h_SL1L463->SetBinContent(36,10971.43); h_SL1L463->SetBinContent(37,9880.952); h_SL1L463->SetBinContent(38,10290.48); h_SL1L463->SetBinContent(39,11223.81); h_SL1L463->SetBinContent(40,9690.477); h_SL1L463->SetBinContent(41,9314.285); h_SL1L463->SetBinContent(42,10571.43); h_SL1L463->SetBinContent(43,10757.14); h_SL1L463->SetBinContent(44,10295.24); h_SL1L463->SetBinContent(45,8700); h_SL1L463->SetBinContent(46,9933.333); h_SL1L463->SetBinContent(47,9052.381); h_SL1L463->SetBinContent(48,9066.667); h_SL1L463->SetBinContent(49,8947.619); h_SL1L463->SetBinContent(50,9861.904); h_SL1L463->SetBinContent(51,10128.57); h_SL1L463->SetBinContent(52,9642.857); h_SL1L463->SetBinContent(53,9695.238); h_SL1L463->SetBinContent(54,9971.429); h_SL1L463->SetBinContent(56,11300); h_SL1L463->SetBinContent(57,12785.71); h_SL1L463->SetBinContent(58,17104.76); h_SL1L463->SetBinContent(59,17157.14); h_SL1L463->SetMaximum(45961.67); 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 6353"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }