void RatesPerCell_Removing_noisy_cells_run_6185_SL3() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 11:02:18 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1645.363,67.5,14808.26); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6185",60,0,60); h_SL3L168->SetBinContent(1,2144.682); h_SL3L168->SetBinContent(2,3560.646); h_SL3L168->SetBinContent(4,6937.631); h_SL3L168->SetBinContent(5,6718.423); h_SL3L168->SetBinContent(6,7707.821); h_SL3L168->SetBinContent(7,7743.368); h_SL3L168->SetBinContent(8,7784.84); h_SL3L168->SetBinContent(9,6759.896); h_SL3L168->SetBinContent(10,8241.029); h_SL3L168->SetBinContent(11,8075.142); h_SL3L168->SetBinContent(12,7755.217); h_SL3L168->SetBinContent(13,7304.953); h_SL3L168->SetBinContent(14,8140.312); h_SL3L168->SetBinContent(15,7524.161); h_SL3L168->SetBinContent(16,7287.179); h_SL3L168->SetBinContent(17,6795.442); h_SL3L168->SetBinContent(18,8169.935); h_SL3L168->SetBinContent(19,7690.047); h_SL3L168->SetBinContent(20,7844.085); h_SL3L168->SetBinContent(21,7293.104); h_SL3L168->SetBinContent(22,8436.539); h_SL3L168->SetBinContent(23,8519.482); h_SL3L168->SetBinContent(24,7660.425); h_SL3L168->SetBinContent(25,7885.557); h_SL3L168->SetBinContent(26,8774.237); h_SL3L168->SetBinContent(27,8430.614); h_SL3L168->SetBinContent(28,7897.406); h_SL3L168->SetBinContent(29,7482.688); h_SL3L168->SetBinContent(30,9224.502); h_SL3L168->SetBinContent(31,8792.011); h_SL3L168->SetBinContent(32,7820.387); h_SL3L168->SetBinContent(33,7844.085); h_SL3L168->SetBinContent(34,9117.86); h_SL3L168->SetBinContent(35,8246.954); h_SL3L168->SetBinContent(36,7998.123); h_SL3L168->SetBinContent(37,7867.784); h_SL3L168->SetBinContent(38,8815.709); h_SL3L168->SetBinContent(39,8478.011); h_SL3L168->SetBinContent(40,8134.388); h_SL3L168->SetBinContent(41,7233.858); h_SL3L168->SetBinContent(42,8418.766); h_SL3L168->SetBinContent(43,8306.199); h_SL3L168->SetBinContent(44,7767.066); h_SL3L168->SetBinContent(45,7488.613); h_SL3L168->SetBinContent(46,8934.2); h_SL3L168->SetBinContent(47,8543.181); h_SL3L168->SetBinContent(48,7251.632); h_SL3L168->SetBinContent(50,3933.892); h_SL3L168->SetBinContent(51,4846.27); h_SL3L168->SetBinContent(52,7245.707); h_SL3L168->SetBinContent(53,6511.065); h_SL3L168->SetBinContent(54,7376.047); h_SL3L168->SetBinContent(55,6789.518); h_SL3L168->SetBinContent(56,7263.481); h_SL3L168->SetBinContent(57,6985.028); h_SL3L168->SetBinContent(58,7275.33); h_SL3L168->SetBinContent(59,5308.384); h_SL3L168->SetMaximum(13162.9); 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,527.2837); h_SL3L269->SetBinContent(2,4946.987); h_SL3L269->SetBinContent(4,3939.816); h_SL3L269->SetBinContent(5,6380.725); h_SL3L269->SetBinContent(6,7808.538); h_SL3L269->SetBinContent(7,7376.047); h_SL3L269->SetBinContent(8,7447.142); h_SL3L269->SetBinContent(9,7133.141); h_SL3L269->SetBinContent(10,7921.104); h_SL3L269->SetBinContent(11,8400.991); h_SL3L269->SetBinContent(12,7927.029); h_SL3L269->SetBinContent(13,7239.783); h_SL3L269->SetBinContent(14,8122.539); h_SL3L269->SetBinContent(15,7577.481); h_SL3L269->SetBinContent(16,7352.349); h_SL3L269->SetBinContent(17,7002.801); h_SL3L269->SetBinContent(18,7844.085); h_SL3L269->SetBinContent(19,7814.463); h_SL3L269->SetBinContent(20,7618.953); h_SL3L269->SetBinContent(21,7334.575); h_SL3L269->SetBinContent(22,8235.104); h_SL3L269->SetBinContent(23,8241.029); h_SL3L269->SetBinContent(24,8134.388); h_SL3L269->SetBinContent(25,7684.123); h_SL3L269->SetBinContent(26,8525.407); h_SL3L269->SetBinContent(27,8525.407); h_SL3L269->SetBinContent(28,8276.576); h_SL3L269->SetBinContent(29,7239.783); h_SL3L269->SetBinContent(30,8774.237); h_SL3L269->SetBinContent(31,8774.237); h_SL3L269->SetBinContent(32,8389.143); h_SL3L269->SetBinContent(33,7192.386); h_SL3L269->SetBinContent(34,9123.785); h_SL3L269->SetBinContent(35,8466.161); h_SL3L269->SetBinContent(36,7832.236); h_SL3L269->SetBinContent(37,7672.274); h_SL3L269->SetBinContent(38,8809.784); h_SL3L269->SetBinContent(39,8679.445); h_SL3L269->SetBinContent(40,8116.614); h_SL3L269->SetBinContent(41,7429.368); h_SL3L269->SetBinContent(42,8205.482); h_SL3L269->SetBinContent(43,8217.331); h_SL3L269->SetBinContent(44,8335.822); h_SL3L269->SetBinContent(45,7127.216); h_SL3L269->SetBinContent(46,8762.389); h_SL3L269->SetBinContent(47,8223.256); h_SL3L269->SetBinContent(48,8211.406); h_SL3L269->SetBinContent(49,6582.159); h_SL3L269->SetBinContent(50,7441.217); h_SL3L269->SetBinContent(51,1806.983); h_SL3L269->SetBinContent(52,7109.443); h_SL3L269->SetBinContent(53,6819.141); h_SL3L269->SetBinContent(54,7547.858); h_SL3L269->SetBinContent(55,6878.386); h_SL3L269->SetBinContent(56,6973.179); h_SL3L269->SetBinContent(57,6830.99); h_SL3L269->SetBinContent(58,7180.537); h_SL3L269->SetBinContent(59,6285.933); h_SL3L269->SetMaximum(11446.2); 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,2535.701); h_SL3L370->SetBinContent(2,3086.683); h_SL3L370->SetBinContent(3,1137.511); h_SL3L370->SetBinContent(4,6048.951); h_SL3L370->SetBinContent(5,7174.613); h_SL3L370->SetBinContent(6,7577.481); h_SL3L370->SetBinContent(7,7334.575); h_SL3L370->SetBinContent(8,7192.386); h_SL3L370->SetBinContent(9,7636.727); h_SL3L370->SetBinContent(10,8004.048); h_SL3L370->SetBinContent(11,8223.256); h_SL3L370->SetBinContent(12,7541.934); h_SL3L370->SetBinContent(13,8004.048); h_SL3L370->SetBinContent(14,7725.595); h_SL3L370->SetBinContent(15,7352.349); h_SL3L370->SetBinContent(16,6996.877); h_SL3L370->SetBinContent(17,7832.236); h_SL3L370->SetBinContent(18,7719.67); h_SL3L370->SetBinContent(19,7648.576); h_SL3L370->SetBinContent(20,7541.934); h_SL3L370->SetBinContent(21,7932.954); h_SL3L370->SetBinContent(22,8389.143); h_SL3L370->SetBinContent(23,8098.84); h_SL3L370->SetBinContent(24,7358.273); h_SL3L370->SetBinContent(25,8744.615); h_SL3L370->SetBinContent(26,8555.029); h_SL3L370->SetBinContent(27,8318.048); h_SL3L370->SetBinContent(28,7577.481); h_SL3L370->SetBinContent(29,8448.388); h_SL3L370->SetBinContent(30,8655.747); h_SL3L370->SetBinContent(31,8270.652); h_SL3L370->SetBinContent(32,7589.33); h_SL3L370->SetBinContent(33,8661.671); h_SL3L370->SetBinContent(34,8649.822); h_SL3L370->SetBinContent(35,7927.029); h_SL3L370->SetBinContent(36,7838.161); h_SL3L370->SetBinContent(37,8673.521); h_SL3L370->SetBinContent(38,8282.501); h_SL3L370->SetBinContent(39,8454.312); h_SL3L370->SetBinContent(40,7536.009); h_SL3L370->SetBinContent(41,8288.426); h_SL3L370->SetBinContent(42,8134.388); h_SL3L370->SetBinContent(43,8015.897); h_SL3L370->SetBinContent(44,7992.199); h_SL3L370->SetBinContent(45,9953.22); h_SL3L370->SetBinContent(46,8649.822); h_SL3L370->SetBinContent(47,8110.689); h_SL3L370->SetBinContent(48,7275.33); h_SL3L370->SetBinContent(49,7891.481); h_SL3L370->SetBinContent(50,3868.722); h_SL3L370->SetBinContent(51,4473.024); h_SL3L370->SetBinContent(52,6996.877); h_SL3L370->SetBinContent(53,7506.387); h_SL3L370->SetBinContent(54,7340.5); h_SL3L370->SetBinContent(55,6753.971); h_SL3L370->SetBinContent(56,7032.424); h_SL3L370->SetBinContent(57,6967.254); h_SL3L370->SetBinContent(58,6937.631); h_SL3L370->SetBinContent(59,4858.119); h_SL3L370->SetMaximum(11446.2); 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,4751.478); h_SL3L471->SetBinContent(3,1113.813); h_SL3L471->SetBinContent(4,3625.816); h_SL3L471->SetBinContent(5,6653.253); h_SL3L471->SetBinContent(6,7761.142); h_SL3L471->SetBinContent(7,7328.651); h_SL3L471->SetBinContent(8,7038.349); h_SL3L471->SetBinContent(9,7441.217); h_SL3L471->SetBinContent(10,8051.444); h_SL3L471->SetBinContent(11,7784.84); h_SL3L471->SetBinContent(12,7879.632); h_SL3L471->SetBinContent(13,7684.123); h_SL3L471->SetBinContent(14,8241.029); h_SL3L471->SetBinContent(15,7441.217); h_SL3L471->SetBinContent(16,7192.386); h_SL3L471->SetBinContent(17,7559.708); h_SL3L471->SetBinContent(18,7938.878); h_SL3L471->SetBinContent(19,7808.538); h_SL3L471->SetBinContent(20,7186.462); h_SL3L471->SetBinContent(21,8164.01); h_SL3L471->SetBinContent(22,8318.048); h_SL3L471->SetBinContent(23,7897.406); h_SL3L471->SetBinContent(24,7755.217); h_SL3L471->SetBinContent(25,8116.614); h_SL3L471->SetBinContent(26,8981.597); h_SL3L471->SetBinContent(27,8169.935); h_SL3L471->SetBinContent(28,7998.123); h_SL3L471->SetBinContent(29,8104.765); h_SL3L471->SetBinContent(30,8851.257); h_SL3L471->SetBinContent(31,8294.35); h_SL3L471->SetBinContent(32,8098.84); h_SL3L471->SetBinContent(33,8164.01); h_SL3L471->SetBinContent(34,8620.199); h_SL3L471->SetBinContent(35,8276.576); h_SL3L471->SetBinContent(36,7672.274); h_SL3L471->SetBinContent(37,7873.708); h_SL3L471->SetBinContent(38,8975.672); h_SL3L471->SetBinContent(39,8181.784); h_SL3L471->SetBinContent(40,7891.481); h_SL3L471->SetBinContent(41,7998.123); h_SL3L471->SetBinContent(42,8086.991); h_SL3L471->SetBinContent(43,8116.614); h_SL3L471->SetBinContent(44,8187.708); h_SL3L471->SetBinContent(45,8081.067); h_SL3L471->SetBinContent(46,8608.351); h_SL3L471->SetBinContent(47,8146.237); h_SL3L471->SetBinContent(48,7571.557); h_SL3L471->SetBinContent(49,7299.028); h_SL3L471->SetBinContent(51,1848.455); h_SL3L471->SetBinContent(52,6659.178); h_SL3L471->SetBinContent(53,7139.065); h_SL3L471->SetBinContent(54,7838.161); h_SL3L471->SetBinContent(55,6985.028); h_SL3L471->SetBinContent(56,6742.122); h_SL3L471->SetBinContent(57,7109.443); h_SL3L471->SetBinContent(58,6825.065); h_SL3L471->SetBinContent(59,5829.743); h_SL3L471->SetMaximum(11446.2); 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.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("SL3, run 6185"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }