void RatesPerCell_Removing_noisy_cells_run_7359_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:12:39 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-8493.038,67.5,76437.34); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7359",60,0,60); h_SL1L160->SetBinContent(1,30703.96); h_SL1L160->SetBinContent(2,31250.52); h_SL1L160->SetBinContent(3,32198.34); h_SL1L160->SetBinContent(4,31741.73); h_SL1L160->SetBinContent(5,29818.41); h_SL1L160->SetBinContent(6,30531); h_SL1L160->SetBinContent(7,29437.89); h_SL1L160->SetBinContent(8,29936.02); h_SL1L160->SetBinContent(9,29465.57); h_SL1L160->SetBinContent(10,28919.01); h_SL1L160->SetBinContent(11,28337.86); h_SL1L160->SetBinContent(12,27915.84); h_SL1L160->SetBinContent(13,27812.06); h_SL1L160->SetBinContent(14,42887.31); h_SL1L160->SetBinContent(15,40604.23); h_SL1L160->SetBinContent(16,25127.71); h_SL1L160->SetBinContent(17,24491.22); h_SL1L160->SetBinContent(18,25418.29); h_SL1L160->SetBinContent(19,25701.94); h_SL1L160->SetBinContent(20,25653.52); h_SL1L160->SetBinContent(21,25273); h_SL1L160->SetBinContent(22,25425.21); h_SL1L160->SetBinContent(23,24076.12); h_SL1L160->SetBinContent(24,23481.13); h_SL1L160->SetBinContent(25,21924.48); h_SL1L160->SetBinContent(26,21502.46); h_SL1L160->SetBinContent(27,20969.74); h_SL1L160->SetBinContent(28,20969.74); h_SL1L160->SetBinContent(29,22166.63); h_SL1L160->SetBinContent(30,21052.76); h_SL1L160->SetBinContent(31,20132.61); h_SL1L160->SetBinContent(32,20174.12); h_SL1L160->SetBinContent(33,33678.89); h_SL1L160->SetBinContent(34,33104.66); h_SL1L160->SetBinContent(35,33153.09); h_SL1L160->SetBinContent(36,33699.64); h_SL1L160->SetBinContent(37,33284.54); h_SL1L160->SetBinContent(38,33844.93); h_SL1L160->SetBinContent(39,34225.44); h_SL1L160->SetBinContent(41,19904.3); h_SL1L160->SetBinContent(42,19848.96); h_SL1L160->SetBinContent(43,19177.87); h_SL1L160->SetBinContent(44,19385.42); h_SL1L160->SetBinContent(45,19157.12); h_SL1L160->SetBinContent(46,18790.44); h_SL1L160->SetBinContent(47,18077.84); h_SL1L160->SetBinContent(48,17994.82); h_SL1L160->SetBinContent(49,19786.69); h_SL1L160->SetBinContent(50,19842.04); h_SL1L160->SetBinContent(51,21301.83); h_SL1L160->SetBinContent(52,20526.96); h_SL1L160->SetBinContent(53,21364.09); h_SL1L160->SetBinContent(54,21530.13); h_SL1L160->SetBinContent(55,22394.94); h_SL1L160->SetBinContent(56,25362.94); h_SL1L160->SetMaximum(67944.3); 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,32661.88); h_SL1L261->SetBinContent(2,33104.66); h_SL1L261->SetBinContent(3,33360.64); h_SL1L261->SetBinContent(4,34772); h_SL1L261->SetBinContent(5,34668.22); h_SL1L261->SetBinContent(6,35014.14); h_SL1L261->SetBinContent(7,35429.25); h_SL1L261->SetBinContent(8,34695.89); h_SL1L261->SetBinContent(9,33865.68); h_SL1L261->SetBinContent(10,33907.2); h_SL1L261->SetBinContent(11,34163.18); h_SL1L261->SetBinContent(12,33263.78); h_SL1L261->SetBinContent(13,33727.32); h_SL1L261->SetBinContent(14,32855.59); h_SL1L261->SetBinContent(15,33083.9); h_SL1L261->SetBinContent(16,32523.51); h_SL1L261->SetBinContent(17,31693.3); h_SL1L261->SetBinContent(18,32544.27); h_SL1L261->SetBinContent(19,34433); h_SL1L261->SetBinContent(20,35187.1); h_SL1L261->SetBinContent(21,35795.93); h_SL1L261->SetBinContent(22,35214.78); h_SL1L261->SetBinContent(23,34834.26); h_SL1L261->SetBinContent(24,34273.87); h_SL1L261->SetBinContent(25,34197.77); h_SL1L261->SetBinContent(26,31091.4); h_SL1L261->SetBinContent(27,30406.47); h_SL1L261->SetBinContent(28,31513.42); h_SL1L261->SetBinContent(29,32551.18); h_SL1L261->SetBinContent(30,32198.34); h_SL1L261->SetBinContent(31,32980.12); h_SL1L261->SetBinContent(32,32468.16); h_SL1L261->SetBinContent(33,32537.35); h_SL1L261->SetBinContent(34,32952.45); h_SL1L261->SetBinContent(35,33222.27); h_SL1L261->SetBinContent(36,32980.12); h_SL1L261->SetBinContent(37,34010.97); h_SL1L261->SetBinContent(38,33270.7); h_SL1L261->SetBinContent(39,34426.07); h_SL1L261->SetBinContent(40,33768.82); h_SL1L261->SetBinContent(41,35048.73); h_SL1L261->SetBinContent(42,35055.65); h_SL1L261->SetBinContent(43,35477.68); h_SL1L261->SetBinContent(44,34163.18); h_SL1L261->SetBinContent(45,34571.36); h_SL1L261->SetBinContent(46,37228.04); h_SL1L261->SetBinContent(47,38009.82); h_SL1L261->SetBinContent(48,37477.1); h_SL1L261->SetBinContent(49,38279.64); h_SL1L261->SetBinContent(50,37020.48); h_SL1L261->SetBinContent(51,38757.01); h_SL1L261->SetBinContent(52,40002.32); h_SL1L261->SetBinContent(53,41987.91); h_SL1L261->SetBinContent(54,43191.72); h_SL1L261->SetBinContent(55,43696.77); h_SL1L261->SetBinContent(56,45543.98); h_SL1L261->SetMaximum(59082.65); 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,30593.27); h_SL1L362->SetBinContent(2,32744.9); h_SL1L362->SetBinContent(3,32717.22); h_SL1L362->SetBinContent(4,33706.56); h_SL1L362->SetBinContent(5,35021.06); h_SL1L362->SetBinContent(6,33976.38); h_SL1L362->SetBinContent(7,34080.16); h_SL1L362->SetBinContent(8,34211.61); h_SL1L362->SetBinContent(9,33616.62); h_SL1L362->SetBinContent(10,33028.55); h_SL1L362->SetBinContent(11,33284.54); h_SL1L362->SetBinContent(12,33063.15); h_SL1L362->SetBinContent(13,31963.12); h_SL1L362->SetBinContent(14,31824.75); h_SL1L362->SetBinContent(15,30939.19); h_SL1L362->SetBinContent(16,30531); h_SL1L362->SetBinContent(17,31478.83); h_SL1L362->SetBinContent(18,32219.1); h_SL1L362->SetBinContent(19,33173.84); h_SL1L362->SetBinContent(20,34619.79); h_SL1L362->SetBinContent(21,34605.96); h_SL1L362->SetBinContent(22,34253.12); h_SL1L362->SetBinContent(23,33104.66); h_SL1L362->SetBinContent(24,34004.05); h_SL1L362->SetBinContent(25,31755.56); h_SL1L362->SetBinContent(26,29140.4); h_SL1L362->SetBinContent(27,30793.9); h_SL1L362->SetBinContent(28,31582.6); h_SL1L362->SetBinContent(29,31970.04); h_SL1L362->SetBinContent(30,32260.61); h_SL1L362->SetBinContent(31,31686.38); h_SL1L362->SetBinContent(32,31617.2); h_SL1L362->SetBinContent(33,32108.4); h_SL1L362->SetBinContent(34,32523.51); h_SL1L362->SetBinContent(35,32288.28); h_SL1L362->SetBinContent(36,33332.96); h_SL1L362->SetBinContent(37,31893.93); h_SL1L362->SetBinContent(38,33568.19); h_SL1L362->SetBinContent(39,33312.21); h_SL1L362->SetBinContent(40,33409.07); h_SL1L362->SetBinContent(41,33893.36); h_SL1L362->SetBinContent(42,34564.45); h_SL1L362->SetBinContent(43,34038.64); h_SL1L362->SetBinContent(44,34211.61); h_SL1L362->SetBinContent(45,35055.65); h_SL1L362->SetBinContent(46,37373.32); h_SL1L362->SetBinContent(47,37103.51); h_SL1L362->SetBinContent(48,37636.23); h_SL1L362->SetBinContent(49,38362.66); h_SL1L362->SetBinContent(50,36418.58); h_SL1L362->SetBinContent(51,40016.16); h_SL1L362->SetBinContent(52,40618.07); h_SL1L362->SetBinContent(53,43018.76); h_SL1L362->SetBinContent(54,42527.55); h_SL1L362->SetBinContent(55,44478.55); h_SL1L362->SetBinContent(56,46311.93); h_SL1L362->SetMaximum(59082.65); 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,27694.45); h_SL1L463->SetBinContent(3,27320.86); h_SL1L463->SetBinContent(4,26580.58); h_SL1L463->SetBinContent(5,25618.92); h_SL1L463->SetBinContent(6,24989.35); h_SL1L463->SetBinContent(7,24837.14); h_SL1L463->SetBinContent(8,26269.25); h_SL1L463->SetBinContent(9,26615.18); h_SL1L463->SetBinContent(10,26995.69); h_SL1L463->SetBinContent(11,27874.33); h_SL1L463->SetBinContent(12,27853.57); h_SL1L463->SetBinContent(13,28324.03); h_SL1L463->SetBinContent(14,28081.88); h_SL1L463->SetBinContent(15,51376.21); h_SL1L463->SetBinContent(16,32163.75); h_SL1L463->SetBinContent(17,25861.07); h_SL1L463->SetBinContent(18,25639.68); h_SL1L463->SetBinContent(19,26373.03); h_SL1L463->SetBinContent(20,26947.26); h_SL1L463->SetBinContent(21,26449.13); h_SL1L463->SetBinContent(22,26262.34); h_SL1L463->SetBinContent(23,24892.49); h_SL1L463->SetBinContent(24,25176.14); h_SL1L463->SetBinContent(25,23633.34); h_SL1L463->SetBinContent(26,23010.68); h_SL1L463->SetBinContent(27,21855.3); h_SL1L463->SetBinContent(28,21384.85); h_SL1L463->SetBinContent(29,21862.22); h_SL1L463->SetBinContent(30,21938.32); h_SL1L463->SetBinContent(31,21329.5); h_SL1L463->SetBinContent(32,20748.35); h_SL1L463->SetBinContent(33,19911.22); h_SL1L463->SetBinContent(34,21820.71); h_SL1L463->SetBinContent(35,20478.53); h_SL1L463->SetBinContent(36,21025.09); h_SL1L463->SetBinContent(37,96.85793); h_SL1L463->SetBinContent(38,13.83685); h_SL1L463->SetBinContent(41,19447.69); h_SL1L463->SetBinContent(42,19468.44); h_SL1L463->SetBinContent(43,19759.02); h_SL1L463->SetBinContent(44,19828.2); h_SL1L463->SetBinContent(45,18977.24); h_SL1L463->SetBinContent(46,19198.62); h_SL1L463->SetBinContent(47,18375.33); h_SL1L463->SetBinContent(48,18008.66); h_SL1L463->SetBinContent(49,18153.94); h_SL1L463->SetBinContent(50,18831.95); h_SL1L463->SetBinContent(51,18811.19); h_SL1L463->SetBinContent(52,19385.42); h_SL1L463->SetBinContent(53,20277.9); h_SL1L463->SetBinContent(54,18928.81); h_SL1L463->SetBinContent(56,22477.96); h_SL1L463->SetMaximum(59082.65); 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 7359"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }