void RatesPerCell_Removing_noisy_cells_run_7323_SL2() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:34:10 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13693.19,67.5,123238.7); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7323",60,0,60); h_SL2L164->SetBinContent(1,16438.16); h_SL2L164->SetBinContent(2,23345.55); h_SL2L164->SetBinContent(3,27532.52); h_SL2L164->SetBinContent(4,30043.96); h_SL2L164->SetBinContent(5,30140.98); h_SL2L164->SetBinContent(6,29749.16); h_SL2L164->SetBinContent(7,28775.18); h_SL2L164->SetBinContent(8,27995.25); h_SL2L164->SetBinContent(9,28461.72); h_SL2L164->SetBinContent(10,29155.81); h_SL2L164->SetBinContent(11,30111.13); h_SL2L164->SetBinContent(12,31223.18); h_SL2L164->SetBinContent(13,31700.84); h_SL2L164->SetBinContent(14,32652.42); h_SL2L164->SetBinContent(15,32260.59); h_SL2L164->SetBinContent(16,33320.4); h_SL2L164->SetBinContent(17,32275.52); h_SL2L164->SetBinContent(18,32950.96); h_SL2L164->SetBinContent(19,32282.98); h_SL2L164->SetBinContent(20,32279.25); h_SL2L164->SetBinContent(21,31406.03); h_SL2L164->SetBinContent(22,31700.84); h_SL2L164->SetBinContent(23,31088.84); h_SL2L164->SetBinContent(24,31029.13); h_SL2L164->SetBinContent(25,31309.01); h_SL2L164->SetBinContent(26,31215.72); h_SL2L164->SetBinContent(27,31454.54); h_SL2L164->SetBinContent(28,30424.59); h_SL2L164->SetBinContent(29,30495.5); h_SL2L164->SetBinContent(30,29584.96); h_SL2L164->SetBinContent(31,28435.6); h_SL2L164->SetBinContent(32,28976.69); h_SL2L164->SetBinContent(33,28816.23); h_SL2L164->SetBinContent(34,29689.45); h_SL2L164->SetBinContent(36,29111.03); h_SL2L164->SetBinContent(37,36936.42); h_SL2L164->SetBinContent(38,32249.4); h_SL2L164->SetBinContent(39,32995.74); h_SL2L164->SetBinContent(40,70935.99); h_SL2L164->SetBinContent(41,82832.66); h_SL2L164->SetBinContent(42,35260.88); h_SL2L164->SetBinContent(43,35865.42); h_SL2L164->SetBinContent(44,35051.91); h_SL2L164->SetBinContent(45,26909.33); h_SL2L164->SetBinContent(46,25532.33); h_SL2L164->SetBinContent(47,26151.79); h_SL2L164->SetBinContent(48,24815.84); h_SL2L164->SetBinContent(49,23733.65); h_SL2L164->SetBinContent(50,22946.26); h_SL2L164->SetBinContent(51,24349.38); h_SL2L164->SetBinContent(52,23472.43); h_SL2L164->SetBinContent(53,23953.82); h_SL2L164->SetBinContent(54,23121.65); h_SL2L164->SetBinContent(55,21423.72); h_SL2L164->SetBinContent(56,17415.87); h_SL2L164->SetBinContent(57,15777.65); h_SL2L164->SetMaximum(109545.5); 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,13728.94); h_SL2L265->SetBinContent(2,20345.26); h_SL2L265->SetBinContent(3,24543.43); h_SL2L265->SetBinContent(4,28398.28); h_SL2L265->SetBinContent(5,28413.21); h_SL2L265->SetBinContent(6,29204.33); h_SL2L265->SetBinContent(7,28402.01); h_SL2L265->SetBinContent(8,27405.64); h_SL2L265->SetBinContent(9,27308.62); h_SL2L265->SetBinContent(10,27536.25); h_SL2L265->SetBinContent(11,29047.6); h_SL2L265->SetBinContent(12,29969.33); h_SL2L265->SetBinContent(13,30346.23); h_SL2L265->SetBinContent(14,30932.11); h_SL2L265->SetBinContent(15,31581.42); h_SL2L265->SetBinContent(16,31581.42); h_SL2L265->SetBinContent(17,31674.71); h_SL2L265->SetBinContent(18,31615.01); h_SL2L265->SetBinContent(19,31790.4); h_SL2L265->SetBinContent(20,31133.62); h_SL2L265->SetBinContent(21,30805.23); h_SL2L265->SetBinContent(22,31081.38); h_SL2L265->SetBinContent(23,30864.94); h_SL2L265->SetBinContent(24,30618.64); h_SL2L265->SetBinContent(25,30379.81); h_SL2L265->SetBinContent(26,29790.21); h_SL2L265->SetBinContent(27,30379.81); h_SL2L265->SetBinContent(28,29939.47); h_SL2L265->SetBinContent(29,30152.18); h_SL2L265->SetBinContent(30,28939.38); h_SL2L265->SetBinContent(31,28297.52); h_SL2L265->SetBinContent(32,27883.3); h_SL2L265->SetBinContent(33,27655.67); h_SL2L265->SetBinContent(34,28931.91); h_SL2L265->SetBinContent(35,27237.72); h_SL2L265->SetBinContent(36,26633.18); h_SL2L265->SetBinContent(37,28342.3); h_SL2L265->SetBinContent(38,28476.64); h_SL2L265->SetBinContent(39,27644.47); h_SL2L265->SetBinContent(40,29398.38); h_SL2L265->SetBinContent(41,27592.23); h_SL2L265->SetBinContent(42,27603.43); h_SL2L265->SetBinContent(43,26778.72); h_SL2L265->SetBinContent(44,27069.79); h_SL2L265->SetBinContent(45,25827.13); h_SL2L265->SetBinContent(46,25386.79); h_SL2L265->SetBinContent(47,25338.28); h_SL2L265->SetBinContent(48,24371.77); h_SL2L265->SetBinContent(49,23274.65); h_SL2L265->SetBinContent(50,22550.7); h_SL2L265->SetBinContent(51,22520.84); h_SL2L265->SetBinContent(52,23080.6); h_SL2L265->SetBinContent(53,22438.74); h_SL2L265->SetBinContent(54,22352.92); h_SL2L265->SetBinContent(55,21826.74); h_SL2L265->SetBinContent(56,19035.43); h_SL2L265->SetBinContent(57,15311.19); h_SL2L265->SetMaximum(95257.56); 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,15803.77); h_SL2L366->SetBinContent(2,21875.26); h_SL2L366->SetBinContent(3,26181.64); h_SL2L366->SetBinContent(4,27916.89); h_SL2L366->SetBinContent(5,28383.35); h_SL2L366->SetBinContent(6,27928.08); h_SL2L366->SetBinContent(7,27207.87); h_SL2L366->SetBinContent(8,26390.62); h_SL2L366->SetBinContent(9,27066.06); h_SL2L366->SetBinContent(10,27450.43); h_SL2L366->SetBinContent(11,28913.25); h_SL2L366->SetBinContent(12,29506.6); h_SL2L366->SetBinContent(13,29629.74); h_SL2L366->SetBinContent(14,30230.54); h_SL2L366->SetBinContent(15,30409.67); h_SL2L366->SetBinContent(16,30502.96); h_SL2L366->SetBinContent(17,31189.59); h_SL2L366->SetBinContent(18,30827.62); h_SL2L366->SetBinContent(19,30439.52); h_SL2L366->SetBinContent(20,30200.69); h_SL2L366->SetBinContent(21,30096.21); h_SL2L366->SetBinContent(22,29946.94); h_SL2L366->SetBinContent(23,29409.57); h_SL2L366->SetBinContent(24,28861.01); h_SL2L366->SetBinContent(25,29465.55); h_SL2L366->SetBinContent(26,29368.52); h_SL2L366->SetBinContent(27,30017.84); h_SL2L366->SetBinContent(28,29394.64); h_SL2L366->SetBinContent(29,29006.55); h_SL2L366->SetBinContent(30,27801.21); h_SL2L366->SetBinContent(31,27465.35); h_SL2L366->SetBinContent(32,27133.23); h_SL2L366->SetBinContent(33,27192.94); h_SL2L366->SetBinContent(34,27543.72); h_SL2L366->SetBinContent(35,25256.18); h_SL2L366->SetBinContent(36,27166.82); h_SL2L366->SetBinContent(37,27163.08); h_SL2L366->SetBinContent(38,26983.96); h_SL2L366->SetBinContent(39,25894.3); h_SL2L366->SetBinContent(40,26521.23); h_SL2L366->SetBinContent(41,26543.62); h_SL2L366->SetBinContent(42,25345.74); h_SL2L366->SetBinContent(43,25476.35); h_SL2L366->SetBinContent(44,24681.5); h_SL2L366->SetBinContent(45,24972.57); h_SL2L366->SetBinContent(46,24248.62); h_SL2L366->SetBinContent(47,24211.3); h_SL2L366->SetBinContent(48,23371.67); h_SL2L366->SetBinContent(49,22692.5); h_SL2L366->SetBinContent(50,21636.43); h_SL2L366->SetBinContent(51,21938.7); h_SL2L366->SetBinContent(52,22020.79); h_SL2L366->SetBinContent(53,22166.33); h_SL2L366->SetBinContent(54,21983.48); h_SL2L366->SetBinContent(55,19904.92); h_SL2L366->SetBinContent(56,16833.72); h_SL2L366->SetBinContent(57,13184.12); h_SL2L366->SetMaximum(95257.56); 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,19326.5); h_SL2L467->SetBinContent(3,23599.3); h_SL2L467->SetBinContent(4,26297.33); h_SL2L467->SetBinContent(5,27991.52); h_SL2L467->SetBinContent(6,27420.57); h_SL2L467->SetBinContent(7,26730.21); h_SL2L467->SetBinContent(8,26051.04); h_SL2L467->SetBinContent(9,26371.96); h_SL2L467->SetBinContent(10,26144.33); h_SL2L467->SetBinContent(11,27543.72); h_SL2L467->SetBinContent(12,28166.91); h_SL2L467->SetBinContent(13,29196.86); h_SL2L467->SetBinContent(14,28939.38); h_SL2L467->SetBinContent(15,29928.28); h_SL2L467->SetBinContent(16,30036.5); h_SL2L467->SetBinContent(17,29834.98); h_SL2L467->SetBinContent(18,30234.28); h_SL2L467->SetBinContent(19,29984.25); h_SL2L467->SetBinContent(20,29230.45); h_SL2L467->SetBinContent(21,29375.98); h_SL2L467->SetBinContent(22,29002.81); h_SL2L467->SetBinContent(23,29092.38); h_SL2L467->SetBinContent(24,28607.25); h_SL2L467->SetBinContent(25,28625.91); h_SL2L467->SetBinContent(26,28961.77); h_SL2L467->SetBinContent(27,29040.13); h_SL2L467->SetBinContent(28,28569.94); h_SL2L467->SetBinContent(29,28737.86); h_SL2L467->SetBinContent(30,28506.5); h_SL2L467->SetBinContent(31,27230.25); h_SL2L467->SetBinContent(32,26510.04); h_SL2L467->SetBinContent(33,26401.82); h_SL2L467->SetBinContent(34,27323.55); h_SL2L467->SetBinContent(35,26304.79); h_SL2L467->SetBinContent(36,25644.28); h_SL2L467->SetBinContent(37,27196.67); h_SL2L467->SetBinContent(38,26745.13); h_SL2L467->SetBinContent(39,25715.18); h_SL2L467->SetBinContent(40,24744.94); h_SL2L467->SetBinContent(41,24875.55); h_SL2L467->SetBinContent(42,25558.45); h_SL2L467->SetBinContent(43,24554.62); h_SL2L467->SetBinContent(44,24737.47); h_SL2L467->SetBinContent(45,24330.72); h_SL2L467->SetBinContent(46,24039.65); h_SL2L467->SetBinContent(47,24084.43); h_SL2L467->SetBinContent(48,23685.13); h_SL2L467->SetBinContent(49,22707.43); h_SL2L467->SetBinContent(50,21520.75); h_SL2L467->SetBinContent(51,21188.62); h_SL2L467->SetBinContent(52,21752.11); h_SL2L467->SetBinContent(53,21524.48); h_SL2L467->SetBinContent(54,21192.36); h_SL2L467->SetBinContent(55,20729.62); h_SL2L467->SetBinContent(56,18449.55); h_SL2L467->SetBinContent(57,14426.77); h_SL2L467->SetMaximum(95257.56); 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 7323"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }