void RatesPerCell_Removing_noisy_cells_run_6624_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:52:19 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-14965.24,67.5,134687.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 6624",60,0,60); h_SL2L164->SetBinContent(1,59420.6); h_SL2L164->SetBinContent(2,73563.29); h_SL2L164->SetBinContent(3,88717.57); h_SL2L164->SetBinContent(4,90527.79); h_SL2L164->SetBinContent(5,88297.24); h_SL2L164->SetBinContent(6,81885.81); h_SL2L164->SetBinContent(7,72944); h_SL2L164->SetBinContent(8,70909.61); h_SL2L164->SetBinContent(9,81801.75); h_SL2L164->SetBinContent(10,81829.77); h_SL2L164->SetBinContent(11,82482.68); h_SL2L164->SetBinContent(12,79613.23); h_SL2L164->SetBinContent(13,79786.97); h_SL2L164->SetBinContent(14,78901.48); h_SL2L164->SetBinContent(15,77601.26); h_SL2L164->SetBinContent(16,74081.7); h_SL2L164->SetBinContent(17,72585.32); h_SL2L164->SetBinContent(18,70960.05); h_SL2L164->SetBinContent(19,68681.86); h_SL2L164->SetBinContent(20,62769.22); h_SL2L164->SetBinContent(21,58860.16); h_SL2L164->SetBinContent(22,53337.03); h_SL2L164->SetBinContent(23,52734.55); h_SL2L164->SetBinContent(24,48654.55); h_SL2L164->SetBinContent(25,48738.62); h_SL2L164->SetBinContent(26,63329.66); h_SL2L164->SetBinContent(27,77186.53); h_SL2L164->SetBinContent(28,84536.7); h_SL2L164->SetBinContent(29,86882.13); h_SL2L164->SetBinContent(30,80187.68); h_SL2L164->SetBinContent(31,72848.73); h_SL2L164->SetBinContent(32,68998.51); h_SL2L164->SetBinContent(33,64450.54); h_SL2L164->SetBinContent(34,47029.28); h_SL2L164->SetBinContent(36,31776.92); h_SL2L164->SetBinContent(37,33189.23); h_SL2L164->SetBinContent(38,33320.93); h_SL2L164->SetBinContent(39,32519.5); h_SL2L164->SetBinContent(40,64330.05); h_SL2L164->SetBinContent(41,88952.95); h_SL2L164->SetBinContent(42,35719.61); h_SL2L164->SetBinContent(43,35985.82); h_SL2L164->SetBinContent(44,35459.01); h_SL2L164->SetBinContent(45,27439.12); h_SL2L164->SetBinContent(46,25794.23); h_SL2L164->SetBinContent(47,26357.47); h_SL2L164->SetBinContent(48,26430.33); h_SL2L164->SetBinContent(49,28537.58); h_SL2L164->SetBinContent(50,28125.66); h_SL2L164->SetBinContent(51,29664.06); h_SL2L164->SetBinContent(52,32948.24); h_SL2L164->SetBinContent(53,37075.88); h_SL2L164->SetBinContent(54,39463.35); h_SL2L164->SetBinContent(55,39950.93); h_SL2L164->SetBinContent(56,34394.17); h_SL2L164->SetBinContent(57,34646.37); h_SL2L164->SetMaximum(119721.9); 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,48124.94); h_SL2L265->SetBinContent(2,70340.76); h_SL2L265->SetBinContent(3,76345.87); h_SL2L265->SetBinContent(4,88070.27); h_SL2L265->SetBinContent(5,86100.32); h_SL2L265->SetBinContent(6,81244.11); h_SL2L265->SetBinContent(7,74799.05); h_SL2L265->SetBinContent(8,66213.12); h_SL2L265->SetBinContent(9,75423.95); h_SL2L265->SetBinContent(10,79092.02); h_SL2L265->SetBinContent(11,80238.12); h_SL2L265->SetBinContent(12,78147.68); h_SL2L265->SetBinContent(13,77721.75); h_SL2L265->SetBinContent(14,76726.97); h_SL2L265->SetBinContent(15,74748.62); h_SL2L265->SetBinContent(16,73456.8); h_SL2L265->SetBinContent(17,69755.1); h_SL2L265->SetBinContent(18,68667.85); h_SL2L265->SetBinContent(19,67684.28); h_SL2L265->SetBinContent(20,62744); h_SL2L265->SetBinContent(21,59981.04); h_SL2L265->SetBinContent(22,53987.14); h_SL2L265->SetBinContent(23,50349.88); h_SL2L265->SetBinContent(24,48679.77); h_SL2L265->SetBinContent(25,45443.23); h_SL2L265->SetBinContent(26,54261.75); h_SL2L265->SetBinContent(27,68160.65); h_SL2L265->SetBinContent(28,80773.34); h_SL2L265->SetBinContent(29,85307.3); h_SL2L265->SetBinContent(30,83407.41); h_SL2L265->SetBinContent(31,73201.8); h_SL2L265->SetBinContent(32,69788.73); h_SL2L265->SetBinContent(33,66241.15); h_SL2L265->SetBinContent(34,56430.65); h_SL2L265->SetBinContent(35,37378.51); h_SL2L265->SetBinContent(36,30866.21); h_SL2L265->SetBinContent(37,29470.71); h_SL2L265->SetBinContent(38,30818.57); h_SL2L265->SetBinContent(39,30387.03); h_SL2L265->SetBinContent(40,31348.18); h_SL2L265->SetBinContent(41,29899.45); h_SL2L265->SetBinContent(42,29515.54); h_SL2L265->SetBinContent(43,28582.41); h_SL2L265->SetBinContent(44,28904.67); h_SL2L265->SetBinContent(45,26021.21); h_SL2L265->SetBinContent(46,25233.79); h_SL2L265->SetBinContent(47,25259.01); h_SL2L265->SetBinContent(48,25485.99); h_SL2L265->SetBinContent(49,26346.26); h_SL2L265->SetBinContent(50,27724.94); h_SL2L265->SetBinContent(51,26606.87); h_SL2L265->SetBinContent(52,31272.52); h_SL2L265->SetBinContent(53,34035.49); h_SL2L265->SetBinContent(54,36711.59); h_SL2L265->SetBinContent(55,38314.45); h_SL2L265->SetBinContent(56,34458.62); h_SL2L265->SetBinContent(57,33920.6); h_SL2L265->SetMaximum(104107); 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,56921.04); h_SL2L366->SetBinContent(2,67081.8); h_SL2L366->SetBinContent(3,83718.45); h_SL2L366->SetBinContent(4,83738.07); h_SL2L366->SetBinContent(5,81874.6); h_SL2L366->SetBinContent(6,74381.53); h_SL2L366->SetBinContent(7,66288.78); h_SL2L366->SetBinContent(8,67633.84); h_SL2L366->SetBinContent(9,75561.26); h_SL2L366->SetBinContent(10,76334.66); h_SL2L366->SetBinContent(11,76519.61); h_SL2L366->SetBinContent(12,74476.8); h_SL2L366->SetBinContent(13,74454.38); h_SL2L366->SetBinContent(14,73678.18); h_SL2L366->SetBinContent(15,71422.41); h_SL2L366->SetBinContent(16,69026.53); h_SL2L366->SetBinContent(17,66888.45); h_SL2L366->SetBinContent(18,66356.04); h_SL2L366->SetBinContent(19,63178.34); h_SL2L366->SetBinContent(20,57450.65); h_SL2L366->SetBinContent(21,53690.1); h_SL2L366->SetBinContent(22,49598.89); h_SL2L366->SetBinContent(23,47514.06); h_SL2L366->SetBinContent(24,44916.42); h_SL2L366->SetBinContent(25,45992.47); h_SL2L366->SetBinContent(26,60510.65); h_SL2L366->SetBinContent(27,73574.5); h_SL2L366->SetBinContent(28,82129.6); h_SL2L366->SetBinContent(29,83833.34); h_SL2L366->SetBinContent(30,78374.66); h_SL2L366->SetBinContent(31,70301.53); h_SL2L366->SetBinContent(32,66683.89); h_SL2L366->SetBinContent(33,61597.91); h_SL2L366->SetBinContent(34,44703.46); h_SL2L366->SetBinContent(35,31538.73); h_SL2L366->SetBinContent(36,29176.48); h_SL2L366->SetBinContent(37,28459.12); h_SL2L366->SetBinContent(38,29134.45); h_SL2L366->SetBinContent(39,28338.62); h_SL2L366->SetBinContent(40,28688.9); h_SL2L366->SetBinContent(41,27780.99); h_SL2L366->SetBinContent(42,27425.11); h_SL2L366->SetBinContent(43,26982.36); h_SL2L366->SetBinContent(44,26108.07); h_SL2L366->SetBinContent(45,25292.63); h_SL2L366->SetBinContent(46,23902.74); h_SL2L366->SetBinContent(47,24538.84); h_SL2L366->SetBinContent(48,24572.47); h_SL2L366->SetBinContent(49,26318.24); h_SL2L366->SetBinContent(50,25769.01); h_SL2L366->SetBinContent(51,26514.39); h_SL2L366->SetBinContent(52,29944.28); h_SL2L366->SetBinContent(53,33587.14); h_SL2L366->SetBinContent(54,36271.64); h_SL2L366->SetBinContent(55,37451.37); h_SL2L366->SetBinContent(56,31342.58); h_SL2L366->SetBinContent(57,31863.79); h_SL2L366->SetMaximum(104107); 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,65361.25); h_SL2L467->SetBinContent(3,72823.51); h_SL2L467->SetBinContent(4,80425.87); h_SL2L467->SetBinContent(5,79677.68); h_SL2L467->SetBinContent(6,74423.56); h_SL2L467->SetBinContent(7,68575.38); h_SL2L467->SetBinContent(8,60364.94); h_SL2L467->SetBinContent(9,71357.96); h_SL2L467->SetBinContent(10,72408.78); h_SL2L467->SetBinContent(11,75112.91); h_SL2L467->SetBinContent(12,72453.62); h_SL2L467->SetBinContent(13,71674.61); h_SL2L467->SetBinContent(14,70424.83); h_SL2L467->SetBinContent(15,69455.27); h_SL2L467->SetBinContent(16,66767.96); h_SL2L467->SetBinContent(17,64921.31); h_SL2L467->SetBinContent(18,63792.02); h_SL2L467->SetBinContent(19,63920.93); h_SL2L467->SetBinContent(20,58224.06); h_SL2L467->SetBinContent(21,54387.85); h_SL2L467->SetBinContent(22,49937.96); h_SL2L467->SetBinContent(23,46547.3); h_SL2L467->SetBinContent(24,44695.05); h_SL2L467->SetBinContent(25,42060.98); h_SL2L467->SetBinContent(26,50865.49); h_SL2L467->SetBinContent(27,65893.67); h_SL2L467->SetBinContent(28,78044); h_SL2L467->SetBinContent(29,82698.45); h_SL2L467->SetBinContent(30,82407.02); h_SL2L467->SetBinContent(31,71977.24); h_SL2L467->SetBinContent(32,67448.89); h_SL2L467->SetBinContent(33,64212.36); h_SL2L467->SetBinContent(34,54253.34); h_SL2L467->SetBinContent(35,34716.43); h_SL2L467->SetBinContent(36,28646.87); h_SL2L467->SetBinContent(37,27867.85); h_SL2L467->SetBinContent(38,28206.92); h_SL2L467->SetBinContent(39,27979.94); h_SL2L467->SetBinContent(40,27086.04); h_SL2L467->SetBinContent(41,26682.52); h_SL2L467->SetBinContent(42,26833.84); h_SL2L467->SetBinContent(43,25183.35); h_SL2L467->SetBinContent(44,25530.82); h_SL2L467->SetBinContent(45,24757.41); h_SL2L467->SetBinContent(46,23345.11); h_SL2L467->SetBinContent(47,23308.68); h_SL2L467->SetBinContent(48,23101.32); h_SL2L467->SetBinContent(49,24328.68); h_SL2L467->SetBinContent(50,26298.62); h_SL2L467->SetBinContent(51,24157.74); h_SL2L467->SetBinContent(52,27694.12); h_SL2L467->SetBinContent(53,30527.14); h_SL2L467->SetBinContent(54,33273.29); h_SL2L467->SetBinContent(55,36190.38); h_SL2L467->SetBinContent(56,32485.88); h_SL2L467->SetBinContent(57,30339.39); h_SL2L467->SetMaximum(104107); 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 6624"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }