void RatesPerCell_Removing_noisy_cells_run_6745_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:09:57 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-16457.79,67.5,148120.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 6745",60,0,60); h_SL1L160->SetBinContent(1,35259.63); h_SL1L160->SetBinContent(2,34004.73); h_SL1L160->SetBinContent(3,33889.54); h_SL1L160->SetBinContent(4,32306.21); h_SL1L160->SetBinContent(5,30737.59); h_SL1L160->SetBinContent(6,32137.1); h_SL1L160->SetBinContent(7,30693.48); h_SL1L160->SetBinContent(8,30808.67); h_SL1L160->SetBinContent(9,28529.27); h_SL1L160->SetBinContent(10,26232.71); h_SL1L160->SetBinContent(11,25453.3); h_SL1L160->SetBinContent(12,25553.79); h_SL1L160->SetBinContent(13,27477.8); h_SL1L160->SetBinContent(14,26387.12); h_SL1L160->SetBinContent(15,25585.66); h_SL1L160->SetBinContent(16,24526.84); h_SL1L160->SetBinContent(17,25710.66); h_SL1L160->SetBinContent(18,26075.85); h_SL1L160->SetBinContent(19,27683.69); h_SL1L160->SetBinContent(20,26994.96); h_SL1L160->SetBinContent(21,28303.78); h_SL1L160->SetBinContent(22,28664.07); h_SL1L160->SetBinContent(23,27632.22); h_SL1L160->SetBinContent(24,25796.44); h_SL1L160->SetBinContent(25,25722.91); h_SL1L160->SetBinContent(26,26080.75); h_SL1L160->SetBinContent(27,25161.64); h_SL1L160->SetBinContent(28,25208.21); h_SL1L160->SetBinContent(29,25213.11); h_SL1L160->SetBinContent(30,24443.51); h_SL1L160->SetBinContent(31,23144.49); h_SL1L160->SetBinContent(32,23507.24); h_SL1L160->SetBinContent(33,34803.75); h_SL1L160->SetBinContent(34,42578.22); h_SL1L160->SetBinContent(35,44847.82); h_SL1L160->SetBinContent(36,44257.13); h_SL1L160->SetBinContent(37,48705.64); h_SL1L160->SetBinContent(38,48749.76); h_SL1L160->SetBinContent(39,36963.05); h_SL1L160->SetBinContent(40,23164.1); h_SL1L160->SetBinContent(41,21688.62); h_SL1L160->SetBinContent(42,21602.83); h_SL1L160->SetBinContent(43,21019.5); h_SL1L160->SetBinContent(44,20328.33); h_SL1L160->SetBinContent(45,19595.49); h_SL1L160->SetBinContent(46,19017.06); h_SL1L160->SetBinContent(47,18154.32); h_SL1L160->SetBinContent(48,17416.58); h_SL1L160->SetBinContent(49,18053.83); h_SL1L160->SetBinContent(50,18497.46); h_SL1L160->SetBinContent(51,17659.23); h_SL1L160->SetBinContent(52,17708.25); h_SL1L160->SetBinContent(53,18649.42); h_SL1L160->SetBinContent(54,17857.75); h_SL1L160->SetBinContent(55,18355.3); h_SL1L160->SetBinContent(56,19225.39); h_SL1L160->SetBinContent(57,21468.03); h_SL1L160->SetBinContent(58,22423.91); h_SL1L160->SetBinContent(59,24161.64); h_SL1L160->SetMaximum(131662.3); 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,39882.16); h_SL1L261->SetBinContent(2,38521.87); h_SL1L261->SetBinContent(3,37730.21); h_SL1L261->SetBinContent(4,38002.26); h_SL1L261->SetBinContent(5,37970.4); h_SL1L261->SetBinContent(6,40926.27); h_SL1L261->SetBinContent(7,39641.96); h_SL1L261->SetBinContent(8,39796.37); h_SL1L261->SetBinContent(9,38151.77); h_SL1L261->SetBinContent(10,34230.22); h_SL1L261->SetBinContent(11,32992.48); h_SL1L261->SetBinContent(12,34198.36); h_SL1L261->SetBinContent(13,35034.14); h_SL1L261->SetBinContent(14,37311.09); h_SL1L261->SetBinContent(15,37382.17); h_SL1L261->SetBinContent(16,36460.61); h_SL1L261->SetBinContent(17,35980.21); h_SL1L261->SetBinContent(18,36607.66); h_SL1L261->SetBinContent(19,39769.41); h_SL1L261->SetBinContent(20,39467.94); h_SL1L261->SetBinContent(21,40659.11); h_SL1L261->SetBinContent(22,41686.07); h_SL1L261->SetBinContent(23,42259.59); h_SL1L261->SetBinContent(24,42379.69); h_SL1L261->SetBinContent(25,42536.55); h_SL1L261->SetBinContent(26,41338.03); h_SL1L261->SetBinContent(27,39703.23); h_SL1L261->SetBinContent(28,38894.41); h_SL1L261->SetBinContent(29,41286.56); h_SL1L261->SetBinContent(30,41200.78); h_SL1L261->SetBinContent(31,40024.31); h_SL1L261->SetBinContent(32,41257.15); h_SL1L261->SetBinContent(33,51139.45); h_SL1L261->SetBinContent(34,83622.13); h_SL1L261->SetBinContent(35,91558.37); h_SL1L261->SetBinContent(36,96033.84); h_SL1L261->SetBinContent(37,98957.84); h_SL1L261->SetBinContent(38,97830.4); h_SL1L261->SetBinContent(39,85484.88); h_SL1L261->SetBinContent(40,50742.39); h_SL1L261->SetBinContent(41,38551.28); h_SL1L261->SetBinContent(42,35534.14); h_SL1L261->SetBinContent(43,34708.16); h_SL1L261->SetBinContent(44,33129.74); h_SL1L261->SetBinContent(45,33262.09); h_SL1L261->SetBinContent(46,34112.58); h_SL1L261->SetBinContent(47,33970.42); h_SL1L261->SetBinContent(48,32244.94); h_SL1L261->SetBinContent(49,31789.06); h_SL1L261->SetBinContent(50,31274.36); h_SL1L261->SetBinContent(51,29970.44); h_SL1L261->SetBinContent(52,29061.13); h_SL1L261->SetBinContent(53,30619.95); h_SL1L261->SetBinContent(54,30244.95); h_SL1L261->SetBinContent(55,30012.11); h_SL1L261->SetBinContent(56,29757.21); h_SL1L261->SetBinContent(57,29877.3); h_SL1L261->SetBinContent(58,28600.35); h_SL1L261->SetBinContent(59,27443.49); h_SL1L261->SetMaximum(114489.3); 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,37311.09); h_SL1L362->SetBinContent(2,36036.59); h_SL1L362->SetBinContent(3,36705.7); h_SL1L362->SetBinContent(4,36039.04); h_SL1L362->SetBinContent(5,38666.48); h_SL1L362->SetBinContent(6,39426.28); h_SL1L362->SetBinContent(7,37771.87); h_SL1L362->SetBinContent(8,37847.85); h_SL1L362->SetBinContent(9,34186.11); h_SL1L362->SetBinContent(10,32222.88); h_SL1L362->SetBinContent(11,32624.84); h_SL1L362->SetBinContent(12,33328.27); h_SL1L362->SetBinContent(13,35240.02); h_SL1L362->SetBinContent(14,36820.89); h_SL1L362->SetBinContent(15,36985.11); h_SL1L362->SetBinContent(16,34632.18); h_SL1L362->SetBinContent(17,35026.79); h_SL1L362->SetBinContent(18,37588.05); h_SL1L362->SetBinContent(19,38433.63); h_SL1L362->SetBinContent(20,38105.2); h_SL1L362->SetBinContent(21,39801.27); h_SL1L362->SetBinContent(22,40021.86); h_SL1L362->SetBinContent(23,40242.45); h_SL1L362->SetBinContent(24,40610.09); h_SL1L362->SetBinContent(25,41200.78); h_SL1L362->SetBinContent(26,38242.46); h_SL1L362->SetBinContent(27,38627.26); h_SL1L362->SetBinContent(28,39176.28); h_SL1L362->SetBinContent(29,39911.57); h_SL1L362->SetBinContent(30,39940.98); h_SL1L362->SetBinContent(31,39955.68); h_SL1L362->SetBinContent(32,41146.86); h_SL1L362->SetBinContent(33,69703.09); h_SL1L362->SetBinContent(34,88053.48); h_SL1L362->SetBinContent(35,92842.68); h_SL1L362->SetBinContent(36,96749.52); h_SL1L362->SetBinContent(37,99555.88); h_SL1L362->SetBinContent(38,91862.29); h_SL1L362->SetBinContent(39,69396.72); h_SL1L362->SetBinContent(40,39803.73); h_SL1L362->SetBinContent(41,35624.82); h_SL1L362->SetBinContent(42,34210.61); h_SL1L362->SetBinContent(43,33450.82); h_SL1L362->SetBinContent(44,32411.6); h_SL1L362->SetBinContent(45,32367.49); h_SL1L362->SetBinContent(46,32887.09); h_SL1L362->SetBinContent(47,32632.19); h_SL1L362->SetBinContent(48,30816.02); h_SL1L362->SetBinContent(49,30818.47); h_SL1L362->SetBinContent(50,30524.36); h_SL1L362->SetBinContent(51,28215.55); h_SL1L362->SetBinContent(52,28781.72); h_SL1L362->SetBinContent(53,29607.7); h_SL1L362->SetBinContent(54,28879.76); h_SL1L362->SetBinContent(55,29830.73); h_SL1L362->SetBinContent(56,28840.54); h_SL1L362->SetBinContent(57,28693.49); h_SL1L362->SetBinContent(58,27418.98); h_SL1L362->SetBinContent(59,27605.26); h_SL1L362->SetMaximum(114489.3); 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,35222.86); h_SL1L463->SetBinContent(3,34730.22); h_SL1L463->SetBinContent(4,34159.14); h_SL1L463->SetBinContent(5,33264.54); h_SL1L463->SetBinContent(6,34455.71); h_SL1L463->SetBinContent(7,33742.48); h_SL1L463->SetBinContent(8,34414.05); h_SL1L463->SetBinContent(9,33524.34); h_SL1L463->SetBinContent(10,30333.18); h_SL1L463->SetBinContent(11,30340.54); h_SL1L463->SetBinContent(12,30786.61); h_SL1L463->SetBinContent(13,32465.53); h_SL1L463->SetBinContent(14,34301.3); h_SL1L463->SetBinContent(15,34911.59); h_SL1L463->SetBinContent(16,33213.07); h_SL1L463->SetBinContent(17,32759.64); h_SL1L463->SetBinContent(18,32762.09); h_SL1L463->SetBinContent(19,33857.68); h_SL1L463->SetBinContent(20,33720.42); h_SL1L463->SetBinContent(21,34431.2); h_SL1L463->SetBinContent(22,35659.14); h_SL1L463->SetBinContent(23,35252.28); h_SL1L463->SetBinContent(24,36107.66); h_SL1L463->SetBinContent(25,35107.67); h_SL1L463->SetBinContent(26,35112.57); h_SL1L463->SetBinContent(27,33744.93); h_SL1L463->SetBinContent(28,33350.32); h_SL1L463->SetBinContent(29,34249.83); h_SL1L463->SetBinContent(30,34433.65); h_SL1L463->SetBinContent(31,34605.22); h_SL1L463->SetBinContent(32,33999.83); h_SL1L463->SetBinContent(33,38842.95); h_SL1L463->SetBinContent(34,65024.19); h_SL1L463->SetBinContent(35,71828.08); h_SL1L463->SetBinContent(36,74200.61); h_SL1L463->SetBinContent(37,71894.25); h_SL1L463->SetBinContent(38,74345.22); h_SL1L463->SetBinContent(39,67899.17); h_SL1L463->SetBinContent(40,36445.9); h_SL1L463->SetBinContent(41,28124.86); h_SL1L463->SetBinContent(42,26654.28); h_SL1L463->SetBinContent(43,25945.95); h_SL1L463->SetBinContent(44,25816.05); h_SL1L463->SetBinContent(45,23710.67); h_SL1L463->SetBinContent(46,24409.19); h_SL1L463->SetBinContent(47,23840.57); h_SL1L463->SetBinContent(48,22955.77); h_SL1L463->SetBinContent(49,21666.56); h_SL1L463->SetBinContent(50,23031.75); h_SL1L463->SetBinContent(51,21497.44); h_SL1L463->SetBinContent(52,21428.82); h_SL1L463->SetBinContent(53,21617.54); h_SL1L463->SetBinContent(54,21333.23); h_SL1L463->SetBinContent(56,23014.59); h_SL1L463->SetBinContent(57,23923.9); h_SL1L463->SetBinContent(58,25666.54); h_SL1L463->SetBinContent(59,25068.5); h_SL1L463->SetMaximum(114489.3); 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 6745"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }