void RatesPerCell_Removing_noisy_cells_run_6746_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:12:27 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-16678.59,67.5,150107.3); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6746",60,0,60); h_SL1L160->SetBinContent(1,35284.36); h_SL1L160->SetBinContent(2,33739.39); h_SL1L160->SetBinContent(3,34029.81); h_SL1L160->SetBinContent(4,32234.89); h_SL1L160->SetBinContent(5,30268.56); h_SL1L160->SetBinContent(6,31834.96); h_SL1L160->SetBinContent(7,30749.43); h_SL1L160->SetBinContent(8,30544.71); h_SL1L160->SetBinContent(9,28514.1); h_SL1L160->SetBinContent(10,25819.33); h_SL1L160->SetBinContent(11,25157.54); h_SL1L160->SetBinContent(12,26195.46); h_SL1L160->SetBinContent(13,27314.31); h_SL1L160->SetBinContent(14,26114.52); h_SL1L160->SetBinContent(15,25555.09); h_SL1L160->SetBinContent(16,24405.29); h_SL1L160->SetBinContent(17,25412.26); h_SL1L160->SetBinContent(18,26335.91); h_SL1L160->SetBinContent(19,27535.7); h_SL1L160->SetBinContent(20,26685.85); h_SL1L160->SetBinContent(21,28418.88); h_SL1L160->SetBinContent(22,28418.88); h_SL1L160->SetBinContent(23,27966.58); h_SL1L160->SetBinContent(24,25607.46); h_SL1L160->SetBinContent(25,26114.52); h_SL1L160->SetBinContent(26,26119.28); h_SL1L160->SetBinContent(27,25219.44); h_SL1L160->SetBinContent(28,25357.51); h_SL1L160->SetBinContent(29,24886.16); h_SL1L160->SetBinContent(30,24350.54); h_SL1L160->SetBinContent(31,23607.81); h_SL1L160->SetBinContent(32,23372.14); h_SL1L160->SetBinContent(33,34317.86); h_SL1L160->SetBinContent(34,42833.05); h_SL1L160->SetBinContent(35,45106.46); h_SL1L160->SetBinContent(36,44387.54); h_SL1L160->SetBinContent(37,48810.59); h_SL1L160->SetBinContent(38,48851.05); h_SL1L160->SetBinContent(39,36867.42); h_SL1L160->SetBinContent(40,22996.01); h_SL1L160->SetBinContent(41,21853.35); h_SL1L160->SetBinContent(42,21834.31); h_SL1L160->SetBinContent(43,20851.15); h_SL1L160->SetBinContent(44,21070.16); h_SL1L160->SetBinContent(45,19637.07); h_SL1L160->SetBinContent(46,18618.2); h_SL1L160->SetBinContent(47,17889.76); h_SL1L160->SetBinContent(48,17213.68); h_SL1L160->SetBinContent(49,18161.14); h_SL1L160->SetBinContent(50,18765.79); h_SL1L160->SetBinContent(51,17663.6); h_SL1L160->SetBinContent(52,17554.1); h_SL1L160->SetBinContent(53,18118.29); h_SL1L160->SetBinContent(54,17366.04); h_SL1L160->SetBinContent(55,18434.9); h_SL1L160->SetBinContent(56,19201.43); h_SL1L160->SetBinContent(57,21239.18); h_SL1L160->SetBinContent(58,22496.1); h_SL1L160->SetBinContent(59,24202.95); h_SL1L160->SetMaximum(133428.8); 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,39790.72); h_SL1L261->SetBinContent(2,38495.71); h_SL1L261->SetBinContent(3,38352.88); h_SL1L261->SetBinContent(4,38171.95); h_SL1L261->SetBinContent(5,37298.3); h_SL1L261->SetBinContent(6,41433.29); h_SL1L261->SetBinContent(7,39643.12); h_SL1L261->SetBinContent(8,39305.09); h_SL1L261->SetBinContent(9,37879.15); h_SL1L261->SetBinContent(10,33506.09); h_SL1L261->SetBinContent(11,33253.76); h_SL1L261->SetBinContent(12,34091.71); h_SL1L261->SetBinContent(13,34553.53); h_SL1L261->SetBinContent(14,37393.52); h_SL1L261->SetBinContent(15,37524.45); h_SL1L261->SetBinContent(16,36274.66); h_SL1L261->SetBinContent(17,35767.61); h_SL1L261->SetBinContent(18,37095.95); h_SL1L261->SetBinContent(19,38626.64); h_SL1L261->SetBinContent(20,39157.5); h_SL1L261->SetBinContent(21,40373.95); h_SL1L261->SetBinContent(22,42078.42); h_SL1L261->SetBinContent(23,41571.36); h_SL1L261->SetBinContent(24,41833.22); h_SL1L261->SetBinContent(25,41871.31); h_SL1L261->SetBinContent(26,40916.71); h_SL1L261->SetBinContent(27,39812.14); h_SL1L261->SetBinContent(28,39067.04); h_SL1L261->SetBinContent(29,41378.54); h_SL1L261->SetBinContent(30,40742.94); h_SL1L261->SetBinContent(31,40533.45); h_SL1L261->SetBinContent(32,40714.37); h_SL1L261->SetBinContent(33,51610.1); h_SL1L261->SetBinContent(34,83606.93); h_SL1L261->SetBinContent(35,91588.88); h_SL1L261->SetBinContent(36,95528.68); h_SL1L261->SetBinContent(37,100892); h_SL1L261->SetBinContent(38,97414.06); h_SL1L261->SetBinContent(39,86039.84); h_SL1L261->SetBinContent(40,49815.17); h_SL1L261->SetBinContent(41,39159.88); h_SL1L261->SetBinContent(42,35258.17); h_SL1L261->SetBinContent(43,35343.87); h_SL1L261->SetBinContent(44,33751.29); h_SL1L261->SetBinContent(45,32891.92); h_SL1L261->SetBinContent(46,33325.18); h_SL1L261->SetBinContent(47,34094.09); h_SL1L261->SetBinContent(48,32451.52); h_SL1L261->SetBinContent(49,31242.2); h_SL1L261->SetBinContent(50,31899.23); h_SL1L261->SetBinContent(51,30644.69); h_SL1L261->SetBinContent(52,29502.03); h_SL1L261->SetBinContent(53,30747.05); h_SL1L261->SetBinContent(54,29811.5); h_SL1L261->SetBinContent(55,30420.92); h_SL1L261->SetBinContent(56,31004.15); h_SL1L261->SetBinContent(57,29242.55); h_SL1L261->SetBinContent(58,28597.42); h_SL1L261->SetBinContent(59,27895.16); h_SL1L261->SetMaximum(116025.8); 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,37488.74); h_SL1L362->SetBinContent(2,36486.53); h_SL1L362->SetBinContent(3,36700.78); h_SL1L362->SetBinContent(4,36650.79); h_SL1L362->SetBinContent(5,38286.22); h_SL1L362->SetBinContent(6,39414.59); h_SL1L362->SetBinContent(7,37655.38); h_SL1L362->SetBinContent(8,38233.85); h_SL1L362->SetBinContent(9,35001.07); h_SL1L362->SetBinContent(10,32494.37); h_SL1L362->SetBinContent(11,32137.29); h_SL1L362->SetBinContent(12,33617.98); h_SL1L362->SetBinContent(13,35636.68); h_SL1L362->SetBinContent(14,36360.36); h_SL1L362->SetBinContent(15,35581.93); h_SL1L362->SetBinContent(16,34539.25); h_SL1L362->SetBinContent(17,35155.81); h_SL1L362->SetBinContent(18,37005.49); h_SL1L362->SetBinContent(19,37414.94); h_SL1L362->SetBinContent(20,38157.67); h_SL1L362->SetBinContent(21,39778.82); h_SL1L362->SetBinContent(22,39707.4); h_SL1L362->SetBinContent(23,40102.57); h_SL1L362->SetBinContent(24,40626.29); h_SL1L362->SetBinContent(25,40900.05); h_SL1L362->SetBinContent(26,38088.63); h_SL1L362->SetBinContent(27,38255.27); h_SL1L362->SetBinContent(28,39507.44); h_SL1L362->SetBinContent(29,39874.04); h_SL1L362->SetBinContent(30,39912.13); h_SL1L362->SetBinContent(31,39159.88); h_SL1L362->SetBinContent(32,41957.01); h_SL1L362->SetBinContent(33,68511.93); h_SL1L362->SetBinContent(34,88806.03); h_SL1L362->SetBinContent(35,92845.8); h_SL1L362->SetBinContent(36,97590.23); h_SL1L362->SetBinContent(37,99349.45); h_SL1L362->SetBinContent(38,92526.81); h_SL1L362->SetBinContent(39,69218.95); h_SL1L362->SetBinContent(40,40197.79); h_SL1L362->SetBinContent(41,35015.36); h_SL1L362->SetBinContent(42,34236.92); h_SL1L362->SetBinContent(43,33391.83); h_SL1L362->SetBinContent(44,32103.96); h_SL1L362->SetBinContent(45,31489.78); h_SL1L362->SetBinContent(46,33303.75); h_SL1L362->SetBinContent(47,32237.27); h_SL1L362->SetBinContent(48,30728.01); h_SL1L362->SetBinContent(49,30494.71); h_SL1L362->SetBinContent(50,30520.9); h_SL1L362->SetBinContent(51,28773.58); h_SL1L362->SetBinContent(52,28514.1); h_SL1L362->SetBinContent(53,29666.29); h_SL1L362->SetBinContent(54,29030.68); h_SL1L362->SetBinContent(55,29333.01); h_SL1L362->SetBinContent(56,29021.16); h_SL1L362->SetBinContent(57,28597.42); h_SL1L362->SetBinContent(58,27657.11); h_SL1L362->SetBinContent(59,26757.27); h_SL1L362->SetMaximum(116025.8); 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,30754.19); h_SL1L463->SetBinContent(3,29285.4); h_SL1L463->SetBinContent(4,27864.22); h_SL1L463->SetBinContent(5,26692.99); h_SL1L463->SetBinContent(6,27421.44); h_SL1L463->SetBinContent(7,26940.57); h_SL1L463->SetBinContent(8,27723.77); h_SL1L463->SetBinContent(9,28264.15); h_SL1L463->SetBinContent(10,26976.28); h_SL1L463->SetBinContent(11,26840.58); h_SL1L463->SetBinContent(12,28495.06); h_SL1L463->SetBinContent(13,28311.76); h_SL1L463->SetBinContent(14,30159.06); h_SL1L463->SetBinContent(15,29970.99); h_SL1L463->SetBinContent(16,28154.64); h_SL1L463->SetBinContent(17,26457.32); h_SL1L463->SetBinContent(18,25740.78); h_SL1L463->SetBinContent(19,26990.56); h_SL1L463->SetBinContent(20,26766.79); h_SL1L463->SetBinContent(21,27697.58); h_SL1L463->SetBinContent(22,28468.87); h_SL1L463->SetBinContent(23,27785.66); h_SL1L463->SetBinContent(24,28149.88); h_SL1L463->SetBinContent(25,26307.34); h_SL1L463->SetBinContent(26,27407.15); h_SL1L463->SetBinContent(27,25621.75); h_SL1L463->SetBinContent(28,25724.11); h_SL1L463->SetBinContent(29,25605.08); h_SL1L463->SetBinContent(30,25831.24); h_SL1L463->SetBinContent(31,24805.22); h_SL1L463->SetBinContent(32,24743.33); h_SL1L463->SetBinContent(33,26119.28); h_SL1L463->SetBinContent(34,40840.54); h_SL1L463->SetBinContent(35,47058.51); h_SL1L463->SetBinContent(36,47458.44); h_SL1L463->SetBinContent(37,43459.13); h_SL1L463->SetBinContent(38,45977.74); h_SL1L463->SetBinContent(39,43973.33); h_SL1L463->SetBinContent(40,23098.38); h_SL1L463->SetBinContent(41,19341.88); h_SL1L463->SetBinContent(42,18684.86); h_SL1L463->SetBinContent(43,18558.69); h_SL1L463->SetBinContent(44,18165.9); h_SL1L463->SetBinContent(45,16430.48); h_SL1L463->SetBinContent(46,17687.41); h_SL1L463->SetBinContent(47,16661.4); h_SL1L463->SetBinContent(48,15314.01); h_SL1L463->SetBinContent(49,15083.1); h_SL1L463->SetBinContent(50,15823.45); h_SL1L463->SetBinContent(51,15249.74); h_SL1L463->SetBinContent(52,15102.14); h_SL1L463->SetBinContent(53,14990.26); h_SL1L463->SetBinContent(54,15373.53); h_SL1L463->SetBinContent(55,54.75241); h_SL1L463->SetBinContent(56,16644.73); h_SL1L463->SetBinContent(57,17268.44); h_SL1L463->SetBinContent(58,20798.78); h_SL1L463->SetBinContent(59,20946.37); h_SL1L463->SetMaximum(116025.8); 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 6746"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }