void RatesPerCell_Removing_noisy_cells_run_6979_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:30:44 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1954.425,67.5,17589.83); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6979",60,0,60); h_SL1L160->SetBinContent(1,2756.32); h_SL1L160->SetBinContent(2,3560.83); h_SL1L160->SetBinContent(3,4165.961); h_SL1L160->SetBinContent(4,4991.458); h_SL1L160->SetBinContent(5,5365.73); h_SL1L160->SetBinContent(6,5925.389); h_SL1L160->SetBinContent(7,5414.7); h_SL1L160->SetBinContent(8,5932.385); h_SL1L160->SetBinContent(9,6075.797); h_SL1L160->SetBinContent(10,6138.759); h_SL1L160->SetBinContent(11,5834.444); h_SL1L160->SetBinContent(12,5918.393); h_SL1L160->SetBinContent(13,6348.631); h_SL1L160->SetBinContent(14,10626.52); h_SL1L160->SetBinContent(15,9132.935); h_SL1L160->SetBinContent(16,6009.338); h_SL1L160->SetBinContent(17,5907.899); h_SL1L160->SetBinContent(18,6142.257); h_SL1L160->SetBinContent(19,5914.896); h_SL1L160->SetBinContent(20,6201.721); h_SL1L160->SetBinContent(21,6240.197); h_SL1L160->SetBinContent(22,5949.874); h_SL1L160->SetBinContent(23,6019.832); h_SL1L160->SetBinContent(24,6226.206); h_SL1L160->SetBinContent(25,6621.465); h_SL1L160->SetBinContent(26,6726.401); h_SL1L160->SetBinContent(27,5981.355); h_SL1L160->SetBinContent(28,6282.171); h_SL1L160->SetBinContent(29,6422.086); h_SL1L160->SetBinContent(30,6694.92); h_SL1L160->SetBinContent(31,6659.941); h_SL1L160->SetBinContent(32,7023.72); h_SL1L160->SetBinContent(33,7429.472); h_SL1L160->SetBinContent(34,7198.613); h_SL1L160->SetBinContent(35,6813.848); h_SL1L160->SetBinContent(36,7163.634); h_SL1L160->SetBinContent(37,7342.025); h_SL1L160->SetBinContent(38,7216.103); h_SL1L160->SetBinContent(39,6680.928); h_SL1L160->SetBinContent(41,7111.166); h_SL1L160->SetBinContent(42,7174.128); h_SL1L160->SetBinContent(43,6418.588); h_SL1L160->SetBinContent(44,6981.745); h_SL1L160->SetBinContent(45,7114.664); h_SL1L160->SetBinContent(46,7401.489); h_SL1L160->SetBinContent(47,5820.453); h_SL1L160->SetBinContent(48,5526.632); h_SL1L160->SetBinContent(49,5509.143); h_SL1L160->SetBinContent(50,5876.419); h_SL1L160->SetBinContent(51,5341.245); h_SL1L160->SetBinContent(52,5334.249); h_SL1L160->SetBinContent(53,5334.249); h_SL1L160->SetBinContent(54,5180.343); h_SL1L160->SetBinContent(55,4365.34); h_SL1L160->SetBinContent(56,3746.217); h_SL1L160->SetMaximum(15635.4); 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,2441.512); h_SL1L261->SetBinContent(2,3260.013); h_SL1L261->SetBinContent(3,4005.059); h_SL1L261->SetBinContent(4,4788.582); h_SL1L261->SetBinContent(5,5372.726); h_SL1L261->SetBinContent(6,5991.849); h_SL1L261->SetBinContent(7,5960.368); h_SL1L261->SetBinContent(8,6177.235); h_SL1L261->SetBinContent(9,6432.58); h_SL1L261->SetBinContent(10,6324.146); h_SL1L261->SetBinContent(11,6271.678); h_SL1L261->SetBinContent(12,6233.201); h_SL1L261->SetBinContent(13,6509.533); h_SL1L261->SetBinContent(14,6715.907); h_SL1L261->SetBinContent(15,5809.959); h_SL1L261->SetBinContent(16,6313.652); h_SL1L261->SetBinContent(17,6233.201); h_SL1L261->SetBinContent(18,6562.001); h_SL1L261->SetBinContent(19,6198.223); h_SL1L261->SetBinContent(20,6124.768); h_SL1L261->SetBinContent(21,6768.375); h_SL1L261->SetBinContent(22,6586.486); h_SL1L261->SetBinContent(23,6005.84); h_SL1L261->SetBinContent(24,6565.499); h_SL1L261->SetBinContent(25,6974.75); h_SL1L261->SetBinContent(26,7118.162); h_SL1L261->SetBinContent(27,6712.409); h_SL1L261->SetBinContent(28,6775.371); h_SL1L261->SetBinContent(29,6971.251); h_SL1L261->SetBinContent(30,7083.183); h_SL1L261->SetBinContent(31,6915.286); h_SL1L261->SetBinContent(32,7370.008); h_SL1L261->SetBinContent(33,7366.511); h_SL1L261->SetBinContent(34,7656.833); h_SL1L261->SetBinContent(35,7118.162); h_SL1L261->SetBinContent(36,6911.788); h_SL1L261->SetBinContent(37,7401.489); h_SL1L261->SetBinContent(38,7562.391); h_SL1L261->SetBinContent(39,7009.728); h_SL1L261->SetBinContent(40,6953.762); h_SL1L261->SetBinContent(41,7495.932); h_SL1L261->SetBinContent(42,7674.323); h_SL1L261->SetBinContent(43,7121.66); h_SL1L261->SetBinContent(44,6915.286); h_SL1L261->SetBinContent(45,7530.911); h_SL1L261->SetBinContent(46,8059.088); h_SL1L261->SetBinContent(47,6869.813); h_SL1L261->SetBinContent(48,5834.444); h_SL1L261->SetBinContent(49,6051.312); h_SL1L261->SetBinContent(50,6243.695); h_SL1L261->SetBinContent(51,5568.606); h_SL1L261->SetBinContent(52,5666.547); h_SL1L261->SetBinContent(53,5691.032); h_SL1L261->SetBinContent(54,5886.912); h_SL1L261->SetBinContent(55,4935.492); h_SL1L261->SetBinContent(56,4491.263); h_SL1L261->SetMaximum(13596.21); 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,2794.797); h_SL1L362->SetBinContent(2,3564.328); h_SL1L362->SetBinContent(3,4491.263); h_SL1L362->SetBinContent(4,5449.679); h_SL1L362->SetBinContent(5,5712.019); h_SL1L362->SetBinContent(6,6219.21); h_SL1L362->SetBinContent(7,5984.853); h_SL1L362->SetBinContent(8,6589.984); h_SL1L362->SetBinContent(9,6684.426); h_SL1L362->SetBinContent(10,6310.154); h_SL1L362->SetBinContent(11,6075.797); h_SL1L362->SetBinContent(12,6492.043); h_SL1L362->SetBinContent(13,6876.809); h_SL1L362->SetBinContent(14,6373.116); h_SL1L362->SetBinContent(15,5890.41); h_SL1L362->SetBinContent(16,6621.465); h_SL1L362->SetBinContent(17,6415.09); h_SL1L362->SetBinContent(18,6327.644); h_SL1L362->SetBinContent(19,6261.184); h_SL1L362->SetBinContent(20,6376.614); h_SL1L362->SetBinContent(21,6740.392); h_SL1L362->SetBinContent(22,6187.729); h_SL1L362->SetBinContent(23,6254.188); h_SL1L362->SetBinContent(24,6887.303); h_SL1L362->SetBinContent(25,7072.69); h_SL1L362->SetBinContent(26,7013.226); h_SL1L362->SetBinContent(27,6331.142); h_SL1L362->SetBinContent(28,6754.384); h_SL1L362->SetBinContent(29,7254.579); h_SL1L362->SetBinContent(30,7009.728); h_SL1L362->SetBinContent(31,7233.592); h_SL1L362->SetBinContent(32,7534.408); h_SL1L362->SetBinContent(33,7628.851); h_SL1L362->SetBinContent(34,7352.519); h_SL1L362->SetBinContent(35,6971.251); h_SL1L362->SetBinContent(36,7352.519); h_SL1L362->SetBinContent(37,7821.233); h_SL1L362->SetBinContent(38,7121.66); h_SL1L362->SetBinContent(39,6810.35); h_SL1L362->SetBinContent(40,7443.464); h_SL1L362->SetBinContent(41,7516.919); h_SL1L362->SetBinContent(42,7296.553); h_SL1L362->SetBinContent(43,7048.205); h_SL1L362->SetBinContent(44,7401.489); h_SL1L362->SetBinContent(45,7754.774); h_SL1L362->SetBinContent(46,7852.714); h_SL1L362->SetBinContent(47,6352.129); h_SL1L362->SetBinContent(48,5946.376); h_SL1L362->SetBinContent(49,6317.15); h_SL1L362->SetBinContent(50,5914.896); h_SL1L362->SetBinContent(51,5572.104); h_SL1L362->SetBinContent(52,5949.874); h_SL1L362->SetBinContent(53,5869.423); h_SL1L362->SetBinContent(54,5400.708); h_SL1L362->SetBinContent(55,4952.981); h_SL1L362->SetBinContent(56,4225.425); h_SL1L362->SetMaximum(13596.21); 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,3235.528); h_SL1L463->SetBinContent(3,3991.068); h_SL1L463->SetBinContent(4,5071.909); h_SL1L463->SetBinContent(5,5677.04); h_SL1L463->SetBinContent(6,6219.21); h_SL1L463->SetBinContent(7,6159.746); h_SL1L463->SetBinContent(8,6555.005); h_SL1L463->SetBinContent(9,6708.912); h_SL1L463->SetBinContent(10,6701.916); h_SL1L463->SetBinContent(11,6481.55); h_SL1L463->SetBinContent(12,6453.567); h_SL1L463->SetBinContent(13,6733.396); h_SL1L463->SetBinContent(14,6789.362); h_SL1L463->SetBinContent(15,11822.79); h_SL1L463->SetBinContent(16,6838.333); h_SL1L463->SetBinContent(17,6694.92); h_SL1L463->SetBinContent(18,6733.396); h_SL1L463->SetBinContent(19,6285.669); h_SL1L463->SetBinContent(20,6530.52); h_SL1L463->SetBinContent(21,6960.758); h_SL1L463->SetBinContent(22,6572.495); h_SL1L463->SetBinContent(23,6250.69); h_SL1L463->SetBinContent(24,6747.388); h_SL1L463->SetBinContent(25,6911.788); h_SL1L463->SetBinContent(26,7258.077); h_SL1L463->SetBinContent(27,6698.418); h_SL1L463->SetBinContent(28,6492.043); h_SL1L463->SetBinContent(29,7293.055); h_SL1L463->SetBinContent(30,7286.06); h_SL1L463->SetBinContent(31,6904.792); h_SL1L463->SetBinContent(32,7604.366); h_SL1L463->SetBinContent(33,7810.74); h_SL1L463->SetBinContent(34,7824.731); h_SL1L463->SetBinContent(35,7114.664); h_SL1L463->SetBinContent(36,7394.494); h_SL1L463->SetBinContent(37,10.4936); h_SL1L463->SetBinContent(41,7667.327); h_SL1L463->SetBinContent(42,7807.242); h_SL1L463->SetBinContent(43,7048.205); h_SL1L463->SetBinContent(44,7422.477); h_SL1L463->SetBinContent(45,7796.749); h_SL1L463->SetBinContent(46,8104.561); h_SL1L463->SetBinContent(47,7237.089); h_SL1L463->SetBinContent(48,6201.721); h_SL1L463->SetBinContent(49,6219.21); h_SL1L463->SetBinContent(50,6163.244); h_SL1L463->SetBinContent(51,5740.002); h_SL1L463->SetBinContent(52,5841.44); h_SL1L463->SetBinContent(53,6079.295); h_SL1L463->SetBinContent(54,5932.385); h_SL1L463->SetBinContent(56,4865.535); h_SL1L463->SetMaximum(13596.21); 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 6979"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }