void RatesPerCell_Removing_noisy_cells_run_6707_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:50:59 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-19310.08,67.5,173790.7); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6707",60,0,60); h_SL1L160->SetBinContent(1,56264.08); h_SL1L160->SetBinContent(2,54253.16); h_SL1L160->SetBinContent(3,53551.68); h_SL1L160->SetBinContent(4,52782.65); h_SL1L160->SetBinContent(5,50548.3); h_SL1L160->SetBinContent(6,53395.8); h_SL1L160->SetBinContent(7,50667.81); h_SL1L160->SetBinContent(8,50013.09); h_SL1L160->SetBinContent(9,46354.99); h_SL1L160->SetBinContent(10,42821.6); h_SL1L160->SetBinContent(11,42754.05); h_SL1L160->SetBinContent(12,43148.96); h_SL1L160->SetBinContent(13,45918.52); h_SL1L160->SetBinContent(14,43008.66); h_SL1L160->SetBinContent(15,43273.67); h_SL1L160->SetBinContent(16,41392.66); h_SL1L160->SetBinContent(17,42644.93); h_SL1L160->SetBinContent(18,44177.8); h_SL1L160->SetBinContent(19,46157.54); h_SL1L160->SetBinContent(20,45029.97); h_SL1L160->SetBinContent(21,48636.11); h_SL1L160->SetBinContent(22,48267.18); h_SL1L160->SetBinContent(23,47373.44); h_SL1L160->SetBinContent(24,44666.24); h_SL1L160->SetBinContent(25,44764.96); h_SL1L160->SetBinContent(26,44001.13); h_SL1L160->SetBinContent(27,41771.98); h_SL1L160->SetBinContent(28,43045.04); h_SL1L160->SetBinContent(29,41808.35); h_SL1L160->SetBinContent(30,41974.62); h_SL1L160->SetBinContent(31,40670.39); h_SL1L160->SetBinContent(32,39049.18); h_SL1L160->SetBinContent(33,55879.56); h_SL1L160->SetBinContent(34,70117.05); h_SL1L160->SetBinContent(35,74357.13); h_SL1L160->SetBinContent(36,71270.61); h_SL1L160->SetBinContent(37,78675.14); h_SL1L160->SetBinContent(38,79106.42); h_SL1L160->SetBinContent(39,60124.83); h_SL1L160->SetBinContent(40,38077.5); h_SL1L160->SetBinContent(41,37287.68); h_SL1L160->SetBinContent(42,37516.32); h_SL1L160->SetBinContent(43,36373.16); h_SL1L160->SetBinContent(44,36336.79); h_SL1L160->SetBinContent(45,33977.73); h_SL1L160->SetBinContent(46,32512.41); h_SL1L160->SetBinContent(47,32621.53); h_SL1L160->SetBinContent(48,30111.78); h_SL1L160->SetBinContent(49,32818.98); h_SL1L160->SetBinContent(50,33161.93); h_SL1L160->SetBinContent(51,31078.27); h_SL1L160->SetBinContent(52,30044.23); h_SL1L160->SetBinContent(53,30527.47); h_SL1L160->SetBinContent(54,30366.39); h_SL1L160->SetBinContent(55,31836.91); h_SL1L160->SetBinContent(56,32912.51); h_SL1L160->SetBinContent(57,36056.19); h_SL1L160->SetBinContent(58,36279.63); h_SL1L160->SetBinContent(59,38856.93); h_SL1L160->SetMaximum(154480.6); 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,59537.66); h_SL1L261->SetBinContent(2,56227.71); h_SL1L261->SetBinContent(3,55484.66); h_SL1L261->SetBinContent(4,57563.12); h_SL1L261->SetBinContent(5,56019.86); h_SL1L261->SetBinContent(6,60883.47); h_SL1L261->SetBinContent(7,59153.15); h_SL1L261->SetBinContent(8,58747.85); h_SL1L261->SetBinContent(9,55874.37); h_SL1L261->SetBinContent(10,49784.46); h_SL1L261->SetBinContent(11,48895.92); h_SL1L261->SetBinContent(12,49384.36); h_SL1L261->SetBinContent(13,52185.09); h_SL1L261->SetBinContent(14,55063.77); h_SL1L261->SetBinContent(15,54933.86); h_SL1L261->SetBinContent(16,54315.52); h_SL1L261->SetBinContent(17,54580.52); h_SL1L261->SetBinContent(18,53842.67); h_SL1L261->SetBinContent(19,58020.38); h_SL1L261->SetBinContent(20,57105.86); h_SL1L261->SetBinContent(21,59636.39); h_SL1L261->SetBinContent(22,60181.99); h_SL1L261->SetBinContent(23,62426.73); h_SL1L261->SetBinContent(24,61875.94); h_SL1L261->SetBinContent(25,64723.44); h_SL1L261->SetBinContent(26,60706.8); h_SL1L261->SetBinContent(27,58113.91); h_SL1L261->SetBinContent(28,60358.66); h_SL1L261->SetBinContent(29,59849.43); h_SL1L261->SetBinContent(30,58882.95); h_SL1L261->SetBinContent(31,59080.4); h_SL1L261->SetBinContent(32,57256.55); h_SL1L261->SetBinContent(33,67830.74); h_SL1L261->SetBinContent(34,101496.7); h_SL1L261->SetBinContent(35,108849.3); h_SL1L261->SetBinContent(36,113473.9); h_SL1L261->SetBinContent(37,116809.8); h_SL1L261->SetBinContent(38,115858.9); h_SL1L261->SetBinContent(39,102203.4); h_SL1L261->SetBinContent(40,65476.88); h_SL1L261->SetBinContent(41,54518.17); h_SL1L261->SetBinContent(42,50657.42); h_SL1L261->SetBinContent(43,49082.98); h_SL1L261->SetBinContent(44,48771.21); h_SL1L261->SetBinContent(45,48033.36); h_SL1L261->SetBinContent(46,49098.57); h_SL1L261->SetBinContent(47,49098.57); h_SL1L261->SetBinContent(48,47217.55); h_SL1L261->SetBinContent(49,58228.23); h_SL1L261->SetBinContent(50,45637.92); h_SL1L261->SetBinContent(51,43985.54); h_SL1L261->SetBinContent(52,42400.71); h_SL1L261->SetBinContent(53,44489.57); h_SL1L261->SetBinContent(54,43658.18); h_SL1L261->SetBinContent(55,44396.04); h_SL1L261->SetBinContent(56,48625.72); h_SL1L261->SetBinContent(57,43045.04); h_SL1L261->SetBinContent(58,42276); h_SL1L261->SetBinContent(59,40971.77); h_SL1L261->SetMaximum(134331.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,56014.66); h_SL1L362->SetBinContent(2,54658.46); h_SL1L362->SetBinContent(3,55359.95); h_SL1L362->SetBinContent(4,53666); h_SL1L362->SetBinContent(5,56466.73); h_SL1L362->SetBinContent(6,58176.27); h_SL1L362->SetBinContent(7,55869.17); h_SL1L362->SetBinContent(8,55489.85); h_SL1L362->SetBinContent(9,51187.43); h_SL1L362->SetBinContent(10,48173.65); h_SL1L362->SetBinContent(11,47295.5); h_SL1L362->SetBinContent(12,49758.48); h_SL1L362->SetBinContent(13,51972.05); h_SL1L362->SetBinContent(14,53743.94); h_SL1L362->SetBinContent(15,53068.44); h_SL1L362->SetBinContent(16,50896.44); h_SL1L362->SetBinContent(17,52289.02); h_SL1L362->SetBinContent(18,55048.18); h_SL1L362->SetBinContent(19,56581.05); h_SL1L362->SetBinContent(20,56898.01); h_SL1L362->SetBinContent(21,58914.12); h_SL1L362->SetBinContent(22,59594.82); h_SL1L362->SetBinContent(23,59672.77); h_SL1L362->SetBinContent(24,59283.05); h_SL1L362->SetBinContent(25,61278.38); h_SL1L362->SetBinContent(26,56222.51); h_SL1L362->SetBinContent(27,56206.92); h_SL1L362->SetBinContent(28,57911.27); h_SL1L362->SetBinContent(29,58098.33); h_SL1L362->SetBinContent(30,56082.21); h_SL1L362->SetBinContent(31,55505.44); h_SL1L362->SetBinContent(32,56981.15); h_SL1L362->SetBinContent(33,85502.91); h_SL1L362->SetBinContent(34,106459); h_SL1L362->SetBinContent(35,108989.6); h_SL1L362->SetBinContent(36,112819.1); h_SL1L362->SetBinContent(37,115864.1); h_SL1L362->SetBinContent(38,108672.6); h_SL1L362->SetBinContent(39,85066.43); h_SL1L362->SetBinContent(40,54632.48); h_SL1L362->SetBinContent(41,49987.11); h_SL1L362->SetBinContent(42,47945.02); h_SL1L362->SetBinContent(43,47903.45); h_SL1L362->SetBinContent(44,46209.5); h_SL1L362->SetBinContent(45,46214.7); h_SL1L362->SetBinContent(46,46682.35); h_SL1L362->SetBinContent(47,47186.38); h_SL1L362->SetBinContent(48,44775.36); h_SL1L362->SetBinContent(49,44692.22); h_SL1L362->SetBinContent(50,44208.98); h_SL1L362->SetBinContent(51,41761.58); h_SL1L362->SetBinContent(52,42057.77); h_SL1L362->SetBinContent(53,44702.61); h_SL1L362->SetBinContent(54,42728.07); h_SL1L362->SetBinContent(55,43211.31); h_SL1L362->SetBinContent(56,46931.77); h_SL1L362->SetBinContent(57,42525.42); h_SL1L362->SetBinContent(58,40997.75); h_SL1L362->SetBinContent(59,39246.64); h_SL1L362->SetMaximum(134331.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,21984.98); h_SL1L463->SetBinContent(3,20254.65); h_SL1L463->SetBinContent(4,17656.57); h_SL1L463->SetBinContent(5,16986.27); h_SL1L463->SetBinContent(6,17464.31); h_SL1L463->SetBinContent(7,17770.89); h_SL1L463->SetBinContent(8,18342.46); h_SL1L463->SetBinContent(9,18971.2); h_SL1L463->SetBinContent(10,18862.08); h_SL1L463->SetBinContent(11,20353.38); h_SL1L463->SetBinContent(12,19849.35); h_SL1L463->SetBinContent(13,20405.34); h_SL1L463->SetBinContent(14,21714.78); h_SL1L463->SetBinContent(15,20784.66); h_SL1L463->SetBinContent(16,19740.23); h_SL1L463->SetBinContent(17,16684.89); h_SL1L463->SetBinContent(18,15874.29); h_SL1L463->SetBinContent(19,17240.88); h_SL1L463->SetBinContent(20,16071.74); h_SL1L463->SetBinContent(21,15728.79); h_SL1L463->SetBinContent(22,16929.11); h_SL1L463->SetBinContent(23,16264); h_SL1L463->SetBinContent(24,16716.06); h_SL1L463->SetBinContent(25,13795.82); h_SL1L463->SetBinContent(26,15567.71); h_SL1L463->SetBinContent(27,15011.72); h_SL1L463->SetBinContent(28,14887.01); h_SL1L463->SetBinContent(29,13011.2); h_SL1L463->SetBinContent(30,14694.76); h_SL1L463->SetBinContent(31,15318.3); h_SL1L463->SetBinContent(32,13660.72); h_SL1L463->SetBinContent(33,13354.15); h_SL1L463->SetBinContent(34,18202.17); h_SL1L463->SetBinContent(35,24266.09); h_SL1L463->SetBinContent(36,20722.31); h_SL1L463->SetBinContent(37,16981.07); h_SL1L463->SetBinContent(38,18342.46); h_SL1L463->SetBinContent(39,21470.56); h_SL1L463->SetBinContent(40,12107.07); h_SL1L463->SetBinContent(41,11878.43); h_SL1L463->SetBinContent(42,12694.23); h_SL1L463->SetBinContent(43,13146.3); h_SL1L463->SetBinContent(44,13068.36); h_SL1L463->SetBinContent(45,11150.97); h_SL1L463->SetBinContent(46,12844.92); h_SL1L463->SetBinContent(47,11592.65); h_SL1L463->SetBinContent(48,9659.672); h_SL1L463->SetBinContent(49,8880.247); h_SL1L463->SetBinContent(50,9602.514); h_SL1L463->SetBinContent(51,9181.625); h_SL1L463->SetBinContent(52,8901.031); h_SL1L463->SetBinContent(53,8480.143); h_SL1L463->SetBinContent(54,8921.816); h_SL1L463->SetBinContent(56,9103.682); h_SL1L463->SetBinContent(57,9711.634); h_SL1L463->SetBinContent(58,12865.71); h_SL1L463->SetBinContent(59,13993.27); h_SL1L463->SetMaximum(134331.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 6707"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }