void RatesPerCell_Removing_noisy_cells_run_7291_SL3() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:36:41 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1489.681,67.5,13407.13); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 7291",60,0,60); h_SL3L168->SetBinContent(1,2297.286); h_SL3L168->SetBinContent(2,3598.372); h_SL3L168->SetBinContent(4,6785.501); h_SL3L168->SetBinContent(5,6771.321); h_SL3L168->SetBinContent(6,8068.862); h_SL3L168->SetBinContent(7,7459.088); h_SL3L168->SetBinContent(8,7654.074); h_SL3L168->SetBinContent(9,7377.549); h_SL3L168->SetBinContent(10,8235.486); h_SL3L168->SetBinContent(11,8058.226); h_SL3L168->SetBinContent(12,7490.995); h_SL3L168->SetBinContent(13,7278.284); h_SL3L168->SetBinContent(14,7856.15); h_SL3L168->SetBinContent(15,8207.124); h_SL3L168->SetBinContent(16,7877.421); h_SL3L168->SetBinContent(17,7239.287); h_SL3L168->SetBinContent(18,8462.379); h_SL3L168->SetBinContent(19,8217.76); h_SL3L168->SetBinContent(20,7405.911); h_SL3L168->SetBinContent(21,7402.365); h_SL3L168->SetBinContent(22,8437.562); h_SL3L168->SetBinContent(23,8274.483); h_SL3L168->SetBinContent(24,7792.337); h_SL3L168->SetBinContent(25,7366.914); h_SL3L168->SetBinContent(26,8412.746); h_SL3L168->SetBinContent(27,8274.483); h_SL3L168->SetBinContent(28,8182.308); h_SL3L168->SetBinContent(29,7310.19); h_SL3L168->SetBinContent(30,8416.291); h_SL3L168->SetBinContent(31,8512.011); h_SL3L168->SetBinContent(32,8426.927); h_SL3L168->SetBinContent(33,7586.715); h_SL3L168->SetBinContent(34,8756.63); h_SL3L168->SetBinContent(35,8965.796); h_SL3L168->SetBinContent(36,8083.042); h_SL3L168->SetBinContent(37,7703.707); h_SL3L168->SetBinContent(38,9011.884); h_SL3L168->SetBinContent(39,8540.373); h_SL3L168->SetBinContent(40,8051.136); h_SL3L168->SetBinContent(41,7817.153); h_SL3L168->SetBinContent(42,8870.076); h_SL3L168->SetBinContent(43,8565.189); h_SL3L168->SetBinContent(44,7338.552); h_SL3L168->SetBinContent(45,2517.088); h_SL3L168->SetBinContent(46,7937.69); h_SL3L168->SetBinContent(47,8260.303); h_SL3L168->SetBinContent(48,7905.783); h_SL3L168->SetBinContent(49,7076.208); h_SL3L168->SetBinContent(50,3676.366); h_SL3L168->SetBinContent(51,4977.453); h_SL3L168->SetBinContent(52,7023.03); h_SL3L168->SetBinContent(53,6686.236); h_SL3L168->SetBinContent(54,7448.453); h_SL3L168->SetBinContent(55,7189.654); h_SL3L168->SetBinContent(56,6959.216); h_SL3L168->SetBinContent(57,6980.487); h_SL3L168->SetBinContent(58,7054.937); h_SL3L168->SetBinContent(59,4644.204); h_SL3L168->SetMaximum(11917.45); 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,609.7734); h_SL3L269->SetBinContent(2,5253.978); h_SL3L269->SetBinContent(4,3715.364); h_SL3L269->SetBinContent(5,6466.434); h_SL3L269->SetBinContent(6,7498.085); h_SL3L269->SetBinContent(7,7572.535); h_SL3L269->SetBinContent(8,7505.176); h_SL3L269->SetBinContent(9,7420.091); h_SL3L269->SetBinContent(10,7919.964); h_SL3L269->SetBinContent(11,8164.582); h_SL3L269->SetBinContent(12,7498.085); h_SL3L269->SetBinContent(13,6909.583); h_SL3L269->SetBinContent(14,8068.862); h_SL3L269->SetBinContent(15,7902.238); h_SL3L269->SetBinContent(16,8012.139); h_SL3L269->SetBinContent(17,7427.182); h_SL3L269->SetBinContent(18,7923.509); h_SL3L269->SetBinContent(19,8327.661); h_SL3L269->SetBinContent(20,7990.868); h_SL3L269->SetBinContent(21,7388.185); h_SL3L269->SetBinContent(22,8185.854); h_SL3L269->SetBinContent(23,8075.952); h_SL3L269->SetBinContent(24,8047.591); h_SL3L269->SetBinContent(25,7203.834); h_SL3L269->SetBinContent(26,8668); h_SL3L269->SetBinContent(27,7994.413); h_SL3L269->SetBinContent(28,8285.119); h_SL3L269->SetBinContent(29,7508.721); h_SL3L269->SetBinContent(30,8235.486); h_SL3L269->SetBinContent(31,8302.845); h_SL3L269->SetBinContent(32,8512.011); h_SL3L269->SetBinContent(33,7700.162); h_SL3L269->SetBinContent(34,8363.113); h_SL3L269->SetBinContent(35,8834.624); h_SL3L269->SetBinContent(36,8561.644); h_SL3L269->SetBinContent(37,7451.998); h_SL3L269->SetBinContent(38,8806.263); h_SL3L269->SetBinContent(39,8558.099); h_SL3L269->SetBinContent(40,8118.495); h_SL3L269->SetBinContent(41,7551.264); h_SL3L269->SetBinContent(42,8799.172); h_SL3L269->SetBinContent(43,8721.178); h_SL3L269->SetBinContent(44,8448.197); h_SL3L269->SetBinContent(45,4417.312); h_SL3L269->SetBinContent(46,4920.729); h_SL3L269->SetBinContent(47,8189.398); h_SL3L269->SetBinContent(48,8192.943); h_SL3L269->SetBinContent(49,7175.473); h_SL3L269->SetBinContent(50,7037.21); h_SL3L269->SetBinContent(51,1793.868); h_SL3L269->SetBinContent(52,7086.843); h_SL3L269->SetBinContent(53,6799.683); h_SL3L269->SetBinContent(54,7388.185); h_SL3L269->SetBinContent(55,7161.292); h_SL3L269->SetBinContent(56,7221.561); h_SL3L269->SetBinContent(57,6966.307); h_SL3L269->SetBinContent(58,7079.753); h_SL3L269->SetBinContent(59,5753.85); h_SL3L269->SetMaximum(10363.67); 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,2701.438); h_SL3L370->SetBinContent(2,3211.946); h_SL3L370->SetBinContent(3,1148.643); h_SL3L370->SetBinContent(4,6026.83); h_SL3L370->SetBinContent(5,6994.668); h_SL3L370->SetBinContent(6,7760.43); h_SL3L370->SetBinContent(7,7161.292); h_SL3L370->SetBinContent(8,7476.814); h_SL3L370->SetBinContent(9,7948.325); h_SL3L370->SetBinContent(10,8015.684); h_SL3L370->SetBinContent(11,7689.526); h_SL3L370->SetBinContent(12,7193.199); h_SL3L370->SetBinContent(13,8047.591); h_SL3L370->SetBinContent(14,7788.792); h_SL3L370->SetBinContent(15,7880.967); h_SL3L370->SetBinContent(16,7526.447); h_SL3L370->SetBinContent(17,7983.777); h_SL3L370->SetBinContent(18,8065.317); h_SL3L370->SetBinContent(19,8015.684); h_SL3L370->SetBinContent(20,7374.004); h_SL3L370->SetBinContent(21,8114.949); h_SL3L370->SetBinContent(22,8157.492); h_SL3L370->SetBinContent(23,7962.506); h_SL3L370->SetBinContent(24,7388.185); h_SL3L370->SetBinContent(25,8029.865); h_SL3L370->SetBinContent(26,8373.749); h_SL3L370->SetBinContent(27,8125.585); h_SL3L370->SetBinContent(28,7852.605); h_SL3L370->SetBinContent(29,8253.212); h_SL3L370->SetBinContent(30,8210.67); h_SL3L370->SetBinContent(31,8317.025); h_SL3L370->SetBinContent(32,7994.413); h_SL3L370->SetBinContent(33,8377.294); h_SL3L370->SetBinContent(34,8409.2); h_SL3L370->SetBinContent(35,8675.09); h_SL3L370->SetBinContent(36,7973.142); h_SL3L370->SetBinContent(37,8476.56); h_SL3L370->SetBinContent(38,8604.187); h_SL3L370->SetBinContent(39,8356.022); h_SL3L370->SetBinContent(40,7561.899); h_SL3L370->SetBinContent(41,8568.734); h_SL3L370->SetBinContent(42,8710.542); h_SL3L370->SetBinContent(43,8547.463); h_SL3L370->SetBinContent(44,7905.783); h_SL3L370->SetBinContent(45,38.99714); h_SL3L370->SetBinContent(46,8299.3); h_SL3L370->SetBinContent(47,7987.322); h_SL3L370->SetBinContent(48,7466.179); h_SL3L370->SetBinContent(49,7778.156); h_SL3L370->SetBinContent(50,3743.725); h_SL3L370->SetBinContent(51,4555.575); h_SL3L370->SetBinContent(52,6693.327); h_SL3L370->SetBinContent(53,7444.908); h_SL3L370->SetBinContent(54,7398.82); h_SL3L370->SetBinContent(55,7033.665); h_SL3L370->SetBinContent(56,7225.105); h_SL3L370->SetBinContent(57,6959.216); h_SL3L370->SetBinContent(58,6516.067); h_SL3L370->SetBinContent(59,4378.315); h_SL3L370->SetMaximum(10363.67); 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,4942); h_SL3L471->SetBinContent(3,1021.016); h_SL3L471->SetBinContent(4,3545.194); h_SL3L471->SetBinContent(5,6842.225); h_SL3L471->SetBinContent(6,7288.919); h_SL3L471->SetBinContent(7,7448.453); h_SL3L471->SetBinContent(8,7182.563); h_SL3L471->SetBinContent(9,7895.147); h_SL3L471->SetBinContent(10,8100.769); h_SL3L471->SetBinContent(11,7895.147); h_SL3L471->SetBinContent(12,7572.535); h_SL3L471->SetBinContent(13,7622.167); h_SL3L471->SetBinContent(14,8129.13); h_SL3L471->SetBinContent(15,7714.342); h_SL3L471->SetBinContent(16,7576.08); h_SL3L471->SetBinContent(17,7735.614); h_SL3L471->SetBinContent(18,8164.582); h_SL3L471->SetBinContent(19,8164.582); h_SL3L471->SetBinContent(20,7611.532); h_SL3L471->SetBinContent(21,7771.065); h_SL3L471->SetBinContent(22,8292.209); h_SL3L471->SetBinContent(23,7838.424); h_SL3L471->SetBinContent(24,7636.348); h_SL3L471->SetBinContent(25,7888.057); h_SL3L471->SetBinContent(26,8593.551); h_SL3L471->SetBinContent(27,8104.314); h_SL3L471->SetBinContent(28,8015.684); h_SL3L471->SetBinContent(29,8065.317); h_SL3L471->SetBinContent(30,8334.751); h_SL3L471->SetBinContent(31,8061.771); h_SL3L471->SetBinContent(32,8366.658); h_SL3L471->SetBinContent(33,8107.859); h_SL3L471->SetBinContent(34,8451.743); h_SL3L471->SetBinContent(35,8745.994); h_SL3L471->SetBinContent(36,8405.655); h_SL3L471->SetBinContent(37,7930.599); h_SL3L471->SetBinContent(38,8912.618); h_SL3L471->SetBinContent(39,8551.008); h_SL3L471->SetBinContent(40,7983.777); h_SL3L471->SetBinContent(41,7973.142); h_SL3L471->SetBinContent(42,9004.793); h_SL3L471->SetBinContent(43,8568.734); h_SL3L471->SetBinContent(44,7983.777); h_SL3L471->SetBinContent(45,5278.794); h_SL3L471->SetBinContent(46,4729.289); h_SL3L471->SetBinContent(47,7916.418); h_SL3L471->SetBinContent(48,7866.786); h_SL3L471->SetBinContent(49,7490.995); h_SL3L471->SetBinContent(50,7296.01); h_SL3L471->SetBinContent(51,1942.766); h_SL3L471->SetBinContent(52,6526.703); h_SL3L471->SetBinContent(53,7179.018); h_SL3L471->SetBinContent(54,7785.247); h_SL3L471->SetBinContent(55,7249.922); h_SL3L471->SetBinContent(56,7171.928); h_SL3L471->SetBinContent(57,6916.674); h_SL3L471->SetBinContent(58,7008.849); h_SL3L471->SetBinContent(59,5275.249); h_SL3L471->SetMaximum(10363.67); 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.3744221,0.9362587,0.6255779,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL3, run 7291"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }