void RatesPerCell_Removing_noisy_cells_run_6743_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:08:29 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12265.76,67.5,110391.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 6743",60,0,60); h_SL2L164->SetBinContent(1,33521.65); h_SL2L164->SetBinContent(2,41473.79); h_SL2L164->SetBinContent(3,50735.07); h_SL2L164->SetBinContent(4,51794.86); h_SL2L164->SetBinContent(5,50872.22); h_SL2L164->SetBinContent(6,46712.87); h_SL2L164->SetBinContent(7,41558.57); h_SL2L164->SetBinContent(8,40157.16); h_SL2L164->SetBinContent(9,46311.4); h_SL2L164->SetBinContent(10,47647.98); h_SL2L164->SetBinContent(11,47585.64); h_SL2L164->SetBinContent(12,46770.22); h_SL2L164->SetBinContent(13,46899.89); h_SL2L164->SetBinContent(14,46383.71); h_SL2L164->SetBinContent(15,45316.45); h_SL2L164->SetBinContent(16,43742.98); h_SL2L164->SetBinContent(17,42403.91); h_SL2L164->SetBinContent(18,41897.7); h_SL2L164->SetBinContent(19,40950.13); h_SL2L164->SetBinContent(20,38107.41); h_SL2L164->SetBinContent(21,34578.95); h_SL2L164->SetBinContent(22,31980.6); h_SL2L164->SetBinContent(23,31701.31); h_SL2L164->SetBinContent(24,30072.98); h_SL2L164->SetBinContent(25,32387.06); h_SL2L164->SetBinContent(26,48677.84); h_SL2L164->SetBinContent(27,61001.28); h_SL2L164->SetBinContent(28,67175.47); h_SL2L164->SetBinContent(29,70955.79); h_SL2L164->SetBinContent(30,68354.95); h_SL2L164->SetBinContent(31,66242.85); h_SL2L164->SetBinContent(32,65893.75); h_SL2L164->SetBinContent(33,65043.43); h_SL2L164->SetBinContent(34,44396.3); h_SL2L164->SetBinContent(35,2.493614); h_SL2L164->SetBinContent(36,20539.9); h_SL2L164->SetBinContent(37,21442.59); h_SL2L164->SetBinContent(38,21036.13); h_SL2L164->SetBinContent(39,21021.17); h_SL2L164->SetBinContent(40,74197.48); h_SL2L164->SetBinContent(41,60188.36); h_SL2L164->SetBinContent(42,22801.61); h_SL2L164->SetBinContent(43,22494.89); h_SL2L164->SetBinContent(44,21898.92); h_SL2L164->SetBinContent(45,16659.83); h_SL2L164->SetBinContent(46,15904.27); h_SL2L164->SetBinContent(47,16166.1); h_SL2L164->SetBinContent(48,16141.16); h_SL2L164->SetBinContent(49,16998.97); h_SL2L164->SetBinContent(50,16849.35); h_SL2L164->SetBinContent(51,17692.19); h_SL2L164->SetBinContent(52,19527.49); h_SL2L164->SetBinContent(53,21048.6); h_SL2L164->SetBinContent(54,22267.97); h_SL2L164->SetBinContent(55,22377.69); h_SL2L164->SetBinContent(56,19465.15); h_SL2L164->SetBinContent(57,23307.81); h_SL2L164->SetMaximum(98126.05); 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,27629.24); h_SL2L265->SetBinContent(2,39481.39); h_SL2L265->SetBinContent(3,43236.77); h_SL2L265->SetBinContent(4,49625.41); h_SL2L265->SetBinContent(5,48869.85); h_SL2L265->SetBinContent(6,47174.19); h_SL2L265->SetBinContent(7,43032.3); h_SL2L265->SetBinContent(8,37506.45); h_SL2L265->SetBinContent(9,43536.01); h_SL2L265->SetBinContent(10,44316.51); h_SL2L265->SetBinContent(11,46530.84); h_SL2L265->SetBinContent(12,45301.48); h_SL2L265->SetBinContent(13,44558.39); h_SL2L265->SetBinContent(14,44895.03); h_SL2L265->SetBinContent(15,43723.03); h_SL2L265->SetBinContent(16,43254.23); h_SL2L265->SetBinContent(17,41244.38); h_SL2L265->SetBinContent(18,40251.92); h_SL2L265->SetBinContent(19,40835.42); h_SL2L265->SetBinContent(20,37379.27); h_SL2L265->SetBinContent(21,35446.72); h_SL2L265->SetBinContent(22,31968.13); h_SL2L265->SetBinContent(23,30102.91); h_SL2L265->SetBinContent(24,29097.98); h_SL2L265->SetBinContent(25,28636.66); h_SL2L265->SetBinContent(26,39356.71); h_SL2L265->SetBinContent(27,53951.83); h_SL2L265->SetBinContent(28,64230.51); h_SL2L265->SetBinContent(29,67851.23); h_SL2L265->SetBinContent(30,68898.55); h_SL2L265->SetBinContent(31,64828.98); h_SL2L265->SetBinContent(32,65432.43); h_SL2L265->SetBinContent(33,65469.84); h_SL2L265->SetBinContent(34,57206); h_SL2L265->SetBinContent(35,30639.04); h_SL2L265->SetBinContent(36,20981.27); h_SL2L265->SetBinContent(37,19624.74); h_SL2L265->SetBinContent(38,19395.33); h_SL2L265->SetBinContent(39,19173.4); h_SL2L265->SetBinContent(40,19841.69); h_SL2L265->SetBinContent(41,19537.46); h_SL2L265->SetBinContent(42,18502.62); h_SL2L265->SetBinContent(43,17171.03); h_SL2L265->SetBinContent(44,17799.42); h_SL2L265->SetBinContent(45,16432.92); h_SL2L265->SetBinContent(46,15537.71); h_SL2L265->SetBinContent(47,15295.83); h_SL2L265->SetBinContent(48,15767.12); h_SL2L265->SetBinContent(49,15712.26); h_SL2L265->SetBinContent(50,16427.93); h_SL2L265->SetBinContent(51,15649.92); h_SL2L265->SetBinContent(52,17881.71); h_SL2L265->SetBinContent(53,19574.87); h_SL2L265->SetBinContent(54,20492.52); h_SL2L265->SetBinContent(55,21744.31); h_SL2L265->SetBinContent(56,19766.88); h_SL2L265->SetBinContent(57,18851.72); h_SL2L265->SetMaximum(85327.11); 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,32015.51); h_SL2L366->SetBinContent(2,37920.39); h_SL2L366->SetBinContent(3,46934.8); h_SL2L366->SetBinContent(4,47438.51); h_SL2L366->SetBinContent(5,46293.94); h_SL2L366->SetBinContent(6,42720.59); h_SL2L366->SetBinContent(7,38094.94); h_SL2L366->SetBinContent(8,38720.84); h_SL2L366->SetBinContent(9,42805.38); h_SL2L366->SetBinContent(10,43957.43); h_SL2L366->SetBinContent(11,44381.34); h_SL2L366->SetBinContent(12,42857.74); h_SL2L366->SetBinContent(13,43710.56); h_SL2L366->SetBinContent(14,42570.98); h_SL2L366->SetBinContent(15,42246.81); h_SL2L366->SetBinContent(16,40012.53); h_SL2L366->SetBinContent(17,39194.62); h_SL2L366->SetBinContent(18,38798.14); h_SL2L366->SetBinContent(19,37282.02); h_SL2L366->SetBinContent(20,34623.83); h_SL2L366->SetBinContent(21,32247.42); h_SL2L366->SetBinContent(22,29698.94); h_SL2L366->SetBinContent(23,28332.44); h_SL2L366->SetBinContent(24,28145.42); h_SL2L366->SetBinContent(25,30748.75); h_SL2L366->SetBinContent(26,46909.87); h_SL2L366->SetBinContent(27,59472.69); h_SL2L366->SetBinContent(28,65133.2); h_SL2L366->SetBinContent(29,68631.73); h_SL2L366->SetBinContent(30,66591.96); h_SL2L366->SetBinContent(31,64836.46); h_SL2L366->SetBinContent(32,65070.86); h_SL2L366->SetBinContent(33,63258); h_SL2L366->SetBinContent(34,42987.41); h_SL2L366->SetBinContent(35,23280.38); h_SL2L366->SetBinContent(36,19584.84); h_SL2L366->SetBinContent(37,18786.89); h_SL2L366->SetBinContent(38,18450.25); h_SL2L366->SetBinContent(39,17659.77); h_SL2L366->SetBinContent(40,17604.91); h_SL2L366->SetBinContent(41,16759.58); h_SL2L366->SetBinContent(42,17410.41); h_SL2L366->SetBinContent(43,16141.16); h_SL2L366->SetBinContent(44,16118.72); h_SL2L366->SetBinContent(45,15300.82); h_SL2L366->SetBinContent(46,14659.96); h_SL2L366->SetBinContent(47,15500.3); h_SL2L366->SetBinContent(48,15263.41); h_SL2L366->SetBinContent(49,15772.11); h_SL2L366->SetBinContent(50,15313.28); h_SL2L366->SetBinContent(51,15779.59); h_SL2L366->SetBinContent(52,17791.94); h_SL2L366->SetBinContent(53,19123.53); h_SL2L366->SetBinContent(54,20634.66); h_SL2L366->SetBinContent(55,20906.46); h_SL2L366->SetBinContent(56,18026.34); h_SL2L366->SetBinContent(57,17280.74); h_SL2L366->SetMaximum(85327.11); 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,36252.16); h_SL2L467->SetBinContent(3,41301.73); h_SL2L467->SetBinContent(4,46004.68); h_SL2L467->SetBinContent(5,45575.78); h_SL2L467->SetBinContent(6,42336.58); h_SL2L467->SetBinContent(7,39473.91); h_SL2L467->SetBinContent(8,34965.45); h_SL2L467->SetBinContent(9,40438.94); h_SL2L467->SetBinContent(10,41967.52); h_SL2L467->SetBinContent(11,42588.43); h_SL2L467->SetBinContent(12,42306.66); h_SL2L467->SetBinContent(13,42089.71); h_SL2L467->SetBinContent(14,41685.75); h_SL2L467->SetBinContent(15,41109.72); h_SL2L467->SetBinContent(16,39431.52); h_SL2L467->SetBinContent(17,38790.66); h_SL2L467->SetBinContent(18,37399.22); h_SL2L467->SetBinContent(19,37568.79); h_SL2L467->SetBinContent(20,34678.69); h_SL2L467->SetBinContent(21,33047.87); h_SL2L467->SetBinContent(22,29514.41); h_SL2L467->SetBinContent(23,28038.2); h_SL2L467->SetBinContent(24,26955.97); h_SL2L467->SetBinContent(25,26699.12); h_SL2L467->SetBinContent(26,37940.34); h_SL2L467->SetBinContent(27,52705.02); h_SL2L467->SetBinContent(28,62701.92); h_SL2L467->SetBinContent(29,66806.41); h_SL2L467->SetBinContent(30,68337.49); h_SL2L467->SetBinContent(31,63629.55); h_SL2L467->SetBinContent(32,64150.71); h_SL2L467->SetBinContent(33,64387.61); h_SL2L467->SetBinContent(34,55894.36); h_SL2L467->SetBinContent(35,29910.9); h_SL2L467->SetBinContent(36,19592.32); h_SL2L467->SetBinContent(37,18333.05); h_SL2L467->SetBinContent(38,17936.56); h_SL2L467->SetBinContent(39,17642.32); h_SL2L467->SetBinContent(40,16993.98); h_SL2L467->SetBinContent(41,16432.92); h_SL2L467->SetBinContent(42,16415.46); h_SL2L467->SetBinContent(43,16210.98); h_SL2L467->SetBinContent(44,15674.86); h_SL2L467->SetBinContent(45,15437.96); h_SL2L467->SetBinContent(46,14924.28); h_SL2L467->SetBinContent(47,14408.1); h_SL2L467->SetBinContent(48,14241.03); h_SL2L467->SetBinContent(49,14091.41); h_SL2L467->SetBinContent(50,15550.18); h_SL2L467->SetBinContent(51,14325.81); h_SL2L467->SetBinContent(52,16086.3); h_SL2L467->SetBinContent(53,17058.81); h_SL2L467->SetBinContent(54,18824.29); h_SL2L467->SetBinContent(55,20472.57); h_SL2L467->SetBinContent(56,18709.59); h_SL2L467->SetBinContent(57,17268.28); h_SL2L467->SetMaximum(85327.11); 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 6743"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }