void RatesPerCell_Removing_noisy_cells_run_6305_SL1() { //=========Macro generated from canvas: c/c //========= (Mon Jan 14 19:35:25 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-2282.606,67.5,20543.46); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L159 = new TH1D("h_SL1L159","SL1, run 6305",60,0,60); h_SL1L159->SetBinContent(1,8159.748); h_SL1L159->SetBinContent(2,7573.418); h_SL1L159->SetBinContent(3,8013.166); h_SL1L159->SetBinContent(4,7436.608); h_SL1L159->SetBinContent(5,6518.026); h_SL1L159->SetBinContent(6,6806.305); h_SL1L159->SetBinContent(7,6386.102); h_SL1L159->SetBinContent(8,7280.254); h_SL1L159->SetBinContent(9,7270.482); h_SL1L159->SetBinContent(10,7255.824); h_SL1L159->SetBinContent(11,7192.305); h_SL1L159->SetBinContent(12,6899.14); h_SL1L159->SetBinContent(13,7089.697); h_SL1L159->SetBinContent(14,6122.254); h_SL1L159->SetBinContent(15,5320.937); h_SL1L159->SetBinContent(16,5584.785); h_SL1L159->SetBinContent(17,5384.456); h_SL1L159->SetBinContent(18,5790); h_SL1L159->SetBinContent(19,5941.469); h_SL1L159->SetBinContent(20,5814.431); h_SL1L159->SetBinContent(21,5824.203); h_SL1L159->SetBinContent(22,6034.304); h_SL1L159->SetBinContent(23,5618.988); h_SL1L159->SetBinContent(24,5237.874); h_SL1L159->SetBinContent(25,5115.722); h_SL1L159->SetBinContent(26,5428.431); h_SL1L159->SetBinContent(27,5149.925); h_SL1L159->SetBinContent(28,4988.684); h_SL1L159->SetBinContent(29,5706.938); h_SL1L159->SetBinContent(30,5008.229); h_SL1L159->SetBinContent(31,5228.102); h_SL1L159->SetBinContent(32,4734.608); h_SL1L159->SetBinContent(33,4969.14); h_SL1L159->SetBinContent(34,5008.229); h_SL1L159->SetBinContent(35,4983.798); h_SL1L159->SetBinContent(36,5130.38); h_SL1L159->SetBinContent(37,5252.532); h_SL1L159->SetBinContent(38,5325.823); h_SL1L159->SetBinContent(39,4939.823); h_SL1L159->SetBinContent(40,4744.38); h_SL1L159->SetBinContent(41,4700.406); h_SL1L159->SetBinContent(42,4934.937); h_SL1L159->SetBinContent(43,4690.633); h_SL1L159->SetBinContent(44,5125.494); h_SL1L159->SetBinContent(45,4548.937); h_SL1L159->SetBinContent(46,4363.266); h_SL1L159->SetBinContent(47,4358.38); h_SL1L159->SetBinContent(48,4153.165); h_SL1L159->SetBinContent(49,4636.887); h_SL1L159->SetBinContent(50,4710.178); h_SL1L159->SetBinContent(51,4680.861); h_SL1L159->SetBinContent(52,4588.026); h_SL1L159->SetBinContent(53,4583.14); h_SL1L159->SetBinContent(54,4377.924); h_SL1L159->SetBinContent(55,4255.772); h_SL1L159->SetBinContent(56,4939.823); h_SL1L159->SetBinContent(57,5887.722); h_SL1L159->SetBinContent(58,6478.938); h_SL1L159->SetBinContent(59,6205.317); h_SL1L159->SetMaximum(18260.85); h_SL1L159->SetEntries(60); h_SL1L159->SetDirectory(0); h_SL1L159->SetStats(0); h_SL1L159->SetLineWidth(2); h_SL1L159->GetXaxis()->SetTitle("Cell"); h_SL1L159->GetXaxis()->SetLabelFont(42); h_SL1L159->GetXaxis()->SetLabelSize(0.035); h_SL1L159->GetXaxis()->SetTitleSize(0.035); h_SL1L159->GetXaxis()->SetTitleFont(42); h_SL1L159->GetYaxis()->SetTitle("Hz"); h_SL1L159->GetYaxis()->SetLabelFont(42); h_SL1L159->GetYaxis()->SetLabelSize(0.035); h_SL1L159->GetYaxis()->SetTitleSize(0.035); h_SL1L159->GetYaxis()->SetTitleOffset(1.45); h_SL1L159->GetYaxis()->SetTitleFont(42); h_SL1L159->GetZaxis()->SetLabelFont(42); h_SL1L159->GetZaxis()->SetLabelSize(0.035); h_SL1L159->GetZaxis()->SetTitleSize(0.035); h_SL1L159->GetZaxis()->SetTitleFont(42); h_SL1L159->Draw(""); TH1D *h_SL1L260 = new TH1D("h_SL1L260","",60,0,60); h_SL1L260->SetBinContent(1,11663.06); h_SL1L260->SetBinContent(2,12454.61); h_SL1L260->SetBinContent(3,12708.68); h_SL1L260->SetBinContent(4,13241.27); h_SL1L260->SetBinContent(5,12728.23); h_SL1L260->SetBinContent(6,13563.75); h_SL1L260->SetBinContent(7,12723.34); h_SL1L260->SetBinContent(8,12654.94); h_SL1L260->SetBinContent(9,12640.28); h_SL1L260->SetBinContent(10,12957.88); h_SL1L260->SetBinContent(11,13808.05); h_SL1L260->SetBinContent(12,13617.5); h_SL1L260->SetBinContent(13,13627.27); h_SL1L260->SetBinContent(14,13783.62); h_SL1L260->SetBinContent(15,13143.55); h_SL1L260->SetBinContent(16,12215.19); h_SL1L260->SetBinContent(17,11208.66); h_SL1L260->SetBinContent(18,12195.65); h_SL1L260->SetBinContent(19,12630.51); h_SL1L260->SetBinContent(20,12874.81); h_SL1L260->SetBinContent(21,13221.72); h_SL1L260->SetBinContent(22,13759.19); h_SL1L260->SetBinContent(23,13319.44); h_SL1L260->SetBinContent(24,12327.57); h_SL1L260->SetBinContent(25,13202.18); h_SL1L260->SetBinContent(26,11848.74); h_SL1L260->SetBinContent(27,11540.91); h_SL1L260->SetBinContent(28,12200.53); h_SL1L260->SetBinContent(29,12259.17); h_SL1L260->SetBinContent(30,12948.1); h_SL1L260->SetBinContent(31,13211.95); h_SL1L260->SetBinContent(32,13080.03); h_SL1L260->SetBinContent(33,13177.75); h_SL1L260->SetBinContent(34,12185.88); h_SL1L260->SetBinContent(35,13319.44); h_SL1L260->SetBinContent(36,12264.05); h_SL1L260->SetBinContent(37,12151.67); h_SL1L260->SetBinContent(38,11702.15); h_SL1L260->SetBinContent(39,12239.62); h_SL1L260->SetBinContent(40,11638.63); h_SL1L260->SetBinContent(41,11702.15); h_SL1L260->SetBinContent(42,12005.09); h_SL1L260->SetBinContent(43,12557.22); h_SL1L260->SetBinContent(44,12352); h_SL1L260->SetBinContent(45,12381.32); h_SL1L260->SetBinContent(46,12454.61); h_SL1L260->SetBinContent(47,11487.17); h_SL1L260->SetBinContent(48,12053.95); h_SL1L260->SetBinContent(49,12073.5); h_SL1L260->SetBinContent(50,11707.04); h_SL1L260->SetBinContent(51,12053.95); h_SL1L260->SetBinContent(52,11560.46); h_SL1L260->SetBinContent(53,12264.05); h_SL1L260->SetBinContent(54,11145.14); h_SL1L260->SetBinContent(55,11316.15); h_SL1L260->SetBinContent(56,11589.77); h_SL1L260->SetBinContent(57,10974.13); h_SL1L260->SetBinContent(58,11096.28); h_SL1L260->SetBinContent(59,10988.79); h_SL1L260->SetMaximum(15879.26); h_SL1L260->SetEntries(60); h_SL1L260->SetDirectory(0); h_SL1L260->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL1L260->SetLineColor(ci); h_SL1L260->SetLineWidth(2); h_SL1L260->GetXaxis()->SetTitle("Cell"); h_SL1L260->GetXaxis()->SetLabelFont(42); h_SL1L260->GetXaxis()->SetLabelSize(0.035); h_SL1L260->GetXaxis()->SetTitleSize(0.035); h_SL1L260->GetXaxis()->SetTitleFont(42); h_SL1L260->GetYaxis()->SetTitle("Hz"); h_SL1L260->GetYaxis()->SetLabelFont(42); h_SL1L260->GetYaxis()->SetLabelSize(0.035); h_SL1L260->GetYaxis()->SetTitleSize(0.035); h_SL1L260->GetYaxis()->SetTitleOffset(1.45); h_SL1L260->GetYaxis()->SetTitleFont(42); h_SL1L260->GetZaxis()->SetLabelFont(42); h_SL1L260->GetZaxis()->SetLabelSize(0.035); h_SL1L260->GetZaxis()->SetTitleSize(0.035); h_SL1L260->GetZaxis()->SetTitleFont(42); h_SL1L260->Draw("same"); TH1D *h_SL1L361 = new TH1D("h_SL1L361","",60,0,60); h_SL1L361->SetBinContent(1,11790.1); h_SL1L361->SetBinContent(2,12185.88); h_SL1L361->SetBinContent(3,12757.55); h_SL1L361->SetBinContent(4,12620.74); h_SL1L361->SetBinContent(5,12606.08); h_SL1L361->SetBinContent(6,12239.62); h_SL1L361->SetBinContent(7,12596.3); h_SL1L361->SetBinContent(8,12913.9); h_SL1L361->SetBinContent(9,12855.27); h_SL1L361->SetBinContent(10,12835.72); h_SL1L361->SetBinContent(11,13563.75); h_SL1L361->SetBinContent(12,13153.32); h_SL1L361->SetBinContent(13,13304.79); h_SL1L361->SetBinContent(14,12928.56); h_SL1L361->SetBinContent(15,12366.66); h_SL1L361->SetBinContent(16,12009.98); h_SL1L361->SetBinContent(17,11145.14); h_SL1L361->SetBinContent(18,11975.77); h_SL1L361->SetBinContent(19,12107.7); h_SL1L361->SetBinContent(20,12772.2); h_SL1L361->SetBinContent(21,13011.62); h_SL1L361->SetBinContent(22,12166.33); h_SL1L361->SetBinContent(23,12630.51); h_SL1L361->SetBinContent(24,12537.67); h_SL1L361->SetBinContent(25,12034.41); h_SL1L361->SetBinContent(26,10705.39); h_SL1L361->SetBinContent(27,11907.37); h_SL1L361->SetBinContent(28,11936.68); h_SL1L361->SetBinContent(29,11956.23); h_SL1L361->SetBinContent(30,12713.57); h_SL1L361->SetBinContent(31,12571.88); h_SL1L361->SetBinContent(32,12273.82); h_SL1L361->SetBinContent(33,11838.96); h_SL1L361->SetBinContent(34,12552.33); h_SL1L361->SetBinContent(35,12049.06); h_SL1L361->SetBinContent(36,11736.36); h_SL1L361->SetBinContent(37,11804.76); h_SL1L361->SetBinContent(38,11628.86); h_SL1L361->SetBinContent(39,11726.58); h_SL1L361->SetBinContent(40,11242.86); h_SL1L361->SetBinContent(41,11663.06); h_SL1L361->SetBinContent(42,12185.88); h_SL1L361->SetBinContent(43,12024.63); h_SL1L361->SetBinContent(44,12562.1); h_SL1L361->SetBinContent(45,11775.44); h_SL1L361->SetBinContent(46,11912.25); h_SL1L361->SetBinContent(47,11834.08); h_SL1L361->SetBinContent(48,12093.04); h_SL1L361->SetBinContent(49,11970.89); h_SL1L361->SetBinContent(50,11555.57); h_SL1L361->SetBinContent(51,11321.04); h_SL1L361->SetBinContent(52,10739.6); h_SL1L361->SetBinContent(53,10983.9); h_SL1L361->SetBinContent(54,10729.82); h_SL1L361->SetBinContent(55,11003.44); h_SL1L361->SetBinContent(56,11003.44); h_SL1L361->SetBinContent(57,11125.6); h_SL1L361->SetBinContent(58,10988.79); h_SL1L361->SetBinContent(59,11130.48); h_SL1L361->SetMaximum(15879.26); h_SL1L361->SetEntries(60); h_SL1L361->SetDirectory(0); h_SL1L361->SetStats(0); ci = TColor::GetColor("#009900"); h_SL1L361->SetLineColor(ci); h_SL1L361->SetLineWidth(2); h_SL1L361->GetXaxis()->SetTitle("Cell"); h_SL1L361->GetXaxis()->SetLabelFont(42); h_SL1L361->GetXaxis()->SetLabelSize(0.035); h_SL1L361->GetXaxis()->SetTitleSize(0.035); h_SL1L361->GetXaxis()->SetTitleFont(42); h_SL1L361->GetYaxis()->SetTitle("Hz"); h_SL1L361->GetYaxis()->SetLabelFont(42); h_SL1L361->GetYaxis()->SetLabelSize(0.035); h_SL1L361->GetYaxis()->SetTitleSize(0.035); h_SL1L361->GetYaxis()->SetTitleOffset(1.45); h_SL1L361->GetYaxis()->SetTitleFont(42); h_SL1L361->GetZaxis()->SetLabelFont(42); h_SL1L361->GetZaxis()->SetLabelSize(0.035); h_SL1L361->GetZaxis()->SetTitleSize(0.035); h_SL1L361->GetZaxis()->SetTitleFont(42); h_SL1L361->Draw("same"); TH1D *h_SL1L462 = new TH1D("h_SL1L462","",60,0,60); h_SL1L462->SetBinContent(2,7299.798); h_SL1L462->SetBinContent(3,6522.912); h_SL1L462->SetBinContent(4,6454.507); h_SL1L462->SetBinContent(5,5941.469); h_SL1L462->SetBinContent(6,6410.532); h_SL1L462->SetBinContent(7,6268.836); h_SL1L462->SetBinContent(8,6395.874); h_SL1L462->SetBinContent(9,6601.089); h_SL1L462->SetBinContent(10,6889.368); h_SL1L462->SetBinContent(11,7729.773); h_SL1L462->SetBinContent(12,8330.761); h_SL1L462->SetBinContent(13,8032.709); h_SL1L462->SetBinContent(14,8071.798); h_SL1L462->SetBinContent(15,7827.495); h_SL1L462->SetBinContent(16,6742.786); h_SL1L462->SetBinContent(17,6772.102); h_SL1L462->SetBinContent(18,6483.823); h_SL1L462->SetBinContent(19,6630.406); h_SL1L462->SetBinContent(20,6117.368); h_SL1L462->SetBinContent(21,6454.507); h_SL1L462->SetBinContent(22,6786.76); h_SL1L462->SetBinContent(23,6161.342); h_SL1L462->SetBinContent(24,6464.279); h_SL1L462->SetBinContent(25,5540.811); h_SL1L462->SetBinContent(26,5877.95); h_SL1L462->SetBinContent(27,5579.899); h_SL1L462->SetBinContent(28,5579.899); h_SL1L462->SetBinContent(29,5223.216); h_SL1L462->SetBinContent(30,5467.52); h_SL1L462->SetBinContent(31,5579.899); h_SL1L462->SetBinContent(32,5223.216); h_SL1L462->SetBinContent(33,5091.292); h_SL1L462->SetBinContent(34,5203.671); h_SL1L462->SetBinContent(35,5438.203); h_SL1L462->SetBinContent(36,4729.722); h_SL1L462->SetBinContent(37,4148.279); h_SL1L462->SetBinContent(38,4460.988); h_SL1L462->SetBinContent(39,4881.19); h_SL1L462->SetBinContent(40,4211.798); h_SL1L462->SetBinContent(41,4016.355); h_SL1L462->SetBinContent(42,4588.026); h_SL1L462->SetBinContent(43,4910.507); h_SL1L462->SetBinContent(44,4964.254); h_SL1L462->SetBinContent(45,3864.886); h_SL1L462->SetBinContent(46,4206.912); h_SL1L462->SetBinContent(47,4001.697); h_SL1L462->SetBinContent(48,3894.203); h_SL1L462->SetBinContent(49,3811.14); h_SL1L462->SetBinContent(50,4299.747); h_SL1L462->SetBinContent(51,4162.937); h_SL1L462->SetBinContent(52,4153.165); h_SL1L462->SetBinContent(53,4055.443); h_SL1L462->SetBinContent(54,4026.127); h_SL1L462->SetBinContent(56,4314.405); h_SL1L462->SetBinContent(57,4729.722); h_SL1L462->SetBinContent(58,5917.039); h_SL1L462->SetBinContent(59,5804.659); h_SL1L462->SetMaximum(15879.26); h_SL1L462->SetEntries(60); h_SL1L462->SetDirectory(0); h_SL1L462->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL1L462->SetLineColor(ci); h_SL1L462->SetLineWidth(2); h_SL1L462->GetXaxis()->SetTitle("Cell"); h_SL1L462->GetXaxis()->SetLabelFont(42); h_SL1L462->GetXaxis()->SetLabelSize(0.035); h_SL1L462->GetXaxis()->SetTitleSize(0.035); h_SL1L462->GetXaxis()->SetTitleFont(42); h_SL1L462->GetYaxis()->SetTitle("Hz"); h_SL1L462->GetYaxis()->SetLabelFont(42); h_SL1L462->GetYaxis()->SetLabelSize(0.035); h_SL1L462->GetYaxis()->SetTitleSize(0.035); h_SL1L462->GetYaxis()->SetTitleOffset(1.45); h_SL1L462->GetYaxis()->SetTitleFont(42); h_SL1L462->GetZaxis()->SetLabelFont(42); h_SL1L462->GetZaxis()->SetLabelSize(0.035); h_SL1L462->GetZaxis()->SetTitleSize(0.035); h_SL1L462->GetZaxis()->SetTitleFont(42); h_SL1L462->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 6305"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }