void RatesPerCell_Removing_noisy_cells_run_6705_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:50:22 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-18839.01,67.5,169551.1); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6705",60,0,60); h_SL2L164->SetBinContent(1,49251.85); h_SL2L164->SetBinContent(2,60299.67); h_SL2L164->SetBinContent(3,72773.71); h_SL2L164->SetBinContent(4,76733.84); h_SL2L164->SetBinContent(5,73222.58); h_SL2L164->SetBinContent(6,67488.71); h_SL2L164->SetBinContent(7,60777.49); h_SL2L164->SetBinContent(8,59286.11); h_SL2L164->SetBinContent(9,66641.66); h_SL2L164->SetBinContent(10,69624.43); h_SL2L164->SetBinContent(11,68857.02); h_SL2L164->SetBinContent(12,66605.47); h_SL2L164->SetBinContent(13,67054.33); h_SL2L164->SetBinContent(14,66757.5); h_SL2L164->SetBinContent(15,65172); h_SL2L164->SetBinContent(16,62551.22); h_SL2L164->SetBinContent(17,62290.59); h_SL2L164->SetBinContent(18,60516.86); h_SL2L164->SetBinContent(19,57324.14); h_SL2L164->SetBinContent(20,55087.07); h_SL2L164->SetBinContent(21,49215.65); h_SL2L164->SetBinContent(22,45711.62); h_SL2L164->SetBinContent(23,43727.94); h_SL2L164->SetBinContent(24,42432.03); h_SL2L164->SetBinContent(25,44437.43); h_SL2L164->SetBinContent(26,58395.62); h_SL2L164->SetBinContent(27,72476.88); h_SL2L164->SetBinContent(28,75937.47); h_SL2L164->SetBinContent(29,79723.85); h_SL2L164->SetBinContent(30,75141.1); h_SL2L164->SetBinContent(31,73034.34); h_SL2L164->SetBinContent(32,72875.07); h_SL2L164->SetBinContent(33,71550.2); h_SL2L164->SetBinContent(34,52299.77); h_SL2L164->SetBinContent(36,28785.14); h_SL2L164->SetBinContent(37,29516.36); h_SL2L164->SetBinContent(38,28473.84); h_SL2L164->SetBinContent(39,28872.02); h_SL2L164->SetBinContent(40,113960.5); h_SL2L164->SetBinContent(41,71456.09); h_SL2L164->SetBinContent(42,30138.97); h_SL2L164->SetBinContent(43,30008.66); h_SL2L164->SetBinContent(44,30312.73); h_SL2L164->SetBinContent(45,24086.56); h_SL2L164->SetBinContent(46,22892.01); h_SL2L164->SetBinContent(47,23268.47); h_SL2L164->SetBinContent(48,23246.76); h_SL2L164->SetBinContent(49,25650.34); h_SL2L164->SetBinContent(50,23420.51); h_SL2L164->SetBinContent(51,25643.11); h_SL2L164->SetBinContent(52,28459.36); h_SL2L164->SetBinContent(53,30508.2); h_SL2L164->SetBinContent(54,34091.86); h_SL2L164->SetBinContent(55,33215.86); h_SL2L164->SetBinContent(56,28806.87); h_SL2L164->SetBinContent(57,31333.53); h_SL2L164->SetMaximum(150712.1); 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,40187.71); h_SL2L265->SetBinContent(2,58142.23); h_SL2L265->SetBinContent(3,62138.55); h_SL2L265->SetBinContent(4,73816.23); h_SL2L265->SetBinContent(5,71195.45); h_SL2L265->SetBinContent(6,67828.98); h_SL2L265->SetBinContent(7,63086.96); h_SL2L265->SetBinContent(8,55101.54); h_SL2L265->SetBinContent(9,64057.08); h_SL2L265->SetBinContent(10,66446.2); h_SL2L265->SetBinContent(11,66786.46); h_SL2L265->SetBinContent(12,66359.31); h_SL2L265->SetBinContent(13,64983.77); h_SL2L265->SetBinContent(14,65432.63); h_SL2L265->SetBinContent(15,63839.89); h_SL2L265->SetBinContent(16,63058); h_SL2L265->SetBinContent(17,60408.26); h_SL2L265->SetBinContent(18,58033.63); h_SL2L265->SetBinContent(19,57946.76); h_SL2L265->SetBinContent(20,52661.76); h_SL2L265->SetBinContent(21,49736.91); h_SL2L265->SetBinContent(22,46732.42); h_SL2L265->SetBinContent(23,43083.6); h_SL2L265->SetBinContent(24,40803.09); h_SL2L265->SetBinContent(25,40064.64); h_SL2L265->SetBinContent(26,50026.5); h_SL2L265->SetBinContent(27,62066.16); h_SL2L265->SetBinContent(28,72049.74); h_SL2L265->SetBinContent(29,76893.12); h_SL2L265->SetBinContent(30,77132.02); h_SL2L265->SetBinContent(31,71101.34); h_SL2L265->SetBinContent(32,71325.77); h_SL2L265->SetBinContent(33,71550.2); h_SL2L265->SetBinContent(34,64440.79); h_SL2L265->SetBinContent(35,36915.36); h_SL2L265->SetBinContent(36,28075.65); h_SL2L265->SetBinContent(37,26084.73); h_SL2L265->SetBinContent(38,27091.05); h_SL2L265->SetBinContent(39,26236.76); h_SL2L265->SetBinContent(40,27510.95); h_SL2L265->SetBinContent(41,26613.23); h_SL2L265->SetBinContent(42,25693.78); h_SL2L265->SetBinContent(43,24209.64); h_SL2L265->SetBinContent(44,25389.71); h_SL2L265->SetBinContent(45,22928.21); h_SL2L265->SetBinContent(46,22892.01); h_SL2L265->SetBinContent(47,21480.26); h_SL2L265->SetBinContent(48,21400.63); h_SL2L265->SetBinContent(49,22117.36); h_SL2L265->SetBinContent(50,23348.11); h_SL2L265->SetBinContent(51,21907.41); h_SL2L265->SetBinContent(52,25968.89); h_SL2L265->SetBinContent(53,27901.9); h_SL2L265->SetBinContent(54,30175.17); h_SL2L265->SetBinContent(55,33128.98); h_SL2L265->SetBinContent(56,29632.19); h_SL2L265->SetBinContent(57,27141.73); h_SL2L265->SetMaximum(131054.6); 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,46493.51); h_SL2L366->SetBinContent(2,55753.12); h_SL2L366->SetBinContent(3,69356.56); h_SL2L366->SetBinContent(4,69819.91); h_SL2L366->SetBinContent(5,67184.65); h_SL2L366->SetBinContent(6,62435.39); h_SL2L366->SetBinContent(7,55354.93); h_SL2L366->SetBinContent(8,56535.01); h_SL2L366->SetBinContent(9,62761.17); h_SL2L366->SetBinContent(10,63738.54); h_SL2L366->SetBinContent(11,66171.09); h_SL2L366->SetBinContent(12,62203.71); h_SL2L366->SetBinContent(13,63231.75); h_SL2L366->SetBinContent(14,62116.84); h_SL2L366->SetBinContent(15,60075.23); h_SL2L366->SetBinContent(16,58786.56); h_SL2L366->SetBinContent(17,56042.71); h_SL2L366->SetBinContent(18,56607.41); h_SL2L366->SetBinContent(19,53943.19); h_SL2L366->SetBinContent(20,49309.77); h_SL2L366->SetBinContent(21,45494.43); h_SL2L366->SetBinContent(22,42156.92); h_SL2L366->SetBinContent(23,41208.51); h_SL2L366->SetBinContent(24,38790.45); h_SL2L366->SetBinContent(25,41005.8); h_SL2L366->SetBinContent(26,57555.81); h_SL2L366->SetBinContent(27,69088.7); h_SL2L366->SetBinContent(28,74004.47); h_SL2L366->SetBinContent(29,76806.24); h_SL2L366->SetBinContent(30,73287.73); h_SL2L366->SetBinContent(31,70884.14); h_SL2L366->SetBinContent(32,70847.95); h_SL2L366->SetBinContent(33,69103.17); h_SL2L366->SetBinContent(34,49729.67); h_SL2L366->SetBinContent(35,29429.48); h_SL2L366->SetBinContent(36,25889.26); h_SL2L366->SetBinContent(37,26772.5); h_SL2L366->SetBinContent(38,25425.91); h_SL2L366->SetBinContent(39,24629.54); h_SL2L366->SetBinContent(40,24477.51); h_SL2L366->SetBinContent(41,23420.51); h_SL2L366->SetBinContent(42,22660.34); h_SL2L366->SetBinContent(43,23282.96); h_SL2L366->SetBinContent(44,22689.3); h_SL2L366->SetBinContent(45,21806.05); h_SL2L366->SetBinContent(46,20046.8); h_SL2L366->SetBinContent(47,21501.98); h_SL2L366->SetBinContent(48,22457.62); h_SL2L366->SetBinContent(49,22276.63); h_SL2L366->SetBinContent(50,21798.81); h_SL2L366->SetBinContent(51,23029.56); h_SL2L366->SetBinContent(52,25389.71); h_SL2L366->SetBinContent(53,27916.38); h_SL2L366->SetBinContent(54,30356.17); h_SL2L366->SetBinContent(55,31659.32); h_SL2L366->SetBinContent(56,25751.7); h_SL2L366->SetBinContent(57,26113.69); h_SL2L366->SetMaximum(131054.6); 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,54059.02); h_SL2L467->SetBinContent(3,61096.04); h_SL2L467->SetBinContent(4,67068.81); h_SL2L467->SetBinContent(5,66185.56); h_SL2L467->SetBinContent(6,63999.16); h_SL2L467->SetBinContent(7,57121.43); h_SL2L467->SetBinContent(8,50178.53); h_SL2L467->SetBinContent(9,58887.92); h_SL2L467->SetBinContent(10,59908.72); h_SL2L467->SetBinContent(11,61074.32); h_SL2L467->SetBinContent(12,60661.65); h_SL2L467->SetBinContent(13,59611.89); h_SL2L467->SetBinContent(14,60075.23); h_SL2L467->SetBinContent(15,59865.28); h_SL2L467->SetBinContent(16,57215.54); h_SL2L467->SetBinContent(17,54869.87); h_SL2L467->SetBinContent(18,53154.06); h_SL2L467->SetBinContent(19,54377.57); h_SL2L467->SetBinContent(20,48375.84); h_SL2L467->SetBinContent(21,46898.94); h_SL2L467->SetBinContent(22,42352.39); h_SL2L467->SetBinContent(23,39369.62); h_SL2L467->SetBinContent(24,37791.36); h_SL2L467->SetBinContent(25,37277.34); h_SL2L467->SetBinContent(26,47659.11); h_SL2L467->SetBinContent(27,61429.06); h_SL2L467->SetBinContent(28,70999.98); h_SL2L467->SetBinContent(29,75524.8); h_SL2L467->SetBinContent(30,75256.94); h_SL2L467->SetBinContent(31,69971.94); h_SL2L467->SetBinContent(32,69559.27); h_SL2L467->SetBinContent(33,70449.76); h_SL2L467->SetBinContent(34,61856.21); h_SL2L467->SetBinContent(35,35807.68); h_SL2L467->SetBinContent(36,25635.87); h_SL2L467->SetBinContent(37,24615.06); h_SL2L467->SetBinContent(38,24730.9); h_SL2L467->SetBinContent(39,23731.82); h_SL2L467->SetBinContent(40,23188.84); h_SL2L467->SetBinContent(41,22624.14); h_SL2L467->SetBinContent(42,22884.77); h_SL2L467->SetBinContent(43,22349.03); h_SL2L467->SetBinContent(44,22479.35); h_SL2L467->SetBinContent(45,21480.26); h_SL2L467->SetBinContent(46,20061.28); h_SL2L467->SetBinContent(47,20025.08); h_SL2L467->SetBinContent(48,19634.13); h_SL2L467->SetBinContent(49,21335.47); h_SL2L467->SetBinContent(50,22558.98); h_SL2L467->SetBinContent(51,20343.63); h_SL2L467->SetBinContent(52,23478.43); h_SL2L467->SetBinContent(53,25266.64); h_SL2L467->SetBinContent(54,27373.4); h_SL2L467->SetBinContent(55,29567.04); h_SL2L467->SetBinContent(56,27952.58); h_SL2L467->SetBinContent(57,25447.63); h_SL2L467->SetMaximum(131054.6); 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 6705"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }