void RatesPerCell_Removing_noisy_cells_run_6872_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:23:31 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13514.66,67.5,121631.9); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6872",60,0,60); h_SL1L160->SetBinContent(1,16682.61); h_SL1L160->SetBinContent(2,15852.42); h_SL1L160->SetBinContent(3,16279.89); h_SL1L160->SetBinContent(4,15629.68); h_SL1L160->SetBinContent(5,15177.46); h_SL1L160->SetBinContent(6,16342.88); h_SL1L160->SetBinContent(7,15244.96); h_SL1L160->SetBinContent(8,15377.7); h_SL1L160->SetBinContent(9,14068.29); h_SL1L160->SetBinContent(10,12997.36); h_SL1L160->SetBinContent(11,13017.61); h_SL1L160->SetBinContent(12,13013.11); h_SL1L160->SetBinContent(13,14009.79); h_SL1L160->SetBinContent(14,13404.58); h_SL1L160->SetBinContent(15,13485.58); h_SL1L160->SetBinContent(16,13231.35); h_SL1L160->SetBinContent(17,13069.36); h_SL1L160->SetBinContent(18,14462.01); h_SL1L160->SetBinContent(19,14810.74); h_SL1L160->SetBinContent(20,14063.79); h_SL1L160->SetBinContent(21,15253.96); h_SL1L160->SetBinContent(22,15256.21); h_SL1L160->SetBinContent(23,14999.72); h_SL1L160->SetBinContent(24,14489.01); h_SL1L160->SetBinContent(25,14441.76); h_SL1L160->SetBinContent(26,14158.28); h_SL1L160->SetBinContent(27,13757.81); h_SL1L160->SetBinContent(28,14021.04); h_SL1L160->SetBinContent(29,14237.03); h_SL1L160->SetBinContent(30,13863.55); h_SL1L160->SetBinContent(31,14201.03); h_SL1L160->SetBinContent(32,15080.72); h_SL1L160->SetBinContent(33,29369.49); h_SL1L160->SetBinContent(34,40524.23); h_SL1L160->SetBinContent(35,42558.09); h_SL1L160->SetBinContent(36,42580.59); h_SL1L160->SetBinContent(37,46882.3); h_SL1L160->SetBinContent(38,44985.68); h_SL1L160->SetBinContent(39,32305.54); h_SL1L160->SetBinContent(40,15044.72); h_SL1L160->SetBinContent(41,13283.09); h_SL1L160->SetBinContent(42,12817.37); h_SL1L160->SetBinContent(43,12502.4); h_SL1L160->SetBinContent(44,12086.17); h_SL1L160->SetBinContent(45,10963.5); h_SL1L160->SetBinContent(46,10722.77); h_SL1L160->SetBinContent(47,10668.77); h_SL1L160->SetBinContent(48,9789.081); h_SL1L160->SetBinContent(49,10216.55); h_SL1L160->SetBinContent(50,9786.831); h_SL1L160->SetBinContent(51,9795.83); h_SL1L160->SetBinContent(52,9780.081); h_SL1L160->SetBinContent(53,9831.828); h_SL1L160->SetBinContent(54,10164.81); h_SL1L160->SetBinContent(55,9748.584); h_SL1L160->SetBinContent(56,10403.29); h_SL1L160->SetBinContent(57,11435.97); h_SL1L160->SetBinContent(58,11984.93); h_SL1L160->SetBinContent(59,12326.91); h_SL1L160->SetMaximum(108117.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,18705.22); h_SL1L261->SetBinContent(2,18084.26); h_SL1L261->SetBinContent(3,17566.8); h_SL1L261->SetBinContent(4,17938.02); h_SL1L261->SetBinContent(5,17380.06); h_SL1L261->SetBinContent(6,18876.21); h_SL1L261->SetBinContent(7,18354.25); h_SL1L261->SetBinContent(8,18441.99); h_SL1L261->SetBinContent(9,17978.52); h_SL1L261->SetBinContent(10,15823.17); h_SL1L261->SetBinContent(11,15591.43); h_SL1L261->SetBinContent(12,15798.42); h_SL1L261->SetBinContent(13,16313.63); h_SL1L261->SetBinContent(14,17384.56); h_SL1L261->SetBinContent(15,17515.05); h_SL1L261->SetBinContent(16,17584.8); h_SL1L261->SetBinContent(17,17278.82); h_SL1L261->SetBinContent(18,17875.03); h_SL1L261->SetBinContent(19,18675.97); h_SL1L261->SetBinContent(20,19096.7); h_SL1L261->SetBinContent(21,19571.41); h_SL1L261->SetBinContent(22,20095.63); h_SL1L261->SetBinContent(23,20885.32); h_SL1L261->SetBinContent(24,20903.32); h_SL1L261->SetBinContent(25,20964.07); h_SL1L261->SetBinContent(26,20185.62); h_SL1L261->SetBinContent(27,20084.38); h_SL1L261->SetBinContent(28,19724.4); h_SL1L261->SetBinContent(29,21006.81); h_SL1L261->SetBinContent(30,21427.54); h_SL1L261->SetBinContent(31,21270.05); h_SL1L261->SetBinContent(32,23103.67); h_SL1L261->SetBinContent(33,34172.91); h_SL1L261->SetBinContent(34,65508.77); h_SL1L261->SetBinContent(35,73959.2); h_SL1L261->SetBinContent(36,78159.66); h_SL1L261->SetBinContent(37,81752.66); h_SL1L261->SetBinContent(38,79541.06); h_SL1L261->SetBinContent(39,68566.31); h_SL1L261->SetBinContent(40,33171.73); h_SL1L261->SetBinContent(41,21909); h_SL1L261->SetBinContent(42,18984.2); h_SL1L261->SetBinContent(43,18307); h_SL1L261->SetBinContent(44,17607.3); h_SL1L261->SetBinContent(45,17332.81); h_SL1L261->SetBinContent(46,17492.55); h_SL1L261->SetBinContent(47,17434.06); h_SL1L261->SetBinContent(48,16239.39); h_SL1L261->SetBinContent(49,15969.41); h_SL1L261->SetBinContent(50,15998.66); h_SL1L261->SetBinContent(51,15310.2); h_SL1L261->SetBinContent(52,14484.51); h_SL1L261->SetBinContent(53,15125.72); h_SL1L261->SetBinContent(54,15087.47); h_SL1L261->SetBinContent(55,15159.46); h_SL1L261->SetBinContent(56,14965.98); h_SL1L261->SetBinContent(57,14531.76); h_SL1L261->SetBinContent(58,14266.27); h_SL1L261->SetBinContent(59,13708.31); h_SL1L261->SetMaximum(94015.56); 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,16448.62); h_SL1L362->SetBinContent(2,16439.63); h_SL1L362->SetBinContent(3,16351.88); h_SL1L362->SetBinContent(4,16455.38); h_SL1L362->SetBinContent(5,17447.56); h_SL1L362->SetBinContent(6,17690.54); h_SL1L362->SetBinContent(7,16923.34); h_SL1L362->SetBinContent(8,16889.6); h_SL1L362->SetBinContent(9,15622.93); h_SL1L362->SetBinContent(10,14428.26); h_SL1L362->SetBinContent(11,14468.76); h_SL1L362->SetBinContent(12,14736.49); h_SL1L362->SetBinContent(13,15665.68); h_SL1L362->SetBinContent(14,16311.38); h_SL1L362->SetBinContent(15,16369.88); h_SL1L362->SetBinContent(16,15415.95); h_SL1L362->SetBinContent(17,16167.39); h_SL1L362->SetBinContent(18,16849.1); h_SL1L362->SetBinContent(19,17348.56); h_SL1L362->SetBinContent(20,17587.05); h_SL1L362->SetBinContent(21,18792.96); h_SL1L362->SetBinContent(22,18729.97); h_SL1L362->SetBinContent(23,19114.69); h_SL1L362->SetBinContent(24,19328.43); h_SL1L362->SetBinContent(25,18918.96); h_SL1L362->SetBinContent(26,18131.51); h_SL1L362->SetBinContent(27,18430.74); h_SL1L362->SetBinContent(28,18466.74); h_SL1L362->SetBinContent(29,19022.45); h_SL1L362->SetBinContent(30,19647.91); h_SL1L362->SetBinContent(31,19305.93); h_SL1L362->SetBinContent(32,22172.23); h_SL1L362->SetBinContent(33,46992.54); h_SL1L362->SetBinContent(34,64332.1); h_SL1L362->SetBinContent(35,68361.58); h_SL1L362->SetBinContent(36,71990.58); h_SL1L362->SetBinContent(37,73650.97); h_SL1L362->SetBinContent(38,67740.62); h_SL1L362->SetBinContent(39,48677.67); h_SL1L362->SetBinContent(40,21189.05); h_SL1L362->SetBinContent(41,18205.76); h_SL1L362->SetBinContent(42,17076.33); h_SL1L362->SetBinContent(43,16495.87); h_SL1L362->SetBinContent(44,15658.93); h_SL1L362->SetBinContent(45,15645.43); h_SL1L362->SetBinContent(46,15699.43); h_SL1L362->SetBinContent(47,15397.95); h_SL1L362->SetBinContent(48,14489.01); h_SL1L362->SetBinContent(49,14313.52); h_SL1L362->SetBinContent(50,14498.01); h_SL1L362->SetBinContent(51,13544.07); h_SL1L362->SetBinContent(52,13940.05); h_SL1L362->SetBinContent(53,14021.04); h_SL1L362->SetBinContent(54,13971.54); h_SL1L362->SetBinContent(55,13879.3); h_SL1L362->SetBinContent(56,13771.31); h_SL1L362->SetBinContent(57,13348.34); h_SL1L362->SetBinContent(58,13154.85); h_SL1L362->SetBinContent(59,12677.88); h_SL1L362->SetMaximum(94015.56); 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,14522.76); h_SL1L463->SetBinContent(3,14149.28); h_SL1L463->SetBinContent(4,13391.08); h_SL1L463->SetBinContent(5,12970.36); h_SL1L463->SetBinContent(6,13850.05); h_SL1L463->SetBinContent(7,13899.55); h_SL1L463->SetBinContent(8,14187.53); h_SL1L463->SetBinContent(9,14023.29); h_SL1L463->SetBinContent(10,12727.38); h_SL1L463->SetBinContent(11,13166.1); h_SL1L463->SetBinContent(12,13042.36); h_SL1L463->SetBinContent(13,13823.05); h_SL1L463->SetBinContent(14,14617.25); h_SL1L463->SetBinContent(15,14349.52); h_SL1L463->SetBinContent(16,14054.79); h_SL1L463->SetBinContent(17,12770.13); h_SL1L463->SetBinContent(18,12999.61); h_SL1L463->SetBinContent(19,13359.59); h_SL1L463->SetBinContent(20,13773.56); h_SL1L463->SetBinContent(21,13710.56); h_SL1L463->SetBinContent(22,14133.53); h_SL1L463->SetBinContent(23,14054.79); h_SL1L463->SetBinContent(24,14331.52); h_SL1L463->SetBinContent(25,13978.29); h_SL1L463->SetBinContent(26,13935.55); h_SL1L463->SetBinContent(27,13229.1); h_SL1L463->SetBinContent(28,13762.31); h_SL1L463->SetBinContent(29,13496.83); h_SL1L463->SetBinContent(30,14165.03); h_SL1L463->SetBinContent(31,14115.54); h_SL1L463->SetBinContent(32,14306.77); h_SL1L463->SetBinContent(33,19002.2); h_SL1L463->SetBinContent(34,39613.04); h_SL1L463->SetBinContent(35,47201.77); h_SL1L463->SetBinContent(36,47941.97); h_SL1L463->SetBinContent(37,45077.92); h_SL1L463->SetBinContent(38,48547.18); h_SL1L463->SetBinContent(39,44375.97); h_SL1L463->SetBinContent(40,18968.45); h_SL1L463->SetBinContent(41,12695.88); h_SL1L463->SetBinContent(42,11865.69); h_SL1L463->SetBinContent(43,11109.74); h_SL1L463->SetBinContent(44,11109.74); h_SL1L463->SetBinContent(45,9780.081); h_SL1L463->SetBinContent(46,10286.3); h_SL1L463->SetBinContent(47,9854.326); h_SL1L463->SetBinContent(48,9273.866); h_SL1L463->SetBinContent(49,9078.13); h_SL1L463->SetBinContent(50,8848.646); h_SL1L463->SetBinContent(51,8452.672); h_SL1L463->SetBinContent(52,8101.696); h_SL1L463->SetBinContent(53,8758.651); h_SL1L463->SetBinContent(54,8769.9); h_SL1L463->SetBinContent(55,2.249846); h_SL1L463->SetBinContent(56,8954.388); h_SL1L463->SetBinContent(57,9183.872); h_SL1L463->SetBinContent(58,10545.03); h_SL1L463->SetBinContent(59,10680.02); h_SL1L463->SetMaximum(94015.56); 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 6872"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }