void RatesPerCell_Removing_noisy_cells_run_7281_SL3() { //=========Macro generated from canvas: c/c //========= (Sat Dec 22 18:33:08 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-5163.788,67.5,46474.09); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 7281",60,0,60); h_SL3L168->SetBinContent(1,21966.99); h_SL3L168->SetBinContent(2,17318.59); h_SL3L168->SetBinContent(4,26442.73); h_SL3L168->SetBinContent(5,26947.41); h_SL3L168->SetBinContent(6,29723.17); h_SL3L168->SetBinContent(7,29683.32); h_SL3L168->SetBinContent(8,28235.68); h_SL3L168->SetBinContent(9,29138.8); h_SL3L168->SetBinContent(10,29550.51); h_SL3L168->SetBinContent(11,28461.46); h_SL3L168->SetBinContent(12,29351.3); h_SL3L168->SetBinContent(13,29125.52); h_SL3L168->SetBinContent(14,31237.22); h_SL3L168->SetBinContent(15,28806.77); h_SL3L168->SetBinContent(16,28395.05); h_SL3L168->SetBinContent(17,27890.37); h_SL3L168->SetBinContent(18,25566.18); h_SL3L168->SetBinContent(19,25459.93); h_SL3L168->SetBinContent(20,26110.7); h_SL3L168->SetBinContent(21,27677.88); h_SL3L168->SetBinContent(22,29497.39); h_SL3L168->SetBinContent(23,30161.45); h_SL3L168->SetBinContent(24,29205.21); h_SL3L168->SetBinContent(25,28448.18); h_SL3L168->SetBinContent(26,30081.76); h_SL3L168->SetBinContent(27,29032.55); h_SL3L168->SetBinContent(28,27319.28); h_SL3L168->SetBinContent(29,27372.41); h_SL3L168->SetBinContent(30,28248.96); h_SL3L168->SetBinContent(31,27531.78); h_SL3L168->SetBinContent(32,28461.46); h_SL3L168->SetBinContent(33,26615.38); h_SL3L168->SetBinContent(34,27000.54); h_SL3L168->SetBinContent(35,28541.15); h_SL3L168->SetBinContent(36,26562.26); h_SL3L168->SetBinContent(37,26270.07); h_SL3L168->SetBinContent(38,26867.73); h_SL3L168->SetBinContent(39,25938.05); h_SL3L168->SetBinContent(40,24716.18); h_SL3L168->SetBinContent(41,24038.85); h_SL3L168->SetBinContent(42,23295.1); h_SL3L168->SetBinContent(43,23507.6); h_SL3L168->SetBinContent(44,23720.1); h_SL3L168->SetBinContent(45,18899.05); h_SL3L168->SetBinContent(46,24184.94); h_SL3L168->SetBinContent(47,23082.6); h_SL3L168->SetBinContent(48,21342.78); h_SL3L168->SetBinContent(49,20758.41); h_SL3L168->SetBinContent(50,17663.9); h_SL3L168->SetBinContent(51,18261.55); h_SL3L168->SetBinContent(52,20572.47); h_SL3L168->SetBinContent(53,20731.84); h_SL3L168->SetBinContent(54,19164.67); h_SL3L168->SetBinContent(55,18620.14); h_SL3L168->SetBinContent(56,17982.65); h_SL3L168->SetBinContent(57,18234.99); h_SL3L168->SetBinContent(58,17358.44); h_SL3L168->SetBinContent(59,13028.79); h_SL3L168->SetMaximum(41310.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,21515.43); h_SL3L269->SetBinContent(2,20718.56); h_SL3L269->SetBinContent(4,19815.45); h_SL3L269->SetBinContent(5,26734.91); h_SL3L269->SetBinContent(6,27491.94); h_SL3L269->SetBinContent(7,28740.37); h_SL3L269->SetBinContent(8,28488.02); h_SL3L269->SetBinContent(9,27598.19); h_SL3L269->SetBinContent(10,28727.08); h_SL3L269->SetBinContent(11,27797.4); h_SL3L269->SetBinContent(12,27491.94); h_SL3L269->SetBinContent(13,28182.56); h_SL3L269->SetBinContent(14,28209.12); h_SL3L269->SetBinContent(15,29457.55); h_SL3L269->SetBinContent(16,27438.81); h_SL3L269->SetBinContent(17,26482.57); h_SL3L269->SetBinContent(18,25911.48); h_SL3L269->SetBinContent(19,25048.21); h_SL3L269->SetBinContent(20,24995.09); h_SL3L269->SetBinContent(21,24995.09); h_SL3L269->SetBinContent(22,28169.28); h_SL3L269->SetBinContent(23,28355.21); h_SL3L269->SetBinContent(24,28514.59); h_SL3L269->SetBinContent(25,27638.03); h_SL3L269->SetBinContent(26,28209.12); h_SL3L269->SetBinContent(27,28952.86); h_SL3L269->SetBinContent(28,27465.38); h_SL3L269->SetBinContent(29,25101.34); h_SL3L269->SetBinContent(30,27319.28); h_SL3L269->SetBinContent(31,25592.74); h_SL3L269->SetBinContent(32,26323.2); h_SL3L269->SetBinContent(33,26031.01); h_SL3L269->SetBinContent(34,26203.67); h_SL3L269->SetBinContent(35,26588.82); h_SL3L269->SetBinContent(36,26548.98); h_SL3L269->SetBinContent(37,25313.83); h_SL3L269->SetBinContent(38,25526.33); h_SL3L269->SetBinContent(39,24543.53); h_SL3L269->SetBinContent(40,24742.74); h_SL3L269->SetBinContent(41,22843.54); h_SL3L269->SetBinContent(42,24078.69); h_SL3L269->SetBinContent(43,23122.45); h_SL3L269->SetBinContent(44,23122.45); h_SL3L269->SetBinContent(45,20306.85); h_SL3L269->SetBinContent(46,21037.31); h_SL3L269->SetBinContent(47,23401.35); h_SL3L269->SetBinContent(48,21422.46); h_SL3L269->SetBinContent(49,20811.53); h_SL3L269->SetBinContent(50,19616.23); h_SL3L269->SetBinContent(51,14941.27); h_SL3L269->SetBinContent(52,20253.72); h_SL3L269->SetBinContent(53,18593.58); h_SL3L269->SetBinContent(54,20652.16); h_SL3L269->SetBinContent(55,17916.24); h_SL3L269->SetBinContent(56,17902.96); h_SL3L269->SetBinContent(57,18022.49); h_SL3L269->SetBinContent(58,17491.25); h_SL3L269->SetBinContent(59,14848.3); h_SL3L269->SetMaximum(35922.8); 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,19842.01); h_SL3L370->SetBinContent(2,16654.54); h_SL3L370->SetBinContent(3,14874.87); h_SL3L370->SetBinContent(4,23746.66); h_SL3L370->SetBinContent(5,25805.23); h_SL3L370->SetBinContent(6,27505.22); h_SL3L370->SetBinContent(7,27452.1); h_SL3L370->SetBinContent(8,26283.36); h_SL3L370->SetBinContent(9,28009.9); h_SL3L370->SetBinContent(10,27120.07); h_SL3L370->SetBinContent(11,27066.94); h_SL3L370->SetBinContent(12,28328.65); h_SL3L370->SetBinContent(13,28209.12); h_SL3L370->SetBinContent(14,27744.28); h_SL3L370->SetBinContent(15,26947.41); h_SL3L370->SetBinContent(16,27080.22); h_SL3L370->SetBinContent(17,25632.58); h_SL3L370->SetBinContent(18,23560.72); h_SL3L370->SetBinContent(19,23334.95); h_SL3L370->SetBinContent(20,24384.15); h_SL3L370->SetBinContent(21,26243.51); h_SL3L370->SetBinContent(22,27013.82); h_SL3L370->SetBinContent(23,27252.88); h_SL3L370->SetBinContent(24,26774.76); h_SL3L370->SetBinContent(25,27120.07); h_SL3L370->SetBinContent(26,26907.57); h_SL3L370->SetBinContent(27,27000.54); h_SL3L370->SetBinContent(28,25446.64); h_SL3L370->SetBinContent(29,25499.77); h_SL3L370->SetBinContent(30,26801.32); h_SL3L370->SetBinContent(31,25154.46); h_SL3L370->SetBinContent(32,24955.24); h_SL3L370->SetBinContent(33,25738.83); h_SL3L370->SetBinContent(34,25313.83); h_SL3L370->SetBinContent(35,25446.64); h_SL3L370->SetBinContent(36,24649.78); h_SL3L370->SetBinContent(37,23746.66); h_SL3L370->SetBinContent(38,23999); h_SL3L370->SetBinContent(39,24118.53); h_SL3L370->SetBinContent(40,22670.89); h_SL3L370->SetBinContent(41,22697.45); h_SL3L370->SetBinContent(42,22325.58); h_SL3L370->SetBinContent(43,22259.17); h_SL3L370->SetBinContent(44,21820.9); h_SL3L370->SetBinContent(45,3293.72); h_SL3L370->SetBinContent(46,22883.39); h_SL3L370->SetBinContent(47,21674.8); h_SL3L370->SetBinContent(48,20811.53); h_SL3L370->SetBinContent(49,19337.32); h_SL3L370->SetBinContent(50,16561.57); h_SL3L370->SetBinContent(51,17557.65); h_SL3L370->SetBinContent(52,18327.96); h_SL3L370->SetBinContent(53,19842.01); h_SL3L370->SetBinContent(54,18155.3); h_SL3L370->SetBinContent(55,17637.34); h_SL3L370->SetBinContent(56,17756.87); h_SL3L370->SetBinContent(57,16920.16); h_SL3L370->SetBinContent(58,15592.05); h_SL3L370->SetBinContent(59,12975.66); h_SL3L370->SetMaximum(35922.8); 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,18367.8); h_SL3L471->SetBinContent(3,12749.88); h_SL3L471->SetBinContent(4,18221.71); h_SL3L471->SetBinContent(5,25048.21); h_SL3L471->SetBinContent(6,24968.52); h_SL3L471->SetBinContent(7,27027.1); h_SL3L471->SetBinContent(8,25884.92); h_SL3L471->SetBinContent(9,26987.26); h_SL3L471->SetBinContent(10,27027.1); h_SL3L471->SetBinContent(11,25619.3); h_SL3L471->SetBinContent(12,26270.07); h_SL3L471->SetBinContent(13,27093.5); h_SL3L471->SetBinContent(14,27106.79); h_SL3L471->SetBinContent(15,26841.16); h_SL3L471->SetBinContent(16,24623.21); h_SL3L471->SetBinContent(17,26270.07); h_SL3L471->SetBinContent(18,23906.03); h_SL3L471->SetBinContent(19,22405.27); h_SL3L471->SetBinContent(20,22803.7); h_SL3L471->SetBinContent(21,24424); h_SL3L471->SetBinContent(22,26057.58); h_SL3L471->SetBinContent(23,26548.98); h_SL3L471->SetBinContent(24,27000.54); h_SL3L471->SetBinContent(25,26256.79); h_SL3L471->SetBinContent(26,27040.38); h_SL3L471->SetBinContent(27,26270.07); h_SL3L471->SetBinContent(28,26097.42); h_SL3L471->SetBinContent(29,24131.81); h_SL3L471->SetBinContent(30,26309.92); h_SL3L471->SetBinContent(31,25194.3); h_SL3L471->SetBinContent(32,23813.07); h_SL3L471->SetBinContent(33,24583.37); h_SL3L471->SetBinContent(34,25938.05); h_SL3L471->SetBinContent(35,24251.34); h_SL3L471->SetBinContent(36,24543.53); h_SL3L471->SetBinContent(37,24596.65); h_SL3L471->SetBinContent(38,23454.47); h_SL3L471->SetBinContent(39,24570.09); h_SL3L471->SetBinContent(40,22352.14); h_SL3L471->SetBinContent(41,23135.73); h_SL3L471->SetBinContent(42,22139.64); h_SL3L471->SetBinContent(43,22378.7); h_SL3L471->SetBinContent(44,21117); h_SL3L471->SetBinContent(45,19722.48); h_SL3L471->SetBinContent(46,19111.54); h_SL3L471->SetBinContent(47,21369.34); h_SL3L471->SetBinContent(48,20359.97); h_SL3L471->SetBinContent(49,18952.17); h_SL3L471->SetBinContent(50,18899.05); h_SL3L471->SetBinContent(51,13639.72); h_SL3L471->SetBinContent(52,17570.94); h_SL3L471->SetBinContent(53,18327.96); h_SL3L471->SetBinContent(54,20001.38); h_SL3L471->SetBinContent(55,18354.52); h_SL3L471->SetBinContent(56,16853.75); h_SL3L471->SetBinContent(57,17052.97); h_SL3L471->SetBinContent(58,16853.75); h_SL3L471->SetBinContent(59,12975.66); h_SL3L471->SetMaximum(35922.8); 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.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("SL3, run 7281"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }