void RatesPerCell_Removing_noisy_cells_run_6706_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:47:49 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-16327.56,67.5,146948); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6706",60,0,60); h_SL2L164->SetBinContent(1,49879.82); h_SL2L164->SetBinContent(2,59788.55); h_SL2L164->SetBinContent(3,73403.59); h_SL2L164->SetBinContent(4,74033.92); h_SL2L164->SetBinContent(5,72621.99); h_SL2L164->SetBinContent(6,68377.8); h_SL2L164->SetBinContent(7,61032.39); h_SL2L164->SetBinContent(8,58544.7); h_SL2L164->SetBinContent(9,67848.32); h_SL2L164->SetBinContent(10,69167.8); h_SL2L164->SetBinContent(11,70378.03); h_SL2L164->SetBinContent(12,67520.55); h_SL2L164->SetBinContent(13,66780.97); h_SL2L164->SetBinContent(14,67201.19); h_SL2L164->SetBinContent(15,66285.11); h_SL2L164->SetBinContent(16,63444.44); h_SL2L164->SetBinContent(17,61099.62); h_SL2L164->SetBinContent(18,59242.27); h_SL2L164->SetBinContent(19,58964.92); h_SL2L164->SetBinContent(20,54695.51); h_SL2L164->SetBinContent(21,50526.95); h_SL2L164->SetBinContent(22,46442.44); h_SL2L164->SetBinContent(23,44055.61); h_SL2L164->SetBinContent(24,41383.02); h_SL2L164->SetBinContent(25,44467.42); h_SL2L164->SetBinContent(26,58233.74); h_SL2L164->SetBinContent(27,70655.38); h_SL2L164->SetBinContent(28,76387.14); h_SL2L164->SetBinContent(29,80345.59); h_SL2L164->SetBinContent(30,73882.64); h_SL2L164->SetBinContent(31,71916.02); h_SL2L164->SetBinContent(32,71781.55); h_SL2L164->SetBinContent(33,71865.6); h_SL2L164->SetBinContent(34,51644.73); h_SL2L164->SetBinContent(36,28036.91); h_SL2L164->SetBinContent(37,29263.95); h_SL2L164->SetBinContent(38,29154.69); h_SL2L164->SetBinContent(39,29314.37); h_SL2L164->SetBinContent(40,98767.92); h_SL2L164->SetBinContent(41,78420.99); h_SL2L164->SetBinContent(42,31045.67); h_SL2L164->SetBinContent(43,30575.03); h_SL2L164->SetBinContent(44,30566.62); h_SL2L164->SetBinContent(45,23053.13); h_SL2L164->SetBinContent(46,22179.08); h_SL2L164->SetBinContent(47,24221.34); h_SL2L164->SetBinContent(48,22767.38); h_SL2L164->SetBinContent(49,24364.21); h_SL2L164->SetBinContent(50,23229.62); h_SL2L164->SetBinContent(51,25213.05); h_SL2L164->SetBinContent(52,28692.45); h_SL2L164->SetBinContent(53,29936.29); h_SL2L164->SetBinContent(54,32852.61); h_SL2L164->SetBinContent(55,32550.05); h_SL2L164->SetBinContent(56,28810.11); h_SL2L164->SetBinContent(57,31726.42); h_SL2L164->SetMaximum(130620.4); 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,40567.8); h_SL2L265->SetBinContent(2,58595.13); h_SL2L265->SetBinContent(3,62578.79); h_SL2L265->SetBinContent(4,72739.65); h_SL2L265->SetBinContent(5,73025.4); h_SL2L265->SetBinContent(6,70033.45); h_SL2L265->SetBinContent(7,61578.68); h_SL2L265->SetBinContent(8,54056.78); h_SL2L265->SetBinContent(9,62377.09); h_SL2L265->SetBinContent(10,65461.48); h_SL2L265->SetBinContent(11,69554.41); h_SL2L265->SetBinContent(12,66495.22); h_SL2L265->SetBinContent(13,66360.75); h_SL2L265->SetBinContent(14,64780.73); h_SL2L265->SetBinContent(15,64570.62); h_SL2L265->SetBinContent(16,63385.61); h_SL2L265->SetBinContent(17,58695.98); h_SL2L265->SetBinContent(18,57813.53); h_SL2L265->SetBinContent(19,57889.16); h_SL2L265->SetBinContent(20,53115.49); h_SL2L265->SetBinContent(21,50215.99); h_SL2L265->SetBinContent(22,46173.5); h_SL2L265->SetBinContent(23,42811.76); h_SL2L265->SetBinContent(24,42122.61); h_SL2L265->SetBinContent(25,39634.91); h_SL2L265->SetBinContent(26,48476.29); h_SL2L265->SetBinContent(27,64310.09); h_SL2L265->SetBinContent(28,72907.74); h_SL2L265->SetBinContent(29,76975.45); h_SL2L265->SetBinContent(30,76034.16); h_SL2L265->SetBinContent(31,71159.63); h_SL2L265->SetBinContent(32,70378.03); h_SL2L265->SetBinContent(33,72084.11); h_SL2L265->SetBinContent(34,64175.62); h_SL2L265->SetBinContent(35,38239.79); h_SL2L265->SetBinContent(36,27591.48); h_SL2L265->SetBinContent(37,26835.09); h_SL2L265->SetBinContent(38,27070.41); h_SL2L265->SetBinContent(39,26809.88); h_SL2L265->SetBinContent(40,27398.18); h_SL2L265->SetBinContent(41,25902.21); h_SL2L265->SetBinContent(42,24944.11); h_SL2L265->SetBinContent(43,26045.08); h_SL2L265->SetBinContent(44,25524.01); h_SL2L265->SetBinContent(45,22784.19); h_SL2L265->SetBinContent(46,21926.95); h_SL2L265->SetBinContent(47,22111.85); h_SL2L265->SetBinContent(48,22355.57); h_SL2L265->SetBinContent(49,22801); h_SL2L265->SetBinContent(50,24078.46); h_SL2L265->SetBinContent(51,22666.53); h_SL2L265->SetBinContent(52,26280.4); h_SL2L265->SetBinContent(53,27238.5); h_SL2L265->SetBinContent(54,31415.46); h_SL2L265->SetBinContent(55,32995.48); h_SL2L265->SetBinContent(56,28650.43); h_SL2L265->SetBinContent(57,27288.93); h_SL2L265->SetMaximum(113583.1); 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,46770.21); h_SL2L366->SetBinContent(2,53964.33); h_SL2L366->SetBinContent(3,68621.52); h_SL2L366->SetBinContent(4,69554.41); h_SL2L366->SetBinContent(5,67394.48); h_SL2L366->SetBinContent(6,62175.38); h_SL2L366->SetBinContent(7,55653.61); h_SL2L366->SetBinContent(8,55250.2); h_SL2L366->SetBinContent(9,61679.53); h_SL2L366->SetBinContent(10,63948.7); h_SL2L366->SetBinContent(11,63074.65); h_SL2L366->SetBinContent(12,63074.65); h_SL2L366->SetBinContent(13,63478.06); h_SL2L366->SetBinContent(14,62301.45); h_SL2L366->SetBinContent(15,61368.57); h_SL2L366->SetBinContent(16,57754.7); h_SL2L366->SetBinContent(17,57065.54); h_SL2L366->SetBinContent(18,57485.76); h_SL2L366->SetBinContent(19,54485.4); h_SL2L366->SetBinContent(20,50501.74); h_SL2L366->SetBinContent(21,45912.96); h_SL2L366->SetBinContent(22,42534.42); h_SL2L366->SetBinContent(23,40534.18); h_SL2L366->SetBinContent(24,38172.56); h_SL2L366->SetBinContent(25,40895.57); h_SL2L366->SetBinContent(26,55367.86); h_SL2L366->SetBinContent(27,68436.62); h_SL2L366->SetBinContent(28,73748.17); h_SL2L366->SetBinContent(29,76143.41); h_SL2L366->SetBinContent(30,72453.91); h_SL2L366->SetBinContent(31,69949.41); h_SL2L366->SetBinContent(32,70067.07); h_SL2L366->SetBinContent(33,69335.89); h_SL2L366->SetBinContent(34,50426.1); h_SL2L366->SetBinContent(35,29137.88); h_SL2L366->SetBinContent(36,26011.46); h_SL2L366->SetBinContent(37,25742.53); h_SL2L366->SetBinContent(38,25919.02); h_SL2L366->SetBinContent(39,24473.47); h_SL2L366->SetBinContent(40,24389.42); h_SL2L366->SetBinContent(41,24313.79); h_SL2L366->SetBinContent(42,22935.47); h_SL2L366->SetBinContent(43,23792.71); h_SL2L366->SetBinContent(44,22943.88); h_SL2L366->SetBinContent(45,21784.08); h_SL2L366->SetBinContent(46,20313.31); h_SL2L366->SetBinContent(47,20758.75); h_SL2L366->SetBinContent(48,21162.15); h_SL2L366->SetBinContent(49,22347.17); h_SL2L366->SetBinContent(50,22431.21); h_SL2L366->SetBinContent(51,22002.59); h_SL2L366->SetBinContent(52,25843.38); h_SL2L366->SetBinContent(53,27910.85); h_SL2L366->SetBinContent(54,30196.83); h_SL2L366->SetBinContent(55,30759.92); h_SL2L366->SetBinContent(56,26860.3); h_SL2L366->SetBinContent(57,26095.51); h_SL2L366->SetMaximum(113583.1); 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,53813.05); h_SL2L467->SetBinContent(3,60183.55); h_SL2L467->SetBinContent(4,67495.34); h_SL2L467->SetBinContent(5,65453.08); h_SL2L467->SetBinContent(6,62032.51); h_SL2L467->SetBinContent(7,56956.28); h_SL2L467->SetBinContent(8,51535.48); h_SL2L467->SetBinContent(9,60015.46); h_SL2L467->SetBinContent(10,61393.78); h_SL2L467->SetBinContent(11,61141.65); h_SL2L467->SetBinContent(12,60376.85); h_SL2L467->SetBinContent(13,60780.26); h_SL2L467->SetBinContent(14,60301.21); h_SL2L467->SetBinContent(15,58578.32); h_SL2L467->SetBinContent(16,56250.32); h_SL2L467->SetBinContent(17,55233.39); h_SL2L467->SetBinContent(18,54283.7); h_SL2L467->SetBinContent(19,53678.59); h_SL2L467->SetBinContent(20,49652.9); h_SL2L467->SetBinContent(21,46425.63); h_SL2L467->SetBinContent(22,41887.28); h_SL2L467->SetBinContent(23,40492.16); h_SL2L467->SetBinContent(24,38996.18); h_SL2L467->SetBinContent(25,37416.17); h_SL2L467->SetBinContent(26,47148.41); h_SL2L467->SetBinContent(27,62251.02); h_SL2L467->SetBinContent(28,70352.81); h_SL2L467->SetBinContent(29,75134.89); h_SL2L467->SetBinContent(30,74042.33); h_SL2L467->SetBinContent(31,68907.27); h_SL2L467->SetBinContent(32,69277.06); h_SL2L467->SetBinContent(33,71226.87); h_SL2L467->SetBinContent(34,63461.25); h_SL2L467->SetBinContent(35,36844.67); h_SL2L467->SetBinContent(36,25910.61); h_SL2L467->SetBinContent(37,24540.7); h_SL2L467->SetBinContent(38,24313.79); h_SL2L467->SetBinContent(39,23515.37); h_SL2L467->SetBinContent(40,23069.94); h_SL2L467->SetBinContent(41,23599.42); h_SL2L467->SetBinContent(42,23254.84); h_SL2L467->SetBinContent(43,23153.98); h_SL2L467->SetBinContent(44,21531.95); h_SL2L467->SetBinContent(45,21263.01); h_SL2L467->SetBinContent(46,19851.08); h_SL2L467->SetBinContent(47,19926.71); h_SL2L467->SetBinContent(48,20372.14); h_SL2L467->SetBinContent(49,20439.38); h_SL2L467->SetBinContent(50,22137.06); h_SL2L467->SetBinContent(51,20498.21); h_SL2L467->SetBinContent(52,23019.52); h_SL2L467->SetBinContent(53,24994.54); h_SL2L467->SetBinContent(54,28053.72); h_SL2L467->SetBinContent(55,29490.87); h_SL2L467->SetBinContent(56,26482.11); h_SL2L467->SetBinContent(57,25759.33); h_SL2L467->SetMaximum(113583.1); 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 6706"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }