void RatesPerCell_Removing_noisy_cells_run_6826_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:07:15 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-18579.4,67.5,167214.6); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6826",60,0,60); h_SL1L160->SetBinContent(1,43665.61); h_SL1L160->SetBinContent(2,41450.77); h_SL1L160->SetBinContent(3,41047.75); h_SL1L160->SetBinContent(4,38251.55); h_SL1L160->SetBinContent(5,35155.76); h_SL1L160->SetBinContent(6,36621.62); h_SL1L160->SetBinContent(7,34503.07); h_SL1L160->SetBinContent(8,34620.77); h_SL1L160->SetBinContent(9,32505.79); h_SL1L160->SetBinContent(10,30194.65); h_SL1L160->SetBinContent(11,29648.96); h_SL1L160->SetBinContent(12,28685.99); h_SL1L160->SetBinContent(13,30241.01); h_SL1L160->SetBinContent(14,28775.15); h_SL1L160->SetBinContent(15,28764.45); h_SL1L160->SetBinContent(16,27241.52); h_SL1L160->SetBinContent(17,28051.13); h_SL1L160->SetBinContent(18,28008.34); h_SL1L160->SetBinContent(19,29698.89); h_SL1L160->SetBinContent(20,28907.11); h_SL1L160->SetBinContent(21,30569.14); h_SL1L160->SetBinContent(22,30119.75); h_SL1L160->SetBinContent(23,29766.66); h_SL1L160->SetBinContent(24,26892); h_SL1L160->SetBinContent(25,27444.82); h_SL1L160->SetBinContent(26,27180.89); h_SL1L160->SetBinContent(27,26692.27); h_SL1L160->SetBinContent(28,25807.76); h_SL1L160->SetBinContent(29,25208.57); h_SL1L160->SetBinContent(30,24281.26); h_SL1L160->SetBinContent(31,23839.01); h_SL1L160->SetBinContent(32,22134.18); h_SL1L160->SetBinContent(33,27006.13); h_SL1L160->SetBinContent(34,31849.54); h_SL1L160->SetBinContent(35,31992.2); h_SL1L160->SetBinContent(36,30579.84); h_SL1L160->SetBinContent(37,32990.84); h_SL1L160->SetBinContent(38,33005.11); h_SL1L160->SetBinContent(39,28233.03); h_SL1L160->SetBinContent(40,21831.02); h_SL1L160->SetBinContent(41,21324.57); h_SL1L160->SetBinContent(42,20893.01); h_SL1L160->SetBinContent(43,20629.09); h_SL1L160->SetBinContent(44,20407.96); h_SL1L160->SetBinContent(45,19783.81); h_SL1L160->SetBinContent(46,18474.87); h_SL1L160->SetBinContent(47,17554.7); h_SL1L160->SetBinContent(48,16334.93); h_SL1L160->SetBinContent(49,17198.04); h_SL1L160->SetBinContent(50,18193.11); h_SL1L160->SetBinContent(51,18014.79); h_SL1L160->SetBinContent(52,17957.72); h_SL1L160->SetBinContent(53,18685.3); h_SL1L160->SetBinContent(54,18132.48); h_SL1L160->SetBinContent(55,18845.8); h_SL1L160->SetBinContent(56,21082.04); h_SL1L160->SetBinContent(57,23931.74); h_SL1L160->SetBinContent(58,25165.77); h_SL1L160->SetBinContent(59,28208.06); h_SL1L160->SetMaximum(148635.2); h_SL1L160->SetEntries(60); h_SL1L160->SetDirectory(0); h_SL1L160->SetStats(0); h_SL1L160->SetLineWidth(2); h_SL1L160->GetXaxis()->SetTitle("Cell"); h_SL1L160->GetXaxis()->SetLabelFont(42); h_SL1L160->GetXaxis()->SetLabelSize(0.035); h_SL1L160->GetXaxis()->SetTitleSize(0.035); h_SL1L160->GetXaxis()->SetTitleFont(42); h_SL1L160->GetYaxis()->SetTitle("Hz"); h_SL1L160->GetYaxis()->SetLabelFont(42); h_SL1L160->GetYaxis()->SetLabelSize(0.035); h_SL1L160->GetYaxis()->SetTitleSize(0.035); h_SL1L160->GetYaxis()->SetTitleOffset(1.45); h_SL1L160->GetYaxis()->SetTitleFont(42); h_SL1L160->GetZaxis()->SetLabelFont(42); h_SL1L160->GetZaxis()->SetLabelSize(0.035); h_SL1L160->GetZaxis()->SetTitleSize(0.035); h_SL1L160->GetZaxis()->SetTitleFont(42); h_SL1L160->Draw(""); TH1D *h_SL1L261 = new TH1D("h_SL1L261","",60,0,60); h_SL1L261->SetBinContent(1,55767.01); h_SL1L261->SetBinContent(2,53348.87); h_SL1L261->SetBinContent(3,54393.88); h_SL1L261->SetBinContent(4,54104.99); h_SL1L261->SetBinContent(5,54429.55); h_SL1L261->SetBinContent(6,57867.73); h_SL1L261->SetBinContent(7,55877.57); h_SL1L261->SetBinContent(8,56052.34); h_SL1L261->SetBinContent(9,53234.74); h_SL1L261->SetBinContent(10,48295.03); h_SL1L261->SetBinContent(11,47003.93); h_SL1L261->SetBinContent(12,47175.12); h_SL1L261->SetBinContent(13,49675.3); h_SL1L261->SetBinContent(14,52150.5); h_SL1L261->SetBinContent(15,52542.82); h_SL1L261->SetBinContent(16,52075.61); h_SL1L261->SetBinContent(17,50934.3); h_SL1L261->SetBinContent(18,51868.74); h_SL1L261->SetBinContent(19,54686.34); h_SL1L261->SetBinContent(20,55777.71); h_SL1L261->SetBinContent(21,57742.89); h_SL1L261->SetBinContent(22,57935.49); h_SL1L261->SetBinContent(23,59358.55); h_SL1L261->SetBinContent(24,59362.12); h_SL1L261->SetBinContent(25,60146.77); h_SL1L261->SetBinContent(26,57108.05); h_SL1L261->SetBinContent(27,56519.56); h_SL1L261->SetBinContent(28,53149.14); h_SL1L261->SetBinContent(29,58320.68); h_SL1L261->SetBinContent(30,57300.64); h_SL1L261->SetBinContent(31,56173.6); h_SL1L261->SetBinContent(32,55381.82); h_SL1L261->SetBinContent(33,65789.09); h_SL1L261->SetBinContent(34,95866.05); h_SL1L261->SetBinContent(35,106458.8); h_SL1L261->SetBinContent(36,108901.9); h_SL1L261->SetBinContent(37,111933.5); h_SL1L261->SetBinContent(38,108677.2); h_SL1L261->SetBinContent(39,97346.18); h_SL1L261->SetBinContent(40,61687.53); h_SL1L261->SetBinContent(41,50477.78); h_SL1L261->SetBinContent(42,48901.35); h_SL1L261->SetBinContent(43,46747.14); h_SL1L261->SetBinContent(44,46269.21); h_SL1L261->SetBinContent(45,45973.19); h_SL1L261->SetBinContent(46,46447.54); h_SL1L261->SetBinContent(47,45991.02); h_SL1L261->SetBinContent(48,45637.93); h_SL1L261->SetBinContent(49,43180.56); h_SL1L261->SetBinContent(50,43555.05); h_SL1L261->SetBinContent(51,42117.72); h_SL1L261->SetBinContent(52,40691.09); h_SL1L261->SetBinContent(53,42741.87); h_SL1L261->SetBinContent(54,42092.75); h_SL1L261->SetBinContent(55,42470.81); h_SL1L261->SetBinContent(56,43291.12); h_SL1L261->SetBinContent(57,41664.76); h_SL1L261->SetBinContent(58,40516.32); h_SL1L261->SetBinContent(59,39599.71); h_SL1L261->SetMaximum(129248.5); h_SL1L261->SetEntries(60); h_SL1L261->SetDirectory(0); h_SL1L261->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL1L261->SetLineColor(ci); h_SL1L261->SetLineWidth(2); h_SL1L261->GetXaxis()->SetTitle("Cell"); h_SL1L261->GetXaxis()->SetLabelFont(42); h_SL1L261->GetXaxis()->SetLabelSize(0.035); h_SL1L261->GetXaxis()->SetTitleSize(0.035); h_SL1L261->GetXaxis()->SetTitleFont(42); h_SL1L261->GetYaxis()->SetTitle("Hz"); h_SL1L261->GetYaxis()->SetLabelFont(42); h_SL1L261->GetYaxis()->SetLabelSize(0.035); h_SL1L261->GetYaxis()->SetTitleSize(0.035); h_SL1L261->GetYaxis()->SetTitleOffset(1.45); h_SL1L261->GetYaxis()->SetTitleFont(42); h_SL1L261->GetZaxis()->SetLabelFont(42); h_SL1L261->GetZaxis()->SetLabelSize(0.035); h_SL1L261->GetZaxis()->SetTitleSize(0.035); h_SL1L261->GetZaxis()->SetTitleFont(42); h_SL1L261->Draw("same"); TH1D *h_SL1L362 = new TH1D("h_SL1L362","",60,0,60); h_SL1L362->SetBinContent(1,53955.19); h_SL1L362->SetBinContent(2,52164.77); h_SL1L362->SetBinContent(3,52118.4); h_SL1L362->SetBinContent(4,51458.59); h_SL1L362->SetBinContent(5,54953.83); h_SL1L362->SetBinContent(6,55909.68); h_SL1L362->SetBinContent(7,53766.16); h_SL1L362->SetBinContent(8,53687.7); h_SL1L362->SetBinContent(9,49603.96); h_SL1L362->SetBinContent(10,44682.09); h_SL1L362->SetBinContent(11,45366.87); h_SL1L362->SetBinContent(12,46187.18); h_SL1L362->SetBinContent(13,50024.82); h_SL1L362->SetBinContent(14,51344.46); h_SL1L362->SetBinContent(15,51451.45); h_SL1L362->SetBinContent(16,49735.93); h_SL1L362->SetBinContent(17,50345.81); h_SL1L362->SetBinContent(18,51594.12); h_SL1L362->SetBinContent(19,53441.6); h_SL1L362->SetBinContent(20,54425.98); h_SL1L362->SetBinContent(21,56815.59); h_SL1L362->SetBinContent(22,56754.95); h_SL1L362->SetBinContent(23,56936.85); h_SL1L362->SetBinContent(24,57043.85); h_SL1L362->SetBinContent(25,57140.14); h_SL1L362->SetBinContent(26,52803.19); h_SL1L362->SetBinContent(27,53591.4); h_SL1L362->SetBinContent(28,54764.8); h_SL1L362->SetBinContent(29,56605.16); h_SL1L362->SetBinContent(30,55150); h_SL1L362->SetBinContent(31,53113.48); h_SL1L362->SetBinContent(32,54461.64); h_SL1L362->SetBinContent(33,82277.38); h_SL1L362->SetBinContent(34,102713.9); h_SL1L362->SetBinContent(35,106291.2); h_SL1L362->SetBinContent(36,109258.5); h_SL1L362->SetBinContent(37,112390); h_SL1L362->SetBinContent(38,102803); h_SL1L362->SetBinContent(39,80340.73); h_SL1L362->SetBinContent(40,51323.05); h_SL1L362->SetBinContent(41,47970.47); h_SL1L362->SetBinContent(42,46486.78); h_SL1L362->SetBinContent(43,45110.08); h_SL1L362->SetBinContent(44,45035.18); h_SL1L362->SetBinContent(45,44008); h_SL1L362->SetBinContent(46,44689.22); h_SL1L362->SetBinContent(47,45295.54); h_SL1L362->SetBinContent(48,43530.08); h_SL1L362->SetBinContent(49,42285.35); h_SL1L362->SetBinContent(50,41561.33); h_SL1L362->SetBinContent(51,39706.71); h_SL1L362->SetBinContent(52,40309.46); h_SL1L362->SetBinContent(53,41183.27); h_SL1L362->SetBinContent(54,39934.97); h_SL1L362->SetBinContent(55,41333.07); h_SL1L362->SetBinContent(56,40491.36); h_SL1L362->SetBinContent(57,39760.21); h_SL1L362->SetBinContent(58,37342.07); h_SL1L362->SetBinContent(59,38158.82); h_SL1L362->SetMaximum(129248.5); h_SL1L362->SetEntries(60); h_SL1L362->SetDirectory(0); h_SL1L362->SetStats(0); ci = TColor::GetColor("#009900"); h_SL1L362->SetLineColor(ci); h_SL1L362->SetLineWidth(2); h_SL1L362->GetXaxis()->SetTitle("Cell"); h_SL1L362->GetXaxis()->SetLabelFont(42); h_SL1L362->GetXaxis()->SetLabelSize(0.035); h_SL1L362->GetXaxis()->SetTitleSize(0.035); h_SL1L362->GetXaxis()->SetTitleFont(42); h_SL1L362->GetYaxis()->SetTitle("Hz"); h_SL1L362->GetYaxis()->SetLabelFont(42); h_SL1L362->GetYaxis()->SetLabelSize(0.035); h_SL1L362->GetYaxis()->SetTitleSize(0.035); h_SL1L362->GetYaxis()->SetTitleOffset(1.45); h_SL1L362->GetYaxis()->SetTitleFont(42); h_SL1L362->GetZaxis()->SetLabelFont(42); h_SL1L362->GetZaxis()->SetLabelSize(0.035); h_SL1L362->GetZaxis()->SetTitleSize(0.035); h_SL1L362->GetZaxis()->SetTitleFont(42); h_SL1L362->Draw("same"); TH1D *h_SL1L463 = new TH1D("h_SL1L463","",60,0,60); h_SL1L463->SetBinContent(2,38772.27); h_SL1L463->SetBinContent(3,36796.38); h_SL1L463->SetBinContent(4,34784.84); h_SL1L463->SetBinContent(5,32102.77); h_SL1L463->SetBinContent(6,33447.37); h_SL1L463->SetBinContent(7,32705.52); h_SL1L463->SetBinContent(8,34652.87); h_SL1L463->SetBinContent(9,35890.47); h_SL1L463->SetBinContent(10,34845.46); h_SL1L463->SetBinContent(11,35565.91); h_SL1L463->SetBinContent(12,36054.54); h_SL1L463->SetBinContent(13,37049.61); h_SL1L463->SetBinContent(14,39524.82); h_SL1L463->SetBinContent(15,38162.38); h_SL1L463->SetBinContent(16,35940.41); h_SL1L463->SetBinContent(17,33639.96); h_SL1L463->SetBinContent(18,32405.93); h_SL1L463->SetBinContent(19,33429.54); h_SL1L463->SetBinContent(20,32798.25); h_SL1L463->SetBinContent(21,32420.19); h_SL1L463->SetBinContent(22,34092.92); h_SL1L463->SetBinContent(23,34214.18); h_SL1L463->SetBinContent(24,34046.55); h_SL1L463->SetBinContent(25,31221.82); h_SL1L463->SetBinContent(26,31952.97); h_SL1L463->SetBinContent(27,30804.53); h_SL1L463->SetBinContent(28,30544.17); h_SL1L463->SetBinContent(29,29502.73); h_SL1L463->SetBinContent(30,30340.88); h_SL1L463->SetBinContent(31,28550.46); h_SL1L463->SetBinContent(32,28083.23); h_SL1L463->SetBinContent(33,27059.63); h_SL1L463->SetBinContent(34,37131.64); h_SL1L463->SetBinContent(35,40377.23); h_SL1L463->SetBinContent(36,38900.66); h_SL1L463->SetBinContent(37,35448.22); h_SL1L463->SetBinContent(38,37670.2); h_SL1L463->SetBinContent(39,36122.3); h_SL1L463->SetBinContent(40,22637.07); h_SL1L463->SetBinContent(41,19209.59); h_SL1L463->SetBinContent(42,19377.22); h_SL1L463->SetBinContent(43,20062); h_SL1L463->SetBinContent(44,19084.76); h_SL1L463->SetBinContent(45,17365.67); h_SL1L463->SetBinContent(46,17968.42); h_SL1L463->SetBinContent(47,17280.07); h_SL1L463->SetBinContent(48,16570.32); h_SL1L463->SetBinContent(49,15988.97); h_SL1L463->SetBinContent(50,15971.14); h_SL1L463->SetBinContent(51,16202.96); h_SL1L463->SetBinContent(52,15899.8); h_SL1L463->SetBinContent(53,16716.55); h_SL1L463->SetBinContent(54,16477.59); h_SL1L463->SetBinContent(56,18628.24); h_SL1L463->SetBinContent(57,20525.66); h_SL1L463->SetBinContent(58,25451.1); h_SL1L463->SetBinContent(59,26471.14); h_SL1L463->SetMaximum(129248.5); h_SL1L463->SetEntries(60); h_SL1L463->SetDirectory(0); h_SL1L463->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL1L463->SetLineColor(ci); h_SL1L463->SetLineWidth(2); h_SL1L463->GetXaxis()->SetTitle("Cell"); h_SL1L463->GetXaxis()->SetLabelFont(42); h_SL1L463->GetXaxis()->SetLabelSize(0.035); h_SL1L463->GetXaxis()->SetTitleSize(0.035); h_SL1L463->GetXaxis()->SetTitleFont(42); h_SL1L463->GetYaxis()->SetTitle("Hz"); h_SL1L463->GetYaxis()->SetLabelFont(42); h_SL1L463->GetYaxis()->SetLabelSize(0.035); h_SL1L463->GetYaxis()->SetTitleSize(0.035); h_SL1L463->GetYaxis()->SetTitleOffset(1.45); h_SL1L463->GetYaxis()->SetTitleFont(42); h_SL1L463->GetZaxis()->SetLabelFont(42); h_SL1L463->GetZaxis()->SetLabelSize(0.035); h_SL1L463->GetZaxis()->SetTitleSize(0.035); h_SL1L463->GetZaxis()->SetTitleFont(42); h_SL1L463->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_SL1L1","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_SL1L2","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_SL1L3","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_SL1L4","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("SL1, run 6826"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }