void RatesPerCell_Removing_noisy_cells_run_6894_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:14:58 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-29918.11,67.5,269263); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6894",60,0,60); h_SL1L160->SetBinContent(1,18877.55); h_SL1L160->SetBinContent(2,18734.69); h_SL1L160->SetBinContent(3,18908.16); h_SL1L160->SetBinContent(4,18341.84); h_SL1L160->SetBinContent(5,18193.88); h_SL1L160->SetBinContent(6,19535.71); h_SL1L160->SetBinContent(7,18918.37); h_SL1L160->SetBinContent(8,17821.43); h_SL1L160->SetBinContent(9,16612.24); h_SL1L160->SetBinContent(10,15392.86); h_SL1L160->SetBinContent(11,15311.22); h_SL1L160->SetBinContent(12,16168.37); h_SL1L160->SetBinContent(13,17081.63); h_SL1L160->SetBinContent(14,17306.12); h_SL1L160->SetBinContent(15,17846.94); h_SL1L160->SetBinContent(16,16418.37); h_SL1L160->SetBinContent(17,16989.79); h_SL1L160->SetBinContent(18,19045.92); h_SL1L160->SetBinContent(19,18566.33); h_SL1L160->SetBinContent(20,19219.39); h_SL1L160->SetBinContent(21,19734.69); h_SL1L160->SetBinContent(22,19836.73); h_SL1L160->SetBinContent(23,20040.82); h_SL1L160->SetBinContent(24,18790.82); h_SL1L160->SetBinContent(25,18556.12); h_SL1L160->SetBinContent(26,18892.86); h_SL1L160->SetBinContent(27,18581.63); h_SL1L160->SetBinContent(28,19627.55); h_SL1L160->SetBinContent(29,19250); h_SL1L160->SetBinContent(30,20551.02); h_SL1L160->SetBinContent(31,19846.94); h_SL1L160->SetBinContent(32,21622.45); h_SL1L160->SetBinContent(33,47045.92); h_SL1L160->SetBinContent(34,67311.23); h_SL1L160->SetBinContent(35,70739.8); h_SL1L160->SetBinContent(36,71704.08); h_SL1L160->SetBinContent(37,80112.24); h_SL1L160->SetBinContent(38,92163.27); h_SL1L160->SetBinContent(39,51255.1); h_SL1L160->SetBinContent(40,21494.9); h_SL1L160->SetBinContent(41,19479.59); h_SL1L160->SetBinContent(42,19091.84); h_SL1L160->SetBinContent(43,17596.94); h_SL1L160->SetBinContent(44,17423.47); h_SL1L160->SetBinContent(45,16158.16); h_SL1L160->SetBinContent(46,16224.49); h_SL1L160->SetBinContent(47,15510.2); h_SL1L160->SetBinContent(48,14372.45); h_SL1L160->SetBinContent(49,14413.27); h_SL1L160->SetBinContent(50,14673.47); h_SL1L160->SetBinContent(51,13372.45); h_SL1L160->SetBinContent(52,14015.31); h_SL1L160->SetBinContent(53,14040.82); h_SL1L160->SetBinContent(54,13637.75); h_SL1L160->SetBinContent(55,14602.04); h_SL1L160->SetBinContent(56,13724.49); h_SL1L160->SetBinContent(57,14280.61); h_SL1L160->SetBinContent(58,14229.59); h_SL1L160->SetBinContent(59,14571.43); h_SL1L160->SetMaximum(239344.9); 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,19857.14); h_SL1L261->SetBinContent(2,18913.27); h_SL1L261->SetBinContent(3,18448.98); h_SL1L261->SetBinContent(4,19576.53); h_SL1L261->SetBinContent(5,17969.39); h_SL1L261->SetBinContent(6,20362.24); h_SL1L261->SetBinContent(7,19418.37); h_SL1L261->SetBinContent(8,19153.06); h_SL1L261->SetBinContent(9,20505.1); h_SL1L261->SetBinContent(10,16469.39); h_SL1L261->SetBinContent(11,15790.82); h_SL1L261->SetBinContent(12,16540.82); h_SL1L261->SetBinContent(13,16581.63); h_SL1L261->SetBinContent(14,18510.2); h_SL1L261->SetBinContent(15,17464.29); h_SL1L261->SetBinContent(16,18209.18); h_SL1L261->SetBinContent(17,17984.69); h_SL1L261->SetBinContent(18,18224.49); h_SL1L261->SetBinContent(19,19862.24); h_SL1L261->SetBinContent(20,19071.43); h_SL1L261->SetBinContent(21,20005.1); h_SL1L261->SetBinContent(22,21112.24); h_SL1L261->SetBinContent(23,21693.88); h_SL1L261->SetBinContent(24,21806.12); h_SL1L261->SetBinContent(25,21913.27); h_SL1L261->SetBinContent(26,20806.12); h_SL1L261->SetBinContent(27,20612.24); h_SL1L261->SetBinContent(28,21770.41); h_SL1L261->SetBinContent(29,21867.35); h_SL1L261->SetBinContent(30,20780.61); h_SL1L261->SetBinContent(31,21831.63); h_SL1L261->SetBinContent(32,23744.9); h_SL1L261->SetBinContent(33,35336.73); h_SL1L261->SetBinContent(34,67862.24); h_SL1L261->SetBinContent(35,77306.12); h_SL1L261->SetBinContent(36,81658.16); h_SL1L261->SetBinContent(37,85030.61); h_SL1L261->SetBinContent(38,84122.45); h_SL1L261->SetBinContent(39,72112.24); h_SL1L261->SetBinContent(40,33658.16); h_SL1L261->SetBinContent(41,24015.31); h_SL1L261->SetBinContent(42,19918.37); h_SL1L261->SetBinContent(43,18306.12); h_SL1L261->SetBinContent(44,19010.2); h_SL1L261->SetBinContent(45,17744.9); h_SL1L261->SetBinContent(46,18525.51); h_SL1L261->SetBinContent(47,18484.69); h_SL1L261->SetBinContent(48,16770.41); h_SL1L261->SetBinContent(49,180979.6); h_SL1L261->SetBinContent(50,15897.96); h_SL1L261->SetBinContent(51,15816.33); h_SL1L261->SetBinContent(52,33831.63); h_SL1L261->SetBinContent(53,43642.86); h_SL1L261->SetBinContent(54,15765.31); h_SL1L261->SetBinContent(55,16275.51); h_SL1L261->SetBinContent(56,145244.9); h_SL1L261->SetBinContent(57,23061.22); h_SL1L261->SetBinContent(58,14918.37); h_SL1L261->SetBinContent(59,14137.75); h_SL1L261->SetMaximum(208126.5); 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,18795.92); h_SL1L362->SetBinContent(2,17494.9); h_SL1L362->SetBinContent(3,17331.63); h_SL1L362->SetBinContent(4,17285.71); h_SL1L362->SetBinContent(5,18816.33); h_SL1L362->SetBinContent(6,19331.63); h_SL1L362->SetBinContent(7,18484.69); h_SL1L362->SetBinContent(8,18540.82); h_SL1L362->SetBinContent(9,16556.12); h_SL1L362->SetBinContent(10,15698.98); h_SL1L362->SetBinContent(11,15612.25); h_SL1L362->SetBinContent(12,16188.78); h_SL1L362->SetBinContent(13,16994.9); h_SL1L362->SetBinContent(14,17571.43); h_SL1L362->SetBinContent(15,17816.33); h_SL1L362->SetBinContent(16,17367.35); h_SL1L362->SetBinContent(17,18265.31); h_SL1L362->SetBinContent(18,18489.79); h_SL1L362->SetBinContent(19,18392.86); h_SL1L362->SetBinContent(20,19489.79); h_SL1L362->SetBinContent(21,19520.41); h_SL1L362->SetBinContent(22,19790.82); h_SL1L362->SetBinContent(23,20734.69); h_SL1L362->SetBinContent(24,20178.57); h_SL1L362->SetBinContent(25,20214.29); h_SL1L362->SetBinContent(26,19443.88); h_SL1L362->SetBinContent(27,19591.84); h_SL1L362->SetBinContent(28,20188.78); h_SL1L362->SetBinContent(29,21112.24); h_SL1L362->SetBinContent(30,21147.96); h_SL1L362->SetBinContent(31,21663.27); h_SL1L362->SetBinContent(32,24770.41); h_SL1L362->SetBinContent(33,53994.9); h_SL1L362->SetBinContent(34,74744.9); h_SL1L362->SetBinContent(35,78091.84); h_SL1L362->SetBinContent(36,83107.14); h_SL1L362->SetBinContent(37,85479.59); h_SL1L362->SetBinContent(38,78500); h_SL1L362->SetBinContent(39,54377.55); h_SL1L362->SetBinContent(40,23591.84); h_SL1L362->SetBinContent(41,19923.47); h_SL1L362->SetBinContent(42,19035.71); h_SL1L362->SetBinContent(43,17867.35); h_SL1L362->SetBinContent(44,17158.16); h_SL1L362->SetBinContent(45,18015.31); h_SL1L362->SetBinContent(46,17494.9); h_SL1L362->SetBinContent(47,17168.37); h_SL1L362->SetBinContent(48,16586.73); h_SL1L362->SetBinContent(49,20821.43); h_SL1L362->SetBinContent(50,16137.75); h_SL1L362->SetBinContent(51,14158.16); h_SL1L362->SetBinContent(52,15285.71); h_SL1L362->SetBinContent(53,102387.8); h_SL1L362->SetBinContent(54,15352.04); h_SL1L362->SetBinContent(55,15357.14); h_SL1L362->SetBinContent(56,134290.8); h_SL1L362->SetBinContent(57,48091.84); h_SL1L362->SetBinContent(58,13438.78); h_SL1L362->SetBinContent(59,14362.25); h_SL1L362->SetMaximum(208126.5); 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,16551.02); h_SL1L463->SetBinContent(3,16668.37); h_SL1L463->SetBinContent(4,16265.31); h_SL1L463->SetBinContent(5,16372.45); h_SL1L463->SetBinContent(6,16423.47); h_SL1L463->SetBinContent(7,16612.24); h_SL1L463->SetBinContent(8,16647.96); h_SL1L463->SetBinContent(9,16280.61); h_SL1L463->SetBinContent(10,14596.94); h_SL1L463->SetBinContent(11,15035.71); h_SL1L463->SetBinContent(12,14744.9); h_SL1L463->SetBinContent(13,15443.88); h_SL1L463->SetBinContent(14,16454.08); h_SL1L463->SetBinContent(15,16403.06); h_SL1L463->SetBinContent(16,15964.29); h_SL1L463->SetBinContent(17,15270.41); h_SL1L463->SetBinContent(18,15862.25); h_SL1L463->SetBinContent(19,17005.1); h_SL1L463->SetBinContent(20,17260.2); h_SL1L463->SetBinContent(21,17362.24); h_SL1L463->SetBinContent(22,17510.2); h_SL1L463->SetBinContent(23,17729.59); h_SL1L463->SetBinContent(24,18112.24); h_SL1L463->SetBinContent(25,17801.02); h_SL1L463->SetBinContent(26,17423.47); h_SL1L463->SetBinContent(27,17035.71); h_SL1L463->SetBinContent(28,17586.73); h_SL1L463->SetBinContent(29,17892.86); h_SL1L463->SetBinContent(30,18408.16); h_SL1L463->SetBinContent(31,20551.02); h_SL1L463->SetBinContent(32,20382.65); h_SL1L463->SetBinContent(33,28030.61); h_SL1L463->SetBinContent(34,58964.29); h_SL1L463->SetBinContent(35,92887.76); h_SL1L463->SetBinContent(36,70056.12); h_SL1L463->SetBinContent(37,68586.73); h_SL1L463->SetBinContent(38,70357.14); h_SL1L463->SetBinContent(39,69408.16); h_SL1L463->SetBinContent(40,27479.59); h_SL1L463->SetBinContent(41,17938.78); h_SL1L463->SetBinContent(42,17076.53); h_SL1L463->SetBinContent(43,17448.98); h_SL1L463->SetBinContent(44,16025.51); h_SL1L463->SetBinContent(45,13974.49); h_SL1L463->SetBinContent(46,14500); h_SL1L463->SetBinContent(47,14357.14); h_SL1L463->SetBinContent(48,13545.92); h_SL1L463->SetBinContent(49,11954.08); h_SL1L463->SetBinContent(50,12454.08); h_SL1L463->SetBinContent(51,11928.57); h_SL1L463->SetBinContent(52,11591.84); h_SL1L463->SetBinContent(53,11500); h_SL1L463->SetBinContent(54,12081.63); h_SL1L463->SetBinContent(55,5.102041); h_SL1L463->SetBinContent(56,12341.84); h_SL1L463->SetBinContent(57,11892.86); h_SL1L463->SetBinContent(58,13770.41); h_SL1L463->SetBinContent(59,12770.41); h_SL1L463->SetMaximum(208126.5); 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 6894"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }