void RatesPerCell_Removing_noisy_cells_run_7279_SL2() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:22:59 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11204.31,67.5,100838.8); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7279",60,0,60); h_SL2L164->SetBinContent(1,33767.86); h_SL2L164->SetBinContent(2,40375); h_SL2L164->SetBinContent(3,48107.14); h_SL2L164->SetBinContent(4,50776.79); h_SL2L164->SetBinContent(5,50035.71); h_SL2L164->SetBinContent(6,47500); h_SL2L164->SetBinContent(7,44875); h_SL2L164->SetBinContent(8,41803.57); h_SL2L164->SetBinContent(9,45535.71); h_SL2L164->SetBinContent(10,48687.5); h_SL2L164->SetBinContent(11,52455.36); h_SL2L164->SetBinContent(12,50776.79); h_SL2L164->SetBinContent(13,51892.86); h_SL2L164->SetBinContent(14,51419.64); h_SL2L164->SetBinContent(15,50464.29); h_SL2L164->SetBinContent(16,49053.57); h_SL2L164->SetBinContent(17,48250); h_SL2L164->SetBinContent(18,45928.57); h_SL2L164->SetBinContent(19,42875); h_SL2L164->SetBinContent(20,36732.14); h_SL2L164->SetBinContent(21,29991.07); h_SL2L164->SetBinContent(22,28535.71); h_SL2L164->SetBinContent(23,27401.79); h_SL2L164->SetBinContent(24,25482.14); h_SL2L164->SetBinContent(25,23321.43); h_SL2L164->SetBinContent(26,21508.93); h_SL2L164->SetBinContent(27,20910.71); h_SL2L164->SetBinContent(28,18830.36); h_SL2L164->SetBinContent(29,18991.07); h_SL2L164->SetBinContent(30,18589.29); h_SL2L164->SetBinContent(31,17571.43); h_SL2L164->SetBinContent(32,18008.93); h_SL2L164->SetBinContent(33,18392.86); h_SL2L164->SetBinContent(34,18116.07); h_SL2L164->SetBinContent(36,19732.14); h_SL2L164->SetBinContent(37,24089.29); h_SL2L164->SetBinContent(38,22125); h_SL2L164->SetBinContent(39,23169.64); h_SL2L164->SetBinContent(40,56607.14); h_SL2L164->SetBinContent(41,67776.79); h_SL2L164->SetBinContent(42,26258.93); h_SL2L164->SetBinContent(43,26205.36); h_SL2L164->SetBinContent(44,25848.21); h_SL2L164->SetBinContent(45,19080.36); h_SL2L164->SetBinContent(46,19232.14); h_SL2L164->SetBinContent(47,18991.07); h_SL2L164->SetBinContent(48,18642.86); h_SL2L164->SetBinContent(49,18839.29); h_SL2L164->SetBinContent(50,18669.64); h_SL2L164->SetBinContent(51,19285.71); h_SL2L164->SetBinContent(52,20026.79); h_SL2L164->SetBinContent(53,22169.64); h_SL2L164->SetBinContent(54,24169.64); h_SL2L164->SetBinContent(55,24937.5); h_SL2L164->SetBinContent(56,20660.71); h_SL2L164->SetBinContent(57,16044.64); h_SL2L164->SetMaximum(89634.45); 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,25214.29); h_SL2L265->SetBinContent(2,40107.14); h_SL2L265->SetBinContent(3,43473.21); h_SL2L265->SetBinContent(4,47910.71); h_SL2L265->SetBinContent(5,48187.5); h_SL2L265->SetBinContent(6,47035.71); h_SL2L265->SetBinContent(7,45151.79); h_SL2L265->SetBinContent(8,38258.93); h_SL2L265->SetBinContent(9,44133.93); h_SL2L265->SetBinContent(10,46678.57); h_SL2L265->SetBinContent(11,49616.07); h_SL2L265->SetBinContent(12,49794.64); h_SL2L265->SetBinContent(13,49678.57); h_SL2L265->SetBinContent(14,49830.36); h_SL2L265->SetBinContent(15,50035.71); h_SL2L265->SetBinContent(16,48241.07); h_SL2L265->SetBinContent(17,47642.86); h_SL2L265->SetBinContent(18,45616.07); h_SL2L265->SetBinContent(19,43633.93); h_SL2L265->SetBinContent(20,39678.57); h_SL2L265->SetBinContent(21,30705.36); h_SL2L265->SetBinContent(22,28723.21); h_SL2L265->SetBinContent(23,26857.14); h_SL2L265->SetBinContent(24,25062.5); h_SL2L265->SetBinContent(25,23205.36); h_SL2L265->SetBinContent(26,22348.21); h_SL2L265->SetBinContent(27,21544.64); h_SL2L265->SetBinContent(28,19035.71); h_SL2L265->SetBinContent(29,18616.07); h_SL2L265->SetBinContent(30,17160.71); h_SL2L265->SetBinContent(31,17517.86); h_SL2L265->SetBinContent(32,18491.07); h_SL2L265->SetBinContent(33,18223.21); h_SL2L265->SetBinContent(34,18508.93); h_SL2L265->SetBinContent(35,16214.29); h_SL2L265->SetBinContent(36,17089.29); h_SL2L265->SetBinContent(37,19642.86); h_SL2L265->SetBinContent(38,18892.86); h_SL2L265->SetBinContent(39,20464.29); h_SL2L265->SetBinContent(40,21339.29); h_SL2L265->SetBinContent(41,21955.36); h_SL2L265->SetBinContent(42,20339.29); h_SL2L265->SetBinContent(43,19098.21); h_SL2L265->SetBinContent(44,19116.07); h_SL2L265->SetBinContent(45,19267.86); h_SL2L265->SetBinContent(46,19250); h_SL2L265->SetBinContent(47,18348.21); h_SL2L265->SetBinContent(48,17616.07); h_SL2L265->SetBinContent(49,17589.29); h_SL2L265->SetBinContent(50,18142.86); h_SL2L265->SetBinContent(51,18857.14); h_SL2L265->SetBinContent(52,18928.57); h_SL2L265->SetBinContent(53,20830.36); h_SL2L265->SetBinContent(54,24000); h_SL2L265->SetBinContent(55,24607.14); h_SL2L265->SetBinContent(56,22660.71); h_SL2L265->SetBinContent(57,19669.64); h_SL2L265->SetMaximum(77943.31); 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,30419.64); h_SL2L366->SetBinContent(2,37848.21); h_SL2L366->SetBinContent(3,48241.07); h_SL2L366->SetBinContent(4,47669.64); h_SL2L366->SetBinContent(5,46633.93); h_SL2L366->SetBinContent(6,44214.29); h_SL2L366->SetBinContent(7,40428.57); h_SL2L366->SetBinContent(8,40839.29); h_SL2L366->SetBinContent(9,44750); h_SL2L366->SetBinContent(10,45848.21); h_SL2L366->SetBinContent(11,49214.29); h_SL2L366->SetBinContent(12,48366.07); h_SL2L366->SetBinContent(13,47294.64); h_SL2L366->SetBinContent(14,49267.86); h_SL2L366->SetBinContent(15,48053.57); h_SL2L366->SetBinContent(16,46910.71); h_SL2L366->SetBinContent(17,45571.43); h_SL2L366->SetBinContent(18,43982.14); h_SL2L366->SetBinContent(19,42178.57); h_SL2L366->SetBinContent(20,34848.21); h_SL2L366->SetBinContent(21,27758.93); h_SL2L366->SetBinContent(22,27848.21); h_SL2L366->SetBinContent(23,25196.43); h_SL2L366->SetBinContent(24,23107.14); h_SL2L366->SetBinContent(25,22196.43); h_SL2L366->SetBinContent(26,21026.79); h_SL2L366->SetBinContent(27,20142.86); h_SL2L366->SetBinContent(28,18267.86); h_SL2L366->SetBinContent(29,18008.93); h_SL2L366->SetBinContent(30,16330.36); h_SL2L366->SetBinContent(31,17678.57); h_SL2L366->SetBinContent(32,17866.07); h_SL2L366->SetBinContent(33,16687.5); h_SL2L366->SetBinContent(34,17044.64); h_SL2L366->SetBinContent(35,15767.86); h_SL2L366->SetBinContent(36,16678.57); h_SL2L366->SetBinContent(37,18812.5); h_SL2L366->SetBinContent(38,19250); h_SL2L366->SetBinContent(39,18830.36); h_SL2L366->SetBinContent(40,19785.71); h_SL2L366->SetBinContent(41,19330.36); h_SL2L366->SetBinContent(42,18616.07); h_SL2L366->SetBinContent(43,18455.36); h_SL2L366->SetBinContent(44,18035.71); h_SL2L366->SetBinContent(45,18223.21); h_SL2L366->SetBinContent(46,18883.93); h_SL2L366->SetBinContent(47,18250); h_SL2L366->SetBinContent(48,17866.07); h_SL2L366->SetBinContent(49,17910.71); h_SL2L366->SetBinContent(50,17758.93); h_SL2L366->SetBinContent(51,17848.21); h_SL2L366->SetBinContent(52,18678.57); h_SL2L366->SetBinContent(53,21571.43); h_SL2L366->SetBinContent(54,22839.29); h_SL2L366->SetBinContent(55,24071.43); h_SL2L366->SetBinContent(56,19482.14); h_SL2L366->SetBinContent(57,18000); h_SL2L366->SetMaximum(77943.31); 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,36017.86); h_SL2L467->SetBinContent(3,41562.5); h_SL2L467->SetBinContent(4,45473.21); h_SL2L467->SetBinContent(5,46276.79); h_SL2L467->SetBinContent(6,42919.64); h_SL2L467->SetBinContent(7,41919.64); h_SL2L467->SetBinContent(8,38178.57); h_SL2L467->SetBinContent(9,41919.64); h_SL2L467->SetBinContent(10,43348.21); h_SL2L467->SetBinContent(11,45883.93); h_SL2L467->SetBinContent(12,47044.64); h_SL2L467->SetBinContent(13,47339.29); h_SL2L467->SetBinContent(14,47937.5); h_SL2L467->SetBinContent(15,48008.93); h_SL2L467->SetBinContent(16,45508.93); h_SL2L467->SetBinContent(17,44366.07); h_SL2L467->SetBinContent(18,43705.36); h_SL2L467->SetBinContent(19,41580.36); h_SL2L467->SetBinContent(20,38205.36); h_SL2L467->SetBinContent(21,29026.79); h_SL2L467->SetBinContent(22,27598.21); h_SL2L467->SetBinContent(23,26544.64); h_SL2L467->SetBinContent(24,24008.93); h_SL2L467->SetBinContent(25,22071.43); h_SL2L467->SetBinContent(26,20982.14); h_SL2L467->SetBinContent(27,20080.36); h_SL2L467->SetBinContent(28,18464.29); h_SL2L467->SetBinContent(29,17741.07); h_SL2L467->SetBinContent(30,17017.86); h_SL2L467->SetBinContent(31,17250); h_SL2L467->SetBinContent(32,17428.57); h_SL2L467->SetBinContent(33,16857.14); h_SL2L467->SetBinContent(34,16294.64); h_SL2L467->SetBinContent(35,17375); h_SL2L467->SetBinContent(36,16830.36); h_SL2L467->SetBinContent(37,17723.21); h_SL2L467->SetBinContent(38,18750); h_SL2L467->SetBinContent(39,18633.93); h_SL2L467->SetBinContent(40,18910.71); h_SL2L467->SetBinContent(41,19196.43); h_SL2L467->SetBinContent(42,18232.14); h_SL2L467->SetBinContent(43,18598.21); h_SL2L467->SetBinContent(44,17392.86); h_SL2L467->SetBinContent(45,17776.79); h_SL2L467->SetBinContent(46,18794.64); h_SL2L467->SetBinContent(47,18178.57); h_SL2L467->SetBinContent(48,17544.64); h_SL2L467->SetBinContent(49,17892.86); h_SL2L467->SetBinContent(50,17410.71); h_SL2L467->SetBinContent(51,17071.43); h_SL2L467->SetBinContent(52,18080.36); h_SL2L467->SetBinContent(53,19089.29); h_SL2L467->SetBinContent(54,21758.93); h_SL2L467->SetBinContent(55,23821.43); h_SL2L467->SetBinContent(56,21508.93); h_SL2L467->SetBinContent(57,17785.71); h_SL2L467->SetMaximum(77943.31); 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 7279"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }