void RatesPerCell_Removing_noisy_cells_run_6277_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:22:46 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13254.9,67.5,119294.1); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6277",60,0,60); h_SL1L160->SetBinContent(1,19450.26); h_SL1L160->SetBinContent(2,18764.23); h_SL1L160->SetBinContent(3,19289.34); h_SL1L160->SetBinContent(4,15744.84); h_SL1L160->SetBinContent(5,11429.62); h_SL1L160->SetBinContent(6,12971.08); h_SL1L160->SetBinContent(7,11569.37); h_SL1L160->SetBinContent(8,12932.96); h_SL1L160->SetBinContent(9,11759.93); h_SL1L160->SetBinContent(10,13034.6); h_SL1L160->SetBinContent(11,13483.48); h_SL1L160->SetBinContent(12,11831.92); h_SL1L160->SetBinContent(13,11903.92); h_SL1L160->SetBinContent(14,8876.061); h_SL1L160->SetBinContent(15,7825.84); h_SL1L160->SetBinContent(16,7791.961); h_SL1L160->SetBinContent(17,7741.145); h_SL1L160->SetBinContent(18,8156.151); h_SL1L160->SetBinContent(19,8791.365); h_SL1L160->SetBinContent(20,7940.178); h_SL1L160->SetBinContent(21,7643.745); h_SL1L160->SetBinContent(22,7609.867); h_SL1L160->SetBinContent(23,7029.705); h_SL1L160->SetBinContent(24,5196.053); h_SL1L160->SetBinContent(25,4755.637); h_SL1L160->SetBinContent(26,6631.637); h_SL1L160->SetBinContent(27,5983.718); h_SL1L160->SetBinContent(28,5721.163); h_SL1L160->SetBinContent(29,6508.829); h_SL1L160->SetBinContent(30,5687.285); h_SL1L160->SetBinContent(31,5771.98); h_SL1L160->SetBinContent(32,4615.89); h_SL1L160->SetBinContent(33,5331.565); h_SL1L160->SetBinContent(34,6085.353); h_SL1L160->SetBinContent(35,5975.249); h_SL1L160->SetBinContent(36,5191.818); h_SL1L160->SetBinContent(37,5716.928); h_SL1L160->SetBinContent(38,7182.156); h_SL1L160->SetBinContent(39,5793.154); h_SL1L160->SetBinContent(40,4285.579); h_SL1L160->SetBinContent(41,5399.321); h_SL1L160->SetBinContent(42,5378.147); h_SL1L160->SetBinContent(43,5382.382); h_SL1L160->SetBinContent(44,5306.156); h_SL1L160->SetBinContent(45,5013.958); h_SL1L160->SetBinContent(46,3832.459); h_SL1L160->SetBinContent(47,3777.407); h_SL1L160->SetBinContent(48,3942.563); h_SL1L160->SetBinContent(49,5157.94); h_SL1L160->SetBinContent(50,5793.154); h_SL1L160->SetBinContent(51,6000.657); h_SL1L160->SetBinContent(52,5767.746); h_SL1L160->SetBinContent(53,6085.353); h_SL1L160->SetBinContent(54,5721.163); h_SL1L160->SetBinContent(55,6051.475); h_SL1L160->SetBinContent(56,8041.812); h_SL1L160->SetBinContent(57,13119.29); h_SL1L160->SetBinContent(58,16066.69); h_SL1L160->SetBinContent(59,19894.91); h_SL1L160->SetMaximum(106039.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,58244.91); h_SL1L261->SetBinContent(2,58757.32); h_SL1L261->SetBinContent(3,66091.93); h_SL1L261->SetBinContent(4,66451.88); h_SL1L261->SetBinContent(5,64254.04); h_SL1L261->SetBinContent(6,66951.59); h_SL1L261->SetBinContent(7,66756.78); h_SL1L261->SetBinContent(8,67447.05); h_SL1L261->SetBinContent(9,67535.98); h_SL1L261->SetBinContent(10,66498.46); h_SL1L261->SetBinContent(11,73189.39); h_SL1L261->SetBinContent(12,71719.92); h_SL1L261->SetBinContent(13,77610.48); h_SL1L261->SetBinContent(14,73659.45); h_SL1L261->SetBinContent(15,73096.22); h_SL1L261->SetBinContent(16,67116.74); h_SL1L261->SetBinContent(17,61217.71); h_SL1L261->SetBinContent(18,70055.66); h_SL1L261->SetBinContent(19,68412.58); h_SL1L261->SetBinContent(20,70809.45); h_SL1L261->SetBinContent(21,71304.91); h_SL1L261->SetBinContent(22,74879.05); h_SL1L261->SetBinContent(23,72037.53); h_SL1L261->SetBinContent(24,65990.29); h_SL1L261->SetBinContent(25,67345.41); h_SL1L261->SetBinContent(26,59727.08); h_SL1L261->SetBinContent(27,61264.3); h_SL1L261->SetBinContent(28,64914.66); h_SL1L261->SetBinContent(29,69746.52); h_SL1L261->SetBinContent(30,73490.05); h_SL1L261->SetBinContent(31,72804.02); h_SL1L261->SetBinContent(32,71059.3); h_SL1L261->SetBinContent(33,73786.48); h_SL1L261->SetBinContent(34,71876.61); h_SL1L261->SetBinContent(35,69903.21); h_SL1L261->SetBinContent(36,67976.4); h_SL1L261->SetBinContent(37,62068.9); h_SL1L261->SetBinContent(38,71622.52); h_SL1L261->SetBinContent(39,68192.37); h_SL1L261->SetBinContent(40,68980.03); h_SL1L261->SetBinContent(41,70529.95); h_SL1L261->SetBinContent(42,70902.62); h_SL1L261->SetBinContent(43,80180.98); h_SL1L261->SetBinContent(44,75463.45); h_SL1L261->SetBinContent(45,71724.16); h_SL1L261->SetBinContent(46,71487.02); h_SL1L261->SetBinContent(47,66176.62); h_SL1L261->SetBinContent(48,68332.12); h_SL1L261->SetBinContent(49,72346.67); h_SL1L261->SetBinContent(50,72744.73); h_SL1L261->SetBinContent(51,72655.8); h_SL1L261->SetBinContent(52,73138.57); h_SL1L261->SetBinContent(53,77335.22); h_SL1L261->SetBinContent(54,71508.19); h_SL1L261->SetBinContent(55,72520.3); h_SL1L261->SetBinContent(56,73363.02); h_SL1L261->SetBinContent(57,66468.82); h_SL1L261->SetBinContent(58,67222.61); h_SL1L261->SetBinContent(59,66316.37); h_SL1L261->SetMaximum(92208.12); 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,58202.57); h_SL1L362->SetBinContent(2,59345.95); h_SL1L362->SetBinContent(3,61819.05); h_SL1L362->SetBinContent(4,66816.07); h_SL1L362->SetBinContent(5,63208.05); h_SL1L362->SetBinContent(6,66578.92); h_SL1L362->SetBinContent(7,67328.48); h_SL1L362->SetBinContent(8,68988.5); h_SL1L362->SetBinContent(9,67074.39); h_SL1L362->SetBinContent(10,67447.05); h_SL1L362->SetBinContent(11,71914.73); h_SL1L362->SetBinContent(12,71313.39); h_SL1L362->SetBinContent(13,73824.6); h_SL1L362->SetBinContent(14,69738.05); h_SL1L362->SetBinContent(15,66384.12); h_SL1L362->SetBinContent(16,65880.19); h_SL1L362->SetBinContent(17,65473.65); h_SL1L362->SetBinContent(18,68480.33); h_SL1L362->SetBinContent(19,66981.23); h_SL1L362->SetBinContent(20,68522.68); h_SL1L362->SetBinContent(21,69945.56); h_SL1L362->SetBinContent(22,66100.4); h_SL1L362->SetBinContent(23,65232.27); h_SL1L362->SetBinContent(24,64004.19); h_SL1L362->SetBinContent(25,58062.82); h_SL1L362->SetBinContent(26,57355.61); h_SL1L362->SetBinContent(27,65232.27); h_SL1L362->SetBinContent(28,64381.08); h_SL1L362->SetBinContent(29,70957.66); h_SL1L362->SetBinContent(30,67599.5); h_SL1L362->SetBinContent(31,71038.12); h_SL1L362->SetBinContent(32,68450.69); h_SL1L362->SetBinContent(33,66777.96); h_SL1L362->SetBinContent(34,68353.29); h_SL1L362->SetBinContent(35,66121.57); h_SL1L362->SetBinContent(36,62754.93); h_SL1L362->SetBinContent(37,65278.85); h_SL1L362->SetBinContent(38,64779.15); h_SL1L362->SetBinContent(39,68941.92); h_SL1L362->SetBinContent(40,61552.26); h_SL1L362->SetBinContent(41,66379.89); h_SL1L362->SetBinContent(42,74167.62); h_SL1L362->SetBinContent(43,77013.38); h_SL1L362->SetBinContent(44,75497.33); h_SL1L362->SetBinContent(45,69759.23); h_SL1L362->SetBinContent(46,70000.61); h_SL1L362->SetBinContent(47,70720.52); h_SL1L362->SetBinContent(48,64821.5); h_SL1L362->SetBinContent(49,72380.55); h_SL1L362->SetBinContent(50,68933.45); h_SL1L362->SetBinContent(51,71016.95); h_SL1L362->SetBinContent(52,67832.41); h_SL1L362->SetBinContent(53,67294.6); h_SL1L362->SetBinContent(54,66981.23); h_SL1L362->SetBinContent(55,64961.25); h_SL1L362->SetBinContent(56,68607.38); h_SL1L362->SetBinContent(57,69517.85); h_SL1L362->SetBinContent(58,67142.15); h_SL1L362->SetBinContent(59,65456.71); h_SL1L362->SetMaximum(92208.12); 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,16841.65); h_SL1L463->SetBinContent(3,13640.17); h_SL1L463->SetBinContent(4,12153.77); h_SL1L463->SetBinContent(5,10824.05); h_SL1L463->SetBinContent(6,10637.72); h_SL1L463->SetBinContent(7,10671.6); h_SL1L463->SetBinContent(8,11239.06); h_SL1L463->SetBinContent(9,14144.1); h_SL1L463->SetBinContent(10,17121.14); h_SL1L463->SetBinContent(11,20153.23); h_SL1L463->SetBinContent(12,21864.07); h_SL1L463->SetBinContent(13,21982.65); h_SL1L463->SetBinContent(14,22655.97); h_SL1L463->SetBinContent(15,20424.26); h_SL1L463->SetBinContent(16,18501.67); h_SL1L463->SetBinContent(17,15727.91); h_SL1L463->SetBinContent(18,14453.24); h_SL1L463->SetBinContent(19,13347.97); h_SL1L463->SetBinContent(20,12539.13); h_SL1L463->SetBinContent(21,12246.93); h_SL1L463->SetBinContent(22,12318.92); h_SL1L463->SetBinContent(23,11543.96); h_SL1L463->SetBinContent(24,11586.31); h_SL1L463->SetBinContent(25,8884.53); h_SL1L463->SetBinContent(26,9875.464); h_SL1L463->SetBinContent(27,10142.25); h_SL1L463->SetBinContent(28,9375.763); h_SL1L463->SetBinContent(29,9015.808); h_SL1L463->SetBinContent(30,8533.045); h_SL1L463->SetBinContent(31,9045.451); h_SL1L463->SetBinContent(32,7338.842); h_SL1L463->SetBinContent(33,5958.31); h_SL1L463->SetBinContent(34,7105.93); h_SL1L463->SetBinContent(35,7758.083); h_SL1L463->SetBinContent(36,5674.581); h_SL1L463->SetBinContent(37,3557.2); h_SL1L463->SetBinContent(38,4848.802); h_SL1L463->SetBinContent(39,6369.082); h_SL1L463->SetBinContent(40,3811.286); h_SL1L463->SetBinContent(41,3967.972); h_SL1L463->SetBinContent(42,4463.439); h_SL1L463->SetBinContent(43,5653.407); h_SL1L463->SetBinContent(44,4751.403); h_SL1L463->SetBinContent(45,3197.245); h_SL1L463->SetBinContent(46,3828.225); h_SL1L463->SetBinContent(47,3167.602); h_SL1L463->SetBinContent(48,3328.523); h_SL1L463->SetBinContent(49,3044.794); h_SL1L463->SetBinContent(50,3413.218); h_SL1L463->SetBinContent(51,3675.773); h_SL1L463->SetBinContent(52,4433.795); h_SL1L463->SetBinContent(53,3840.929); h_SL1L463->SetBinContent(54,4738.698); h_SL1L463->SetBinContent(56,6026.066); h_SL1L463->SetBinContent(57,8071.456); h_SL1L463->SetBinContent(58,14478.65); h_SL1L463->SetBinContent(59,17260.89); h_SL1L463->SetMaximum(92208.12); 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 6277"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }