void RatesPerCell_Removing_noisy_cells_run_6888_SL3() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 11:00:41 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12871.38,67.5,115842.4); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6888",60,0,60); h_SL3L168->SetBinContent(1,9232.442); h_SL3L168->SetBinContent(2,6799.086); h_SL3L168->SetBinContent(4,10741.36); h_SL3L168->SetBinContent(5,11200.6); h_SL3L168->SetBinContent(6,11898.4); h_SL3L168->SetBinContent(7,11689.66); h_SL3L168->SetBinContent(8,11463.02); h_SL3L168->SetBinContent(9,11057.46); h_SL3L168->SetBinContent(10,10699.61); h_SL3L168->SetBinContent(11,10174.77); h_SL3L168->SetBinContent(12,9918.315); h_SL3L168->SetBinContent(13,10252.31); h_SL3L168->SetBinContent(14,11439.16); h_SL3L168->SetBinContent(15,11236.38); h_SL3L168->SetBinContent(16,11409.34); h_SL3L168->SetBinContent(17,10854.68); h_SL3L168->SetBinContent(18,10920.29); h_SL3L168->SetBinContent(19,11838.76); h_SL3L168->SetBinContent(20,11934.18); h_SL3L168->SetBinContent(21,11731.41); h_SL3L168->SetBinContent(22,12846.69); h_SL3L168->SetBinContent(23,12846.69); h_SL3L168->SetBinContent(24,13425.21); h_SL3L168->SetBinContent(25,13341.71); h_SL3L168->SetBinContent(26,13455.03); h_SL3L168->SetBinContent(27,13061.4); h_SL3L168->SetBinContent(28,12154.86); h_SL3L168->SetBinContent(29,13353.64); h_SL3L168->SetBinContent(30,14218.44); h_SL3L168->SetBinContent(31,14045.48); h_SL3L168->SetBinContent(32,15536.51); h_SL3L168->SetBinContent(33,19258.11); h_SL3L168->SetBinContent(34,47038.94); h_SL3L168->SetBinContent(35,65497.86); h_SL3L168->SetBinContent(36,70656.81); h_SL3L168->SetBinContent(37,75720.34); h_SL3L168->SetBinContent(38,77861.46); h_SL3L168->SetBinContent(39,72559.37); h_SL3L168->SetBinContent(40,48327.19); h_SL3L168->SetBinContent(41,18572.24); h_SL3L168->SetBinContent(42,14069.34); h_SL3L168->SetBinContent(43,12840.73); h_SL3L168->SetBinContent(44,12125.04); h_SL3L168->SetBinContent(45,11761.23); h_SL3L168->SetBinContent(46,11075.35); h_SL3L168->SetBinContent(47,11200.6); h_SL3L168->SetBinContent(48,10854.68); h_SL3L168->SetBinContent(49,10628.04); h_SL3L168->SetBinContent(50,10467.01); h_SL3L168->SetBinContent(51,10407.37); h_SL3L168->SetBinContent(52,10043.56); h_SL3L168->SetBinContent(53,9435.223); h_SL3L168->SetBinContent(54,9369.617); h_SL3L168->SetBinContent(55,9596.254); h_SL3L168->SetBinContent(56,9393.474); h_SL3L168->SetBinContent(57,9154.909); h_SL3L168->SetBinContent(58,7216.574); h_SL3L168->SetBinContent(59,6638.055); h_SL3L168->SetMaximum(102971); h_SL3L168->SetEntries(60); h_SL3L168->SetDirectory(0); h_SL3L168->SetStats(0); h_SL3L168->SetLineWidth(2); h_SL3L168->GetXaxis()->SetTitle("Cell"); h_SL3L168->GetXaxis()->SetLabelFont(42); h_SL3L168->GetXaxis()->SetLabelSize(0.035); h_SL3L168->GetXaxis()->SetTitleSize(0.035); h_SL3L168->GetXaxis()->SetTitleFont(42); h_SL3L168->GetYaxis()->SetTitle("Hz"); h_SL3L168->GetYaxis()->SetLabelFont(42); h_SL3L168->GetYaxis()->SetLabelSize(0.035); h_SL3L168->GetYaxis()->SetTitleSize(0.035); h_SL3L168->GetYaxis()->SetTitleOffset(1.45); h_SL3L168->GetYaxis()->SetTitleFont(42); h_SL3L168->GetZaxis()->SetLabelFont(42); h_SL3L168->GetZaxis()->SetLabelSize(0.035); h_SL3L168->GetZaxis()->SetTitleSize(0.035); h_SL3L168->GetZaxis()->SetTitleFont(42); h_SL3L168->Draw(""); TH1D *h_SL3L269 = new TH1D("h_SL3L269","",60,0,60); h_SL3L269->SetBinContent(1,9566.433); h_SL3L269->SetBinContent(2,7156.933); h_SL3L269->SetBinContent(4,9232.442); h_SL3L269->SetBinContent(5,10771.18); h_SL3L269->SetBinContent(6,11075.35); h_SL3L269->SetBinContent(7,11033.6); h_SL3L269->SetBinContent(8,11474.95); h_SL3L269->SetBinContent(9,10675.76); h_SL3L269->SetBinContent(10,10538.58); h_SL3L269->SetBinContent(11,9793.069); h_SL3L269->SetBinContent(12,9035.627); h_SL3L269->SetBinContent(13,9828.854); h_SL3L269->SetBinContent(14,10138.99); h_SL3L269->SetBinContent(15,10389.48); h_SL3L269->SetBinContent(16,11504.77); h_SL3L269->SetBinContent(17,10812.93); h_SL3L269->SetBinContent(18,10156.88); h_SL3L269->SetBinContent(19,10580.33); h_SL3L269->SetBinContent(20,11451.09); h_SL3L269->SetBinContent(21,11910.33); h_SL3L269->SetBinContent(22,11474.95); h_SL3L269->SetBinContent(23,12214.5); h_SL3L269->SetBinContent(24,13043.51); h_SL3L269->SetBinContent(25,12870.55); h_SL3L269->SetBinContent(26,12637.95); h_SL3L269->SetBinContent(27,12560.42); h_SL3L269->SetBinContent(28,12560.42); h_SL3L269->SetBinContent(29,12900.37); h_SL3L269->SetBinContent(30,13067.37); h_SL3L269->SetBinContent(31,13019.65); h_SL3L269->SetBinContent(32,14009.7); h_SL3L269->SetBinContent(33,16920.18); h_SL3L269->SetBinContent(34,28693.34); h_SL3L269->SetBinContent(35,59330.97); h_SL3L269->SetBinContent(36,68145.92); h_SL3L269->SetBinContent(37,71933.13); h_SL3L269->SetBinContent(38,77766.04); h_SL3L269->SetBinContent(39,75535.46); h_SL3L269->SetBinContent(40,63374.64); h_SL3L269->SetBinContent(41,28138.67); h_SL3L269->SetBinContent(42,16115.03); h_SL3L269->SetBinContent(43,12763.2); h_SL3L269->SetBinContent(44,12542.52); h_SL3L269->SetBinContent(45,11856.65); h_SL3L269->SetBinContent(46,10991.86); h_SL3L269->SetBinContent(47,10532.62); h_SL3L269->SetBinContent(48,10687.69); h_SL3L269->SetBinContent(49,10812.93); h_SL3L269->SetBinContent(50,9989.885); h_SL3L269->SetBinContent(51,9775.177); h_SL3L269->SetBinContent(52,9834.818); h_SL3L269->SetBinContent(53,9429.259); h_SL3L269->SetBinContent(54,9148.945); h_SL3L269->SetBinContent(55,9327.868); h_SL3L269->SetBinContent(56,8964.058); h_SL3L269->SetBinContent(57,9292.084); h_SL3L269->SetBinContent(58,8158.903); h_SL3L269->SetBinContent(59,6966.081); h_SL3L269->SetMaximum(89540.68); h_SL3L269->SetEntries(60); h_SL3L269->SetDirectory(0); h_SL3L269->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL3L269->SetLineColor(ci); h_SL3L269->SetLineWidth(2); h_SL3L269->GetXaxis()->SetTitle("Cell"); h_SL3L269->GetXaxis()->SetLabelFont(42); h_SL3L269->GetXaxis()->SetLabelSize(0.035); h_SL3L269->GetXaxis()->SetTitleSize(0.035); h_SL3L269->GetXaxis()->SetTitleFont(42); h_SL3L269->GetYaxis()->SetTitle("Hz"); h_SL3L269->GetYaxis()->SetLabelFont(42); h_SL3L269->GetYaxis()->SetLabelSize(0.035); h_SL3L269->GetYaxis()->SetTitleSize(0.035); h_SL3L269->GetYaxis()->SetTitleOffset(1.45); h_SL3L269->GetYaxis()->SetTitleFont(42); h_SL3L269->GetZaxis()->SetLabelFont(42); h_SL3L269->GetZaxis()->SetLabelSize(0.035); h_SL3L269->GetZaxis()->SetTitleSize(0.035); h_SL3L269->GetZaxis()->SetTitleFont(42); h_SL3L269->Draw("same"); TH1D *h_SL3L370 = new TH1D("h_SL3L370","",60,0,60); h_SL3L370->SetBinContent(1,7872.625); h_SL3L370->SetBinContent(2,6226.531); h_SL3L370->SetBinContent(3,7121.148); h_SL3L370->SetBinContent(4,9638.002); h_SL3L370->SetBinContent(5,10055.49); h_SL3L370->SetBinContent(6,10920.29); h_SL3L370->SetBinContent(7,10771.18); h_SL3L370->SetBinContent(8,10729.43); h_SL3L370->SetBinContent(9,9977.957); h_SL3L370->SetBinContent(10,9363.653); h_SL3L370->SetBinContent(11,9369.617); h_SL3L370->SetBinContent(12,9226.479); h_SL3L370->SetBinContent(13,9488.899); h_SL3L370->SetBinContent(14,9882.531); h_SL3L370->SetBinContent(15,10013.74); h_SL3L370->SetBinContent(16,10180.74); h_SL3L370->SetBinContent(17,10138.99); h_SL3L370->SetBinContent(18,9960.064); h_SL3L370->SetBinContent(19,10645.94); h_SL3L370->SetBinContent(20,11134.99); h_SL3L370->SetBinContent(21,11188.67); h_SL3L370->SetBinContent(22,12262.21); h_SL3L370->SetBinContent(23,11719.48); h_SL3L370->SetBinContent(24,12053.47); h_SL3L370->SetBinContent(25,12053.47); h_SL3L370->SetBinContent(26,12148.89); h_SL3L370->SetBinContent(27,11880.51); h_SL3L370->SetBinContent(28,12345.71); h_SL3L370->SetBinContent(29,12327.82); h_SL3L370->SetBinContent(30,12798.98); h_SL3L370->SetBinContent(31,13305.93); h_SL3L370->SetBinContent(32,14194.58); h_SL3L370->SetBinContent(33,18113); h_SL3L370->SetBinContent(34,46144.32); h_SL3L370->SetBinContent(35,63762.3); h_SL3L370->SetBinContent(36,69881.48); h_SL3L370->SetBinContent(37,74175.64); h_SL3L370->SetBinContent(38,77020.52); h_SL3L370->SetBinContent(39,71748.25); h_SL3L370->SetBinContent(40,47623.42); h_SL3L370->SetBinContent(41,17415.2); h_SL3L370->SetBinContent(42,13956.02); h_SL3L370->SetBinContent(43,11898.4); h_SL3L370->SetBinContent(44,11498.8); h_SL3L370->SetBinContent(45,489.057); h_SL3L370->SetBinContent(46,10586.3); h_SL3L370->SetBinContent(47,10353.7); h_SL3L370->SetBinContent(48,9924.279); h_SL3L370->SetBinContent(49,10097.24); h_SL3L370->SetBinContent(50,9685.715); h_SL3L370->SetBinContent(51,9339.797); h_SL3L370->SetBinContent(52,8952.13); h_SL3L370->SetBinContent(53,8970.022); h_SL3L370->SetBinContent(54,8516.75); h_SL3L370->SetBinContent(55,8719.529); h_SL3L370->SetBinContent(56,8469.037); h_SL3L370->SetBinContent(57,8862.668); h_SL3L370->SetBinContent(58,7317.963); h_SL3L370->SetBinContent(59,6005.859); h_SL3L370->SetMaximum(89540.68); h_SL3L370->SetEntries(60); h_SL3L370->SetDirectory(0); h_SL3L370->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L370->SetLineColor(ci); h_SL3L370->SetLineWidth(2); h_SL3L370->GetXaxis()->SetTitle("Cell"); h_SL3L370->GetXaxis()->SetLabelFont(42); h_SL3L370->GetXaxis()->SetLabelSize(0.035); h_SL3L370->GetXaxis()->SetTitleSize(0.035); h_SL3L370->GetXaxis()->SetTitleFont(42); h_SL3L370->GetYaxis()->SetTitle("Hz"); h_SL3L370->GetYaxis()->SetLabelFont(42); h_SL3L370->GetYaxis()->SetLabelSize(0.035); h_SL3L370->GetYaxis()->SetTitleSize(0.035); h_SL3L370->GetYaxis()->SetTitleOffset(1.45); h_SL3L370->GetYaxis()->SetTitleFont(42); h_SL3L370->GetZaxis()->SetLabelFont(42); h_SL3L370->GetZaxis()->SetLabelSize(0.035); h_SL3L370->GetZaxis()->SetTitleSize(0.035); h_SL3L370->GetZaxis()->SetTitleFont(42); h_SL3L370->Draw("same"); TH1D *h_SL3L471 = new TH1D("h_SL3L471","",60,0,60); h_SL3L471->SetBinContent(2,6011.823); h_SL3L471->SetBinContent(3,6811.014); h_SL3L471->SetBinContent(4,8302.042); h_SL3L471->SetBinContent(5,9781.141); h_SL3L471->SetBinContent(6,10472.98); h_SL3L471->SetBinContent(7,9971.992); h_SL3L471->SetBinContent(8,10067.42); h_SL3L471->SetBinContent(9,9912.352); h_SL3L471->SetBinContent(10,9005.807); h_SL3L471->SetBinContent(11,8594.283); h_SL3L471->SetBinContent(12,8761.278); h_SL3L471->SetBinContent(13,8570.427); h_SL3L471->SetBinContent(14,9733.428); h_SL3L471->SetBinContent(15,9816.926); h_SL3L471->SetBinContent(16,9655.895); h_SL3L471->SetBinContent(17,9960.064); h_SL3L471->SetBinContent(18,9566.433); h_SL3L471->SetBinContent(19,9482.936); h_SL3L471->SetBinContent(20,10550.51); h_SL3L471->SetBinContent(21,10574.37); h_SL3L471->SetBinContent(22,10902.39); h_SL3L471->SetBinContent(23,10389.48); h_SL3L471->SetBinContent(24,11319.88); h_SL3L471->SetBinContent(25,11981.9); h_SL3L471->SetBinContent(26,11874.54); h_SL3L471->SetBinContent(27,12196.61); h_SL3L471->SetBinContent(28,11307.95); h_SL3L471->SetBinContent(29,11892.44); h_SL3L471->SetBinContent(30,12131); h_SL3L471->SetBinContent(31,12512.7); h_SL3L471->SetBinContent(32,13007.72); h_SL3L471->SetBinContent(33,16025.56); h_SL3L471->SetBinContent(34,27888.18); h_SL3L471->SetBinContent(35,58430.39); h_SL3L471->SetBinContent(36,66976.96); h_SL3L471->SetBinContent(37,70931.16); h_SL3L471->SetBinContent(38,75976.8); h_SL3L471->SetBinContent(39,75368.46); h_SL3L471->SetBinContent(40,62366.7); h_SL3L471->SetBinContent(41,27446.84); h_SL3L471->SetBinContent(42,15011.67); h_SL3L471->SetBinContent(43,11916.29); h_SL3L471->SetBinContent(44,10806.97); h_SL3L471->SetBinContent(45,10413.34); h_SL3L471->SetBinContent(46,10365.62); h_SL3L471->SetBinContent(47,9882.531); h_SL3L471->SetBinContent(48,9757.284); h_SL3L471->SetBinContent(49,9351.725); h_SL3L471->SetBinContent(50,9423.294); h_SL3L471->SetBinContent(51,9059.483); h_SL3L471->SetBinContent(52,8665.853); h_SL3L471->SetBinContent(53,8779.171); h_SL3L471->SetBinContent(54,8158.903); h_SL3L471->SetBinContent(55,8641.996); h_SL3L471->SetBinContent(56,8087.333); h_SL3L471->SetBinContent(57,8045.585); h_SL3L471->SetBinContent(58,7830.877); h_SL3L471->SetBinContent(59,6310.029); h_SL3L471->SetMaximum(89540.68); h_SL3L471->SetEntries(60); h_SL3L471->SetDirectory(0); h_SL3L471->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L471->SetLineColor(ci); h_SL3L471->SetLineWidth(2); h_SL3L471->GetXaxis()->SetTitle("Cell"); h_SL3L471->GetXaxis()->SetLabelFont(42); h_SL3L471->GetXaxis()->SetLabelSize(0.035); h_SL3L471->GetXaxis()->SetTitleSize(0.035); h_SL3L471->GetXaxis()->SetTitleFont(42); h_SL3L471->GetYaxis()->SetTitle("Hz"); h_SL3L471->GetYaxis()->SetLabelFont(42); h_SL3L471->GetYaxis()->SetLabelSize(0.035); h_SL3L471->GetYaxis()->SetTitleSize(0.035); h_SL3L471->GetYaxis()->SetTitleOffset(1.45); h_SL3L471->GetYaxis()->SetTitleFont(42); h_SL3L471->GetZaxis()->SetLabelFont(42); h_SL3L471->GetZaxis()->SetLabelSize(0.035); h_SL3L471->GetZaxis()->SetTitleSize(0.035); h_SL3L471->GetZaxis()->SetTitleFont(42); h_SL3L471->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_SL3L1","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_SL3L2","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_SL3L3","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_SL3L4","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("SL3, run 6888"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }