void RatesPerCell_Removing_noisy_cells_run_6707_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:50:59 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-17348.9,67.5,156140.1); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6707",60,0,60); h_SL2L164->SetBinContent(1,47893.06); h_SL2L164->SetBinContent(2,61309.56); h_SL2L164->SetBinContent(3,73692.02); h_SL2L164->SetBinContent(4,75105.38); h_SL2L164->SetBinContent(5,73723.2); h_SL2L164->SetBinContent(6,67659.27); h_SL2L164->SetBinContent(7,61704.46); h_SL2L164->SetBinContent(8,59948.16); h_SL2L164->SetBinContent(9,69909.21); h_SL2L164->SetBinContent(10,69098.61); h_SL2L164->SetBinContent(11,69405.18); h_SL2L164->SetBinContent(12,67144.85); h_SL2L164->SetBinContent(13,67155.24); h_SL2L164->SetBinContent(14,66521.31); h_SL2L164->SetBinContent(15,65144.33); h_SL2L164->SetBinContent(16,62546.25); h_SL2L164->SetBinContent(17,61403.09); h_SL2L164->SetBinContent(18,60088.46); h_SL2L164->SetBinContent(19,58441.27); h_SL2L164->SetBinContent(20,53728.35); h_SL2L164->SetBinContent(21,49992.31); h_SL2L164->SetBinContent(22,44952.03); h_SL2L164->SetBinContent(23,43834.85); h_SL2L164->SetBinContent(24,40737.94); h_SL2L164->SetBinContent(25,43346.41); h_SL2L164->SetBinContent(26,57781.36); h_SL2L164->SetBinContent(27,71047.17); h_SL2L164->SetBinContent(28,76643.45); h_SL2L164->SetBinContent(29,80285.95); h_SL2L164->SetBinContent(30,75219.7); h_SL2L164->SetBinContent(31,72995.73); h_SL2L164->SetBinContent(32,72361.8); h_SL2L164->SetBinContent(33,71759.05); h_SL2L164->SetBinContent(34,51920.09); h_SL2L164->SetBinContent(36,27550.07); h_SL2L164->SetBinContent(37,29498.63); h_SL2L164->SetBinContent(38,28911.46); h_SL2L164->SetBinContent(39,28771.17); h_SL2L164->SetBinContent(40,104947); h_SL2L164->SetBinContent(41,90979.66); h_SL2L164->SetBinContent(42,30709.34); h_SL2L164->SetBinContent(43,30709.34); h_SL2L164->SetBinContent(44,29644.12); h_SL2L164->SetBinContent(45,23642.55); h_SL2L164->SetBinContent(46,22052.53); h_SL2L164->SetBinContent(47,23024.21); h_SL2L164->SetBinContent(48,23481.47); h_SL2L164->SetBinContent(49,25144.25); h_SL2L164->SetBinContent(50,23502.26); h_SL2L164->SetBinContent(51,25232.58); h_SL2L164->SetBinContent(52,28755.58); h_SL2L164->SetBinContent(53,30953.56); h_SL2L164->SetBinContent(54,33499.68); h_SL2L164->SetBinContent(55,32683.88); h_SL2L164->SetBinContent(56,27939.78); h_SL2L164->SetBinContent(57,31473.18); h_SL2L164->SetMaximum(138791.2); 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,39568.8); h_SL2L265->SetBinContent(2,58103.52); h_SL2L265->SetBinContent(3,63185.38); h_SL2L265->SetBinContent(4,73380.25); h_SL2L265->SetBinContent(5,72086.41); h_SL2L265->SetBinContent(6,67222.8); h_SL2L265->SetBinContent(7,62852.82); h_SL2L265->SetBinContent(8,53375.01); h_SL2L265->SetBinContent(9,64016.76); h_SL2L265->SetBinContent(10,65102.76); h_SL2L265->SetBinContent(11,67087.7); h_SL2L265->SetBinContent(12,66334.25); h_SL2L265->SetBinContent(13,64915.7); h_SL2L265->SetBinContent(14,64681.87); h_SL2L265->SetBinContent(15,64136.27); h_SL2L265->SetBinContent(16,62551.44); h_SL2L265->SetBinContent(17,58976.48); h_SL2L265->SetBinContent(18,58430.88); h_SL2L265->SetBinContent(19,57521.55); h_SL2L265->SetBinContent(20,52642.35); h_SL2L265->SetBinContent(21,49275.24); h_SL2L265->SetBinContent(22,45611.94); h_SL2L265->SetBinContent(23,43112.59); h_SL2L265->SetBinContent(24,41028.92); h_SL2L265->SetBinContent(25,39043.99); h_SL2L265->SetBinContent(26,48360.71); h_SL2L265->SetBinContent(27,62421.54); h_SL2L265->SetBinContent(28,72242.29); h_SL2L265->SetBinContent(29,76139.41); h_SL2L265->SetBinContent(30,76378.44); h_SL2L265->SetBinContent(31,70750.99); h_SL2L265->SetBinContent(32,70621.09); h_SL2L265->SetBinContent(33,72418.96); h_SL2L265->SetBinContent(34,63226.94); h_SL2L265->SetBinContent(35,37396.8); h_SL2L265->SetBinContent(36,27705.96); h_SL2L265->SetBinContent(37,26323.78); h_SL2L265->SetBinContent(38,25700.23); h_SL2L265->SetBinContent(39,26245.83); h_SL2L265->SetBinContent(40,27279.87); h_SL2L265->SetBinContent(41,25939.26); h_SL2L265->SetBinContent(42,25591.12); h_SL2L265->SetBinContent(43,24354.43); h_SL2L265->SetBinContent(44,25227.38); h_SL2L265->SetBinContent(45,23304.8); h_SL2L265->SetBinContent(46,21636.83); h_SL2L265->SetBinContent(47,21974.58); h_SL2L265->SetBinContent(48,21688.79); h_SL2L265->SetBinContent(49,22644.89); h_SL2L265->SetBinContent(50,23725.69); h_SL2L265->SetBinContent(51,22457.83); h_SL2L265->SetBinContent(52,25783.37); h_SL2L265->SetBinContent(53,27721.54); h_SL2L265->SetBinContent(54,31322.49); h_SL2L265->SetBinContent(55,32133.09); h_SL2L265->SetBinContent(56,29192.06); h_SL2L265->SetBinContent(57,26942.12); h_SL2L265->SetMaximum(120689); 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,46479.7); h_SL2L366->SetBinContent(2,56316.04); h_SL2L366->SetBinContent(3,69233.71); h_SL2L366->SetBinContent(4,70018.33); h_SL2L366->SetBinContent(5,66770.73); h_SL2L366->SetBinContent(6,62587.81); h_SL2L366->SetBinContent(7,56227.71); h_SL2L366->SetBinContent(8,55692.5); h_SL2L366->SetBinContent(9,62842.43); h_SL2L366->SetBinContent(10,64687.07); h_SL2L366->SetBinContent(11,64203.82); h_SL2L366->SetBinContent(12,63486.75); h_SL2L366->SetBinContent(13,62457.91); h_SL2L366->SetBinContent(14,62312.42); h_SL2L366->SetBinContent(15,61039.36); h_SL2L366->SetBinContent(16,58643.93); h_SL2L366->SetBinContent(17,55760.05); h_SL2L366->SetBinContent(18,56908.41); h_SL2L366->SetBinContent(19,53920.61); h_SL2L366->SetBinContent(20,49238.86); h_SL2L366->SetBinContent(21,45824.98); h_SL2L366->SetBinContent(22,41990.21); h_SL2L366->SetBinContent(23,40462.54); h_SL2L366->SetBinContent(24,37641.02); h_SL2L366->SetBinContent(25,40571.66); h_SL2L366->SetBinContent(26,54668.86); h_SL2L366->SetBinContent(27,68121.73); h_SL2L366->SetBinContent(28,73983.01); h_SL2L366->SetBinContent(29,76420.01); h_SL2L366->SetBinContent(30,72034.45); h_SL2L366->SetBinContent(31,70267.75); h_SL2L366->SetBinContent(32,70454.81); h_SL2L366->SetBinContent(33,68677.72); h_SL2L366->SetBinContent(34,49150.53); h_SL2L366->SetBinContent(35,29275.2); h_SL2L366->SetBinContent(36,25466.41); h_SL2L366->SetBinContent(37,25336.5); h_SL2L366->SetBinContent(38,25035.12); h_SL2L366->SetBinContent(39,24001.09); h_SL2L366->SetBinContent(40,24364.82); h_SL2L366->SetBinContent(41,23632.16); h_SL2L366->SetBinContent(42,23762.06); h_SL2L366->SetBinContent(43,23704.91); h_SL2L366->SetBinContent(44,23159.31); h_SL2L366->SetBinContent(45,21475.75); h_SL2L366->SetBinContent(46,21106.82); h_SL2L366->SetBinContent(47,21657.62); h_SL2L366->SetBinContent(48,21538.11); h_SL2L366->SetBinContent(49,22904.7); h_SL2L366->SetBinContent(50,22052.53); h_SL2L366->SetBinContent(51,22769.6); h_SL2L366->SetBinContent(52,25315.72); h_SL2L366->SetBinContent(53,27461.73); h_SL2L366->SetBinContent(54,29940.31); h_SL2L366->SetBinContent(55,31073.07); h_SL2L366->SetBinContent(56,25809.35); h_SL2L366->SetBinContent(57,24780.51); h_SL2L366->SetMaximum(120689); 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,53463.35); h_SL2L467->SetBinContent(3,60369.05); h_SL2L467->SetBinContent(4,67721.62); h_SL2L467->SetBinContent(5,65539.23); h_SL2L467->SetBinContent(6,61304.36); h_SL2L467->SetBinContent(7,57199.39); h_SL2L467->SetBinContent(8,50808.11); h_SL2L467->SetBinContent(9,59127.17); h_SL2L467->SetBinContent(10,61106.91); h_SL2L467->SetBinContent(11,62047.41); h_SL2L467->SetBinContent(12,61361.52); h_SL2L467->SetBinContent(13,60940.63); h_SL2L467->SetBinContent(14,60649.64); h_SL2L467->SetBinContent(15,59657.18); h_SL2L467->SetBinContent(16,58139.89); h_SL2L467->SetBinContent(17,55126.12); h_SL2L467->SetBinContent(18,54196.01); h_SL2L467->SetBinContent(19,53026.87); h_SL2L467->SetBinContent(20,49981.92); h_SL2L467->SetBinContent(21,46640.78); h_SL2L467->SetBinContent(22,42005.8); h_SL2L467->SetBinContent(23,39308.99); h_SL2L467->SetBinContent(24,38103.48); h_SL2L467->SetBinContent(25,35879.52); h_SL2L467->SetBinContent(26,46604.41); h_SL2L467->SetBinContent(27,61766.82); h_SL2L467->SetBinContent(28,70927.66); h_SL2L467->SetBinContent(29,74980.67); h_SL2L467->SetBinContent(30,74793.61); h_SL2L467->SetBinContent(31,69223.32); h_SL2L467->SetBinContent(32,69784.5); h_SL2L467->SetBinContent(33,70865.3); h_SL2L467->SetBinContent(34,61413.48); h_SL2L467->SetBinContent(35,35869.13); h_SL2L467->SetBinContent(36,25170.23); h_SL2L467->SetBinContent(37,24432.37); h_SL2L467->SetBinContent(38,24115.4); h_SL2L467->SetBinContent(39,24172.56); h_SL2L467->SetBinContent(40,23600.98); h_SL2L467->SetBinContent(41,22525.38); h_SL2L467->SetBinContent(42,23284.02); h_SL2L467->SetBinContent(43,22000.56); h_SL2L467->SetBinContent(44,22489); h_SL2L467->SetBinContent(45,21501.73); h_SL2L467->SetBinContent(46,20062.39); h_SL2L467->SetBinContent(47,20400.15); h_SL2L467->SetBinContent(48,19719.45); h_SL2L467->SetBinContent(49,21054.86); h_SL2L467->SetBinContent(50,21896.64); h_SL2L467->SetBinContent(51,20789.86); h_SL2L467->SetBinContent(52,22961.86); h_SL2L467->SetBinContent(53,25097.48); h_SL2L467->SetBinContent(54,27908.61); h_SL2L467->SetBinContent(55,29789.62); h_SL2L467->SetBinContent(56,26464.07); h_SL2L467->SetBinContent(57,25159.83); h_SL2L467->SetMaximum(120689); 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 6707"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }