void RatesPerCell_Removing_noisy_cells_run_4999_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 14:54:39 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11531.91,67.5,103787.2); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 4999",60,0,60); h_SL3L168->SetBinContent(1,150.5245); h_SL3L168->SetBinContent(2,169.3401); h_SL3L168->SetBinContent(4,216.379); h_SL3L168->SetBinContent(5,169.3401); h_SL3L168->SetBinContent(6,206.9712); h_SL3L168->SetBinContent(7,230.4906); h_SL3L168->SetBinContent(8,183.4517); h_SL3L168->SetBinContent(9,206.9712); h_SL3L168->SetBinContent(10,230.4906); h_SL3L168->SetBinContent(11,183.4517); h_SL3L168->SetBinContent(12,272.8257); h_SL3L168->SetBinContent(13,239.8984); h_SL3L168->SetBinContent(14,291.6412); h_SL3L168->SetBinContent(15,211.6751); h_SL3L168->SetBinContent(16,390.4229); h_SL3L168->SetBinContent(17,423.3501); h_SL3L168->SetBinContent(18,423.3501); h_SL3L168->SetBinContent(19,606.8019); h_SL3L168->SetBinContent(20,475.0929); h_SL3L168->SetBinContent(21,705.5836); h_SL3L168->SetBinContent(22,794.9575); h_SL3L168->SetBinContent(23,926.6664); h_SL3L168->SetBinContent(24,973.7053); h_SL3L168->SetBinContent(25,1067.783); h_SL3L168->SetBinContent(26,1321.793); h_SL3L168->SetBinContent(27,1486.429); h_SL3L168->SetBinContent(28,1886.26); h_SL3L168->SetBinContent(29,2224.94); h_SL3L168->SetBinContent(30,2742.368); h_SL3L168->SetBinContent(31,2991.674); h_SL3L168->SetBinContent(32,5522.367); h_SL3L168->SetBinContent(33,12343.01); h_SL3L168->SetBinContent(34,64273.96); h_SL3L168->SetBinContent(35,66757.61); h_SL3L168->SetBinContent(36,63822.38); h_SL3L168->SetBinContent(37,63243.8); h_SL3L168->SetBinContent(38,58379.98); h_SL3L168->SetBinContent(39,46366.25); h_SL3L168->SetBinContent(40,26238.3); h_SL3L168->SetBinContent(41,6289.102); h_SL3L168->SetBinContent(42,3335.058); h_SL3L168->SetBinContent(43,2888.189); h_SL3L168->SetBinContent(44,2455.431); h_SL3L168->SetBinContent(45,2050.896); h_SL3L168->SetBinContent(46,1928.595); h_SL3L168->SetBinContent(47,1533.468); h_SL3L168->SetBinContent(48,1632.25); h_SL3L168->SetBinContent(49,12084.29); h_SL3L168->SetBinContent(50,1227.715); h_SL3L168->SetBinContent(51,1105.414); h_SL3L168->SetBinContent(52,1105.414); h_SL3L168->SetBinContent(53,870.2197); h_SL3L168->SetBinContent(54,870.2197); h_SL3L168->SetBinContent(55,762.0302); h_SL3L168->SetBinContent(56,856.108); h_SL3L168->SetBinContent(57,700.8796); h_SL3L168->SetBinContent(58,672.6563); h_SL3L168->SetBinContent(59,733.8069); h_SL3L168->SetMaximum(92255.3); 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,117.5973); h_SL3L269->SetBinContent(2,136.4128); h_SL3L269->SetBinContent(4,202.2673); h_SL3L269->SetBinContent(5,197.5634); h_SL3L269->SetBinContent(6,202.2673); h_SL3L269->SetBinContent(7,206.9712); h_SL3L269->SetBinContent(8,169.3401); h_SL3L269->SetBinContent(9,249.3062); h_SL3L269->SetBinContent(10,192.8595); h_SL3L269->SetBinContent(11,254.0101); h_SL3L269->SetBinContent(12,159.9323); h_SL3L269->SetBinContent(13,291.6412); h_SL3L269->SetBinContent(14,258.714); h_SL3L269->SetBinContent(15,301.049); h_SL3L269->SetBinContent(16,301.049); h_SL3L269->SetBinContent(17,343.384); h_SL3L269->SetBinContent(18,362.1996); h_SL3L269->SetBinContent(19,465.6852); h_SL3L269->SetBinContent(20,597.394); h_SL3L269->SetBinContent(21,602.098); h_SL3L269->SetBinContent(22,686.768); h_SL3L269->SetBinContent(23,832.5886); h_SL3L269->SetBinContent(24,865.5158); h_SL3L269->SetBinContent(25,959.5936); h_SL3L269->SetBinContent(26,1354.72); h_SL3L269->SetBinContent(27,1458.206); h_SL3L269->SetBinContent(28,1505.245); h_SL3L269->SetBinContent(29,2060.304); h_SL3L269->SetBinContent(30,2478.95); h_SL3L269->SetBinContent(31,2525.989); h_SL3L269->SetBinContent(32,3565.549); h_SL3L269->SetBinContent(33,8212.992); h_SL3L269->SetBinContent(34,36229.36); h_SL3L269->SetBinContent(35,69001.37); h_SL3L269->SetBinContent(36,64349.22); h_SL3L269->SetBinContent(37,63949.39); h_SL3L269->SetBinContent(38,60793.08); h_SL3L269->SetBinContent(39,52584.79); h_SL3L269->SetBinContent(40,39065.81); h_SL3L269->SetBinContent(41,11802.06); h_SL3L269->SetBinContent(42,4727.41); h_SL3L269->SetBinContent(43,2859.965); h_SL3L269->SetBinContent(44,2685.921); h_SL3L269->SetBinContent(45,2050.896); h_SL3L269->SetBinContent(46,1848.629); h_SL3L269->SetBinContent(47,1589.915); h_SL3L269->SetBinContent(48,1519.357); h_SL3L269->SetBinContent(49,1368.832); h_SL3L269->SetBinContent(50,1232.419); h_SL3L269->SetBinContent(51,1081.895); h_SL3L269->SetBinContent(52,1063.079); h_SL3L269->SetBinContent(53,969.0014); h_SL3L269->SetBinContent(54,846.7003); h_SL3L269->SetBinContent(55,841.9963); h_SL3L269->SetBinContent(56,776.1419); h_SL3L269->SetBinContent(57,837.2925); h_SL3L269->SetBinContent(58,672.6563); h_SL3L269->SetBinContent(59,616.2097); h_SL3L269->SetMaximum(80222.5); 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,136.4128); h_SL3L370->SetBinContent(2,197.5634); h_SL3L370->SetBinContent(3,159.9323); h_SL3L370->SetBinContent(4,202.2673); h_SL3L370->SetBinContent(5,174.0439); h_SL3L370->SetBinContent(6,169.3401); h_SL3L370->SetBinContent(7,192.8595); h_SL3L370->SetBinContent(8,211.6751); h_SL3L370->SetBinContent(9,202.2673); h_SL3L370->SetBinContent(10,197.5634); h_SL3L370->SetBinContent(11,206.9712); h_SL3L370->SetBinContent(12,263.4178); h_SL3L370->SetBinContent(13,291.6412); h_SL3L370->SetBinContent(14,348.0879); h_SL3L370->SetBinContent(15,235.1945); h_SL3L370->SetBinContent(16,423.3501); h_SL3L370->SetBinContent(17,376.3112); h_SL3L370->SetBinContent(18,376.3112); h_SL3L370->SetBinContent(19,531.5396); h_SL3L370->SetBinContent(20,484.5007); h_SL3L370->SetBinContent(21,644.433); h_SL3L370->SetBinContent(22,752.6224); h_SL3L370->SetBinContent(23,785.5497); h_SL3L370->SetBinContent(24,987.817); h_SL3L370->SetBinContent(25,1114.822); h_SL3L370->SetBinContent(26,1298.274); h_SL3L370->SetBinContent(27,1458.206); h_SL3L370->SetBinContent(28,1773.367); h_SL3L370->SetBinContent(29,2253.164); h_SL3L370->SetBinContent(30,2493.062); h_SL3L370->SetBinContent(31,2963.451); h_SL3L370->SetBinContent(32,5536.479); h_SL3L370->SetBinContent(33,12032.55); h_SL3L370->SetBinContent(34,64052.88); h_SL3L370->SetBinContent(35,66602.38); h_SL3L370->SetBinContent(36,63474.3); h_SL3L370->SetBinContent(37,62745.19); h_SL3L370->SetBinContent(38,58191.83); h_SL3L370->SetBinContent(39,46394.47); h_SL3L370->SetBinContent(40,26332.38); h_SL3L370->SetBinContent(41,6058.611); h_SL3L370->SetBinContent(42,3372.689); h_SL3L370->SetBinContent(43,2587.14); h_SL3L370->SetBinContent(44,2286.091); h_SL3L370->SetBinContent(45,1919.187); h_SL3L370->SetBinContent(46,1759.255); h_SL3L370->SetBinContent(47,1331.201); h_SL3L370->SetBinContent(48,1453.502); h_SL3L370->SetBinContent(49,1190.084); h_SL3L370->SetBinContent(50,1091.303); h_SL3L370->SetBinContent(51,1044.264); h_SL3L370->SetBinContent(52,1020.744); h_SL3L370->SetBinContent(53,837.2925); h_SL3L370->SetBinContent(54,790.2536); h_SL3L370->SetBinContent(55,790.2536); h_SL3L370->SetBinContent(56,710.2874); h_SL3L370->SetBinContent(57,747.9186); h_SL3L370->SetBinContent(58,616.2097); h_SL3L370->SetBinContent(59,653.8408); h_SL3L370->SetMaximum(80222.5); 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,136.4128); h_SL3L471->SetBinContent(3,141.1167); h_SL3L471->SetBinContent(4,211.6751); h_SL3L471->SetBinContent(5,197.5634); h_SL3L471->SetBinContent(6,197.5634); h_SL3L471->SetBinContent(7,197.5634); h_SL3L471->SetBinContent(8,188.1556); h_SL3L471->SetBinContent(9,235.1945); h_SL3L471->SetBinContent(10,239.8984); h_SL3L471->SetBinContent(11,263.4178); h_SL3L471->SetBinContent(12,221.0828); h_SL3L471->SetBinContent(13,305.7529); h_SL3L471->SetBinContent(14,282.2334); h_SL3L471->SetBinContent(15,310.4568); h_SL3L471->SetBinContent(16,319.8645); h_SL3L471->SetBinContent(17,338.6801); h_SL3L471->SetBinContent(18,376.3112); h_SL3L471->SetBinContent(19,460.9813); h_SL3L471->SetBinContent(20,550.3552); h_SL3L471->SetBinContent(21,602.098); h_SL3L471->SetBinContent(22,762.0302); h_SL3L471->SetBinContent(23,832.5886); h_SL3L471->SetBinContent(24,879.6275); h_SL3L471->SetBinContent(25,1077.191); h_SL3L471->SetBinContent(26,1175.973); h_SL3L471->SetBinContent(27,1486.429); h_SL3L471->SetBinContent(28,1556.988); h_SL3L471->SetBinContent(29,2116.751); h_SL3L471->SetBinContent(30,2544.805); h_SL3L471->SetBinContent(31,2568.324); h_SL3L471->SetBinContent(32,3556.141); h_SL3L471->SetBinContent(33,8076.58); h_SL3L471->SetBinContent(34,36756.2); h_SL3L471->SetBinContent(35,69758.7); h_SL3L471->SetBinContent(36,64880.76); h_SL3L471->SetBinContent(37,64198.7); h_SL3L471->SetBinContent(38,61145.87); h_SL3L471->SetBinContent(39,52994.03); h_SL3L471->SetBinContent(40,39051.7); h_SL3L471->SetBinContent(41,11985.51); h_SL3L471->SetBinContent(42,4816.784); h_SL3L471->SetBinContent(43,2883.485); h_SL3L471->SetBinContent(44,2568.324); h_SL3L471->SetBinContent(45,2065.008); h_SL3L471->SetBinContent(46,1763.959); h_SL3L471->SetBinContent(47,1509.949); h_SL3L471->SetBinContent(48,1434.687); h_SL3L471->SetBinContent(49,1270.05); h_SL3L471->SetBinContent(50,1284.162); h_SL3L471->SetBinContent(51,983.1131); h_SL3L471->SetBinContent(52,969.0014); h_SL3L471->SetBinContent(53,936.0742); h_SL3L471->SetBinContent(54,912.5547); h_SL3L471->SetBinContent(55,804.3652); h_SL3L471->SetBinContent(56,724.3991); h_SL3L471->SetBinContent(57,865.5158); h_SL3L471->SetBinContent(58,606.8019); h_SL3L471->SetBinContent(59,522.1318); h_SL3L471->SetMaximum(80222.5); 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 4999"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }