void RatesPerCell_Removing_noisy_cells_run_5627_SL2() { //=========Macro generated from canvas: c/c //========= (Mon Jan 14 19:41:20 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-9657.557,67.5,86918.01); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 5627",60,0,60); h_SL2L164->SetBinContent(1,744.3906); h_SL2L164->SetBinContent(2,944.8035); h_SL2L164->SetBinContent(3,1109.428); h_SL2L164->SetBinContent(4,1116.586); h_SL2L164->SetBinContent(5,1231.108); h_SL2L164->SetBinContent(6,1109.428); h_SL2L164->SetBinContent(7,1166.689); h_SL2L164->SetBinContent(8,1302.684); h_SL2L164->SetBinContent(9,1531.727); h_SL2L164->SetBinContent(10,1739.297); h_SL2L164->SetBinContent(11,1903.922); h_SL2L164->SetBinContent(12,1825.188); h_SL2L164->SetBinContent(13,1975.498); h_SL2L164->SetBinContent(14,1982.656); h_SL2L164->SetBinContent(15,2362.009); h_SL2L164->SetBinContent(16,2440.742); h_SL2L164->SetBinContent(17,2927.459); h_SL2L164->SetBinContent(18,2719.889); h_SL2L164->SetBinContent(19,3106.399); h_SL2L164->SetBinContent(20,3228.078); h_SL2L164->SetBinContent(21,3657.534); h_SL2L164->SetBinContent(22,3578.801); h_SL2L164->SetBinContent(23,3972.469); h_SL2L164->SetBinContent(24,4738.333); h_SL2L164->SetBinContent(25,9956.225); h_SL2L164->SetBinContent(26,32445.41); h_SL2L164->SetBinContent(27,48979.47); h_SL2L164->SetBinContent(28,57718.9); h_SL2L164->SetBinContent(29,57010.3); h_SL2L164->SetBinContent(30,52808.79); h_SL2L164->SetBinContent(31,44856.69); h_SL2L164->SetBinContent(32,42566.26); h_SL2L164->SetBinContent(33,40633.71); h_SL2L164->SetBinContent(34,21701.85); h_SL2L164->SetBinContent(36,4273.088); h_SL2L164->SetBinContent(37,3049.138); h_SL2L164->SetBinContent(38,2841.568); h_SL2L164->SetBinContent(39,2369.166); h_SL2L164->SetBinContent(40,1603.303); h_SL2L164->SetBinContent(41,1653.406); h_SL2L164->SetBinContent(42,1796.558); h_SL2L164->SetBinContent(43,2011.286); h_SL2L164->SetBinContent(44,1588.988); h_SL2L164->SetBinContent(45,1395.732); h_SL2L164->SetBinContent(46,1316.999); h_SL2L164->SetBinContent(47,1274.053); h_SL2L164->SetBinContent(48,1023.537); h_SL2L164->SetBinContent(49,1073.64); h_SL2L164->SetBinContent(50,980.5914); h_SL2L164->SetBinContent(51,1259.738); h_SL2L164->SetBinContent(52,1016.379); h_SL2L164->SetBinContent(53,916.173); h_SL2L164->SetBinContent(54,930.4882); h_SL2L164->SetBinContent(55,858.9122); h_SL2L164->SetBinContent(56,758.7058); h_SL2L164->SetBinContent(57,787.3362); h_SL2L164->SetMaximum(77260.45); 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,780.1786); h_SL2L265->SetBinContent(2,758.7058); h_SL2L265->SetBinContent(3,973.4338); h_SL2L265->SetBinContent(4,1037.852); h_SL2L265->SetBinContent(5,1152.374); h_SL2L265->SetBinContent(6,1109.428); h_SL2L265->SetBinContent(7,1109.428); h_SL2L265->SetBinContent(8,1245.423); h_SL2L265->SetBinContent(9,1259.738); h_SL2L265->SetBinContent(10,1445.836); h_SL2L265->SetBinContent(11,1646.248); h_SL2L265->SetBinContent(12,1753.612); h_SL2L265->SetBinContent(13,1853.819); h_SL2L265->SetBinContent(14,1710.667); h_SL2L265->SetBinContent(15,2104.335); h_SL2L265->SetBinContent(16,2283.275); h_SL2L265->SetBinContent(17,2483.688); h_SL2L265->SetBinContent(18,2591.052); h_SL2L265->SetBinContent(19,2841.568); h_SL2L265->SetBinContent(20,3220.921); h_SL2L265->SetBinContent(21,3342.6); h_SL2L265->SetBinContent(22,3457.122); h_SL2L265->SetBinContent(23,3772.056); h_SL2L265->SetBinContent(24,3843.632); h_SL2L265->SetBinContent(25,5124.843); h_SL2L265->SetBinContent(26,20785.68); h_SL2L265->SetBinContent(27,41857.66); h_SL2L265->SetBinContent(28,54698.39); h_SL2L265->SetBinContent(29,58420.35); h_SL2L265->SetBinContent(30,54555.24); h_SL2L265->SetBinContent(31,47197.23); h_SL2L265->SetBinContent(32,43754.42); h_SL2L265->SetBinContent(33,41914.92); h_SL2L265->SetBinContent(34,33476.11); h_SL2L265->SetBinContent(35,11953.2); h_SL2L265->SetBinContent(36,4795.593); h_SL2L265->SetBinContent(37,3313.97); h_SL2L265->SetBinContent(38,2870.198); h_SL2L265->SetBinContent(39,2633.998); h_SL2L265->SetBinContent(40,2047.074); h_SL2L265->SetBinContent(41,1896.765); h_SL2L265->SetBinContent(42,1767.928); h_SL2L265->SetBinContent(43,1603.303); h_SL2L265->SetBinContent(44,1810.873); h_SL2L265->SetBinContent(45,1474.466); h_SL2L265->SetBinContent(46,1352.787); h_SL2L265->SetBinContent(47,1202.477); h_SL2L265->SetBinContent(48,1152.374); h_SL2L265->SetBinContent(49,1030.695); h_SL2L265->SetBinContent(50,1045.01); h_SL2L265->SetBinContent(51,959.1187); h_SL2L265->SetBinContent(52,1059.325); h_SL2L265->SetBinContent(53,823.1242); h_SL2L265->SetBinContent(54,973.4338); h_SL2L265->SetBinContent(55,837.4394); h_SL2L265->SetBinContent(56,773.021); h_SL2L265->SetBinContent(57,744.3906); h_SL2L265->SetMaximum(67183.4); 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,730.0754); h_SL2L366->SetBinContent(2,858.9122); h_SL2L366->SetBinContent(3,1059.325); h_SL2L366->SetBinContent(4,1080.798); h_SL2L366->SetBinContent(5,1102.271); h_SL2L366->SetBinContent(6,1109.428); h_SL2L366->SetBinContent(7,1109.428); h_SL2L366->SetBinContent(8,1195.319); h_SL2L366->SetBinContent(9,1481.624); h_SL2L366->SetBinContent(10,1567.515); h_SL2L366->SetBinContent(11,1825.188); h_SL2L366->SetBinContent(12,1653.406); h_SL2L366->SetBinContent(13,1825.188); h_SL2L366->SetBinContent(14,1896.765); h_SL2L366->SetBinContent(15,2111.492); h_SL2L366->SetBinContent(16,2297.59); h_SL2L366->SetBinContent(17,2691.258); h_SL2L366->SetBinContent(18,2684.101); h_SL2L366->SetBinContent(19,2991.878); h_SL2L366->SetBinContent(20,3177.975); h_SL2L366->SetBinContent(21,3442.806); h_SL2L366->SetBinContent(22,3564.486); h_SL2L366->SetBinContent(23,3793.529); h_SL2L366->SetBinContent(24,4394.768); h_SL2L366->SetBinContent(25,9727.181); h_SL2L366->SetBinContent(26,32516.98); h_SL2L366->SetBinContent(27,48363.91); h_SL2L366->SetBinContent(28,57633.01); h_SL2L366->SetBinContent(29,56301.7); h_SL2L366->SetBinContent(30,52472.38); h_SL2L366->SetBinContent(31,44577.54); h_SL2L366->SetBinContent(32,42695.09); h_SL2L366->SetBinContent(33,40533.5); h_SL2L366->SetBinContent(34,21687.53); h_SL2L366->SetBinContent(35,6513.417); h_SL2L366->SetBinContent(36,4008.257); h_SL2L366->SetBinContent(37,2905.986); h_SL2L366->SetBinContent(38,2598.209); h_SL2L366->SetBinContent(39,2140.123); h_SL2L366->SetBinContent(40,1911.08); h_SL2L366->SetBinContent(41,1660.564); h_SL2L366->SetBinContent(42,1696.352); h_SL2L366->SetBinContent(43,1810.873); h_SL2L366->SetBinContent(44,1402.89); h_SL2L366->SetBinContent(45,1338.472); h_SL2L366->SetBinContent(46,1274.053); h_SL2L366->SetBinContent(47,1138.059); h_SL2L366->SetBinContent(48,1009.222); h_SL2L366->SetBinContent(49,973.4338); h_SL2L366->SetBinContent(50,966.2762); h_SL2L366->SetBinContent(51,1052.167); h_SL2L366->SetBinContent(52,987.749); h_SL2L366->SetBinContent(53,894.7003); h_SL2L366->SetBinContent(54,959.1187); h_SL2L366->SetBinContent(55,773.021); h_SL2L366->SetBinContent(56,665.657); h_SL2L366->SetBinContent(57,758.7058); h_SL2L366->SetMaximum(67183.4); 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,801.6514); h_SL2L467->SetBinContent(3,951.9611); h_SL2L467->SetBinContent(4,980.5914); h_SL2L467->SetBinContent(5,1030.695); h_SL2L467->SetBinContent(6,1087.955); h_SL2L467->SetBinContent(7,1059.325); h_SL2L467->SetBinContent(8,1188.162); h_SL2L467->SetBinContent(9,1410.048); h_SL2L467->SetBinContent(10,1467.308); h_SL2L467->SetBinContent(11,1603.303); h_SL2L467->SetBinContent(12,1739.297); h_SL2L467->SetBinContent(13,1617.618); h_SL2L467->SetBinContent(14,1918.237); h_SL2L467->SetBinContent(15,2054.232); h_SL2L467->SetBinContent(16,2125.808); h_SL2L467->SetBinContent(17,2512.318); h_SL2L467->SetBinContent(18,2569.579); h_SL2L467->SetBinContent(19,2920.302); h_SL2L467->SetBinContent(20,3127.872); h_SL2L467->SetBinContent(21,3135.03); h_SL2L467->SetBinContent(22,3299.655); h_SL2L467->SetBinContent(23,3607.431); h_SL2L467->SetBinContent(24,3872.263); h_SL2L467->SetBinContent(25,4910.115); h_SL2L467->SetBinContent(26,20821.46); h_SL2L467->SetBinContent(27,41607.14); h_SL2L467->SetBinContent(28,54319.04); h_SL2L467->SetBinContent(29,58291.51); h_SL2L467->SetBinContent(30,55163.64); h_SL2L467->SetBinContent(31,47032.6); h_SL2L467->SetBinContent(32,43554.01); h_SL2L467->SetBinContent(33,41786.08); h_SL2L467->SetBinContent(34,33526.21); h_SL2L467->SetBinContent(35,11881.62); h_SL2L467->SetBinContent(36,4673.914); h_SL2L467->SetBinContent(37,3206.606); h_SL2L467->SetBinContent(38,2612.525); h_SL2L467->SetBinContent(39,2626.84); h_SL2L467->SetBinContent(40,1875.292); h_SL2L467->SetBinContent(41,1875.292); h_SL2L467->SetBinContent(42,1732.14); h_SL2L467->SetBinContent(43,1445.836); h_SL2L467->SetBinContent(44,1581.83); h_SL2L467->SetBinContent(45,1309.841); h_SL2L467->SetBinContent(46,1231.108); h_SL2L467->SetBinContent(47,1102.271); h_SL2L467->SetBinContent(48,994.9067); h_SL2L467->SetBinContent(49,1016.379); h_SL2L467->SetBinContent(50,1002.064); h_SL2L467->SetBinContent(51,980.5914); h_SL2L467->SetBinContent(52,1023.537); h_SL2L467->SetBinContent(53,880.385); h_SL2L467->SetBinContent(54,844.597); h_SL2L467->SetBinContent(55,794.4938); h_SL2L467->SetBinContent(56,722.9178); h_SL2L467->SetBinContent(57,730.0754); h_SL2L467->SetMaximum(67183.4); 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 5627"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }