void RatesPerCell_Removing_noisy_cells_run_7240_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:28:54 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-17703.96,67.5,159335.7); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7240",60,0,60); h_SL1L160->SetBinContent(1,10184.29); h_SL1L160->SetBinContent(2,9558.793); h_SL1L160->SetBinContent(3,8933.294); h_SL1L160->SetBinContent(4,8698.207); h_SL1L160->SetBinContent(5,8450.527); h_SL1L160->SetBinContent(6,8513.496); h_SL1L160->SetBinContent(7,8647.832); h_SL1L160->SetBinContent(8,8958.482); h_SL1L160->SetBinContent(9,9092.817); h_SL1L160->SetBinContent(10,8903.908); h_SL1L160->SetBinContent(11,8987.868); h_SL1L160->SetBinContent(12,9042.441); h_SL1L160->SetBinContent(13,9046.64); h_SL1L160->SetBinContent(14,13458.71); h_SL1L160->SetBinContent(15,12493.18); h_SL1L160->SetBinContent(16,7908.988); h_SL1L160->SetBinContent(17,7497.586); h_SL1L160->SetBinContent(18,8232.232); h_SL1L160->SetBinContent(19,9353.092); h_SL1L160->SetBinContent(20,9953.402); h_SL1L160->SetBinContent(21,11007.09); h_SL1L160->SetBinContent(22,11410.1); h_SL1L160->SetBinContent(23,12417.62); h_SL1L160->SetBinContent(24,13580.45); h_SL1L160->SetBinContent(25,23298.77); h_SL1L160->SetBinContent(26,41102.39); h_SL1L160->SetBinContent(27,56618.11); h_SL1L160->SetBinContent(28,70786.28); h_SL1L160->SetBinContent(29,71189.29); h_SL1L160->SetBinContent(30,56580.33); h_SL1L160->SetBinContent(31,33575.42); h_SL1L160->SetBinContent(32,14915.41); h_SL1L160->SetBinContent(33,18513.08); h_SL1L160->SetBinContent(34,15704.63); h_SL1L160->SetBinContent(35,13072.5); h_SL1L160->SetBinContent(36,12228.71); h_SL1L160->SetBinContent(37,11716.55); h_SL1L160->SetBinContent(38,11128.84); h_SL1L160->SetBinContent(39,10318.63); h_SL1L160->SetBinContent(41,6813.316); h_SL1L160->SetBinContent(42,7019.017); h_SL1L160->SetBinContent(43,7132.362); h_SL1L160->SetBinContent(44,6867.89); h_SL1L160->SetBinContent(45,6074.472); h_SL1L160->SetBinContent(46,5318.836); h_SL1L160->SetBinContent(47,5608.497); h_SL1L160->SetBinContent(48,5415.39); h_SL1L160->SetBinContent(49,5654.674); h_SL1L160->SetBinContent(50,5352.42); h_SL1L160->SetBinContent(51,5394.4); h_SL1L160->SetBinContent(52,5197.095); h_SL1L160->SetBinContent(53,5033.374); h_SL1L160->SetBinContent(54,4752.109); h_SL1L160->SetBinContent(55,4924.227); h_SL1L160->SetBinContent(56,5188.699); h_SL1L160->SetMaximum(141631.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,11678.77); h_SL1L261->SetBinContent(2,10238.87); h_SL1L261->SetBinContent(3,9655.346); h_SL1L261->SetBinContent(4,9919.818); h_SL1L261->SetBinContent(5,9672.138); h_SL1L261->SetBinContent(6,10620.88); h_SL1L261->SetBinContent(7,9999.58); h_SL1L261->SetBinContent(8,10297.64); h_SL1L261->SetBinContent(9,10683.85); h_SL1L261->SetBinContent(10,10352.21); h_SL1L261->SetBinContent(11,10394.19); h_SL1L261->SetBinContent(12,10532.72); h_SL1L261->SetBinContent(13,11355.53); h_SL1L261->SetBinContent(14,11196); h_SL1L261->SetBinContent(15,10524.33); h_SL1L261->SetBinContent(16,10515.93); h_SL1L261->SetBinContent(17,10041.56); h_SL1L261->SetBinContent(18,10117.12); h_SL1L261->SetBinContent(19,11145.63); h_SL1L261->SetBinContent(20,12493.18); h_SL1L261->SetBinContent(21,13739.98); h_SL1L261->SetBinContent(22,14323.5); h_SL1L261->SetBinContent(23,15805.38); h_SL1L261->SetBinContent(24,18353.55); h_SL1L261->SetBinContent(25,22946.14); h_SL1L261->SetBinContent(26,45527.05); h_SL1L261->SetBinContent(27,65190.38); h_SL1L261->SetBinContent(28,85731.08); h_SL1L261->SetBinContent(29,107094.6); h_SL1L261->SetBinContent(30,98429.96); h_SL1L261->SetBinContent(31,66999.7); h_SL1L261->SetBinContent(32,35057.3); h_SL1L261->SetBinContent(33,20364.38); h_SL1L261->SetBinContent(34,15948.11); h_SL1L261->SetBinContent(35,13362.16); h_SL1L261->SetBinContent(36,12308.47); h_SL1L261->SetBinContent(37,12228.71); h_SL1L261->SetBinContent(38,11351.33); h_SL1L261->SetBinContent(39,10700.64); h_SL1L261->SetBinContent(40,9651.148); h_SL1L261->SetBinContent(41,9949.204); h_SL1L261->SetBinContent(42,9546.199); h_SL1L261->SetBinContent(43,9558.793); h_SL1L261->SetBinContent(44,9311.112); h_SL1L261->SetBinContent(45,8945.888); h_SL1L261->SetBinContent(46,8118.887); h_SL1L261->SetBinContent(47,7875.404); h_SL1L261->SetBinContent(48,8190.252); h_SL1L261->SetBinContent(49,7728.475); h_SL1L261->SetBinContent(50,7724.277); h_SL1L261->SetBinContent(51,7568.952); h_SL1L261->SetBinContent(52,7048.403); h_SL1L261->SetBinContent(53,6737.752); h_SL1L261->SetBinContent(54,6741.95); h_SL1L261->SetBinContent(55,6704.168); h_SL1L261->SetBinContent(56,6666.387); h_SL1L261->SetMaximum(123158.8); 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,10402.59); h_SL1L362->SetBinContent(2,9491.625); h_SL1L362->SetBinContent(3,9319.508); h_SL1L362->SetBinContent(4,9470.635); h_SL1L362->SetBinContent(5,9533.604); h_SL1L362->SetBinContent(6,9890.433); h_SL1L362->SetBinContent(7,9810.671); h_SL1L362->SetBinContent(8,10339.62); h_SL1L362->SetBinContent(9,10163.3); h_SL1L362->SetBinContent(10,9722.514); h_SL1L362->SetBinContent(11,9991.185); h_SL1L362->SetBinContent(12,10629.28); h_SL1L362->SetBinContent(13,11044.88); h_SL1L362->SetBinContent(14,10805.59); h_SL1L362->SetBinContent(15,10415.18); h_SL1L362->SetBinContent(16,9961.799); h_SL1L362->SetBinContent(17,9777.088); h_SL1L362->SetBinContent(18,9911.423); h_SL1L362->SetBinContent(19,11531.84); h_SL1L362->SetBinContent(20,12698.88); h_SL1L362->SetBinContent(21,13299.19); h_SL1L362->SetBinContent(22,14378.07); h_SL1L362->SetBinContent(23,16682.76); h_SL1L362->SetBinContent(24,19079.8); h_SL1L362->SetBinContent(25,32605.68); h_SL1L362->SetBinContent(26,54271.44); h_SL1L362->SetBinContent(27,77058.05); h_SL1L362->SetBinContent(28,100495.4); h_SL1L362->SetBinContent(29,106443.9); h_SL1L362->SetBinContent(30,82935.23); h_SL1L362->SetBinContent(31,51085.18); h_SL1L362->SetBinContent(32,22177.91); h_SL1L362->SetBinContent(33,17430); h_SL1L362->SetBinContent(34,14373.87); h_SL1L362->SetBinContent(35,12207.72); h_SL1L362->SetBinContent(36,11880.27); h_SL1L362->SetBinContent(37,11292.56); h_SL1L362->SetBinContent(38,10465.56); h_SL1L362->SetBinContent(39,10142.31); h_SL1L362->SetBinContent(40,9319.508); h_SL1L362->SetBinContent(41,9050.838); h_SL1L362->SetBinContent(42,9319.508); h_SL1L362->SetBinContent(43,9143.193); h_SL1L362->SetBinContent(44,9055.035); h_SL1L362->SetBinContent(45,8202.847); h_SL1L362->SetBinContent(46,7673.901); h_SL1L362->SetBinContent(47,7808.236); h_SL1L362->SetBinContent(48,7652.911); h_SL1L362->SetBinContent(49,7808.236); h_SL1L362->SetBinContent(50,7564.754); h_SL1L362->SetBinContent(51,7703.287); h_SL1L362->SetBinContent(52,6536.25); h_SL1L362->SetBinContent(53,6355.736); h_SL1L362->SetBinContent(54,6494.27); h_SL1L362->SetBinContent(55,6267.579); h_SL1L362->SetBinContent(56,6511.062); h_SL1L362->SetMaximum(123158.8); 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,8471.517); h_SL1L463->SetBinContent(3,7644.515); h_SL1L463->SetBinContent(4,7581.546); h_SL1L463->SetBinContent(5,7459.804); h_SL1L463->SetBinContent(6,7997.146); h_SL1L463->SetBinContent(7,8211.242); h_SL1L463->SetBinContent(8,7850.216); h_SL1L463->SetBinContent(9,8920.7); h_SL1L463->SetBinContent(10,8618.446); h_SL1L463->SetBinContent(11,8836.74); h_SL1L463->SetBinContent(12,8924.898); h_SL1L463->SetBinContent(13,8929.097); h_SL1L463->SetBinContent(14,9168.381); h_SL1L463->SetBinContent(15,16199.99); h_SL1L463->SetBinContent(16,9575.585); h_SL1L463->SetBinContent(17,7237.312); h_SL1L463->SetBinContent(18,7056.799); h_SL1L463->SetBinContent(19,8051.719); h_SL1L463->SetBinContent(20,8605.852); h_SL1L463->SetBinContent(21,9500.021); h_SL1L463->SetBinContent(22,9869.443); h_SL1L463->SetBinContent(23,10864.36); h_SL1L463->SetBinContent(24,12430.21); h_SL1L463->SetBinContent(25,15049.75); h_SL1L463->SetBinContent(26,33289.95); h_SL1L463->SetBinContent(27,46853.62); h_SL1L463->SetBinContent(28,60198.98); h_SL1L463->SetBinContent(29,64590.07); h_SL1L463->SetBinContent(30,62440.7); h_SL1L463->SetBinContent(31,40942.87); h_SL1L463->SetBinContent(32,22530.54); h_SL1L463->SetBinContent(33,13551.07); h_SL1L463->SetBinContent(34,12644.31); h_SL1L463->SetBinContent(35,10431.97); h_SL1L463->SetBinContent(36,9147.391); h_SL1L463->SetBinContent(41,7010.621); h_SL1L463->SetBinContent(42,7333.865); h_SL1L463->SetBinContent(43,7531.17); h_SL1L463->SetBinContent(44,7270.896); h_SL1L463->SetBinContent(45,6964.443); h_SL1L463->SetBinContent(46,6385.123); h_SL1L463->SetBinContent(47,6347.341); h_SL1L463->SetBinContent(48,6175.224); h_SL1L463->SetBinContent(49,6179.421); h_SL1L463->SetBinContent(50,6015.701); h_SL1L463->SetBinContent(51,6129.046); h_SL1L463->SetBinContent(52,6015.701); h_SL1L463->SetBinContent(53,5306.242); h_SL1L463->SetBinContent(54,5201.293); h_SL1L463->SetBinContent(56,4777.297); h_SL1L463->SetMaximum(123158.8); 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 7240"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }