void RatesPerCell_Removing_noisy_cells_run_6642_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:06:00 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12617.66,67.5,113558.9); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6642",60,0,60); h_SL1L160->SetBinContent(1,9437.153); h_SL1L160->SetBinContent(2,9368.403); h_SL1L160->SetBinContent(3,9622.779); h_SL1L160->SetBinContent(4,9260.693); h_SL1L160->SetBinContent(5,8994.858); h_SL1L160->SetBinContent(6,9554.029); h_SL1L160->SetBinContent(7,9409.653); h_SL1L160->SetBinContent(8,9228.61); h_SL1L160->SetBinContent(9,8676.314); h_SL1L160->SetBinContent(10,7690.891); h_SL1L160->SetBinContent(11,7709.224); h_SL1L160->SetBinContent(12,8401.312); h_SL1L160->SetBinContent(13,8708.398); h_SL1L160->SetBinContent(14,8726.731); h_SL1L160->SetBinContent(15,8733.606); h_SL1L160->SetBinContent(16,8137.769); h_SL1L160->SetBinContent(17,8772.565); h_SL1L160->SetBinContent(18,9489.862); h_SL1L160->SetBinContent(19,9512.779); h_SL1L160->SetBinContent(20,9723.614); h_SL1L160->SetBinContent(21,10060.49); h_SL1L160->SetBinContent(22,10120.08); h_SL1L160->SetBinContent(23,10344.66); h_SL1L160->SetBinContent(24,10062.78); h_SL1L160->SetBinContent(25,10032.99); h_SL1L160->SetBinContent(26,9888.615); h_SL1L160->SetBinContent(27,9861.115); h_SL1L160->SetBinContent(28,10722.79); h_SL1L160->SetBinContent(29,10544.04); h_SL1L160->SetBinContent(30,11261.33); h_SL1L160->SetBinContent(31,11953.42); h_SL1L160->SetBinContent(32,14712.61); h_SL1L160->SetBinContent(33,38092.37); h_SL1L160->SetBinContent(34,54079.15); h_SL1L160->SetBinContent(35,57693.14); h_SL1L160->SetBinContent(36,60841.91); h_SL1L160->SetBinContent(37,64284.02); h_SL1L160->SetBinContent(38,61893.79); h_SL1L160->SetBinContent(39,40296.96); h_SL1L160->SetBinContent(40,14029.69); h_SL1L160->SetBinContent(41,11188); h_SL1L160->SetBinContent(42,10227.78); h_SL1L160->SetBinContent(43,9950.49); h_SL1L160->SetBinContent(44,9558.612); h_SL1L160->SetBinContent(45,8935.274); h_SL1L160->SetBinContent(46,8451.729); h_SL1L160->SetBinContent(47,8401.312); h_SL1L160->SetBinContent(48,7867.35); h_SL1L160->SetBinContent(49,7826.1); h_SL1L160->SetBinContent(50,7853.6); h_SL1L160->SetBinContent(51,7452.555); h_SL1L160->SetBinContent(52,7168.387); h_SL1L160->SetBinContent(53,7237.137); h_SL1L160->SetBinContent(54,7069.844); h_SL1L160->SetBinContent(55,7331.096); h_SL1L160->SetBinContent(56,7101.928); h_SL1L160->SetBinContent(57,7626.723); h_SL1L160->SetBinContent(58,7303.596); h_SL1L160->SetBinContent(59,7612.973); h_SL1L160->SetMaximum(100941.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,9647.988); h_SL1L261->SetBinContent(2,9230.901); h_SL1L261->SetBinContent(3,9576.946); h_SL1L261->SetBinContent(4,9427.986); h_SL1L261->SetBinContent(5,9476.112); h_SL1L261->SetBinContent(6,9845.073); h_SL1L261->SetBinContent(7,9941.324); h_SL1L261->SetBinContent(8,9705.28); h_SL1L261->SetBinContent(9,9196.526); h_SL1L261->SetBinContent(10,8451.729); h_SL1L261->SetBinContent(11,8635.064); h_SL1L261->SetBinContent(12,8421.938); h_SL1L261->SetBinContent(13,8894.024); h_SL1L261->SetBinContent(14,9505.904); h_SL1L261->SetBinContent(15,9686.947); h_SL1L261->SetBinContent(16,9123.192); h_SL1L261->SetBinContent(17,9613.613); h_SL1L261->SetBinContent(18,9572.362); h_SL1L261->SetBinContent(19,10234.66); h_SL1L261->SetBinContent(20,10149.87); h_SL1L261->SetBinContent(21,10846.54); h_SL1L261->SetBinContent(22,11133); h_SL1L261->SetBinContent(23,11229.25); h_SL1L261->SetBinContent(24,11316.33); h_SL1L261->SetBinContent(25,12111.55); h_SL1L261->SetBinContent(26,11080.29); h_SL1L261->SetBinContent(27,11311.75); h_SL1L261->SetBinContent(28,11724.25); h_SL1L261->SetBinContent(29,12253.63); h_SL1L261->SetBinContent(30,12565.3); h_SL1L261->SetBinContent(31,13261.97); h_SL1L261->SetBinContent(32,15950.12); h_SL1L261->SetBinContent(33,27463.54); h_SL1L261->SetBinContent(34,58609.81); h_SL1L261->SetBinContent(35,66307.58); h_SL1L261->SetBinContent(36,71037.61); h_SL1L261->SetBinContent(37,76326.82); h_SL1L261->SetBinContent(38,74587.43); h_SL1L261->SetBinContent(39,63248.18); h_SL1L261->SetBinContent(40,26613.32); h_SL1L261->SetBinContent(41,15400.11); h_SL1L261->SetBinContent(42,11843.42); h_SL1L261->SetBinContent(43,11107.79); h_SL1L261->SetBinContent(44,10356.12); h_SL1L261->SetBinContent(45,10223.2); h_SL1L261->SetBinContent(46,10248.41); h_SL1L261->SetBinContent(47,10122.37); h_SL1L261->SetBinContent(48,10133.83); h_SL1L261->SetBinContent(49,22098.71); h_SL1L261->SetBinContent(50,9359.236); h_SL1L261->SetBinContent(51,8701.522); h_SL1L261->SetBinContent(52,8664.856); h_SL1L261->SetBinContent(53,8891.732); h_SL1L261->SetBinContent(54,8589.23); h_SL1L261->SetBinContent(55,8793.19); h_SL1L261->SetBinContent(56,12407.18); h_SL1L261->SetBinContent(57,8130.894); h_SL1L261->SetBinContent(58,8048.393); h_SL1L261->SetBinContent(59,7741.308); h_SL1L261->SetMaximum(87775.84); 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,9361.527); h_SL1L362->SetBinContent(2,9180.484); h_SL1L362->SetBinContent(3,9244.652); h_SL1L362->SetBinContent(4,8871.107); h_SL1L362->SetBinContent(5,9352.361); h_SL1L362->SetBinContent(6,9384.444); h_SL1L362->SetBinContent(7,9256.11); h_SL1L362->SetBinContent(8,9221.735); h_SL1L362->SetBinContent(9,8758.815); h_SL1L362->SetBinContent(10,7961.309); h_SL1L362->SetBinContent(11,8036.935); h_SL1L362->SetBinContent(12,8470.062); h_SL1L362->SetBinContent(13,8861.94); h_SL1L362->SetBinContent(14,9015.483); h_SL1L362->SetBinContent(15,9070.484); h_SL1L362->SetBinContent(16,9111.734); h_SL1L362->SetBinContent(17,8907.774); h_SL1L362->SetBinContent(18,9845.073); h_SL1L362->SetBinContent(19,9764.864); h_SL1L362->SetBinContent(20,9918.407); h_SL1L362->SetBinContent(21,11057.37); h_SL1L362->SetBinContent(22,10654.04); h_SL1L362->SetBinContent(23,11073.42); h_SL1L362->SetBinContent(24,10977.17); h_SL1L362->SetBinContent(25,10883.21); h_SL1L362->SetBinContent(26,10555.5); h_SL1L362->SetBinContent(27,10995.5); h_SL1L362->SetBinContent(28,11414.88); h_SL1L362->SetBinContent(29,11712.79); h_SL1L362->SetBinContent(30,12081.76); h_SL1L362->SetBinContent(31,13591.98); h_SL1L362->SetBinContent(32,17098.25); h_SL1L362->SetBinContent(33,44765.75); h_SL1L362->SetBinContent(34,62943.38); h_SL1L362->SetBinContent(35,67865.92); h_SL1L362->SetBinContent(36,73755.55); h_SL1L362->SetBinContent(37,74977.02); h_SL1L362->SetBinContent(38,69800.1); h_SL1L362->SetBinContent(39,46479.93); h_SL1L362->SetBinContent(40,16433.66); h_SL1L362->SetBinContent(41,12491.97); h_SL1L362->SetBinContent(42,10880.91); h_SL1L362->SetBinContent(43,10633.41); h_SL1L362->SetBinContent(44,9822.156); h_SL1L362->SetBinContent(45,10067.37); h_SL1L362->SetBinContent(46,9895.49); h_SL1L362->SetBinContent(47,9904.657); h_SL1L362->SetBinContent(48,9219.443); h_SL1L362->SetBinContent(49,8852.774); h_SL1L362->SetBinContent(50,8564.021); h_SL1L362->SetBinContent(51,8600.688); h_SL1L362->SetBinContent(52,8066.727); h_SL1L362->SetBinContent(53,10972.58); h_SL1L362->SetBinContent(54,8348.604); h_SL1L362->SetBinContent(55,8323.396); h_SL1L362->SetBinContent(56,12393.43); h_SL1L362->SetBinContent(57,8023.185); h_SL1L362->SetBinContent(58,7649.64); h_SL1L362->SetBinContent(59,7574.015); h_SL1L362->SetMaximum(87775.84); 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,8722.148); h_SL1L463->SetBinContent(3,8252.353); h_SL1L463->SetBinContent(4,8217.978); h_SL1L463->SetBinContent(5,7961.309); h_SL1L463->SetBinContent(6,8431.104); h_SL1L463->SetBinContent(7,8479.229); h_SL1L463->SetBinContent(8,8334.854); h_SL1L463->SetBinContent(9,8435.688); h_SL1L463->SetBinContent(10,7878.809); h_SL1L463->SetBinContent(11,7358.596); h_SL1L463->SetBinContent(12,7397.555); h_SL1L463->SetBinContent(13,8110.269); h_SL1L463->SetBinContent(14,8774.856); h_SL1L463->SetBinContent(15,8504.438); h_SL1L463->SetBinContent(16,8073.602); h_SL1L463->SetBinContent(17,8041.518); h_SL1L463->SetBinContent(18,8364.646); h_SL1L463->SetBinContent(19,8392.146); h_SL1L463->SetBinContent(20,8806.94); h_SL1L463->SetBinContent(21,9322.569); h_SL1L463->SetBinContent(22,8971.941); h_SL1L463->SetBinContent(23,9556.321); h_SL1L463->SetBinContent(24,9453.195); h_SL1L463->SetBinContent(25,9201.11); h_SL1L463->SetBinContent(26,9508.195); h_SL1L463->SetBinContent(27,9246.943); h_SL1L463->SetBinContent(28,9455.487); h_SL1L463->SetBinContent(29,9723.614); h_SL1L463->SetBinContent(30,10408.83); h_SL1L463->SetBinContent(31,10924.46); h_SL1L463->SetBinContent(32,12920.51); h_SL1L463->SetBinContent(33,21395.16); h_SL1L463->SetBinContent(34,51601.84); h_SL1L463->SetBinContent(35,61259); h_SL1L463->SetBinContent(36,64348.19); h_SL1L463->SetBinContent(37,67829.25); h_SL1L463->SetBinContent(38,66573.41); h_SL1L463->SetBinContent(39,58057.52); h_SL1L463->SetBinContent(40,22774.75); h_SL1L463->SetBinContent(41,12728.01); h_SL1L463->SetBinContent(42,10346.95); h_SL1L463->SetBinContent(43,9680.072); h_SL1L463->SetBinContent(44,8951.316); h_SL1L463->SetBinContent(45,8103.394); h_SL1L463->SetBinContent(46,8715.273); h_SL1L463->SetBinContent(47,8048.393); h_SL1L463->SetBinContent(48,7615.265); h_SL1L463->SetBinContent(49,7248.596); h_SL1L463->SetBinContent(50,7603.807); h_SL1L463->SetBinContent(51,6707.758); h_SL1L463->SetBinContent(52,6494.631); h_SL1L463->SetBinContent(53,6499.215); h_SL1L463->SetBinContent(54,6487.756); h_SL1L463->SetBinContent(55,4.583367); h_SL1L463->SetBinContent(56,6586.299); h_SL1L463->SetBinContent(57,6432.756); h_SL1L463->SetBinContent(58,6925.468); h_SL1L463->SetBinContent(59,6400.672); h_SL1L463->SetMaximum(87775.84); 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 6642"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }