void RatesPerCell_Removing_noisy_cells_run_6833_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:08:16 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-16788.42,67.5,151095.8); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6833",60,0,60); h_SL3L168->SetBinContent(1,28464.29); h_SL3L168->SetBinContent(2,20244.9); h_SL3L168->SetBinContent(4,34071.43); h_SL3L168->SetBinContent(5,34765.3); h_SL3L168->SetBinContent(6,37484.7); h_SL3L168->SetBinContent(7,36775.51); h_SL3L168->SetBinContent(8,35903.06); h_SL3L168->SetBinContent(9,34556.12); h_SL3L168->SetBinContent(10,31668.37); h_SL3L168->SetBinContent(11,31647.96); h_SL3L168->SetBinContent(12,32142.86); h_SL3L168->SetBinContent(13,32433.67); h_SL3L168->SetBinContent(14,34352.04); h_SL3L168->SetBinContent(15,34892.86); h_SL3L168->SetBinContent(16,34443.88); h_SL3L168->SetBinContent(17,33454.08); h_SL3L168->SetBinContent(18,34918.37); h_SL3L168->SetBinContent(19,35836.73); h_SL3L168->SetBinContent(20,36566.33); h_SL3L168->SetBinContent(21,36938.77); h_SL3L168->SetBinContent(22,39117.35); h_SL3L168->SetBinContent(23,39617.35); h_SL3L168->SetBinContent(24,38265.3); h_SL3L168->SetBinContent(25,39556.12); h_SL3L168->SetBinContent(26,39642.86); h_SL3L168->SetBinContent(27,38285.71); h_SL3L168->SetBinContent(28,37744.9); h_SL3L168->SetBinContent(29,37270.41); h_SL3L168->SetBinContent(30,39000); h_SL3L168->SetBinContent(31,37806.12); h_SL3L168->SetBinContent(32,39872.45); h_SL3L168->SetBinContent(33,41301.02); h_SL3L168->SetBinContent(34,69576.53); h_SL3L168->SetBinContent(35,88132.65); h_SL3L168->SetBinContent(36,94316.33); h_SL3L168->SetBinContent(37,101556.1); h_SL3L168->SetBinContent(38,100903.1); h_SL3L168->SetBinContent(39,94147.96); h_SL3L168->SetBinContent(40,70061.23); h_SL3L168->SetBinContent(41,37872.45); h_SL3L168->SetBinContent(42,33316.33); h_SL3L168->SetBinContent(43,31295.92); h_SL3L168->SetBinContent(44,31443.88); h_SL3L168->SetBinContent(45,30668.37); h_SL3L168->SetBinContent(46,30316.33); h_SL3L168->SetBinContent(47,30602.04); h_SL3L168->SetBinContent(48,30489.79); h_SL3L168->SetBinContent(49,45234.7); h_SL3L168->SetBinContent(50,28760.2); h_SL3L168->SetBinContent(51,28923.47); h_SL3L168->SetBinContent(52,29112.24); h_SL3L168->SetBinContent(53,27438.78); h_SL3L168->SetBinContent(54,26464.29); h_SL3L168->SetBinContent(55,27826.53); h_SL3L168->SetBinContent(56,27025.51); h_SL3L168->SetBinContent(57,25846.94); h_SL3L168->SetBinContent(58,21372.45); h_SL3L168->SetBinContent(59,17321.43); h_SL3L168->SetMaximum(134307.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,29260.2); h_SL3L269->SetBinContent(2,21224.49); h_SL3L269->SetBinContent(4,27775.51); h_SL3L269->SetBinContent(5,33035.71); h_SL3L269->SetBinContent(6,35612.25); h_SL3L269->SetBinContent(7,35877.55); h_SL3L269->SetBinContent(8,34704.08); h_SL3L269->SetBinContent(9,34250); h_SL3L269->SetBinContent(10,32183.67); h_SL3L269->SetBinContent(11,29081.63); h_SL3L269->SetBinContent(12,30045.92); h_SL3L269->SetBinContent(13,31642.86); h_SL3L269->SetBinContent(14,32494.9); h_SL3L269->SetBinContent(15,32908.16); h_SL3L269->SetBinContent(16,33765.3); h_SL3L269->SetBinContent(17,32571.43); h_SL3L269->SetBinContent(18,31750); h_SL3L269->SetBinContent(19,32857.14); h_SL3L269->SetBinContent(20,34571.43); h_SL3L269->SetBinContent(21,34918.37); h_SL3L269->SetBinContent(22,35867.35); h_SL3L269->SetBinContent(23,37071.43); h_SL3L269->SetBinContent(24,37346.94); h_SL3L269->SetBinContent(25,38545.92); h_SL3L269->SetBinContent(26,37903.06); h_SL3L269->SetBinContent(27,37795.92); h_SL3L269->SetBinContent(28,36663.27); h_SL3L269->SetBinContent(29,36744.9); h_SL3L269->SetBinContent(30,36698.98); h_SL3L269->SetBinContent(31,36025.51); h_SL3L269->SetBinContent(32,37346.94); h_SL3L269->SetBinContent(33,38484.7); h_SL3L269->SetBinContent(34,48438.77); h_SL3L269->SetBinContent(35,80984.7); h_SL3L269->SetBinContent(36,89239.8); h_SL3L269->SetBinContent(37,95790.81); h_SL3L269->SetBinContent(38,99051.02); h_SL3L269->SetBinContent(39,97137.76); h_SL3L269->SetBinContent(40,84806.12); h_SL3L269->SetBinContent(41,47709.18); h_SL3L269->SetBinContent(42,33882.65); h_SL3L269->SetBinContent(43,30908.16); h_SL3L269->SetBinContent(44,30836.73); h_SL3L269->SetBinContent(45,30448.98); h_SL3L269->SetBinContent(46,29250); h_SL3L269->SetBinContent(47,28515.31); h_SL3L269->SetBinContent(48,28959.18); h_SL3L269->SetBinContent(49,31255.1); h_SL3L269->SetBinContent(50,29382.65); h_SL3L269->SetBinContent(51,27352.04); h_SL3L269->SetBinContent(52,27688.78); h_SL3L269->SetBinContent(53,30520.41); h_SL3L269->SetBinContent(54,26081.63); h_SL3L269->SetBinContent(55,26204.08); h_SL3L269->SetBinContent(56,26535.71); h_SL3L269->SetBinContent(57,25775.51); h_SL3L269->SetBinContent(58,23418.37); h_SL3L269->SetBinContent(59,18826.53); h_SL3L269->SetMaximum(116789.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,25663.27); h_SL3L370->SetBinContent(2,19540.82); h_SL3L370->SetBinContent(3,23285.71); h_SL3L370->SetBinContent(4,31989.79); h_SL3L370->SetBinContent(5,32658.16); h_SL3L370->SetBinContent(6,34464.29); h_SL3L370->SetBinContent(7,33275.51); h_SL3L370->SetBinContent(8,32331.63); h_SL3L370->SetBinContent(9,31816.33); h_SL3L370->SetBinContent(10,29372.45); h_SL3L370->SetBinContent(11,27892.86); h_SL3L370->SetBinContent(12,29137.75); h_SL3L370->SetBinContent(13,29469.39); h_SL3L370->SetBinContent(14,30714.29); h_SL3L370->SetBinContent(15,31637.75); h_SL3L370->SetBinContent(16,31658.16); h_SL3L370->SetBinContent(17,30954.08); h_SL3L370->SetBinContent(18,30265.31); h_SL3L370->SetBinContent(19,32576.53); h_SL3L370->SetBinContent(20,32234.69); h_SL3L370->SetBinContent(21,33678.57); h_SL3L370->SetBinContent(22,34795.92); h_SL3L370->SetBinContent(23,35428.57); h_SL3L370->SetBinContent(24,35224.49); h_SL3L370->SetBinContent(25,35377.55); h_SL3L370->SetBinContent(26,36397.96); h_SL3L370->SetBinContent(27,35622.45); h_SL3L370->SetBinContent(28,34683.67); h_SL3L370->SetBinContent(29,34336.73); h_SL3L370->SetBinContent(30,34882.65); h_SL3L370->SetBinContent(31,35173.47); h_SL3L370->SetBinContent(32,36005.1); h_SL3L370->SetBinContent(33,38142.86); h_SL3L370->SetBinContent(34,66290.81); h_SL3L370->SetBinContent(35,84066.33); h_SL3L370->SetBinContent(36,90474.49); h_SL3L370->SetBinContent(37,96285.71); h_SL3L370->SetBinContent(38,97285.71); h_SL3L370->SetBinContent(39,90591.84); h_SL3L370->SetBinContent(40,66734.7); h_SL3L370->SetBinContent(41,35193.88); h_SL3L370->SetBinContent(42,31173.47); h_SL3L370->SetBinContent(43,30244.9); h_SL3L370->SetBinContent(44,28607.14); h_SL3L370->SetBinContent(45,2704.082); h_SL3L370->SetBinContent(46,28346.94); h_SL3L370->SetBinContent(47,27352.04); h_SL3L370->SetBinContent(48,27357.14); h_SL3L370->SetBinContent(49,27607.14); h_SL3L370->SetBinContent(50,26897.96); h_SL3L370->SetBinContent(51,26433.67); h_SL3L370->SetBinContent(52,26377.55); h_SL3L370->SetBinContent(53,25750); h_SL3L370->SetBinContent(54,24520.41); h_SL3L370->SetBinContent(55,24719.39); h_SL3L370->SetBinContent(56,25122.45); h_SL3L370->SetBinContent(57,23872.45); h_SL3L370->SetBinContent(58,20484.69); h_SL3L370->SetBinContent(59,16790.82); h_SL3L370->SetMaximum(116789.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,19658.16); h_SL3L471->SetBinContent(3,19984.69); h_SL3L471->SetBinContent(4,25954.08); h_SL3L471->SetBinContent(5,29887.75); h_SL3L471->SetBinContent(6,31862.24); h_SL3L471->SetBinContent(7,32438.78); h_SL3L471->SetBinContent(8,30964.29); h_SL3L471->SetBinContent(9,31224.49); h_SL3L471->SetBinContent(10,28790.82); h_SL3L471->SetBinContent(11,26795.92); h_SL3L471->SetBinContent(12,26867.35); h_SL3L471->SetBinContent(13,27964.29); h_SL3L471->SetBinContent(14,29158.16); h_SL3L471->SetBinContent(15,29933.67); h_SL3L471->SetBinContent(16,29709.18); h_SL3L471->SetBinContent(17,30127.55); h_SL3L471->SetBinContent(18,28892.86); h_SL3L471->SetBinContent(19,29734.69); h_SL3L471->SetBinContent(20,31219.39); h_SL3L471->SetBinContent(21,31739.79); h_SL3L471->SetBinContent(22,32260.2); h_SL3L471->SetBinContent(23,33147.96); h_SL3L471->SetBinContent(24,33642.86); h_SL3L471->SetBinContent(25,34153.06); h_SL3L471->SetBinContent(26,34178.57); h_SL3L471->SetBinContent(27,34382.65); h_SL3L471->SetBinContent(28,32887.75); h_SL3L471->SetBinContent(29,33188.77); h_SL3L471->SetBinContent(30,33668.37); h_SL3L471->SetBinContent(31,33683.67); h_SL3L471->SetBinContent(32,34500); h_SL3L471->SetBinContent(33,36163.27); h_SL3L471->SetBinContent(34,46857.14); h_SL3L471->SetBinContent(35,78096.94); h_SL3L471->SetBinContent(36,86479.59); h_SL3L471->SetBinContent(37,92525.51); h_SL3L471->SetBinContent(38,96331.63); h_SL3L471->SetBinContent(39,94091.84); h_SL3L471->SetBinContent(40,81867.34); h_SL3L471->SetBinContent(41,45214.29); h_SL3L471->SetBinContent(42,31627.55); h_SL3L471->SetBinContent(43,28132.65); h_SL3L471->SetBinContent(44,27566.33); h_SL3L471->SetBinContent(45,27000); h_SL3L471->SetBinContent(46,27214.29); h_SL3L471->SetBinContent(47,26704.08); h_SL3L471->SetBinContent(48,26020.41); h_SL3L471->SetBinContent(49,26959.18); h_SL3L471->SetBinContent(50,26086.73); h_SL3L471->SetBinContent(51,24959.18); h_SL3L471->SetBinContent(52,26117.35); h_SL3L471->SetBinContent(53,25030.61); h_SL3L471->SetBinContent(54,23811.22); h_SL3L471->SetBinContent(55,23484.69); h_SL3L471->SetBinContent(56,24020.41); h_SL3L471->SetBinContent(57,23474.49); h_SL3L471->SetBinContent(58,21719.39); h_SL3L471->SetBinContent(59,17678.57); h_SL3L471->SetMaximum(116789.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 6833"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }