void RatesPerCell_Removing_noisy_cells_run_7278_SL2() { //=========Macro generated from canvas: c/c //========= (Mon Jan 21 13:19:55 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-17717.62,67.5,159458.6); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7278",60,0,60); h_SL2L164->SetBinContent(1,32941.41); h_SL2L164->SetBinContent(2,40337.88); h_SL2L164->SetBinContent(3,49607.38); h_SL2L164->SetBinContent(4,50221.1); h_SL2L164->SetBinContent(5,50372.53); h_SL2L164->SetBinContent(6,47582.91); h_SL2L164->SetBinContent(7,44912.85); h_SL2L164->SetBinContent(8,42792.74); h_SL2L164->SetBinContent(9,46204.05); h_SL2L164->SetBinContent(10,49798.67); h_SL2L164->SetBinContent(11,50555.85); h_SL2L164->SetBinContent(12,51990.51); h_SL2L164->SetBinContent(13,52835.37); h_SL2L164->SetBinContent(14,51249.27); h_SL2L164->SetBinContent(15,51400.71); h_SL2L164->SetBinContent(16,51679.67); h_SL2L164->SetBinContent(17,50165.3); h_SL2L164->SetBinContent(18,47288.01); h_SL2L164->SetBinContent(19,45239.64); h_SL2L164->SetBinContent(20,36089.69); h_SL2L164->SetBinContent(21,30024.26); h_SL2L164->SetBinContent(22,30000.35); h_SL2L164->SetBinContent(23,28645.39); h_SL2L164->SetBinContent(24,25792.01); h_SL2L164->SetBinContent(25,23281.36); h_SL2L164->SetBinContent(26,22069.86); h_SL2L164->SetBinContent(27,21137.33); h_SL2L164->SetBinContent(28,20172.92); h_SL2L164->SetBinContent(29,19654.85); h_SL2L164->SetBinContent(30,19192.57); h_SL2L164->SetBinContent(31,19375.89); h_SL2L164->SetBinContent(32,18451.33); h_SL2L164->SetBinContent(33,18395.54); h_SL2L164->SetBinContent(34,19375.89); h_SL2L164->SetBinContent(36,19870.05); h_SL2L164->SetBinContent(37,20818.52); h_SL2L164->SetBinContent(38,20547.53); h_SL2L164->SetBinContent(39,21527.88); h_SL2L164->SetBinContent(40,107177.1); h_SL2L164->SetBinContent(41,93986.22); h_SL2L164->SetBinContent(42,24142.15); h_SL2L164->SetBinContent(43,22412.59); h_SL2L164->SetBinContent(44,22978.48); h_SL2L164->SetBinContent(45,20467.83); h_SL2L164->SetBinContent(46,19073.02); h_SL2L164->SetBinContent(47,19447.62); h_SL2L164->SetBinContent(48,19080.99); h_SL2L164->SetBinContent(49,19033.17); h_SL2L164->SetBinContent(50,18833.91); h_SL2L164->SetBinContent(51,20427.97); h_SL2L164->SetBinContent(52,20372.18); h_SL2L164->SetBinContent(53,23663.93); h_SL2L164->SetBinContent(54,23998.69); h_SL2L164->SetBinContent(55,24692.11); h_SL2L164->SetBinContent(56,21320.65); h_SL2L164->SetBinContent(57,16578.3); h_SL2L164->SetMaximum(141740.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,25497.11); h_SL2L265->SetBinContent(2,39883.57); h_SL2L265->SetBinContent(3,44657.8); h_SL2L265->SetBinContent(4,49440); h_SL2L265->SetBinContent(5,49782.73); h_SL2L265->SetBinContent(6,47256.13); h_SL2L265->SetBinContent(7,46929.35); h_SL2L265->SetBinContent(8,40672.63); h_SL2L265->SetBinContent(9,43661.51); h_SL2L265->SetBinContent(10,46076.52); h_SL2L265->SetBinContent(11,49432.03); h_SL2L265->SetBinContent(12,50603.67); h_SL2L265->SetBinContent(13,50563.82); h_SL2L265->SetBinContent(14,51711.55); h_SL2L265->SetBinContent(15,50635.55); h_SL2L265->SetBinContent(16,50300.8); h_SL2L265->SetBinContent(17,47766.23); h_SL2L265->SetBinContent(18,48435.74); h_SL2L265->SetBinContent(19,45263.55); h_SL2L265->SetBinContent(20,40808.13); h_SL2L265->SetBinContent(21,31586.45); h_SL2L265->SetBinContent(22,29514.16); h_SL2L265->SetBinContent(23,27888.21); h_SL2L265->SetBinContent(24,26365.88); h_SL2L265->SetBinContent(25,23512.5); h_SL2L265->SetBinContent(26,22667.64); h_SL2L265->SetBinContent(27,21703.23); h_SL2L265->SetBinContent(28,20531.59); h_SL2L265->SetBinContent(29,18913.61); h_SL2L265->SetBinContent(30,18969.4); h_SL2L265->SetBinContent(31,17909.35); h_SL2L265->SetBinContent(32,18411.48); h_SL2L265->SetBinContent(33,18180.34); h_SL2L265->SetBinContent(34,18666.53); h_SL2L265->SetBinContent(35,16673.95); h_SL2L265->SetBinContent(36,17494.89); h_SL2L265->SetBinContent(37,19168.66); h_SL2L265->SetBinContent(38,19750.5); h_SL2L265->SetBinContent(39,19814.26); h_SL2L265->SetBinContent(40,20372.18); h_SL2L265->SetBinContent(41,27003.5); h_SL2L265->SetBinContent(42,22173.48); h_SL2L265->SetBinContent(43,19080.99); h_SL2L265->SetBinContent(44,20475.8); h_SL2L265->SetBinContent(45,19694.7); h_SL2L265->SetBinContent(46,18706.38); h_SL2L265->SetBinContent(47,18897.67); h_SL2L265->SetBinContent(48,18427.42); h_SL2L265->SetBinContent(49,18443.36); h_SL2L265->SetBinContent(50,18523.06); h_SL2L265->SetBinContent(51,18714.35); h_SL2L265->SetBinContent(52,20156.98); h_SL2L265->SetBinContent(53,21432.24); h_SL2L265->SetBinContent(54,23464.67); h_SL2L265->SetBinContent(55,24588.49); h_SL2L265->SetBinContent(56,21974.22); h_SL2L265->SetBinContent(57,20156.98); h_SL2L265->SetMaximum(123253.7); 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,31148.08); h_SL2L366->SetBinContent(2,38480.79); h_SL2L366->SetBinContent(3,46698.21); h_SL2L366->SetBinContent(4,48921.93); h_SL2L366->SetBinContent(5,46730.09); h_SL2L366->SetBinContent(6,43502.1); h_SL2L366->SetBinContent(7,42306.55); h_SL2L366->SetBinContent(8,40863.92); h_SL2L366->SetBinContent(9,42609.42); h_SL2L366->SetBinContent(10,45630.18); h_SL2L366->SetBinContent(11,47758.26); h_SL2L366->SetBinContent(12,49726.93); h_SL2L366->SetBinContent(13,48507.47); h_SL2L366->SetBinContent(14,50898.57); h_SL2L366->SetBinContent(15,46841.67); h_SL2L366->SetBinContent(16,49001.63); h_SL2L366->SetBinContent(17,46849.64); h_SL2L366->SetBinContent(18,44777.36); h_SL2L366->SetBinContent(19,40951.59); h_SL2L366->SetBinContent(20,34798.49); h_SL2L366->SetBinContent(21,27912.12); h_SL2L366->SetBinContent(22,29083.76); h_SL2L366->SetBinContent(23,25863.74); h_SL2L366->SetBinContent(24,24341.41); h_SL2L366->SetBinContent(25,22253.18); h_SL2L366->SetBinContent(26,21280.8); h_SL2L366->SetBinContent(27,20531.59); h_SL2L366->SetBinContent(28,18515.09); h_SL2L366->SetBinContent(29,18379.6); h_SL2L366->SetBinContent(30,18690.44); h_SL2L366->SetBinContent(31,18451.33); h_SL2L366->SetBinContent(32,17582.56); h_SL2L366->SetBinContent(33,17909.35); h_SL2L366->SetBinContent(34,18172.37); h_SL2L366->SetBinContent(35,16665.97); h_SL2L366->SetBinContent(36,17877.47); h_SL2L366->SetBinContent(37,19009.25); h_SL2L366->SetBinContent(38,18467.27); h_SL2L366->SetBinContent(39,19096.93); h_SL2L366->SetBinContent(40,19104.9); h_SL2L366->SetBinContent(41,20404.06); h_SL2L366->SetBinContent(42,19734.55); h_SL2L366->SetBinContent(43,17909.35); h_SL2L366->SetBinContent(44,19646.88); h_SL2L366->SetBinContent(45,18762.17); h_SL2L366->SetBinContent(46,18849.85); h_SL2L366->SetBinContent(47,18315.84); h_SL2L366->SetBinContent(48,17718.06); h_SL2L366->SetBinContent(49,18299.89); h_SL2L366->SetBinContent(50,18252.07); h_SL2L366->SetBinContent(51,18961.43); h_SL2L366->SetBinContent(52,19001.29); h_SL2L366->SetBinContent(53,22197.39); h_SL2L366->SetBinContent(54,23560.32); h_SL2L366->SetBinContent(55,24022.6); h_SL2L366->SetBinContent(56,20101.19); h_SL2L366->SetBinContent(57,18467.27); h_SL2L366->SetMaximum(123253.7); 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,35946.22); h_SL2L467->SetBinContent(3,41589.22); h_SL2L467->SetBinContent(4,46857.61); h_SL2L467->SetBinContent(5,46291.72); h_SL2L467->SetBinContent(6,42880.41); h_SL2L467->SetBinContent(7,43549.92); h_SL2L467->SetBinContent(8,38074.3); h_SL2L467->SetBinContent(9,41868.18); h_SL2L467->SetBinContent(10,43071.7); h_SL2L467->SetBinContent(11,46475.04); h_SL2L467->SetBinContent(12,47399.6); h_SL2L467->SetBinContent(13,48260.39); h_SL2L467->SetBinContent(14,47224.25); h_SL2L467->SetBinContent(15,47535.09); h_SL2L467->SetBinContent(16,46554.74); h_SL2L467->SetBinContent(17,46243.9); h_SL2L467->SetBinContent(18,44880.97); h_SL2L467->SetBinContent(19,42880.41); h_SL2L467->SetBinContent(20,37484.5); h_SL2L467->SetBinContent(21,30032.23); h_SL2L467->SetBinContent(22,27354.2); h_SL2L467->SetBinContent(23,27258.55); h_SL2L467->SetBinContent(24,24596.46); h_SL2L467->SetBinContent(25,23552.35); h_SL2L467->SetBinContent(26,21256.89); h_SL2L467->SetBinContent(27,21089.51); h_SL2L467->SetBinContent(28,18451.33); h_SL2L467->SetBinContent(29,17781.82); h_SL2L467->SetBinContent(30,18754.2); h_SL2L467->SetBinContent(31,17319.54); h_SL2L467->SetBinContent(32,17933.26); h_SL2L467->SetBinContent(33,17757.91); h_SL2L467->SetBinContent(34,16944.94); h_SL2L467->SetBinContent(35,17383.31); h_SL2L467->SetBinContent(36,17295.63); h_SL2L467->SetBinContent(37,18379.6); h_SL2L467->SetBinContent(38,18196.28); h_SL2L467->SetBinContent(39,18985.34); h_SL2L467->SetBinContent(40,19224.45); h_SL2L467->SetBinContent(41,19192.57); h_SL2L467->SetBinContent(42,19838.17); h_SL2L467->SetBinContent(43,19383.86); h_SL2L467->SetBinContent(44,19073.02); h_SL2L467->SetBinContent(45,19176.63); h_SL2L467->SetBinContent(46,18602.77); h_SL2L467->SetBinContent(47,18602.77); h_SL2L467->SetBinContent(48,17327.51); h_SL2L467->SetBinContent(49,17502.86); h_SL2L467->SetBinContent(50,18562.92); h_SL2L467->SetBinContent(51,18076.72); h_SL2L467->SetBinContent(52,19439.65); h_SL2L467->SetBinContent(53,20531.59); h_SL2L467->SetBinContent(54,22269.12); h_SL2L467->SetBinContent(55,24078.39); h_SL2L467->SetBinContent(56,21703.23); h_SL2L467->SetBinContent(57,17877.47); h_SL2L467->SetMaximum(123253.7); 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 7278"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }