void RatesPerCell_Removing_noisy_cells_run_5816_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:24:15 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1375.688,67.5,12381.19); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 5816",60,0,60); h_SL1L160->SetBinContent(1,171.3719); h_SL1L160->SetBinContent(2,225.2866); h_SL1L160->SetBinContent(3,265.7227); h_SL1L160->SetBinContent(4,313.8609); h_SL1L160->SetBinContent(5,265.7227); h_SL1L160->SetBinContent(6,358.148); h_SL1L160->SetBinContent(7,296.5311); h_SL1L160->SetBinContent(8,356.2224); h_SL1L160->SetBinContent(9,290.7545); h_SL1L160->SetBinContent(10,336.9672); h_SL1L160->SetBinContent(11,340.8182); h_SL1L160->SetBinContent(12,344.6693); h_SL1L160->SetBinContent(13,464.0519); h_SL1L160->SetBinContent(14,377.4032); h_SL1L160->SetBinContent(15,325.414); h_SL1L160->SetBinContent(16,329.2651); h_SL1L160->SetBinContent(17,296.5311); h_SL1L160->SetBinContent(18,423.6159); h_SL1L160->SetBinContent(19,394.733); h_SL1L160->SetBinContent(20,361.999); h_SL1L160->SetBinContent(21,373.5522); h_SL1L160->SetBinContent(22,310.0098); h_SL1L160->SetBinContent(23,356.2224); h_SL1L160->SetBinContent(24,269.5737); h_SL1L160->SetBinContent(25,360.0735); h_SL1L160->SetBinContent(26,336.9672); h_SL1L160->SetBinContent(27,408.2117); h_SL1L160->SetBinContent(28,369.7011); h_SL1L160->SetBinContent(29,402.4351); h_SL1L160->SetBinContent(30,394.733); h_SL1L160->SetBinContent(31,348.5203); h_SL1L160->SetBinContent(32,331.1906); h_SL1L160->SetBinContent(33,365.8501); h_SL1L160->SetBinContent(34,487.1583); h_SL1L160->SetBinContent(35,346.5948); h_SL1L160->SetBinContent(36,358.148); h_SL1L160->SetBinContent(37,437.0946); h_SL1L160->SetBinContent(38,531.4454); h_SL1L160->SetBinContent(39,410.1372); h_SL1L160->SetBinContent(40,361.999); h_SL1L160->SetBinContent(41,390.8819); h_SL1L160->SetBinContent(42,417.8393); h_SL1L160->SetBinContent(43,388.9564); h_SL1L160->SetBinContent(44,446.7222); h_SL1L160->SetBinContent(45,315.7864); h_SL1L160->SetBinContent(46,356.2224); h_SL1L160->SetBinContent(47,284.978); h_SL1L160->SetBinContent(48,290.7545); h_SL1L160->SetBinContent(49,333.1161); h_SL1L160->SetBinContent(50,344.6693); h_SL1L160->SetBinContent(51,294.6056); h_SL1L160->SetBinContent(52,304.2332); h_SL1L160->SetBinContent(53,202.1803); h_SL1L160->SetBinContent(54,279.2014); h_SL1L160->SetBinContent(55,200.2548); h_SL1L160->SetBinContent(56,165.5953); h_SL1L160->SetBinContent(57,188.7016); h_SL1L160->SetBinContent(58,146.34); h_SL1L160->SetBinContent(59,152.1166); h_SL1L160->SetMaximum(11005.5); 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,2959.535); h_SL1L261->SetBinContent(2,3242.587); h_SL1L261->SetBinContent(3,4270.818); h_SL1L261->SetBinContent(4,5198.922); h_SL1L261->SetBinContent(5,5765.027); h_SL1L261->SetBinContent(6,6356.164); h_SL1L261->SetBinContent(7,6425.483); h_SL1L261->SetBinContent(8,6575.674); h_SL1L261->SetBinContent(9,6964.63); h_SL1L261->SetBinContent(10,7151.406); h_SL1L261->SetBinContent(11,6558.344); h_SL1L261->SetBinContent(12,6837.545); h_SL1L261->SetBinContent(13,7091.715); h_SL1L261->SetBinContent(14,7353.586); h_SL1L261->SetBinContent(15,6843.322); h_SL1L261->SetBinContent(16,6931.896); h_SL1L261->SetBinContent(17,7186.066); h_SL1L261->SetBinContent(18,7386.321); h_SL1L261->SetBinContent(19,6937.673); h_SL1L261->SetBinContent(20,6785.556); h_SL1L261->SetBinContent(21,7407.501); h_SL1L261->SetBinContent(22,7442.161); h_SL1L261->SetBinContent(23,6704.684); h_SL1L261->SetBinContent(24,6866.428); h_SL1L261->SetBinContent(25,7276.565); h_SL1L261->SetBinContent(26,7428.682); h_SL1L261->SetBinContent(27,6995.438); h_SL1L261->SetBinContent(28,7598.128); h_SL1L261->SetBinContent(29,7463.342); h_SL1L261->SetBinContent(30,7846.521); h_SL1L261->SetBinContent(31,7286.193); h_SL1L261->SetBinContent(32,7484.522); h_SL1L261->SetBinContent(33,7998.638); h_SL1L261->SetBinContent(34,8119.946); h_SL1L261->SetBinContent(35,7209.172); h_SL1L261->SetBinContent(36,7022.396); h_SL1L261->SetBinContent(37,7534.586); h_SL1L261->SetBinContent(38,7792.607); h_SL1L261->SetBinContent(39,6947.3); h_SL1L261->SetBinContent(40,7051.279); h_SL1L261->SetBinContent(41,7274.64); h_SL1L261->SetBinContent(42,7517.256); h_SL1L261->SetBinContent(43,6974.258); h_SL1L261->SetBinContent(44,7057.056); h_SL1L261->SetBinContent(45,7072.459); h_SL1L261->SetBinContent(46,7378.619); h_SL1L261->SetBinContent(47,6236.781); h_SL1L261->SetBinContent(48,5322.156); h_SL1L261->SetBinContent(49,5426.134); h_SL1L261->SetBinContent(50,5543.591); h_SL1L261->SetBinContent(51,4877.359); h_SL1L261->SetBinContent(52,5222.028); h_SL1L261->SetBinContent(53,5352.964); h_SL1L261->SetBinContent(54,5455.017); h_SL1L261->SetBinContent(55,4732.945); h_SL1L261->SetBinContent(56,4345.914); h_SL1L261->SetBinContent(57,4045.532); h_SL1L261->SetBinContent(58,3604.586); h_SL1L261->SetBinContent(59,2938.354); h_SL1L261->SetMaximum(9570.446); 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,3088.545); h_SL1L362->SetBinContent(2,3756.703); h_SL1L362->SetBinContent(3,4827.295); h_SL1L362->SetBinContent(4,5551.293); h_SL1L362->SetBinContent(5,6417.781); h_SL1L362->SetBinContent(6,6462.068); h_SL1L362->SetBinContent(7,6489.025); h_SL1L362->SetBinContent(8,7032.023); h_SL1L362->SetBinContent(9,7122.523); h_SL1L362->SetBinContent(10,6964.63); h_SL1L362->SetBinContent(11,6610.333); h_SL1L362->SetBinContent(12,7124.449); h_SL1L362->SetBinContent(13,7276.565); h_SL1L362->SetBinContent(14,7033.949); h_SL1L362->SetBinContent(15,6766.301); h_SL1L362->SetBinContent(16,7184.14); h_SL1L362->SetBinContent(17,7471.044); h_SL1L362->SetBinContent(18,7130.226); h_SL1L362->SetBinContent(19,6621.886); h_SL1L362->SetBinContent(20,7128.3); h_SL1L362->SetBinContent(21,7865.777); h_SL1L362->SetBinContent(22,7066.683); h_SL1L362->SetBinContent(23,6652.695); h_SL1L362->SetBinContent(24,7247.683); h_SL1L362->SetBinContent(25,7357.438); h_SL1L362->SetBinContent(26,7232.278); h_SL1L362->SetBinContent(27,6985.811); h_SL1L362->SetBinContent(28,7397.874); h_SL1L362->SetBinContent(29,7725.213); h_SL1L362->SetBinContent(30,7511.48); h_SL1L362->SetBinContent(31,7401.725); h_SL1L362->SetBinContent(32,7958.202); h_SL1L362->SetBinContent(33,8322.127); h_SL1L362->SetBinContent(34,7742.543); h_SL1L362->SetBinContent(35,6837.545); h_SL1L362->SetBinContent(36,7509.554); h_SL1L362->SetBinContent(37,7802.234); h_SL1L362->SetBinContent(38,7476.82); h_SL1L362->SetBinContent(39,6903.013); h_SL1L362->SetBinContent(40,7374.768); h_SL1L362->SetBinContent(41,7482.597); h_SL1L362->SetBinContent(42,7326.629); h_SL1L362->SetBinContent(43,7058.981); h_SL1L362->SetBinContent(44,7413.278); h_SL1L362->SetBinContent(45,7318.927); h_SL1L362->SetBinContent(46,6920.343); h_SL1L362->SetBinContent(47,5674.527); h_SL1L362->SetBinContent(48,5445.39); h_SL1L362->SetBinContent(49,5562.847); h_SL1L362->SetBinContent(50,5189.294); h_SL1L362->SetBinContent(51,4906.242); h_SL1L362->SetBinContent(52,5547.442); h_SL1L362->SetBinContent(53,5543.591); h_SL1L362->SetBinContent(54,5299.05); h_SL1L362->SetBinContent(55,4673.253); h_SL1L362->SetBinContent(56,4388.275); h_SL1L362->SetBinContent(57,3964.66); h_SL1L362->SetBinContent(58,3283.023); h_SL1L362->SetBinContent(59,2743.875); h_SL1L362->SetMaximum(9570.446); 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,3327.31); h_SL1L463->SetBinContent(3,4357.467); h_SL1L463->SetBinContent(4,5270.167); h_SL1L463->SetBinContent(5,6015.346); h_SL1L463->SetBinContent(6,6600.706); h_SL1L463->SetBinContent(7,6475.546); h_SL1L463->SetBinContent(8,6947.3); h_SL1L463->SetBinContent(9,7326.629); h_SL1L463->SetBinContent(10,7085.938); h_SL1L463->SetBinContent(11,6535.238); h_SL1L463->SetBinContent(12,6985.811); h_SL1L463->SetBinContent(13,7455.64); h_SL1L463->SetBinContent(14,7388.246); h_SL1L463->SetBinContent(15,6712.386); h_SL1L463->SetBinContent(16,7189.917); h_SL1L463->SetBinContent(17,7365.14); h_SL1L463->SetBinContent(18,7440.235); h_SL1L463->SetBinContent(19,6720.088); h_SL1L463->SetBinContent(20,6989.662); h_SL1L463->SetBinContent(21,7673.224); h_SL1L463->SetBinContent(22,7438.31); h_SL1L463->SetBinContent(23,6656.546); h_SL1L463->SetBinContent(24,7053.205); h_SL1L463->SetBinContent(25,7455.64); h_SL1L463->SetBinContent(26,7463.342); h_SL1L463->SetBinContent(27,6837.545); h_SL1L463->SetBinContent(28,7301.597); h_SL1L463->SetBinContent(29,7800.309); h_SL1L463->SetBinContent(30,7844.596); h_SL1L463->SetBinContent(31,7193.768); h_SL1L463->SetBinContent(32,7671.298); h_SL1L463->SetBinContent(33,8287.467); h_SL1L463->SetBinContent(34,8187.34); h_SL1L463->SetBinContent(35,7043.577); h_SL1L463->SetBinContent(36,7386.321); h_SL1L463->SetBinContent(37,7794.532); h_SL1L463->SetBinContent(38,7748.32); h_SL1L463->SetBinContent(39,6922.269); h_SL1L463->SetBinContent(40,7388.246); h_SL1L463->SetBinContent(41,7409.427); h_SL1L463->SetBinContent(42,7598.128); h_SL1L463->SetBinContent(43,6924.194); h_SL1L463->SetBinContent(44,7405.576); h_SL1L463->SetBinContent(45,7457.565); h_SL1L463->SetBinContent(46,7326.629); h_SL1L463->SetBinContent(47,6254.111); h_SL1L463->SetBinContent(48,5609.06); h_SL1L463->SetBinContent(49,5628.314); h_SL1L463->SetBinContent(50,5485.826); h_SL1L463->SetBinContent(51,4806.115); h_SL1L463->SetBinContent(52,5289.422); h_SL1L463->SetBinContent(53,5784.282); h_SL1L463->SetBinContent(54,5686.081); h_SL1L463->SetBinContent(56,4673.253); h_SL1L463->SetBinContent(57,4342.063); h_SL1L463->SetBinContent(58,3681.607); h_SL1L463->SetBinContent(59,3115.502); h_SL1L463->SetMaximum(9570.446); 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 5816"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }