void RatesPerCell_Removing_noisy_cells_run_6805_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:12:08 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-9103.832,67.5,81934.48); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6805",60,0,60); h_SL2L164->SetBinContent(1,4457.729); h_SL2L164->SetBinContent(2,5471.603); h_SL2L164->SetBinContent(3,6522.797); h_SL2L164->SetBinContent(4,6875.269); h_SL2L164->SetBinContent(5,6638.905); h_SL2L164->SetBinContent(6,6273.994); h_SL2L164->SetBinContent(7,6039.704); h_SL2L164->SetBinContent(8,5743.213); h_SL2L164->SetBinContent(9,6564.265); h_SL2L164->SetBinContent(10,6661.712); h_SL2L164->SetBinContent(11,6771.601); h_SL2L164->SetBinContent(12,6927.103); h_SL2L164->SetBinContent(13,7221.52); h_SL2L164->SetBinContent(14,7194.566); h_SL2L164->SetBinContent(15,7039.064); h_SL2L164->SetBinContent(16,7194.566); h_SL2L164->SetBinContent(17,6630.612); h_SL2L164->SetBinContent(18,6781.967); h_SL2L164->SetBinContent(19,6840.021); h_SL2L164->SetBinContent(20,6359.001); h_SL2L164->SetBinContent(21,6060.438); h_SL2L164->SetBinContent(22,5848.955); h_SL2L164->SetBinContent(23,6122.638); h_SL2L164->SetBinContent(24,6599.512); h_SL2L164->SetBinContent(25,11241.77); h_SL2L164->SetBinContent(26,29462.48); h_SL2L164->SetBinContent(27,43822.58); h_SL2L164->SetBinContent(28,51487.8); h_SL2L164->SetBinContent(29,55070.57); h_SL2L164->SetBinContent(30,53102.95); h_SL2L164->SetBinContent(31,50268.66); h_SL2L164->SetBinContent(32,50167.07); h_SL2L164->SetBinContent(33,6.220086); h_SL2L164->SetBinContent(34,4.146724); h_SL2L164->SetBinContent(36,2.073362); h_SL2L164->SetBinContent(37,8.293448); h_SL2L164->SetBinContent(38,4.146724); h_SL2L164->SetBinContent(40,22.80698); h_SL2L164->SetBinContent(49,4.146724); h_SL2L164->SetBinContent(50,4.146724); h_SL2L164->SetBinContent(51,4.146724); h_SL2L164->SetBinContent(52,8.293448); h_SL2L164->SetBinContent(53,2.073362); h_SL2L164->SetBinContent(54,2.073362); h_SL2L164->SetBinContent(55,2.073362); h_SL2L164->SetMaximum(72830.65); 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,3533.009); h_SL2L265->SetBinContent(2,5193.772); h_SL2L265->SetBinContent(3,5759.8); h_SL2L265->SetBinContent(4,6659.639); h_SL2L265->SetBinContent(5,6622.318); h_SL2L265->SetBinContent(6,6120.565); h_SL2L265->SetBinContent(7,5805.414); h_SL2L265->SetBinContent(8,5314.027); h_SL2L265->SetBinContent(9,6058.364); h_SL2L265->SetBinContent(10,6303.021); h_SL2L265->SetBinContent(11,6584.998); h_SL2L265->SetBinContent(12,6514.504); h_SL2L265->SetBinContent(13,6769.527); h_SL2L265->SetBinContent(14,7053.578); h_SL2L265->SetBinContent(15,6900.149); h_SL2L265->SetBinContent(16,6796.481); h_SL2L265->SetBinContent(17,6529.017); h_SL2L265->SetBinContent(18,6414.982); h_SL2L265->SetBinContent(19,6427.422); h_SL2L265->SetBinContent(20,6460.596); h_SL2L265->SetBinContent(21,6122.638); h_SL2L265->SetBinContent(22,5979.576); h_SL2L265->SetBinContent(23,5913.229); h_SL2L265->SetBinContent(24,6066.658); h_SL2L265->SetBinContent(25,7148.953); h_SL2L265->SetBinContent(26,19989.28); h_SL2L265->SetBinContent(27,36715.1); h_SL2L265->SetBinContent(28,48282.38); h_SL2L265->SetBinContent(29,53770.57); h_SL2L265->SetBinContent(30,53681.42); h_SL2L265->SetBinContent(31,51413.16); h_SL2L265->SetBinContent(32,49704.71); h_SL2L265->SetBinContent(33,4.146724); h_SL2L265->SetBinContent(34,4.146724); h_SL2L265->SetBinContent(35,6.220086); h_SL2L265->SetBinContent(36,2.073362); h_SL2L265->SetBinContent(37,2.073362); h_SL2L265->SetBinContent(38,2.073362); h_SL2L265->SetBinContent(39,4.146724); h_SL2L265->SetBinContent(49,10.36681); h_SL2L265->SetBinContent(50,2.073362); h_SL2L265->SetBinContent(51,8.293448); h_SL2L265->SetBinContent(52,4.146724); h_SL2L265->SetMaximum(63331.16); 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,4246.246); h_SL2L366->SetBinContent(2,5063.15); h_SL2L366->SetBinContent(3,6354.855); h_SL2L366->SetBinContent(4,6263.627); h_SL2L366->SetBinContent(5,6390.102); h_SL2L366->SetBinContent(6,5960.916); h_SL2L366->SetBinContent(7,5382.448); h_SL2L366->SetBinContent(8,5502.703); h_SL2L366->SetBinContent(9,6191.059); h_SL2L366->SetBinContent(10,6390.102); h_SL2L366->SetBinContent(11,6354.855); h_SL2L366->SetBinContent(12,6201.426); h_SL2L366->SetBinContent(13,6578.778); h_SL2L366->SetBinContent(14,6628.539); h_SL2L366->SetBinContent(15,6406.689); h_SL2L366->SetBinContent(16,6244.967); h_SL2L366->SetBinContent(17,6412.909); h_SL2L366->SetBinContent(18,6273.994); h_SL2L366->SetBinContent(19,6332.048); h_SL2L366->SetBinContent(20,5977.503); h_SL2L366->SetBinContent(21,5622.958); h_SL2L366->SetBinContent(22,5803.34); h_SL2L366->SetBinContent(23,5685.159); h_SL2L366->SetBinContent(24,6191.059); h_SL2L366->SetBinContent(25,10692.33); h_SL2L366->SetBinContent(26,29051.95); h_SL2L366->SetBinContent(27,43372.66); h_SL2L366->SetBinContent(28,51465); h_SL2L366->SetBinContent(29,54481.73); h_SL2L366->SetBinContent(30,52507.89); h_SL2L366->SetBinContent(31,49955.59); h_SL2L366->SetBinContent(32,49866.43); h_SL2L366->SetBinContent(33,4.146724); h_SL2L366->SetBinContent(34,4.146724); h_SL2L366->SetBinContent(35,10.36681); h_SL2L366->SetBinContent(36,2.073362); h_SL2L366->SetBinContent(39,4.146724); h_SL2L366->SetBinContent(40,2.073362); h_SL2L366->SetBinContent(49,2.073362); h_SL2L366->SetBinContent(50,2.073362); h_SL2L366->SetBinContent(51,12.44017); h_SL2L366->SetBinContent(52,12.44017); h_SL2L366->SetBinContent(53,4.146724); h_SL2L366->SetBinContent(56,4.146724); h_SL2L366->SetMaximum(63331.16); 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,4924.235); h_SL2L467->SetBinContent(3,5552.464); h_SL2L467->SetBinContent(4,5958.843); h_SL2L467->SetBinContent(5,6329.975); h_SL2L467->SetBinContent(6,5579.417); h_SL2L467->SetBinContent(7,5484.043); h_SL2L467->SetBinContent(8,5067.297); h_SL2L467->SetBinContent(9,5836.514); h_SL2L467->SetBinContent(10,5877.981); h_SL2L467->SetBinContent(11,6346.562); h_SL2L467->SetBinContent(12,6178.619); h_SL2L467->SetBinContent(13,6336.195); h_SL2L467->SetBinContent(14,6518.65); h_SL2L467->SetBinContent(15,6186.913); h_SL2L467->SetBinContent(16,6286.434); h_SL2L467->SetBinContent(17,6379.735); h_SL2L467->SetBinContent(18,6199.353); h_SL2L467->SetBinContent(19,6091.538); h_SL2L467->SetBinContent(20,5921.522); h_SL2L467->SetBinContent(21,5730.773); h_SL2L467->SetBinContent(22,5749.433); h_SL2L467->SetBinContent(23,5473.676); h_SL2L467->SetBinContent(24,5666.499); h_SL2L467->SetBinContent(25,6786.114); h_SL2L467->SetBinContent(26,19657.55); h_SL2L467->SetBinContent(27,36690.21); h_SL2L467->SetBinContent(28,47846.98); h_SL2L467->SetBinContent(29,53440.91); h_SL2L467->SetBinContent(30,53809.97); h_SL2L467->SetBinContent(31,51129.11); h_SL2L467->SetBinContent(32,49553.36); h_SL2L467->SetBinContent(33,4.146724); h_SL2L467->SetBinContent(34,8.293448); h_SL2L467->SetBinContent(35,2.073362); h_SL2L467->SetBinContent(36,10.36681); h_SL2L467->SetBinContent(37,6.220086); h_SL2L467->SetBinContent(38,2.073362); h_SL2L467->SetBinContent(49,12.44017); h_SL2L467->SetBinContent(50,6.220086); h_SL2L467->SetBinContent(51,12.44017); h_SL2L467->SetBinContent(52,2.073362); h_SL2L467->SetBinContent(55,2.073362); h_SL2L467->SetBinContent(56,2.073362); h_SL2L467->SetMaximum(63331.16); 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 6805"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }