void RatesPerCell_Removing_noisy_cells_run_6787_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:13:30 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12045.53,67.5,108409.8); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6787",60,0,60); h_SL1L160->SetBinContent(1,4842.207); h_SL1L160->SetBinContent(2,4805.757); h_SL1L160->SetBinContent(3,4892.675); h_SL1L160->SetBinContent(4,4746.876); h_SL1L160->SetBinContent(5,4819.776); h_SL1L160->SetBinContent(6,5414.187); h_SL1L160->SetBinContent(7,4965.575); h_SL1L160->SetBinContent(8,4797.345); h_SL1L160->SetBinContent(9,4687.996); h_SL1L160->SetBinContent(10,4561.824); h_SL1L160->SetBinContent(11,4393.594); h_SL1L160->SetBinContent(12,4716.034); h_SL1L160->SetBinContent(13,4920.713); h_SL1L160->SetBinContent(14,4797.345); h_SL1L160->SetBinContent(15,4802.953); h_SL1L160->SetBinContent(16,4581.451); h_SL1L160->SetBinContent(17,4934.732); h_SL1L160->SetBinContent(18,5470.263); h_SL1L160->SetBinContent(19,5159.039); h_SL1L160->SetBinContent(20,5512.321); h_SL1L160->SetBinContent(21,5890.837); h_SL1L160->SetBinContent(22,6084.301); h_SL1L160->SetBinContent(23,6154.396); h_SL1L160->SetBinContent(24,6103.928); h_SL1L160->SetBinContent(25,6031.028); h_SL1L160->SetBinContent(26,6084.301); h_SL1L160->SetBinContent(27,6488.052); h_SL1L160->SetBinContent(28,6886.195); h_SL1L160->SetBinContent(29,7309.573); h_SL1L160->SetBinContent(30,7458.175); h_SL1L160->SetBinContent(31,8310.538); h_SL1L160->SetBinContent(32,11551.76); h_SL1L160->SetBinContent(33,35616.99); h_SL1L160->SetBinContent(34,53051.18); h_SL1L160->SetBinContent(35,57629.83); h_SL1L160->SetBinContent(36,60573.84); h_SL1L160->SetBinContent(37,64888.93); h_SL1L160->SetBinContent(38,59648.58); h_SL1L160->SetBinContent(39,38788.12); h_SL1L160->SetBinContent(40,11240.54); h_SL1L160->SetBinContent(41,8389.046); h_SL1L160->SetBinContent(42,7598.367); h_SL1L160->SetBinContent(43,7054.425); h_SL1L160->SetBinContent(44,6252.531); h_SL1L160->SetBinContent(45,6087.105); h_SL1L160->SetBinContent(46,5492.694); h_SL1L160->SetBinContent(47,5621.67); h_SL1L160->SetBinContent(48,5088.943); h_SL1L160->SetBinContent(49,4934.732); h_SL1L160->SetBinContent(50,5030.062); h_SL1L160->SetBinContent(51,4631.919); h_SL1L160->SetBinContent(52,4514.159); h_SL1L160->SetBinContent(53,4648.743); h_SL1L160->SetBinContent(54,4472.102); h_SL1L160->SetBinContent(55,4373.968); h_SL1L160->SetBinContent(56,4270.226); h_SL1L160->SetBinContent(57,4601.078); h_SL1L160->SetBinContent(58,4407.613); h_SL1L160->SetBinContent(59,4634.723); h_SL1L160->SetMaximum(96364.25); 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,5195.488); h_SL1L261->SetBinContent(2,4769.307); h_SL1L261->SetBinContent(3,5105.766); h_SL1L261->SetBinContent(4,4929.125); h_SL1L261->SetBinContent(5,4912.302); h_SL1L261->SetBinContent(6,5330.072); h_SL1L261->SetBinContent(7,4875.853); h_SL1L261->SetBinContent(8,5114.178); h_SL1L261->SetBinContent(9,4878.656); h_SL1L261->SetBinContent(10,4528.178); h_SL1L261->SetBinContent(11,4556.216); h_SL1L261->SetBinContent(12,4892.675); h_SL1L261->SetBinContent(13,5147.823); h_SL1L261->SetBinContent(14,5122.589); h_SL1L261->SetBinContent(15,5198.292); h_SL1L261->SetBinContent(16,5159.039); h_SL1L261->SetBinContent(17,5030.062); h_SL1L261->SetBinContent(18,5243.153); h_SL1L261->SetBinContent(19,5719.804); h_SL1L261->SetBinContent(20,5632.885); h_SL1L261->SetBinContent(21,6140.377); h_SL1L261->SetBinContent(22,6583.382); h_SL1L261->SetBinContent(23,6378.703); h_SL1L261->SetBinContent(24,6670.301); h_SL1L261->SetBinContent(25,6799.276); h_SL1L261->SetBinContent(26,6510.482); h_SL1L261->SetBinContent(27,6597.401); h_SL1L261->SetBinContent(28,7393.688); h_SL1L261->SetBinContent(29,7550.702); h_SL1L261->SetBinContent(30,7968.472); h_SL1L261->SetBinContent(31,8504.002); h_SL1L261->SetBinContent(32,11159.22); h_SL1L261->SetBinContent(33,22904.45); h_SL1L261->SetBinContent(34,55397.98); h_SL1L261->SetBinContent(35,62643.07); h_SL1L261->SetBinContent(36,68623.62); h_SL1L261->SetBinContent(37,72041.49); h_SL1L261->SetBinContent(38,70207.79); h_SL1L261->SetBinContent(39,58616.77); h_SL1L261->SetBinContent(40,22671.73); h_SL1L261->SetBinContent(41,11352.69); h_SL1L261->SetBinContent(42,8175.955); h_SL1L261->SetBinContent(43,7629.209); h_SL1L261->SetBinContent(44,7177.793); h_SL1L261->SetBinContent(45,6989.937); h_SL1L261->SetBinContent(46,6709.554); h_SL1L261->SetBinContent(47,6389.918); h_SL1L261->SetBinContent(48,5944.11); h_SL1L261->SetBinContent(49,10901.27); h_SL1L261->SetBinContent(50,5453.44); h_SL1L261->SetBinContent(51,5554.378); h_SL1L261->SetBinContent(52,5058.101); h_SL1L261->SetBinContent(53,5554.378); h_SL1L261->SetBinContent(54,5220.723); h_SL1L261->SetBinContent(55,5231.938); h_SL1L261->SetBinContent(56,6364.684); h_SL1L261->SetBinContent(57,4805.757); h_SL1L261->SetBinContent(58,4805.757); h_SL1L261->SetBinContent(59,4825.383); h_SL1L261->SetMaximum(83795.68); 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,4587.058); h_SL1L362->SetBinContent(2,4772.111); h_SL1L362->SetBinContent(3,5114.178); h_SL1L362->SetBinContent(4,4483.317); h_SL1L362->SetBinContent(5,5094.551); h_SL1L362->SetBinContent(6,5027.259); h_SL1L362->SetBinContent(7,4968.378); h_SL1L362->SetBinContent(8,5032.867); h_SL1L362->SetBinContent(9,4620.704); h_SL1L362->SetBinContent(10,4261.814); h_SL1L362->SetBinContent(11,4505.748); h_SL1L362->SetBinContent(12,4760.896); h_SL1L362->SetBinContent(13,4802.953); h_SL1L362->SetBinContent(14,5097.354); h_SL1L362->SetBinContent(15,5004.828); h_SL1L362->SetBinContent(16,4940.34); h_SL1L362->SetBinContent(17,4884.264); h_SL1L362->SetBinContent(18,5411.383); h_SL1L362->SetBinContent(19,5341.287); h_SL1L362->SetBinContent(20,5495.498); h_SL1L362->SetBinContent(21,6218.885); h_SL1L362->SetBinContent(22,5932.895); h_SL1L362->SetBinContent(23,6244.119); h_SL1L362->SetBinContent(24,6521.698); h_SL1L362->SetBinContent(25,6614.224); h_SL1L362->SetBinContent(26,6244.119); h_SL1L362->SetBinContent(27,6625.439); h_SL1L362->SetBinContent(28,7438.549); h_SL1L362->SetBinContent(29,7598.367); h_SL1L362->SetBinContent(30,8013.333); h_SL1L362->SetBinContent(31,9345.15); h_SL1L362->SetBinContent(32,13032.18); h_SL1L362->SetBinContent(33,41527.46); h_SL1L362->SetBinContent(34,60694.41); h_SL1L362->SetBinContent(35,65158.1); h_SL1L362->SetBinContent(36,70319.94); h_SL1L362->SetBinContent(37,72865.81); h_SL1L362->SetBinContent(38,65404.84); h_SL1L362->SetBinContent(39,42772.36); h_SL1L362->SetBinContent(40,12639.64); h_SL1L362->SetBinContent(41,9342.346); h_SL1L362->SetBinContent(42,7943.237); h_SL1L362->SetBinContent(43,7376.865); h_SL1L362->SetBinContent(44,6967.506); h_SL1L362->SetBinContent(45,6482.444); h_SL1L362->SetBinContent(46,6174.023); h_SL1L362->SetBinContent(47,6171.22); h_SL1L362->SetBinContent(48,5688.962); h_SL1L362->SetBinContent(49,5349.699); h_SL1L362->SetBinContent(50,5145.02); h_SL1L362->SetBinContent(51,5136.608); h_SL1L362->SetBinContent(52,4912.302); h_SL1L362->SetBinContent(53,6117.947); h_SL1L362->SetBinContent(54,4749.68); h_SL1L362->SetBinContent(55,4884.264); h_SL1L362->SetBinContent(56,6580.578); h_SL1L362->SetBinContent(57,4673.977); h_SL1L362->SetBinContent(58,4458.083); h_SL1L362->SetBinContent(59,4511.355); h_SL1L362->SetMaximum(83795.68); 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,4099.193); h_SL1L463->SetBinContent(3,4421.633); h_SL1L463->SetBinContent(4,4191.719); h_SL1L463->SetBinContent(5,4197.327); h_SL1L463->SetBinContent(6,4592.666); h_SL1L463->SetBinContent(7,4514.159); h_SL1L463->SetBinContent(8,4371.164); h_SL1L463->SetBinContent(9,4469.298); h_SL1L463->SetBinContent(10,4087.977); h_SL1L463->SetBinContent(11,4093.585); h_SL1L463->SetBinContent(12,4152.465); h_SL1L463->SetBinContent(13,4460.886); h_SL1L463->SetBinContent(14,4645.938); h_SL1L463->SetBinContent(15,4800.149); h_SL1L463->SetBinContent(16,4584.254); h_SL1L463->SetBinContent(17,4301.068); h_SL1L463->SetBinContent(18,4570.235); h_SL1L463->SetBinContent(19,5032.867); h_SL1L463->SetBinContent(20,4758.092); h_SL1L463->SetBinContent(21,5145.02); h_SL1L463->SetBinContent(22,5411.383); h_SL1L463->SetBinContent(23,5299.23); h_SL1L463->SetBinContent(24,5523.536); h_SL1L463->SetBinContent(25,5442.225); h_SL1L463->SetBinContent(26,5358.11); h_SL1L463->SetBinContent(27,5551.574); h_SL1L463->SetBinContent(28,5753.45); h_SL1L463->SetBinContent(29,6521.698); h_SL1L463->SetBinContent(30,6608.616); h_SL1L463->SetBinContent(31,7228.262); h_SL1L463->SetBinContent(32,9056.356); h_SL1L463->SetBinContent(33,18090.28); h_SL1L463->SetBinContent(34,48848.25); h_SL1L463->SetBinContent(35,57366.27); h_SL1L463->SetBinContent(36,60484.12); h_SL1L463->SetBinContent(37,60932.73); h_SL1L463->SetBinContent(38,61619.67); h_SL1L463->SetBinContent(39,53956.82); h_SL1L463->SetBinContent(40,19321.16); h_SL1L463->SetBinContent(41,9319.916); h_SL1L463->SetBinContent(42,7006.76); h_SL1L463->SetBinContent(43,6577.774); h_SL1L463->SetBinContent(44,5904.856); h_SL1L463->SetBinContent(45,5400.167); h_SL1L463->SetBinContent(46,5433.813); h_SL1L463->SetBinContent(47,4940.34); h_SL1L463->SetBinContent(48,4573.039); h_SL1L463->SetBinContent(49,4547.805); h_SL1L463->SetBinContent(50,4214.149); h_SL1L463->SetBinContent(51,3975.824); h_SL1L463->SetBinContent(52,4144.054); h_SL1L463->SetBinContent(53,3942.178); h_SL1L463->SetBinContent(54,4085.174); h_SL1L463->SetBinContent(55,16.82295); h_SL1L463->SetBinContent(56,3877.69); h_SL1L463->SetBinContent(57,3813.203); h_SL1L463->SetBinContent(58,4202.934); h_SL1L463->SetBinContent(59,3950.59); h_SL1L463->SetMaximum(83795.68); 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 6787"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }