void RatesPerCell_Removing_noisy_cells_run_5821_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:05:22 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1353.838,67.5,12184.54); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 5821",60,0,60); h_SL1L160->SetBinContent(1,2921.061); h_SL1L160->SetBinContent(2,3497.677); h_SL1L160->SetBinContent(3,4723.418); h_SL1L160->SetBinContent(4,5058.338); h_SL1L160->SetBinContent(5,5438.146); h_SL1L160->SetBinContent(6,6139.062); h_SL1L160->SetBinContent(7,5745.444); h_SL1L160->SetBinContent(8,5931.895); h_SL1L160->SetBinContent(9,6277.173); h_SL1L160->SetBinContent(10,6332.418); h_SL1L160->SetBinContent(11,6104.534); h_SL1L160->SetBinContent(12,6052.742); h_SL1L160->SetBinContent(13,6546.491); h_SL1L160->SetBinContent(14,6788.187); h_SL1L160->SetBinContent(15,6094.176); h_SL1L160->SetBinContent(16,6152.873); h_SL1L160->SetBinContent(17,6518.869); h_SL1L160->SetBinContent(18,6574.114); h_SL1L160->SetBinContent(19,5918.083); h_SL1L160->SetBinContent(20,6246.099); h_SL1L160->SetBinContent(21,6501.605); h_SL1L160->SetBinContent(22,6715.678); h_SL1L160->SetBinContent(23,6270.268); h_SL1L160->SetBinContent(24,6332.418); h_SL1L160->SetBinContent(25,6826.167); h_SL1L160->SetBinContent(26,6750.206); h_SL1L160->SetBinContent(27,6277.173); h_SL1L160->SetBinContent(28,6456.719); h_SL1L160->SetBinContent(29,6988.448); h_SL1L160->SetBinContent(30,7016.071); h_SL1L160->SetBinContent(31,6366.946); h_SL1L160->SetBinContent(32,6436.002); h_SL1L160->SetBinContent(33,6919.393); h_SL1L160->SetBinContent(34,7368.255); h_SL1L160->SetBinContent(35,6543.039); h_SL1L160->SetBinContent(36,6508.511); h_SL1L160->SetBinContent(37,7126.56); h_SL1L160->SetBinContent(38,6746.753); h_SL1L160->SetBinContent(39,6422.191); h_SL1L160->SetBinContent(40,6411.833); h_SL1L160->SetBinContent(41,6263.362); h_SL1L160->SetBinContent(42,6757.111); h_SL1L160->SetBinContent(43,6097.628); h_SL1L160->SetBinContent(44,6477.436); h_SL1L160->SetBinContent(45,6408.379); h_SL1L160->SetBinContent(46,6701.867); h_SL1L160->SetBinContent(47,5192.997); h_SL1L160->SetBinContent(48,4609.476); h_SL1L160->SetBinContent(49,5068.697); h_SL1L160->SetBinContent(50,5213.714); h_SL1L160->SetBinContent(51,4578.4); h_SL1L160->SetBinContent(52,4536.967); h_SL1L160->SetBinContent(53,4927.132); h_SL1L160->SetBinContent(54,4709.606); h_SL1L160->SetBinContent(55,3832.598); h_SL1L160->SetBinContent(56,3670.317); h_SL1L160->SetBinContent(57,3549.469); h_SL1L160->SetBinContent(58,3211.095); h_SL1L160->SetBinContent(59,2482.557); h_SL1L160->SetMaximum(10830.7); 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,2952.136); h_SL1L261->SetBinContent(2,3549.469); h_SL1L261->SetBinContent(3,4471.364); h_SL1L261->SetBinContent(4,5534.824); h_SL1L261->SetBinContent(5,5831.764); h_SL1L261->SetBinContent(6,6646.622); h_SL1L261->SetBinContent(7,6411.833); h_SL1L261->SetBinContent(8,6560.302); h_SL1L261->SetBinContent(9,6991.901); h_SL1L261->SetBinContent(10,6947.015); h_SL1L261->SetBinContent(11,6998.807); h_SL1L261->SetBinContent(12,6860.695); h_SL1L261->SetBinContent(13,6929.751); h_SL1L261->SetBinContent(14,7492.556); h_SL1L261->SetBinContent(15,6646.622); h_SL1L261->SetBinContent(16,6829.62); h_SL1L261->SetBinContent(17,7468.386); h_SL1L261->SetBinContent(18,7409.689); h_SL1L261->SetBinContent(19,6605.188); h_SL1L261->SetBinContent(20,6667.339); h_SL1L261->SetBinContent(21,7040.24); h_SL1L261->SetBinContent(22,7464.934); h_SL1L261->SetBinContent(23,6888.317); h_SL1L261->SetBinContent(24,6888.317); h_SL1L261->SetBinContent(25,7523.631); h_SL1L261->SetBinContent(26,7917.249); h_SL1L261->SetBinContent(27,6815.809); h_SL1L261->SetBinContent(28,7792.949); h_SL1L261->SetBinContent(29,7399.331); h_SL1L261->SetBinContent(30,7789.496); h_SL1L261->SetBinContent(31,7354.444); h_SL1L261->SetBinContent(32,7319.917); h_SL1L261->SetBinContent(33,7599.592); h_SL1L261->SetBinContent(34,8190.02); h_SL1L261->SetBinContent(35,7306.105); h_SL1L261->SetBinContent(36,7174.899); h_SL1L261->SetBinContent(37,7199.069); h_SL1L261->SetBinContent(38,7758.421); h_SL1L261->SetBinContent(39,7098.938); h_SL1L261->SetBinContent(40,7281.936); h_SL1L261->SetBinContent(41,7285.389); h_SL1L261->SetBinContent(42,7185.257); h_SL1L261->SetBinContent(43,6757.111); h_SL1L261->SetBinContent(44,6850.337); h_SL1L261->SetBinContent(45,7116.202); h_SL1L261->SetBinContent(46,7378.614); h_SL1L261->SetBinContent(47,6518.869); h_SL1L261->SetBinContent(48,5099.772); h_SL1L261->SetBinContent(49,5372.542); h_SL1L261->SetBinContent(50,5555.541); h_SL1L261->SetBinContent(51,5027.263); h_SL1L261->SetBinContent(52,4978.924); h_SL1L261->SetBinContent(53,5327.656); h_SL1L261->SetBinContent(54,5628.049); h_SL1L261->SetBinContent(55,4785.568); h_SL1L261->SetBinContent(56,4440.289); h_SL1L261->SetBinContent(57,4188.235); h_SL1L261->SetBinContent(58,3673.769); h_SL1L261->SetBinContent(59,3024.645); h_SL1L261->SetMaximum(9418.522); 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,3086.795); h_SL1L362->SetBinContent(2,3908.559); h_SL1L362->SetBinContent(3,5068.697); h_SL1L362->SetBinContent(4,5731.633); h_SL1L362->SetBinContent(5,6346.229); h_SL1L362->SetBinContent(6,6732.942); h_SL1L362->SetBinContent(7,6425.644); h_SL1L362->SetBinContent(8,6974.637); h_SL1L362->SetBinContent(9,7040.24); h_SL1L362->SetBinContent(10,6801.998); h_SL1L362->SetBinContent(11,6888.317); h_SL1L362->SetBinContent(12,7016.071); h_SL1L362->SetBinContent(13,7385.52); h_SL1L362->SetBinContent(14,6995.354); h_SL1L362->SetBinContent(15,6715.678); h_SL1L362->SetBinContent(16,7281.936); h_SL1L362->SetBinContent(17,7527.084); h_SL1L362->SetBinContent(18,7102.391); h_SL1L362->SetBinContent(19,6373.852); h_SL1L362->SetBinContent(20,7078.221); h_SL1L362->SetBinContent(21,7437.311); h_SL1L362->SetBinContent(22,7250.86); h_SL1L362->SetBinContent(23,6801.998); h_SL1L362->SetBinContent(24,7451.123); h_SL1L362->SetBinContent(25,7889.627); h_SL1L362->SetBinContent(26,7247.408); h_SL1L362->SetBinContent(27,6926.298); h_SL1L362->SetBinContent(28,7509.82); h_SL1L362->SetBinContent(29,7882.721); h_SL1L362->SetBinContent(30,7533.989); h_SL1L362->SetBinContent(31,7043.693); h_SL1L362->SetBinContent(32,7565.064); h_SL1L362->SetBinContent(33,7734.251); h_SL1L362->SetBinContent(34,7789.496); h_SL1L362->SetBinContent(35,7130.013); h_SL1L362->SetBinContent(36,7454.575); h_SL1L362->SetBinContent(37,7571.97); h_SL1L362->SetBinContent(38,7382.066); h_SL1L362->SetBinContent(39,7074.768); h_SL1L362->SetBinContent(40,7485.65); h_SL1L362->SetBinContent(41,7344.086); h_SL1L362->SetBinContent(42,7109.296); h_SL1L362->SetBinContent(43,6795.092); h_SL1L362->SetBinContent(44,7202.521); h_SL1L362->SetBinContent(45,7458.028); h_SL1L362->SetBinContent(46,7285.389); h_SL1L362->SetBinContent(47,5514.107); h_SL1L362->SetBinContent(48,5217.167); h_SL1L362->SetBinContent(49,5600.427); h_SL1L362->SetBinContent(50,5286.223); h_SL1L362->SetBinContent(51,4754.493); h_SL1L362->SetBinContent(52,5196.45); h_SL1L362->SetBinContent(53,5873.197); h_SL1L362->SetBinContent(54,5234.431); h_SL1L362->SetBinContent(55,4799.379); h_SL1L362->SetBinContent(56,4447.194); h_SL1L362->SetBinContent(57,4025.954); h_SL1L362->SetBinContent(58,3570.186); h_SL1L362->SetBinContent(59,2655.196); h_SL1L362->SetMaximum(9418.522); 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,3490.771); h_SL1L463->SetBinContent(3,4364.328); h_SL1L463->SetBinContent(4,5455.409); h_SL1L463->SetBinContent(5,6194.307); h_SL1L463->SetBinContent(6,6677.697); h_SL1L463->SetBinContent(7,6567.208); h_SL1L463->SetBinContent(8,7019.523); h_SL1L463->SetBinContent(9,7192.163); h_SL1L463->SetBinContent(10,6943.562); h_SL1L463->SetBinContent(11,6736.395); h_SL1L463->SetBinContent(12,6967.732); h_SL1L463->SetBinContent(13,7192.163); h_SL1L463->SetBinContent(14,7537.442); h_SL1L463->SetBinContent(15,6674.245); h_SL1L463->SetBinContent(16,7047.146); h_SL1L463->SetBinContent(17,7520.178); h_SL1L463->SetBinContent(18,7402.783); h_SL1L463->SetBinContent(19,6612.094); h_SL1L463->SetBinContent(20,6812.356); h_SL1L463->SetBinContent(21,7371.708); h_SL1L463->SetBinContent(22,7523.631); h_SL1L463->SetBinContent(23,6470.53); h_SL1L463->SetBinContent(24,7033.335); h_SL1L463->SetBinContent(25,7761.874); h_SL1L463->SetBinContent(26,7848.193); h_SL1L463->SetBinContent(27,6781.281); h_SL1L463->SetBinContent(28,7357.897); h_SL1L463->SetBinContent(29,7558.159); h_SL1L463->SetBinContent(30,7716.987); h_SL1L463->SetBinContent(31,7219.786); h_SL1L463->SetBinContent(32,7527.084); h_SL1L463->SetBinContent(33,7696.271); h_SL1L463->SetBinContent(34,7906.891); h_SL1L463->SetBinContent(35,7392.425); h_SL1L463->SetBinContent(36,7430.406); h_SL1L463->SetBinContent(37,7685.912); h_SL1L463->SetBinContent(38,7571.97); h_SL1L463->SetBinContent(39,7043.693); h_SL1L463->SetBinContent(40,7382.066); h_SL1L463->SetBinContent(41,7596.14); h_SL1L463->SetBinContent(42,7496.009); h_SL1L463->SetBinContent(43,6708.772); h_SL1L463->SetBinContent(44,7240.502); h_SL1L463->SetBinContent(45,7350.992); h_SL1L463->SetBinContent(46,7275.03); h_SL1L463->SetBinContent(47,6570.661); h_SL1L463->SetBinContent(48,5327.656); h_SL1L463->SetBinContent(49,5704.01); h_SL1L463->SetBinContent(50,5552.087); h_SL1L463->SetBinContent(51,4751.04); h_SL1L463->SetBinContent(52,5151.564); h_SL1L463->SetBinContent(53,5755.802); h_SL1L463->SetBinContent(54,5541.729); h_SL1L463->SetBinContent(55,3.452791); h_SL1L463->SetBinContent(56,4806.285); h_SL1L463->SetBinContent(57,4440.289); h_SL1L463->SetBinContent(58,3829.145); h_SL1L463->SetBinContent(59,3197.284); h_SL1L463->SetMaximum(9418.522); 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.3744221,0.9362587,0.6255779,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL1, run 5821"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }