void RatesPerCell_Removing_noisy_cells_run_6744_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:08:23 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-16919.09,67.5,152271.8); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6744",60,0,60); h_SL1L160->SetBinContent(1,38730.09); h_SL1L160->SetBinContent(2,37372.99); h_SL1L160->SetBinContent(3,37358.27); h_SL1L160->SetBinContent(4,36891.99); h_SL1L160->SetBinContent(5,35907.91); h_SL1L160->SetBinContent(6,37746.01); h_SL1L160->SetBinContent(7,36099.33); h_SL1L160->SetBinContent(8,35252.68); h_SL1L160->SetBinContent(9,32751.98); h_SL1L160->SetBinContent(10,30494.24); h_SL1L160->SetBinContent(11,29451.26); h_SL1L160->SetBinContent(12,30705.29); h_SL1L160->SetBinContent(13,32474.67); h_SL1L160->SetBinContent(14,31569.12); h_SL1L160->SetBinContent(15,30916.34); h_SL1L160->SetBinContent(16,29554.33); h_SL1L160->SetBinContent(17,30840.26); h_SL1L160->SetBinContent(18,32305.34); h_SL1L160->SetBinContent(19,34302.95); h_SL1L160->SetBinContent(20,32668.54); h_SL1L160->SetBinContent(21,34300.5); h_SL1L160->SetBinContent(22,34410.93); h_SL1L160->SetBinContent(23,34906.65); h_SL1L160->SetBinContent(24,32477.12); h_SL1L160->SetBinContent(25,32783.88); h_SL1L160->SetBinContent(26,32327.43); h_SL1L160->SetBinContent(27,31664.83); h_SL1L160->SetBinContent(28,32190); h_SL1L160->SetBinContent(29,32084.47); h_SL1L160->SetBinContent(30,31250.09); h_SL1L160->SetBinContent(31,31051.31); h_SL1L160->SetBinContent(32,30194.84); h_SL1L160->SetBinContent(33,48953.73); h_SL1L160->SetBinContent(34,62419.2); h_SL1L160->SetBinContent(35,64983.7); h_SL1L160->SetBinContent(36,65074.5); h_SL1L160->SetBinContent(37,72225.66); h_SL1L160->SetBinContent(38,71086.97); h_SL1L160->SetBinContent(39,52391.88); h_SL1L160->SetBinContent(40,30447.61); h_SL1L160->SetBinContent(41,28570.25); h_SL1L160->SetBinContent(42,28528.53); h_SL1L160->SetBinContent(43,27242.6); h_SL1L160->SetBinContent(44,26761.6); h_SL1L160->SetBinContent(45,25632.73); h_SL1L160->SetBinContent(46,24714.91); h_SL1L160->SetBinContent(47,23799.54); h_SL1L160->SetBinContent(48,22763.93); h_SL1L160->SetBinContent(49,23497.69); h_SL1L160->SetBinContent(50,24256); h_SL1L160->SetBinContent(51,22565.15); h_SL1L160->SetBinContent(52,22935.71); h_SL1L160->SetBinContent(53,22867); h_SL1L160->SetBinContent(54,22108.69); h_SL1L160->SetBinContent(55,23213.02); h_SL1L160->SetBinContent(56,23590.95); h_SL1L160->SetBinContent(57,26238.89); h_SL1L160->SetBinContent(58,26069.56); h_SL1L160->SetBinContent(59,26550.55); h_SL1L160->SetMaximum(135352.7); 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,40847.95); h_SL1L261->SetBinContent(2,38357.07); h_SL1L261->SetBinContent(3,38757.08); h_SL1L261->SetBinContent(4,39149.73); h_SL1L261->SetBinContent(5,38717.82); h_SL1L261->SetBinContent(6,41586.62); h_SL1L261->SetBinContent(7,40693.34); h_SL1L261->SetBinContent(8,40855.31); h_SL1L261->SetBinContent(9,38575.48); h_SL1L261->SetBinContent(10,33745.88); h_SL1L261->SetBinContent(11,33846.5); h_SL1L261->SetBinContent(12,34190.07); h_SL1L261->SetBinContent(13,36143.5); h_SL1L261->SetBinContent(14,37871.16); h_SL1L261->SetBinContent(15,37559.5); h_SL1L261->SetBinContent(16,37542.32); h_SL1L261->SetBinContent(17,36752.11); h_SL1L261->SetBinContent(18,37242.93); h_SL1L261->SetBinContent(19,40168.17); h_SL1L261->SetBinContent(20,40526.46); h_SL1L261->SetBinContent(21,40570.64); h_SL1L261->SetBinContent(22,42342.48); h_SL1L261->SetBinContent(23,43032.07); h_SL1L261->SetBinContent(24,43272.57); h_SL1L261->SetBinContent(25,43365.82); h_SL1L261->SetBinContent(26,41994); h_SL1L261->SetBinContent(27,39652.82); h_SL1L261->SetBinContent(28,41515.46); h_SL1L261->SetBinContent(29,42592.79); h_SL1L261->SetBinContent(30,42092.16); h_SL1L261->SetBinContent(31,41139.98); h_SL1L261->SetBinContent(32,42418.55); h_SL1L261->SetBinContent(33,53292.52); h_SL1L261->SetBinContent(34,85546.33); h_SL1L261->SetBinContent(35,94103.66); h_SL1L261->SetBinContent(36,97114.8); h_SL1L261->SetBinContent(37,102346.9); h_SL1L261->SetBinContent(38,100278.1); h_SL1L261->SetBinContent(39,86837.17); h_SL1L261->SetBinContent(40,51147.67); h_SL1L261->SetBinContent(41,39235.62); h_SL1L261->SetBinContent(42,36474.8); h_SL1L261->SetBinContent(43,35596.25); h_SL1L261->SetBinContent(44,34366.76); h_SL1L261->SetBinContent(45,33883.3); h_SL1L261->SetBinContent(46,34658.79); h_SL1L261->SetBinContent(47,34052.64); h_SL1L261->SetBinContent(48,33259.97); h_SL1L261->SetBinContent(49,42686.05); h_SL1L261->SetBinContent(50,32553.2); h_SL1L261->SetBinContent(51,30891.8); h_SL1L261->SetBinContent(52,29456.17); h_SL1L261->SetBinContent(53,31311.44); h_SL1L261->SetBinContent(54,30845.17); h_SL1L261->SetBinContent(55,31043.95); h_SL1L261->SetBinContent(56,33932.39); h_SL1L261->SetBinContent(57,29846.37); h_SL1L261->SetBinContent(58,29500.34); h_SL1L261->SetBinContent(59,27816.85); h_SL1L261->SetMaximum(117698.9); 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,19173.63); h_SL1L362->SetBinContent(2,18447.22); h_SL1L362->SetBinContent(3,18869.32); h_SL1L362->SetBinContent(4,19703.71); h_SL1L362->SetBinContent(5,18484.04); h_SL1L362->SetBinContent(6,19649.72); h_SL1L362->SetBinContent(7,19019.02); h_SL1L362->SetBinContent(8,19473.02); h_SL1L362->SetBinContent(9,17811.62); h_SL1L362->SetBinContent(10,16128.13); h_SL1L362->SetBinContent(11,16567.41); h_SL1L362->SetBinContent(12,17158.84); h_SL1L362->SetBinContent(13,18834.97); h_SL1L362->SetBinContent(14,17990.77); h_SL1L362->SetBinContent(15,18057.03); h_SL1L362->SetBinContent(16,17541.67); h_SL1L362->SetBinContent(17,17445.96); h_SL1L362->SetBinContent(18,17595.66); h_SL1L362->SetBinContent(19,18464.4); h_SL1L362->SetBinContent(20,18719.62); h_SL1L362->SetBinContent(21,20304.95); h_SL1L362->SetBinContent(22,18992.03); h_SL1L362->SetBinContent(23,20088.99); h_SL1L362->SetBinContent(24,19907.39); h_SL1L362->SetBinContent(25,18734.35); h_SL1L362->SetBinContent(26,17230.01); h_SL1L362->SetBinContent(27,18996.93); h_SL1L362->SetBinContent(28,17703.64); h_SL1L362->SetBinContent(29,19161.36); h_SL1L362->SetBinContent(30,17634.93); h_SL1L362->SetBinContent(31,18476.67); h_SL1L362->SetBinContent(32,17350.26); h_SL1L362->SetBinContent(33,21576.16); h_SL1L362->SetBinContent(34,28067.17); h_SL1L362->SetBinContent(35,29002.17); h_SL1L362->SetBinContent(36,28238.95); h_SL1L362->SetBinContent(37,30035.33); h_SL1L362->SetBinContent(38,26859.77); h_SL1L362->SetBinContent(39,24069.49); h_SL1L362->SetBinContent(40,15531.79); h_SL1L362->SetBinContent(41,15769.84); h_SL1L362->SetBinContent(42,17357.62); h_SL1L362->SetBinContent(43,17070.49); h_SL1L362->SetBinContent(44,16250.83); h_SL1L362->SetBinContent(45,15107.24); h_SL1L362->SetBinContent(46,15632.41); h_SL1L362->SetBinContent(47,16258.2); h_SL1L362->SetBinContent(48,13931.74); h_SL1L362->SetBinContent(49,15207.85); h_SL1L362->SetBinContent(50,14601.7); h_SL1L362->SetBinContent(51,14290.03); h_SL1L362->SetBinContent(52,13622.53); h_SL1L362->SetBinContent(53,16464.34); h_SL1L362->SetBinContent(54,13637.25); h_SL1L362->SetBinContent(55,13377.12); h_SL1L362->SetBinContent(56,18560.11); h_SL1L362->SetBinContent(57,14054.44); h_SL1L362->SetBinContent(58,13085.09); h_SL1L362->SetBinContent(59,12555.01); h_SL1L362->SetMaximum(117698.9); 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,33502.93); h_SL1L463->SetBinContent(3,33483.29); h_SL1L463->SetBinContent(4,32192.45); h_SL1L463->SetBinContent(5,30862.35); h_SL1L463->SetBinContent(6,32558.11); h_SL1L463->SetBinContent(7,31797.35); h_SL1L463->SetBinContent(8,32273.44); h_SL1L463->SetBinContent(9,32023.12); h_SL1L463->SetBinContent(10,29613.23); h_SL1L463->SetBinContent(11,29532.24); h_SL1L463->SetBinContent(12,30285.64); h_SL1L463->SetBinContent(13,31365.43); h_SL1L463->SetBinContent(14,33262.43); h_SL1L463->SetBinContent(15,32999.84); h_SL1L463->SetBinContent(16,31772.81); h_SL1L463->SetBinContent(17,30023.06); h_SL1L463->SetBinContent(18,30381.35); h_SL1L463->SetBinContent(19,31843.98); h_SL1L463->SetBinContent(20,31502.86); h_SL1L463->SetBinContent(21,31812.07); h_SL1L463->SetBinContent(22,32644); h_SL1L463->SetBinContent(23,32832.96); h_SL1L463->SetBinContent(24,33377.77); h_SL1L463->SetBinContent(25,31318.81); h_SL1L463->SetBinContent(26,31956.86); h_SL1L463->SetBinContent(27,31012.05); h_SL1L463->SetBinContent(28,30305.28); h_SL1L463->SetBinContent(29,31144.57); h_SL1L463->SetBinContent(30,31711.46); h_SL1L463->SetBinContent(31,30764.19); h_SL1L463->SetBinContent(32,30430.43); h_SL1L463->SetBinContent(33,34938.55); h_SL1L463->SetBinContent(34,59128.3); h_SL1L463->SetBinContent(35,70490.62); h_SL1L463->SetBinContent(36,68591.18); h_SL1L463->SetBinContent(37,63263.4); h_SL1L463->SetBinContent(38,66691.73); h_SL1L463->SetBinContent(39,64699.03); h_SL1L463->SetBinContent(40,33026.84); h_SL1L463->SetBinContent(41,25703.9); h_SL1L463->SetBinContent(42,25824.15); h_SL1L463->SetBinContent(43,24751.72); h_SL1L463->SetBinContent(44,24498.95); h_SL1L463->SetBinContent(45,21698.86); h_SL1L463->SetBinContent(46,23016.7); h_SL1L463->SetBinContent(47,22334.47); h_SL1L463->SetBinContent(48,20896.38); h_SL1L463->SetBinContent(49,19735.61); h_SL1L463->SetBinContent(50,21212.96); h_SL1L463->SetBinContent(51,20057.09); h_SL1L463->SetBinContent(52,19519.65); h_SL1L463->SetBinContent(53,19477.93); h_SL1L463->SetBinContent(54,19502.47); h_SL1L463->SetBinContent(56,21178.6); h_SL1L463->SetBinContent(57,21257.13); h_SL1L463->SetBinContent(58,24334.53); h_SL1L463->SetBinContent(59,22898.9); h_SL1L463->SetMaximum(117698.9); 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 6744"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }