void RatesPerCell_Removing_noisy_cells_run_6929_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:07:35 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13888.98,67.5,125000.8); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6929",60,0,60); h_SL2L164->SetBinContent(1,17202.21); h_SL2L164->SetBinContent(2,38778.38); h_SL2L164->SetBinContent(3,26977.94); h_SL2L164->SetBinContent(4,28886.72); h_SL2L164->SetBinContent(5,28052.12); h_SL2L164->SetBinContent(6,26962.49); h_SL2L164->SetBinContent(7,25463.29); h_SL2L164->SetBinContent(8,25440.1); h_SL2L164->SetBinContent(9,28090.76); h_SL2L164->SetBinContent(10,28446.24); h_SL2L164->SetBinContent(11,30030.45); h_SL2L164->SetBinContent(12,27317.97); h_SL2L164->SetBinContent(13,28546.7); h_SL2L164->SetBinContent(14,28971.73); h_SL2L164->SetBinContent(15,28059.84); h_SL2L164->SetBinContent(16,26908.39); h_SL2L164->SetBinContent(17,26769.29); h_SL2L164->SetBinContent(18,25849.68); h_SL2L164->SetBinContent(19,27866.65); h_SL2L164->SetBinContent(20,25818.77); h_SL2L164->SetBinContent(21,25679.66); h_SL2L164->SetBinContent(22,24829.6); h_SL2L164->SetBinContent(23,23917.71); h_SL2L164->SetBinContent(24,20927.03); h_SL2L164->SetBinContent(25,20347.44); h_SL2L164->SetBinContent(26,20308.8); h_SL2L164->SetBinContent(27,19559.2); h_SL2L164->SetBinContent(28,19968.78); h_SL2L164->SetBinContent(29,20084.7); h_SL2L164->SetBinContent(30,18577.77); h_SL2L164->SetBinContent(31,17719.97); h_SL2L164->SetBinContent(32,17944.08); h_SL2L164->SetBinContent(33,18570.04); h_SL2L164->SetBinContent(34,18384.57); h_SL2L164->SetBinContent(36,19311.91); h_SL2L164->SetBinContent(37,21475.71); h_SL2L164->SetBinContent(38,19806.49); h_SL2L164->SetBinContent(39,20803.39); h_SL2L164->SetBinContent(40,31954.68); h_SL2L164->SetBinContent(41,84017.25); h_SL2L164->SetBinContent(42,26243.8); h_SL2L164->SetBinContent(43,27920.74); h_SL2L164->SetBinContent(44,27232.96); h_SL2L164->SetBinContent(45,17109.47); h_SL2L164->SetBinContent(46,16019.84); h_SL2L164->SetBinContent(47,16846.72); h_SL2L164->SetBinContent(48,16630.35); h_SL2L164->SetBinContent(49,16846.72); h_SL2L164->SetBinContent(50,17047.65); h_SL2L164->SetBinContent(51,18090.91); h_SL2L164->SetBinContent(52,18546.85); h_SL2L164->SetBinContent(53,19837.41); h_SL2L164->SetBinContent(54,18886.88); h_SL2L164->SetBinContent(55,18585.49); h_SL2L164->SetBinContent(56,15525.26); h_SL2L164->SetBinContent(57,11367.68); h_SL2L164->SetMaximum(111111.8); h_SL2L164->SetEntries(60); h_SL2L164->SetDirectory(0); h_SL2L164->SetStats(0); h_SL2L164->SetLineWidth(2); h_SL2L164->GetXaxis()->SetTitle("Cell"); h_SL2L164->GetXaxis()->SetLabelFont(42); h_SL2L164->GetXaxis()->SetLabelSize(0.035); h_SL2L164->GetXaxis()->SetTitleSize(0.035); h_SL2L164->GetXaxis()->SetTitleFont(42); h_SL2L164->GetYaxis()->SetTitle("Hz"); h_SL2L164->GetYaxis()->SetLabelFont(42); h_SL2L164->GetYaxis()->SetLabelSize(0.035); h_SL2L164->GetYaxis()->SetTitleSize(0.035); h_SL2L164->GetYaxis()->SetTitleOffset(1.45); h_SL2L164->GetYaxis()->SetTitleFont(42); h_SL2L164->GetZaxis()->SetLabelFont(42); h_SL2L164->GetZaxis()->SetLabelSize(0.035); h_SL2L164->GetZaxis()->SetTitleSize(0.035); h_SL2L164->GetZaxis()->SetTitleFont(42); h_SL2L164->Draw(""); TH1D *h_SL2L265 = new TH1D("h_SL2L265","",60,0,60); h_SL2L265->SetBinContent(1,12596.4); h_SL2L265->SetBinContent(2,21282.51); h_SL2L265->SetBinContent(3,23747.7); h_SL2L265->SetBinContent(4,29041.28); h_SL2L265->SetBinContent(5,28461.69); h_SL2L265->SetBinContent(6,26668.83); h_SL2L265->SetBinContent(7,25749.21); h_SL2L265->SetBinContent(8,23801.79); h_SL2L265->SetBinContent(9,26143.34); h_SL2L265->SetBinContent(10,27603.9); h_SL2L265->SetBinContent(11,27974.84); h_SL2L265->SetBinContent(12,28214.4); h_SL2L265->SetBinContent(13,27928.47); h_SL2L265->SetBinContent(14,27395.25); h_SL2L265->SetBinContent(15,26738.38); h_SL2L265->SetBinContent(16,26862.03); h_SL2L265->SetBinContent(17,25872.86); h_SL2L265->SetBinContent(18,26522); h_SL2L265->SetBinContent(19,25501.92); h_SL2L265->SetBinContent(20,26607.01); h_SL2L265->SetBinContent(21,25069.16); h_SL2L265->SetBinContent(22,23639.51); h_SL2L265->SetBinContent(23,22990.37); h_SL2L265->SetBinContent(24,21661.18); h_SL2L265->SetBinContent(25,20625.65); h_SL2L265->SetBinContent(26,19798.77); h_SL2L265->SetBinContent(27,18778.69); h_SL2L265->SetBinContent(28,19698.3); h_SL2L265->SetBinContent(29,19219.18); h_SL2L265->SetBinContent(30,18910.06); h_SL2L265->SetBinContent(31,17410.86); h_SL2L265->SetBinContent(32,17209.94); h_SL2L265->SetBinContent(33,17372.22); h_SL2L265->SetBinContent(34,17835.89); h_SL2L265->SetBinContent(35,16962.64); h_SL2L265->SetBinContent(36,16143.49); h_SL2L265->SetBinContent(37,18353.66); h_SL2L265->SetBinContent(38,18052.27); h_SL2L265->SetBinContent(39,19234.63); h_SL2L265->SetBinContent(40,19319.64); h_SL2L265->SetBinContent(41,18044.54); h_SL2L265->SetBinContent(42,18152.73); h_SL2L265->SetBinContent(43,17410.86); h_SL2L265->SetBinContent(44,16993.55); h_SL2L265->SetBinContent(45,16529.88); h_SL2L265->SetBinContent(46,16336.69); h_SL2L265->SetBinContent(47,16097.12); h_SL2L265->SetBinContent(48,16228.5); h_SL2L265->SetBinContent(49,16390.78); h_SL2L265->SetBinContent(50,16630.35); h_SL2L265->SetBinContent(51,16468.06); h_SL2L265->SetBinContent(52,18013.63); h_SL2L265->SetBinContent(53,17851.35); h_SL2L265->SetBinContent(54,18732.32); h_SL2L265->SetBinContent(55,18740.05); h_SL2L265->SetBinContent(56,15625.72); h_SL2L265->SetBinContent(57,14389.27); h_SL2L265->SetMaximum(96619.84); h_SL2L265->SetEntries(60); h_SL2L265->SetDirectory(0); h_SL2L265->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL2L265->SetLineColor(ci); h_SL2L265->SetLineWidth(2); h_SL2L265->GetXaxis()->SetTitle("Cell"); h_SL2L265->GetXaxis()->SetLabelFont(42); h_SL2L265->GetXaxis()->SetLabelSize(0.035); h_SL2L265->GetXaxis()->SetTitleSize(0.035); h_SL2L265->GetXaxis()->SetTitleFont(42); h_SL2L265->GetYaxis()->SetTitle("Hz"); h_SL2L265->GetYaxis()->SetLabelFont(42); h_SL2L265->GetYaxis()->SetLabelSize(0.035); h_SL2L265->GetYaxis()->SetTitleSize(0.035); h_SL2L265->GetYaxis()->SetTitleOffset(1.45); h_SL2L265->GetYaxis()->SetTitleFont(42); h_SL2L265->GetZaxis()->SetLabelFont(42); h_SL2L265->GetZaxis()->SetLabelSize(0.035); h_SL2L265->GetZaxis()->SetTitleSize(0.035); h_SL2L265->GetZaxis()->SetTitleFont(42); h_SL2L265->Draw("same"); TH1D *h_SL2L366 = new TH1D("h_SL2L366","",60,0,60); h_SL2L366->SetBinContent(1,15324.34); h_SL2L366->SetBinContent(2,20679.74); h_SL2L366->SetBinContent(3,26807.93); h_SL2L366->SetBinContent(4,27712.09); h_SL2L366->SetBinContent(5,26931.58); h_SL2L366->SetBinContent(6,25223.72); h_SL2L366->SetBinContent(7,24072.27); h_SL2L366->SetBinContent(8,23994.99); h_SL2L366->SetBinContent(9,26885.21); h_SL2L366->SetBinContent(10,26321.08); h_SL2L366->SetBinContent(11,27951.65); h_SL2L366->SetBinContent(12,27155.69); h_SL2L366->SetBinContent(13,27472.53); h_SL2L366->SetBinContent(14,26645.65); h_SL2L366->SetBinContent(15,27155.69); h_SL2L366->SetBinContent(16,25501.92); h_SL2L366->SetBinContent(17,25463.29); h_SL2L366->SetBinContent(18,25787.85); h_SL2L366->SetBinContent(19,25780.13); h_SL2L366->SetBinContent(20,25277.82); h_SL2L366->SetBinContent(21,23716.79); h_SL2L366->SetBinContent(22,22673.53); h_SL2L366->SetBinContent(23,21815.74); h_SL2L366->SetBinContent(24,20842.03); h_SL2L366->SetBinContent(25,18902.34); h_SL2L366->SetBinContent(26,19165.08); h_SL2L366->SetBinContent(27,37796.94); h_SL2L366->SetBinContent(28,18322.75); h_SL2L366->SetBinContent(29,18732.32); h_SL2L366->SetBinContent(30,18454.12); h_SL2L366->SetBinContent(31,17325.85); h_SL2L366->SetBinContent(32,17557.69); h_SL2L366->SetBinContent(33,17387.68); h_SL2L366->SetBinContent(34,16630.35); h_SL2L366->SetBinContent(35,15950.29); h_SL2L366->SetBinContent(36,17658.15); h_SL2L366->SetBinContent(37,17681.33); h_SL2L366->SetBinContent(38,18230.01); h_SL2L366->SetBinContent(39,17302.67); h_SL2L366->SetBinContent(40,17936.35); h_SL2L366->SetBinContent(41,16522.16); h_SL2L366->SetBinContent(42,16931.73); h_SL2L366->SetBinContent(43,16097.12); h_SL2L366->SetBinContent(44,16336.69); h_SL2L366->SetBinContent(45,16498.97); h_SL2L366->SetBinContent(46,15703); h_SL2L366->SetBinContent(47,16112.58); h_SL2L366->SetBinContent(48,15393.89); h_SL2L366->SetBinContent(49,16228.5); h_SL2L366->SetBinContent(50,15911.66); h_SL2L366->SetBinContent(51,16962.64); h_SL2L366->SetBinContent(52,17264.03); h_SL2L366->SetBinContent(53,18469.57); h_SL2L366->SetBinContent(54,18624.13); h_SL2L366->SetBinContent(55,18369.11); h_SL2L366->SetBinContent(56,14427.91); h_SL2L366->SetBinContent(57,12163.64); h_SL2L366->SetMaximum(96619.84); h_SL2L366->SetEntries(60); h_SL2L366->SetDirectory(0); h_SL2L366->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L366->SetLineColor(ci); h_SL2L366->SetLineWidth(2); h_SL2L366->GetXaxis()->SetTitle("Cell"); h_SL2L366->GetXaxis()->SetLabelFont(42); h_SL2L366->GetXaxis()->SetLabelSize(0.035); h_SL2L366->GetXaxis()->SetTitleSize(0.035); h_SL2L366->GetXaxis()->SetTitleFont(42); h_SL2L366->GetYaxis()->SetTitle("Hz"); h_SL2L366->GetYaxis()->SetLabelFont(42); h_SL2L366->GetYaxis()->SetLabelSize(0.035); h_SL2L366->GetYaxis()->SetTitleSize(0.035); h_SL2L366->GetYaxis()->SetTitleOffset(1.45); h_SL2L366->GetYaxis()->SetTitleFont(42); h_SL2L366->GetZaxis()->SetLabelFont(42); h_SL2L366->GetZaxis()->SetLabelSize(0.035); h_SL2L366->GetZaxis()->SetTitleSize(0.035); h_SL2L366->GetZaxis()->SetTitleFont(42); h_SL2L366->Draw("same"); TH1D *h_SL2L467 = new TH1D("h_SL2L467","",60,0,60); h_SL2L467->SetBinContent(2,19296.46); h_SL2L467->SetBinContent(3,23415.4); h_SL2L467->SetBinContent(4,26769.29); h_SL2L467->SetBinContent(5,27032.04); h_SL2L467->SetBinContent(6,25764.67); h_SL2L467->SetBinContent(7,25022.8); h_SL2L467->SetBinContent(8,22348.96); h_SL2L467->SetBinContent(9,24868.24); h_SL2L467->SetBinContent(10,25478.74); h_SL2L467->SetBinContent(11,26800.2); h_SL2L467->SetBinContent(12,26011.96); h_SL2L467->SetBinContent(13,26614.73); h_SL2L467->SetBinContent(14,26096.97); h_SL2L467->SetBinContent(15,26970.22); h_SL2L467->SetBinContent(16,25169.62); h_SL2L467->SetBinContent(17,24914.61); h_SL2L467->SetBinContent(18,25123.26); h_SL2L467->SetBinContent(19,24149.55); h_SL2L467->SetBinContent(20,24450.94); h_SL2L467->SetBinContent(21,23678.15); h_SL2L467->SetBinContent(22,22982.64); h_SL2L467->SetBinContent(23,22016.66); h_SL2L467->SetBinContent(24,21220.69); h_SL2L467->SetBinContent(25,19296.46); h_SL2L467->SetBinContent(26,18863.7); h_SL2L467->SetBinContent(27,19381.46); h_SL2L467->SetBinContent(28,18693.68); h_SL2L467->SetBinContent(29,17828.16); h_SL2L467->SetBinContent(30,18276.38); h_SL2L467->SetBinContent(31,16978.1); h_SL2L467->SetBinContent(32,16699.9); h_SL2L467->SetBinContent(33,16823.54); h_SL2L467->SetBinContent(34,16707.62); h_SL2L467->SetBinContent(35,16321.23); h_SL2L467->SetBinContent(36,15656.64); h_SL2L467->SetBinContent(37,17511.32); h_SL2L467->SetBinContent(38,17341.31); h_SL2L467->SetBinContent(39,16730.81); h_SL2L467->SetBinContent(40,16128.04); h_SL2L467->SetBinContent(41,15818.92); h_SL2L467->SetBinContent(42,16553.07); h_SL2L467->SetBinContent(43,16885.37); h_SL2L467->SetBinContent(44,16854.45); h_SL2L467->SetBinContent(45,16359.87); h_SL2L467->SetBinContent(46,16097.12); h_SL2L467->SetBinContent(47,15664.36); h_SL2L467->SetBinContent(48,15216.15); h_SL2L467->SetBinContent(49,15169.78); h_SL2L467->SetBinContent(50,16050.76); h_SL2L467->SetBinContent(51,15873.02); h_SL2L467->SetBinContent(52,17310.4); h_SL2L467->SetBinContent(53,18090.91); h_SL2L467->SetBinContent(54,19018.25); h_SL2L467->SetBinContent(55,17719.97); h_SL2L467->SetBinContent(56,16243.95); h_SL2L467->SetBinContent(57,13114.17); h_SL2L467->SetMaximum(96619.84); h_SL2L467->SetEntries(60); h_SL2L467->SetDirectory(0); h_SL2L467->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L467->SetLineColor(ci); h_SL2L467->SetLineWidth(2); h_SL2L467->GetXaxis()->SetTitle("Cell"); h_SL2L467->GetXaxis()->SetLabelFont(42); h_SL2L467->GetXaxis()->SetLabelSize(0.035); h_SL2L467->GetXaxis()->SetTitleSize(0.035); h_SL2L467->GetXaxis()->SetTitleFont(42); h_SL2L467->GetYaxis()->SetTitle("Hz"); h_SL2L467->GetYaxis()->SetLabelFont(42); h_SL2L467->GetYaxis()->SetLabelSize(0.035); h_SL2L467->GetYaxis()->SetTitleSize(0.035); h_SL2L467->GetYaxis()->SetTitleOffset(1.45); h_SL2L467->GetYaxis()->SetTitleFont(42); h_SL2L467->GetZaxis()->SetLabelFont(42); h_SL2L467->GetZaxis()->SetLabelSize(0.035); h_SL2L467->GetZaxis()->SetTitleSize(0.035); h_SL2L467->GetZaxis()->SetTitleFont(42); h_SL2L467->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_SL2L1","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_SL2L2","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_SL2L3","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_SL2L4","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("SL2, run 6929"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }