void RatesPerCell_Removing_noisy_cells_run_6641_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:53:06 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12603.86,67.5,113434.7); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6641",60,0,60); h_SL3L168->SetBinContent(1,4867.142); h_SL3L168->SetBinContent(2,3599.863); h_SL3L168->SetBinContent(4,5488.9); h_SL3L168->SetBinContent(5,6201.744); h_SL3L168->SetBinContent(6,6518.564); h_SL3L168->SetBinContent(7,6395.796); h_SL3L168->SetBinContent(8,6209.665); h_SL3L168->SetBinContent(9,5841.362); h_SL3L168->SetBinContent(10,5445.337); h_SL3L168->SetBinContent(11,5536.423); h_SL3L168->SetBinContent(12,5714.634); h_SL3L168->SetBinContent(13,5750.276); h_SL3L168->SetBinContent(14,6114.619); h_SL3L168->SetBinContent(15,5758.197); h_SL3L168->SetBinContent(16,6086.897); h_SL3L168->SetBinContent(17,5900.766); h_SL3L168->SetBinContent(18,5956.209); h_SL3L168->SetBinContent(19,6665.093); h_SL3L168->SetBinContent(20,6882.906); h_SL3L168->SetBinContent(21,6605.689); h_SL3L168->SetBinContent(22,7108.641); h_SL3L168->SetBinContent(23,7358.136); h_SL3L168->SetBinContent(24,7615.552); h_SL3L168->SetBinContent(25,7552.188); h_SL3L168->SetBinContent(26,7750.2); h_SL3L168->SetBinContent(27,7770.001); h_SL3L168->SetBinContent(28,7726.438); h_SL3L168->SetBinContent(29,8067.02); h_SL3L168->SetBinContent(30,8470.965); h_SL3L168->SetBinContent(31,9096.684); h_SL3L168->SetBinContent(32,10569.89); h_SL3L168->SetBinContent(33,14585.58); h_SL3L168->SetBinContent(34,43146.88); h_SL3L168->SetBinContent(35,62615.44); h_SL3L168->SetBinContent(36,66128.18); h_SL3L168->SetBinContent(37,73145.73); h_SL3L168->SetBinContent(38,76242.64); h_SL3L168->SetBinContent(39,68638.98); h_SL3L168->SetBinContent(40,45740.84); h_SL3L168->SetBinContent(41,13979.67); h_SL3L168->SetBinContent(42,9362.021); h_SL3L168->SetBinContent(43,8173.946); h_SL3L168->SetBinContent(44,8150.185); h_SL3L168->SetBinContent(45,6922.509); h_SL3L168->SetBinContent(46,7255.169); h_SL3L168->SetBinContent(47,6831.423); h_SL3L168->SetBinContent(48,6716.576); h_SL3L168->SetBinContent(49,23963.45); h_SL3L168->SetBinContent(50,6209.665); h_SL3L168->SetBinContent(51,6071.056); h_SL3L168->SetBinContent(52,6221.545); h_SL3L168->SetBinContent(53,5777.998); h_SL3L168->SetBinContent(54,5587.906); h_SL3L168->SetBinContent(55,5599.787); h_SL3L168->SetBinContent(56,5623.548); h_SL3L168->SetBinContent(57,5370.093); h_SL3L168->SetBinContent(58,4257.264); h_SL3L168->SetBinContent(59,3813.716); h_SL3L168->SetMaximum(100830.8); h_SL3L168->SetEntries(60); h_SL3L168->SetDirectory(0); h_SL3L168->SetStats(0); h_SL3L168->SetLineWidth(2); h_SL3L168->GetXaxis()->SetTitle("Cell"); h_SL3L168->GetXaxis()->SetLabelFont(42); h_SL3L168->GetXaxis()->SetLabelSize(0.035); h_SL3L168->GetXaxis()->SetTitleSize(0.035); h_SL3L168->GetXaxis()->SetTitleFont(42); h_SL3L168->GetYaxis()->SetTitle("Hz"); h_SL3L168->GetYaxis()->SetLabelFont(42); h_SL3L168->GetYaxis()->SetLabelSize(0.035); h_SL3L168->GetYaxis()->SetTitleSize(0.035); h_SL3L168->GetYaxis()->SetTitleOffset(1.45); h_SL3L168->GetYaxis()->SetTitleFont(42); h_SL3L168->GetZaxis()->SetLabelFont(42); h_SL3L168->GetZaxis()->SetLabelSize(0.035); h_SL3L168->GetZaxis()->SetTitleSize(0.035); h_SL3L168->GetZaxis()->SetTitleFont(42); h_SL3L168->Draw(""); TH1D *h_SL3L269 = new TH1D("h_SL3L269","",60,0,60); h_SL3L269->SetBinContent(1,4700.811); h_SL3L269->SetBinContent(2,3758.273); h_SL3L269->SetBinContent(4,4471.117); h_SL3L269->SetBinContent(5,5932.448); h_SL3L269->SetBinContent(6,6134.42); h_SL3L269->SetBinContent(7,6082.937); h_SL3L269->SetBinContent(8,6102.738); h_SL3L269->SetBinContent(9,5877.004); h_SL3L269->SetBinContent(10,5690.873); h_SL3L269->SetBinContent(11,4918.625); h_SL3L269->SetBinContent(12,5156.239); h_SL3L269->SetBinContent(13,5346.331); h_SL3L269->SetBinContent(14,5710.674); h_SL3L269->SetBinContent(15,5916.606); h_SL3L269->SetBinContent(16,5900.766); h_SL3L269->SetBinContent(17,5857.203); h_SL3L269->SetBinContent(18,5572.065); h_SL3L269->SetBinContent(19,5560.185); h_SL3L269->SetBinContent(20,6086.897); h_SL3L269->SetBinContent(21,6320.552); h_SL3L269->SetBinContent(22,6724.497); h_SL3L269->SetBinContent(23,6989.833); h_SL3L269->SetBinContent(24,7088.839); h_SL3L269->SetBinContent(25,7274.971); h_SL3L269->SetBinContent(26,7326.454); h_SL3L269->SetBinContent(27,7203.687); h_SL3L269->SetBinContent(28,7437.341); h_SL3L269->SetBinContent(29,7366.056); h_SL3L269->SetBinContent(30,8304.635); h_SL3L269->SetBinContent(31,8300.674); h_SL3L269->SetBinContent(32,8981.837); h_SL3L269->SetBinContent(33,12458.93); h_SL3L269->SetBinContent(34,23662.47); h_SL3L269->SetBinContent(35,56199.84); h_SL3L269->SetBinContent(36,64456.95); h_SL3L269->SetBinContent(37,68817.19); h_SL3L269->SetBinContent(38,74805.08); h_SL3L269->SetBinContent(39,72817.03); h_SL3L269->SetBinContent(40,61356.08); h_SL3L269->SetBinContent(41,24636.69); h_SL3L269->SetBinContent(42,11405.51); h_SL3L269->SetBinContent(43,8403.641); h_SL3L269->SetBinContent(44,7421.5); h_SL3L269->SetBinContent(45,7080.919); h_SL3L269->SetBinContent(46,6997.753); h_SL3L269->SetBinContent(47,6538.365); h_SL3L269->SetBinContent(48,6669.053); h_SL3L269->SetBinContent(49,8379.879); h_SL3L269->SetBinContent(50,6265.108); h_SL3L269->SetBinContent(51,5948.289); h_SL3L269->SetBinContent(52,6253.228); h_SL3L269->SetBinContent(53,9116.484); h_SL3L269->SetBinContent(54,5286.928); h_SL3L269->SetBinContent(55,5306.729); h_SL3L269->SetBinContent(56,5904.726); h_SL3L269->SetBinContent(57,5314.649); h_SL3L269->SetBinContent(58,4776.056); h_SL3L269->SetBinContent(59,4122.615); h_SL3L269->SetMaximum(87679.04); h_SL3L269->SetEntries(60); h_SL3L269->SetDirectory(0); h_SL3L269->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL3L269->SetLineColor(ci); h_SL3L269->SetLineWidth(2); h_SL3L269->GetXaxis()->SetTitle("Cell"); h_SL3L269->GetXaxis()->SetLabelFont(42); h_SL3L269->GetXaxis()->SetLabelSize(0.035); h_SL3L269->GetXaxis()->SetTitleSize(0.035); h_SL3L269->GetXaxis()->SetTitleFont(42); h_SL3L269->GetYaxis()->SetTitle("Hz"); h_SL3L269->GetYaxis()->SetLabelFont(42); h_SL3L269->GetYaxis()->SetLabelSize(0.035); h_SL3L269->GetYaxis()->SetTitleSize(0.035); h_SL3L269->GetYaxis()->SetTitleOffset(1.45); h_SL3L269->GetYaxis()->SetTitleFont(42); h_SL3L269->GetZaxis()->SetLabelFont(42); h_SL3L269->GetZaxis()->SetLabelSize(0.035); h_SL3L269->GetZaxis()->SetTitleSize(0.035); h_SL3L269->GetZaxis()->SetTitleFont(42); h_SL3L269->Draw("same"); TH1D *h_SL3L370 = new TH1D("h_SL3L370","",60,0,60); h_SL3L370->SetBinContent(1,4284.985); h_SL3L370->SetBinContent(2,3362.248); h_SL3L370->SetBinContent(3,3706.79); h_SL3L370->SetBinContent(4,5437.417); h_SL3L370->SetBinContent(5,5437.417); h_SL3L370->SetBinContent(6,5813.64); h_SL3L370->SetBinContent(7,5829.481); h_SL3L370->SetBinContent(8,5845.322); h_SL3L370->SetBinContent(9,5536.423); h_SL3L370->SetBinContent(10,4966.147); h_SL3L370->SetBinContent(11,4740.414); h_SL3L370->SetBinContent(12,4859.221); h_SL3L370->SetBinContent(13,5310.689); h_SL3L370->SetBinContent(14,5888.885); h_SL3L370->SetBinContent(15,5504.741); h_SL3L370->SetBinContent(16,5405.735); h_SL3L370->SetBinContent(17,5560.185); h_SL3L370->SetBinContent(18,5643.35); h_SL3L370->SetBinContent(19,5892.845); h_SL3L370->SetBinContent(20,6265.108); h_SL3L370->SetBinContent(21,6368.075); h_SL3L370->SetBinContent(22,6431.438); h_SL3L370->SetBinContent(23,7045.276); h_SL3L370->SetBinContent(24,6613.61); h_SL3L370->SetBinContent(25,6645.292); h_SL3L370->SetBinContent(26,6863.105); h_SL3L370->SetBinContent(27,6878.946); h_SL3L370->SetBinContent(28,7247.249); h_SL3L370->SetBinContent(29,7686.836); h_SL3L370->SetBinContent(30,7908.61); h_SL3L370->SetBinContent(31,8356.118); h_SL3L370->SetBinContent(32,9686.76); h_SL3L370->SetBinContent(33,14181.64); h_SL3L370->SetBinContent(34,42236.02); h_SL3L370->SetBinContent(35,61102.62); h_SL3L370->SetBinContent(36,65593.55); h_SL3L370->SetBinContent(37,71506.19); h_SL3L370->SetBinContent(38,74005.1); h_SL3L370->SetBinContent(39,68195.42); h_SL3L370->SetBinContent(40,45119.07); h_SL3L370->SetBinContent(41,13144.05); h_SL3L370->SetBinContent(42,9179.849); h_SL3L370->SetBinContent(43,7730.399); h_SL3L370->SetBinContent(44,7005.674); h_SL3L370->SetBinContent(45,1089.068); h_SL3L370->SetBinContent(46,6688.854); h_SL3L370->SetBinContent(47,6340.353); h_SL3L370->SetBinContent(48,6431.438); h_SL3L370->SetBinContent(49,6383.916); h_SL3L370->SetBinContent(50,5797.799); h_SL3L370->SetBinContent(51,5853.243); h_SL3L370->SetBinContent(52,5781.958); h_SL3L370->SetBinContent(53,5465.139); h_SL3L370->SetBinContent(54,5029.512); h_SL3L370->SetBinContent(55,5275.047); h_SL3L370->SetBinContent(56,5362.172); h_SL3L370->SetBinContent(57,4966.147); h_SL3L370->SetBinContent(58,4296.866); h_SL3L370->SetBinContent(59,3920.643); h_SL3L370->SetMaximum(87679.04); h_SL3L370->SetEntries(60); h_SL3L370->SetDirectory(0); h_SL3L370->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L370->SetLineColor(ci); h_SL3L370->SetLineWidth(2); h_SL3L370->GetXaxis()->SetTitle("Cell"); h_SL3L370->GetXaxis()->SetLabelFont(42); h_SL3L370->GetXaxis()->SetLabelSize(0.035); h_SL3L370->GetXaxis()->SetTitleSize(0.035); h_SL3L370->GetXaxis()->SetTitleFont(42); h_SL3L370->GetYaxis()->SetTitle("Hz"); h_SL3L370->GetYaxis()->SetLabelFont(42); h_SL3L370->GetYaxis()->SetLabelSize(0.035); h_SL3L370->GetYaxis()->SetTitleSize(0.035); h_SL3L370->GetYaxis()->SetTitleOffset(1.45); h_SL3L370->GetYaxis()->SetTitleFont(42); h_SL3L370->GetZaxis()->SetLabelFont(42); h_SL3L370->GetZaxis()->SetLabelSize(0.035); h_SL3L370->GetZaxis()->SetTitleSize(0.035); h_SL3L370->GetZaxis()->SetTitleFont(42); h_SL3L370->Draw("same"); TH1D *h_SL3L471 = new TH1D("h_SL3L471","",60,0,60); h_SL3L471->SetBinContent(2,3199.878); h_SL3L471->SetBinContent(3,3599.863); h_SL3L471->SetBinContent(4,4613.686); h_SL3L471->SetBinContent(5,5128.518); h_SL3L471->SetBinContent(6,5370.093); h_SL3L471->SetBinContent(7,5540.383); h_SL3L471->SetBinContent(8,5239.405); h_SL3L471->SetBinContent(9,5429.497); h_SL3L471->SetBinContent(10,4760.215); h_SL3L471->SetBinContent(11,4768.135); h_SL3L471->SetBinContent(12,4776.056); h_SL3L471->SetBinContent(13,4768.135); h_SL3L471->SetBinContent(14,5346.331); h_SL3L471->SetBinContent(15,5524.542); h_SL3L471->SetBinContent(16,5362.172); h_SL3L471->SetBinContent(17,5504.741); h_SL3L471->SetBinContent(18,5176.041); h_SL3L471->SetBinContent(19,5496.821); h_SL3L471->SetBinContent(20,5849.282); h_SL3L471->SetBinContent(21,5579.986); h_SL3L471->SetBinContent(22,6300.75); h_SL3L471->SetBinContent(23,6538.365); h_SL3L471->SetBinContent(24,6518.564); h_SL3L471->SetBinContent(25,6486.882); h_SL3L471->SetBinContent(26,6467.081); h_SL3L471->SetBinContent(27,6637.371); h_SL3L471->SetBinContent(28,6637.371); h_SL3L471->SetBinContent(29,6894.787); h_SL3L471->SetBinContent(30,7267.05); h_SL3L471->SetBinContent(31,7952.173); h_SL3L471->SetBinContent(32,8534.329); h_SL3L471->SetBinContent(33,11682.72); h_SL3L471->SetBinContent(34,23108.03); h_SL3L471->SetBinContent(35,56417.66); h_SL3L471->SetBinContent(36,63898.56); h_SL3L471->SetBinContent(37,68460.77); h_SL3L471->SetBinContent(38,73743.73); h_SL3L471->SetBinContent(39,72143.79); h_SL3L471->SetBinContent(40,60413.54); h_SL3L471->SetBinContent(41,24197.1); h_SL3L471->SetBinContent(42,10712.46); h_SL3L471->SetBinContent(43,8134.344); h_SL3L471->SetBinContent(44,7172.004); h_SL3L471->SetBinContent(45,6621.53); h_SL3L471->SetBinContent(46,6411.637); h_SL3L471->SetBinContent(47,5853.243); h_SL3L471->SetBinContent(48,6189.863); h_SL3L471->SetBinContent(49,6154.221); h_SL3L471->SetBinContent(50,5789.879); h_SL3L471->SetBinContent(51,5453.258); h_SL3L471->SetBinContent(52,5457.218); h_SL3L471->SetBinContent(53,5560.185); h_SL3L471->SetBinContent(54,5191.882); h_SL3L471->SetBinContent(55,5128.518); h_SL3L471->SetBinContent(56,4902.784); h_SL3L471->SetBinContent(57,5049.313); h_SL3L471->SetBinContent(58,4819.619); h_SL3L471->SetBinContent(59,4281.025); h_SL3L471->SetMaximum(87679.04); h_SL3L471->SetEntries(60); h_SL3L471->SetDirectory(0); h_SL3L471->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L471->SetLineColor(ci); h_SL3L471->SetLineWidth(2); h_SL3L471->GetXaxis()->SetTitle("Cell"); h_SL3L471->GetXaxis()->SetLabelFont(42); h_SL3L471->GetXaxis()->SetLabelSize(0.035); h_SL3L471->GetXaxis()->SetTitleSize(0.035); h_SL3L471->GetXaxis()->SetTitleFont(42); h_SL3L471->GetYaxis()->SetTitle("Hz"); h_SL3L471->GetYaxis()->SetLabelFont(42); h_SL3L471->GetYaxis()->SetLabelSize(0.035); h_SL3L471->GetYaxis()->SetTitleSize(0.035); h_SL3L471->GetYaxis()->SetTitleOffset(1.45); h_SL3L471->GetYaxis()->SetTitleFont(42); h_SL3L471->GetZaxis()->SetLabelFont(42); h_SL3L471->GetZaxis()->SetLabelSize(0.035); h_SL3L471->GetZaxis()->SetTitleSize(0.035); h_SL3L471->GetZaxis()->SetTitleFont(42); h_SL3L471->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_SL3L1","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_SL3L2","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_SL3L3","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_SL3L4","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.3744221,0.9362587,0.6255779,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL3, run 6641"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }