void RatesPerCell_Removing_noisy_cells_run_7345_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:42:28 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-2950.9,67.5,26558.1); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7345",60,0,60); h_SL1L160->SetBinContent(1,3273.81); h_SL1L160->SetBinContent(2,3982.143); h_SL1L160->SetBinContent(3,4934.524); h_SL1L160->SetBinContent(4,5601.19); h_SL1L160->SetBinContent(5,5690.477); h_SL1L160->SetBinContent(6,6458.333); h_SL1L160->SetBinContent(7,6494.048); h_SL1L160->SetBinContent(8,7160.714); h_SL1L160->SetBinContent(9,6922.619); h_SL1L160->SetBinContent(10,7053.572); h_SL1L160->SetBinContent(11,6392.857); h_SL1L160->SetBinContent(12,6315.477); h_SL1L160->SetBinContent(13,11291.67); h_SL1L160->SetBinContent(14,14017.86); h_SL1L160->SetBinContent(15,13059.52); h_SL1L160->SetBinContent(16,6869.048); h_SL1L160->SetBinContent(17,7178.572); h_SL1L160->SetBinContent(18,7351.191); h_SL1L160->SetBinContent(19,6809.524); h_SL1L160->SetBinContent(20,6517.857); h_SL1L160->SetBinContent(21,7327.381); h_SL1L160->SetBinContent(22,7267.857); h_SL1L160->SetBinContent(23,6750); h_SL1L160->SetBinContent(24,6797.619); h_SL1L160->SetBinContent(25,7071.429); h_SL1L160->SetBinContent(26,7398.81); h_SL1L160->SetBinContent(27,6708.333); h_SL1L160->SetBinContent(28,7023.81); h_SL1L160->SetBinContent(29,7244.048); h_SL1L160->SetBinContent(30,7755.953); h_SL1L160->SetBinContent(31,7261.905); h_SL1L160->SetBinContent(32,7494.048); h_SL1L160->SetBinContent(33,7446.429); h_SL1L160->SetBinContent(34,8428.571); h_SL1L160->SetBinContent(35,6982.143); h_SL1L160->SetBinContent(36,7357.143); h_SL1L160->SetBinContent(37,7565.477); h_SL1L160->SetBinContent(38,8089.286); h_SL1L160->SetBinContent(39,7000); h_SL1L160->SetBinContent(41,7166.667); h_SL1L160->SetBinContent(42,7017.857); h_SL1L160->SetBinContent(43,6446.429); h_SL1L160->SetBinContent(44,6345.238); h_SL1L160->SetBinContent(45,6553.572); h_SL1L160->SetBinContent(46,6851.191); h_SL1L160->SetBinContent(47,5589.286); h_SL1L160->SetBinContent(48,5339.286); h_SL1L160->SetBinContent(49,5523.81); h_SL1L160->SetBinContent(50,5392.857); h_SL1L160->SetBinContent(51,4982.143); h_SL1L160->SetBinContent(52,5083.333); h_SL1L160->SetBinContent(53,5160.714); h_SL1L160->SetBinContent(54,5000); h_SL1L160->SetBinContent(55,4309.524); h_SL1L160->SetBinContent(56,4190.477); h_SL1L160->SetMaximum(23607.2); 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,1630.952); h_SL1L261->SetBinContent(2,1880.952); h_SL1L261->SetBinContent(3,3077.381); h_SL1L261->SetBinContent(4,3101.191); h_SL1L261->SetBinContent(5,2809.524); h_SL1L261->SetBinContent(6,3130.952); h_SL1L261->SetBinContent(7,3351.191); h_SL1L261->SetBinContent(8,3369.048); h_SL1L261->SetBinContent(9,14053.57); h_SL1L261->SetBinContent(10,3500); h_SL1L261->SetBinContent(11,3642.857); h_SL1L261->SetBinContent(12,3309.524); h_SL1L261->SetBinContent(13,3452.381); h_SL1L261->SetBinContent(14,4601.19); h_SL1L261->SetBinContent(15,4238.095); h_SL1L261->SetBinContent(16,3797.619); h_SL1L261->SetBinContent(17,3214.286); h_SL1L261->SetBinContent(18,3898.81); h_SL1L261->SetBinContent(19,3375); h_SL1L261->SetBinContent(20,3613.095); h_SL1L261->SetBinContent(21,3648.81); h_SL1L261->SetBinContent(22,4148.81); h_SL1L261->SetBinContent(23,3797.619); h_SL1L261->SetBinContent(24,3386.905); h_SL1L261->SetBinContent(25,3815.476); h_SL1L261->SetBinContent(26,3565.476); h_SL1L261->SetBinContent(27,3434.524); h_SL1L261->SetBinContent(28,3285.714); h_SL1L261->SetBinContent(29,3666.667); h_SL1L261->SetBinContent(30,3910.714); h_SL1L261->SetBinContent(31,4041.667); h_SL1L261->SetBinContent(32,3815.476); h_SL1L261->SetBinContent(33,4107.143); h_SL1L261->SetBinContent(34,4220.238); h_SL1L261->SetBinContent(35,3821.429); h_SL1L261->SetBinContent(36,3577.381); h_SL1L261->SetBinContent(37,3583.333); h_SL1L261->SetBinContent(38,4071.429); h_SL1L261->SetBinContent(39,3619.048); h_SL1L261->SetBinContent(40,3553.572); h_SL1L261->SetBinContent(41,3601.191); h_SL1L261->SetBinContent(42,3619.048); h_SL1L261->SetBinContent(43,3857.143); h_SL1L261->SetBinContent(44,3470.238); h_SL1L261->SetBinContent(45,3125); h_SL1L261->SetBinContent(46,3815.476); h_SL1L261->SetBinContent(47,2880.952); h_SL1L261->SetBinContent(48,2738.095); h_SL1L261->SetBinContent(49,2815.476); h_SL1L261->SetBinContent(50,2940.476); h_SL1L261->SetBinContent(51,2642.857); h_SL1L261->SetBinContent(52,2589.286); h_SL1L261->SetBinContent(53,3101.191); h_SL1L261->SetBinContent(54,2946.429); h_SL1L261->SetBinContent(55,2422.619); h_SL1L261->SetBinContent(56,2398.81); h_SL1L261->SetMaximum(20528.87); 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,3440.476); h_SL1L362->SetBinContent(2,4154.762); h_SL1L362->SetBinContent(3,5244.048); h_SL1L362->SetBinContent(4,5785.714); h_SL1L362->SetBinContent(5,6327.381); h_SL1L362->SetBinContent(6,6500); h_SL1L362->SetBinContent(7,6922.619); h_SL1L362->SetBinContent(8,7821.429); h_SL1L362->SetBinContent(9,7577.381); h_SL1L362->SetBinContent(10,7029.762); h_SL1L362->SetBinContent(11,6630.953); h_SL1L362->SetBinContent(12,7125); h_SL1L362->SetBinContent(13,7261.905); h_SL1L362->SetBinContent(14,8779.762); h_SL1L362->SetBinContent(15,10333.33); h_SL1L362->SetBinContent(16,7738.096); h_SL1L362->SetBinContent(17,7529.762); h_SL1L362->SetBinContent(18,7529.762); h_SL1L362->SetBinContent(19,6958.333); h_SL1L362->SetBinContent(20,7380.953); h_SL1L362->SetBinContent(21,7809.524); h_SL1L362->SetBinContent(22,7523.81); h_SL1L362->SetBinContent(23,7041.667); h_SL1L362->SetBinContent(24,7321.429); h_SL1L362->SetBinContent(25,7702.381); h_SL1L362->SetBinContent(26,7434.524); h_SL1L362->SetBinContent(27,7238.096); h_SL1L362->SetBinContent(28,7404.762); h_SL1L362->SetBinContent(29,7714.286); h_SL1L362->SetBinContent(30,7821.429); h_SL1L362->SetBinContent(31,7273.81); h_SL1L362->SetBinContent(32,7922.619); h_SL1L362->SetBinContent(33,7994.048); h_SL1L362->SetBinContent(34,7904.762); h_SL1L362->SetBinContent(35,7285.714); h_SL1L362->SetBinContent(36,7625); h_SL1L362->SetBinContent(37,8101.191); h_SL1L362->SetBinContent(38,7678.572); h_SL1L362->SetBinContent(39,7327.381); h_SL1L362->SetBinContent(40,7190.477); h_SL1L362->SetBinContent(41,7565.477); h_SL1L362->SetBinContent(42,7101.191); h_SL1L362->SetBinContent(43,7029.762); h_SL1L362->SetBinContent(44,6851.191); h_SL1L362->SetBinContent(45,7065.477); h_SL1L362->SetBinContent(46,6809.524); h_SL1L362->SetBinContent(47,5916.667); h_SL1L362->SetBinContent(48,5535.714); h_SL1L362->SetBinContent(49,5994.048); h_SL1L362->SetBinContent(50,5136.905); h_SL1L362->SetBinContent(51,5559.524); h_SL1L362->SetBinContent(52,5285.714); h_SL1L362->SetBinContent(53,5785.714); h_SL1L362->SetBinContent(54,5273.81); h_SL1L362->SetBinContent(55,4648.81); h_SL1L362->SetBinContent(56,4851.19); h_SL1L362->SetMaximum(20528.87); 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,3744.048); h_SL1L463->SetBinContent(3,4380.953); h_SL1L463->SetBinContent(4,5636.905); h_SL1L463->SetBinContent(5,6101.19); h_SL1L463->SetBinContent(6,6434.524); h_SL1L463->SetBinContent(7,6386.905); h_SL1L463->SetBinContent(8,7327.381); h_SL1L463->SetBinContent(9,7869.048); h_SL1L463->SetBinContent(10,7047.619); h_SL1L463->SetBinContent(11,6875); h_SL1L463->SetBinContent(12,6898.81); h_SL1L463->SetBinContent(13,7136.905); h_SL1L463->SetBinContent(14,17851.19); h_SL1L463->SetBinContent(15,13476.19); h_SL1L463->SetBinContent(16,12077.38); h_SL1L463->SetBinContent(17,7702.381); h_SL1L463->SetBinContent(18,7470.238); h_SL1L463->SetBinContent(19,7077.381); h_SL1L463->SetBinContent(20,7071.429); h_SL1L463->SetBinContent(21,7648.81); h_SL1L463->SetBinContent(22,7422.619); h_SL1L463->SetBinContent(23,7136.905); h_SL1L463->SetBinContent(24,7101.191); h_SL1L463->SetBinContent(25,7630.953); h_SL1L463->SetBinContent(26,7482.143); h_SL1L463->SetBinContent(27,6994.048); h_SL1L463->SetBinContent(28,7339.286); h_SL1L463->SetBinContent(29,7577.381); h_SL1L463->SetBinContent(30,7494.048); h_SL1L463->SetBinContent(31,7625); h_SL1L463->SetBinContent(32,7767.857); h_SL1L463->SetBinContent(33,8136.905); h_SL1L463->SetBinContent(34,7994.048); h_SL1L463->SetBinContent(35,7303.572); h_SL1L463->SetBinContent(36,7470.238); h_SL1L463->SetBinContent(41,7428.572); h_SL1L463->SetBinContent(42,7244.048); h_SL1L463->SetBinContent(43,6720.238); h_SL1L463->SetBinContent(44,6976.191); h_SL1L463->SetBinContent(45,7077.381); h_SL1L463->SetBinContent(46,7029.762); h_SL1L463->SetBinContent(47,6107.143); h_SL1L463->SetBinContent(48,5690.477); h_SL1L463->SetBinContent(49,5988.095); h_SL1L463->SetBinContent(50,5565.477); h_SL1L463->SetBinContent(51,5071.429); h_SL1L463->SetBinContent(52,5255.953); h_SL1L463->SetBinContent(53,5726.19); h_SL1L463->SetBinContent(54,5595.238); h_SL1L463->SetBinContent(56,4857.143); h_SL1L463->SetMaximum(20528.87); 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 7345"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }