void RatesPerCell_Removing_noisy_cells_run_6649_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:06:24 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11179.58,67.5,100616.2); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6649",60,0,60); h_SL2L164->SetBinContent(1,31241.5); h_SL2L164->SetBinContent(2,39310.45); h_SL2L164->SetBinContent(3,47368.8); h_SL2L164->SetBinContent(4,48030.09); h_SL2L164->SetBinContent(5,47803.3); h_SL2L164->SetBinContent(6,43324.79); h_SL2L164->SetBinContent(7,38375.75); h_SL2L164->SetBinContent(8,37932.77); h_SL2L164->SetBinContent(9,43352.34); h_SL2L164->SetBinContent(10,44062.38); h_SL2L164->SetBinContent(11,44136.56); h_SL2L164->SetBinContent(12,42824.59); h_SL2L164->SetBinContent(13,44098.41); h_SL2L164->SetBinContent(14,42521.5); h_SL2L164->SetBinContent(15,42025.54); h_SL2L164->SetBinContent(16,41078.12); h_SL2L164->SetBinContent(17,38878.07); h_SL2L164->SetBinContent(18,39113.34); h_SL2L164->SetBinContent(19,37292.68); h_SL2L164->SetBinContent(20,34416.51); h_SL2L164->SetBinContent(21,32063.86); h_SL2L164->SetBinContent(22,29160.14); h_SL2L164->SetBinContent(23,28505.21); h_SL2L164->SetBinContent(24,27186.88); h_SL2L164->SetBinContent(25,29469.59); h_SL2L164->SetBinContent(26,45304.41); h_SL2L164->SetBinContent(27,57362.27); h_SL2L164->SetBinContent(28,64303.64); h_SL2L164->SetBinContent(29,67627.03); h_SL2L164->SetBinContent(30,65212.91); h_SL2L164->SetBinContent(31,63161.23); h_SL2L164->SetBinContent(32,63792.84); h_SL2L164->SetBinContent(33,62909.01); h_SL2L164->SetBinContent(34,42305.31); h_SL2L164->SetBinContent(36,18342.19); h_SL2L164->SetBinContent(37,19215.43); h_SL2L164->SetBinContent(38,18323.12); h_SL2L164->SetBinContent(39,18155.68); h_SL2L164->SetBinContent(40,57137.6); h_SL2L164->SetBinContent(41,57680.2); h_SL2L164->SetBinContent(42,20150.13); h_SL2L164->SetBinContent(43,20692.72); h_SL2L164->SetBinContent(44,20080.19); h_SL2L164->SetBinContent(45,15056.96); h_SL2L164->SetBinContent(46,14077.75); h_SL2L164->SetBinContent(47,14469.86); h_SL2L164->SetBinContent(48,14796.26); h_SL2L164->SetBinContent(49,15826.34); h_SL2L164->SetBinContent(50,14912.83); h_SL2L164->SetBinContent(51,16095.52); h_SL2L164->SetBinContent(52,17640.63); h_SL2L164->SetBinContent(53,19486.72); h_SL2L164->SetBinContent(54,21061.52); h_SL2L164->SetBinContent(55,21356.13); h_SL2L164->SetBinContent(56,18272.25); h_SL2L164->SetBinContent(57,15709.77); h_SL2L164->SetMaximum(89436.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,25550.63); h_SL2L265->SetBinContent(2,37409.25); h_SL2L265->SetBinContent(3,40758.07); h_SL2L265->SetBinContent(4,46514.64); h_SL2L265->SetBinContent(5,46402.31); h_SL2L265->SetBinContent(6,43411.69); h_SL2L265->SetBinContent(7,39496.96); h_SL2L265->SetBinContent(8,35425.4); h_SL2L265->SetBinContent(9,40950.95); h_SL2L265->SetBinContent(10,42288.35); h_SL2L265->SetBinContent(11,43208.22); h_SL2L265->SetBinContent(12,42139.99); h_SL2L265->SetBinContent(13,41800.87); h_SL2L265->SetBinContent(14,41726.68); h_SL2L265->SetBinContent(15,41063.28); h_SL2L265->SetBinContent(16,39543.59); h_SL2L265->SetBinContent(17,38712.75); h_SL2L265->SetBinContent(18,37224.86); h_SL2L265->SetBinContent(19,37127.36); h_SL2L265->SetBinContent(20,34537.32); h_SL2L265->SetBinContent(21,32233.42); h_SL2L265->SetBinContent(22,29696.38); h_SL2L265->SetBinContent(23,27358.56); h_SL2L265->SetBinContent(24,26962.22); h_SL2L265->SetBinContent(25,25834.64); h_SL2L265->SetBinContent(26,36330.43); h_SL2L265->SetBinContent(27,51217.82); h_SL2L265->SetBinContent(28,60819.18); h_SL2L265->SetBinContent(29,65774.58); h_SL2L265->SetBinContent(30,65927.19); h_SL2L265->SetBinContent(31,62947.16); h_SL2L265->SetBinContent(32,62800.92); h_SL2L265->SetBinContent(33,63152.75); h_SL2L265->SetBinContent(34,54979.95); h_SL2L265->SetBinContent(35,29013.9); h_SL2L265->SetBinContent(36,18876.31); h_SL2L265->SetBinContent(37,18117.52); h_SL2L265->SetBinContent(38,17524.06); h_SL2L265->SetBinContent(39,17382.06); h_SL2L265->SetBinContent(40,17886.5); h_SL2L265->SetBinContent(41,17358.74); h_SL2L265->SetBinContent(42,16701.7); h_SL2L265->SetBinContent(43,15574.12); h_SL2L265->SetBinContent(44,15586.84); h_SL2L265->SetBinContent(45,14902.24); h_SL2L265->SetBinContent(46,13865.8); h_SL2L265->SetBinContent(47,13660.21); h_SL2L265->SetBinContent(48,13781.02); h_SL2L265->SetBinContent(49,14234.59); h_SL2L265->SetBinContent(50,15182.01); h_SL2L265->SetBinContent(51,14323.61); h_SL2L265->SetBinContent(52,16345.62); h_SL2L265->SetBinContent(53,17699.98); h_SL2L265->SetBinContent(54,19575.74); h_SL2L265->SetBinContent(55,20538); h_SL2L265->SetBinContent(56,18668.6); h_SL2L265->SetBinContent(57,17632.16); h_SL2L265->SetMaximum(77771.09); 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,29414.48); h_SL2L366->SetBinContent(2,35874.73); h_SL2L366->SetBinContent(3,44857.19); h_SL2L366->SetBinContent(4,44363.35); h_SL2L366->SetBinContent(5,43108.6); h_SL2L366->SetBinContent(6,40141.29); h_SL2L366->SetBinContent(7,35088.39); h_SL2L366->SetBinContent(8,36321.95); h_SL2L366->SetBinContent(9,40613.95); h_SL2L366->SetBinContent(10,41122.62); h_SL2L366->SetBinContent(11,40569.43); h_SL2L366->SetBinContent(12,40181.57); h_SL2L366->SetBinContent(13,40312.98); h_SL2L366->SetBinContent(14,40459.22); h_SL2L366->SetBinContent(15,39066.71); h_SL2L366->SetBinContent(16,37316); h_SL2L366->SetBinContent(17,36226.57); h_SL2L366->SetBinContent(18,36042.17); h_SL2L366->SetBinContent(19,34948.51); h_SL2L366->SetBinContent(20,32157.12); h_SL2L366->SetBinContent(21,29509.86); h_SL2L366->SetBinContent(22,27148.73); h_SL2L366->SetBinContent(23,25934.26); h_SL2L366->SetBinContent(24,25556.98); h_SL2L366->SetBinContent(25,28386.52); h_SL2L366->SetBinContent(26,44304); h_SL2L366->SetBinContent(27,55878.62); h_SL2L366->SetBinContent(28,62860.26); h_SL2L366->SetBinContent(29,66219.68); h_SL2L366->SetBinContent(30,63262.97); h_SL2L366->SetBinContent(31,62023.06); h_SL2L366->SetBinContent(32,62839.07); h_SL2L366->SetBinContent(33,61495.3); h_SL2L366->SetBinContent(34,40823.77); h_SL2L366->SetBinContent(35,20627.02); h_SL2L366->SetBinContent(36,17305.75); h_SL2L366->SetBinContent(37,16536.37); h_SL2L366->SetBinContent(38,16741.96); h_SL2L366->SetBinContent(39,16508.82); h_SL2L366->SetBinContent(40,16254.48); h_SL2L366->SetBinContent(41,15909); h_SL2L366->SetBinContent(42,14921.31); h_SL2L366->SetBinContent(43,14762.35); h_SL2L366->SetBinContent(44,14607.62); h_SL2L366->SetBinContent(45,13931.5); h_SL2L366->SetBinContent(46,13143.05); h_SL2L366->SetBinContent(47,13272.34); h_SL2L366->SetBinContent(48,13494.88); h_SL2L366->SetBinContent(49,14351.17); h_SL2L366->SetBinContent(50,13836.12); h_SL2L366->SetBinContent(51,14630.94); h_SL2L366->SetBinContent(52,16519.42); h_SL2L366->SetBinContent(53,17727.54); h_SL2L366->SetBinContent(54,19616.01); h_SL2L366->SetBinContent(55,19827.96); h_SL2L366->SetBinContent(56,17223.09); h_SL2L366->SetBinContent(57,16682.62); h_SL2L366->SetMaximum(77771.09); 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,34571.24); h_SL2L467->SetBinContent(3,38736.06); h_SL2L467->SetBinContent(4,42992.03); h_SL2L467->SetBinContent(5,42784.32); h_SL2L467->SetBinContent(6,39522.4); h_SL2L467->SetBinContent(7,36731.01); h_SL2L467->SetBinContent(8,32638.25); h_SL2L467->SetBinContent(9,38068.42); h_SL2L467->SetBinContent(10,39482.13); h_SL2L467->SetBinContent(11,39626.25); h_SL2L467->SetBinContent(12,38644.93); h_SL2L467->SetBinContent(13,38812.37); h_SL2L467->SetBinContent(14,38613.13); h_SL2L467->SetBinContent(15,37983.64); h_SL2L467->SetBinContent(16,36086.68); h_SL2L467->SetBinContent(17,35728.49); h_SL2L467->SetBinContent(18,35230.4); h_SL2L467->SetBinContent(19,34041.36); h_SL2L467->SetBinContent(20,31851.91); h_SL2L467->SetBinContent(21,29927.4); h_SL2L467->SetBinContent(22,26900.75); h_SL2L467->SetBinContent(23,25855.83); h_SL2L467->SetBinContent(24,24866.03); h_SL2L467->SetBinContent(25,24071.21); h_SL2L467->SetBinContent(26,34937.91); h_SL2L467->SetBinContent(27,49704.5); h_SL2L467->SetBinContent(28,59585.63); h_SL2L467->SetBinContent(29,64619.45); h_SL2L467->SetBinContent(30,64918.3); h_SL2L467->SetBinContent(31,61925.56); h_SL2L467->SetBinContent(32,61726.33); h_SL2L467->SetBinContent(33,62103.6); h_SL2L467->SetBinContent(34,54288.99); h_SL2L467->SetBinContent(35,27615.02); h_SL2L467->SetBinContent(36,17822.91); h_SL2L467->SetBinContent(37,16417.68); h_SL2L467->SetBinContent(38,16239.64); h_SL2L467->SetBinContent(39,15930.2); h_SL2L467->SetBinContent(40,15637.7); h_SL2L467->SetBinContent(41,15160.82); h_SL2L467->SetBinContent(42,15090.87); h_SL2L467->SetBinContent(43,14141.33); h_SL2L467->SetBinContent(44,14050.2); h_SL2L467->SetBinContent(45,13812.81); h_SL2L467->SetBinContent(46,12958.65); h_SL2L467->SetBinContent(47,12630.13); h_SL2L467->SetBinContent(48,12922.62); h_SL2L467->SetBinContent(49,13518.2); h_SL2L467->SetBinContent(50,13980.25); h_SL2L467->SetBinContent(51,12990.44); h_SL2L467->SetBinContent(52,14974.3); h_SL2L467->SetBinContent(53,16246); h_SL2L467->SetBinContent(54,17490.15); h_SL2L467->SetBinContent(55,18948.37); h_SL2L467->SetBinContent(56,17273.96); h_SL2L467->SetBinContent(57,16428.28); h_SL2L467->SetMaximum(77771.09); 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 6649"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }