void RatesPerCell_Removing_noisy_cells_run_7356_SL3() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:09:26 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1619.919,67.5,14579.27); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 7356",60,0,60); h_SL3L168->SetBinContent(1,1669.259); h_SL3L168->SetBinContent(2,3633.093); h_SL3L168->SetBinContent(4,6873.419); h_SL3L168->SetBinContent(5,6834.142); h_SL3L168->SetBinContent(6,8248.103); h_SL3L168->SetBinContent(7,8051.719); h_SL3L168->SetBinContent(8,8149.911); h_SL3L168->SetBinContent(9,7384.016); h_SL3L168->SetBinContent(10,8071.358); h_SL3L168->SetBinContent(11,8405.21); h_SL3L168->SetBinContent(12,8071.358); h_SL3L168->SetBinContent(13,7521.484); h_SL3L168->SetBinContent(14,8012.443); h_SL3L168->SetBinContent(15,7835.698); h_SL3L168->SetBinContent(16,7796.421); h_SL3L168->SetBinContent(17,6912.696); h_SL3L168->SetBinContent(18,8581.954); h_SL3L168->SetBinContent(19,8012.443); h_SL3L168->SetBinContent(20,7678.591); h_SL3L168->SetBinContent(21,7501.846); h_SL3L168->SetBinContent(22,7973.166); h_SL3L168->SetBinContent(23,8562.316); h_SL3L168->SetBinContent(24,7855.336); h_SL3L168->SetBinContent(25,7796.421); h_SL3L168->SetBinContent(26,9033.637); h_SL3L168->SetBinContent(27,9151.467); h_SL3L168->SetBinContent(28,7678.591); h_SL3L168->SetBinContent(29,8346.295); h_SL3L168->SetBinContent(30,9112.189); h_SL3L168->SetBinContent(31,8149.911); h_SL3L168->SetBinContent(32,8660.508); h_SL3L168->SetBinContent(33,8523.04); h_SL3L168->SetBinContent(34,9426.403); h_SL3L168->SetBinContent(35,8640.869); h_SL3L168->SetBinContent(36,7658.953); h_SL3L168->SetBinContent(37,8621.231); h_SL3L168->SetBinContent(38,8503.401); h_SL3L168->SetBinContent(39,9171.104); h_SL3L168->SetBinContent(40,8090.996); h_SL3L168->SetBinContent(41,8817.614); h_SL3L168->SetBinContent(42,9112.189); h_SL3L168->SetBinContent(43,8523.04); h_SL3L168->SetBinContent(44,7855.336); h_SL3L168->SetBinContent(45,4791.755); h_SL3L168->SetBinContent(46,8444.486); h_SL3L168->SetBinContent(47,8464.125); h_SL3L168->SetBinContent(48,7128.717); h_SL3L168->SetBinContent(49,6618.121); h_SL3L168->SetBinContent(50,3475.986); h_SL3L168->SetBinContent(51,5204.16); h_SL3L168->SetBinContent(52,6225.354); h_SL3L168->SetBinContent(53,6441.375); h_SL3L168->SetBinContent(54,7109.079); h_SL3L168->SetBinContent(55,7187.632); h_SL3L168->SetBinContent(56,6834.142); h_SL3L168->SetBinContent(57,6814.504); h_SL3L168->SetBinContent(58,6461.014); h_SL3L168->SetBinContent(59,4575.733); h_SL3L168->SetMaximum(12959.35); 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,530.2352); h_SL3L269->SetBinContent(2,4811.393); h_SL3L269->SetBinContent(4,3986.583); h_SL3L269->SetBinContent(5,5989.694); h_SL3L269->SetBinContent(6,8248.103); h_SL3L269->SetBinContent(7,8090.996); h_SL3L269->SetBinContent(8,7874.974); h_SL3L269->SetBinContent(9,7992.804); h_SL3L269->SetBinContent(10,7953.528); h_SL3L269->SetBinContent(11,8228.465); h_SL3L269->SetBinContent(12,8051.719); h_SL3L269->SetBinContent(13,7992.804); h_SL3L269->SetBinContent(14,7816.059); h_SL3L269->SetBinContent(15,8169.549); h_SL3L269->SetBinContent(16,7403.654); h_SL3L269->SetBinContent(17,6912.696); h_SL3L269->SetBinContent(18,7757.145); h_SL3L269->SetBinContent(19,8621.231); h_SL3L269->SetBinContent(20,7442.931); h_SL3L269->SetBinContent(21,7226.909); h_SL3L269->SetBinContent(22,7953.528); h_SL3L269->SetBinContent(23,8287.38); h_SL3L269->SetBinContent(24,8208.826); h_SL3L269->SetBinContent(25,7462.569); h_SL3L269->SetBinContent(26,8365.933); h_SL3L269->SetBinContent(27,9544.233); h_SL3L269->SetBinContent(28,8169.549); h_SL3L269->SetBinContent(29,7226.909); h_SL3L269->SetBinContent(30,9465.68); h_SL3L269->SetBinContent(31,8856.892); h_SL3L269->SetBinContent(32,7501.846); h_SL3L269->SetBinContent(33,8424.848); h_SL3L269->SetBinContent(34,9269.297); h_SL3L269->SetBinContent(35,8601.593); h_SL3L269->SetBinContent(36,8169.549); h_SL3L269->SetBinContent(37,7462.569); h_SL3L269->SetBinContent(38,8837.253); h_SL3L269->SetBinContent(39,8699.784); h_SL3L269->SetBinContent(40,8208.826); h_SL3L269->SetBinContent(41,8346.295); h_SL3L269->SetBinContent(42,8935.444); h_SL3L269->SetBinContent(43,9092.552); h_SL3L269->SetBinContent(44,8346.295); h_SL3L269->SetBinContent(45,5812.949); h_SL3L269->SetBinContent(46,6382.46); h_SL3L269->SetBinContent(47,8640.869); h_SL3L269->SetBinContent(48,7580.399); h_SL3L269->SetBinContent(49,6794.866); h_SL3L269->SetBinContent(50,6755.589); h_SL3L269->SetBinContent(51,1963.834); h_SL3L269->SetBinContent(52,6696.674); h_SL3L269->SetBinContent(53,6323.545); h_SL3L269->SetBinContent(54,6893.057); h_SL3L269->SetBinContent(55,7226.909); h_SL3L269->SetBinContent(56,7462.569); h_SL3L269->SetBinContent(57,6323.545); h_SL3L269->SetBinContent(58,6461.014); h_SL3L269->SetBinContent(59,5675.48); h_SL3L269->SetMaximum(11269.46); 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,2552.984); h_SL3L370->SetBinContent(2,3024.304); h_SL3L370->SetBinContent(3,1335.407); h_SL3L370->SetBinContent(4,6264.63); h_SL3L370->SetBinContent(5,6755.589); h_SL3L370->SetBinContent(6,8385.571); h_SL3L370->SetBinContent(7,7600.038); h_SL3L370->SetBinContent(8,7816.059); h_SL3L370->SetBinContent(9,8424.848); h_SL3L370->SetBinContent(10,7874.974); h_SL3L370->SetBinContent(11,7874.974); h_SL3L370->SetBinContent(12,7816.059); h_SL3L370->SetBinContent(13,8130.273); h_SL3L370->SetBinContent(14,8169.549); h_SL3L370->SetBinContent(15,7384.016); h_SL3L370->SetBinContent(16,6912.696); h_SL3L370->SetBinContent(17,8130.273); h_SL3L370->SetBinContent(18,8365.933); h_SL3L370->SetBinContent(19,7737.506); h_SL3L370->SetBinContent(20,7364.377); h_SL3L370->SetBinContent(21,8267.741); h_SL3L370->SetBinContent(22,7442.931); h_SL3L370->SetBinContent(23,8189.188); h_SL3L370->SetBinContent(24,7776.783); h_SL3L370->SetBinContent(25,8189.188); h_SL3L370->SetBinContent(26,8739.062); h_SL3L370->SetBinContent(27,9053.274); h_SL3L370->SetBinContent(28,7462.569); h_SL3L370->SetBinContent(29,8189.188); h_SL3L370->SetBinContent(30,9092.552); h_SL3L370->SetBinContent(31,8051.719); h_SL3L370->SetBinContent(32,7442.931); h_SL3L370->SetBinContent(33,9799.531); h_SL3L370->SetBinContent(34,8542.678); h_SL3L370->SetBinContent(35,8385.571); h_SL3L370->SetBinContent(36,7973.166); h_SL3L370->SetBinContent(37,8601.593); h_SL3L370->SetBinContent(38,8542.678); h_SL3L370->SetBinContent(39,8876.529); h_SL3L370->SetBinContent(40,8130.273); h_SL3L370->SetBinContent(41,9131.828); h_SL3L370->SetBinContent(42,8896.168); h_SL3L370->SetBinContent(43,8287.38); h_SL3L370->SetBinContent(44,8287.38); h_SL3L370->SetBinContent(45,3456.348); h_SL3L370->SetBinContent(46,8542.678); h_SL3L370->SetBinContent(47,8248.103); h_SL3L370->SetBinContent(48,7246.547); h_SL3L370->SetBinContent(49,7305.462); h_SL3L370->SetBinContent(50,3593.816); h_SL3L370->SetBinContent(51,4595.372); h_SL3L370->SetBinContent(52,6068.247); h_SL3L370->SetBinContent(53,6932.334); h_SL3L370->SetBinContent(54,7187.632); h_SL3L370->SetBinContent(55,7501.846); h_SL3L370->SetBinContent(56,6637.759); h_SL3L370->SetBinContent(57,6284.269); h_SL3L370->SetBinContent(58,5989.694); h_SL3L370->SetBinContent(59,4281.158); h_SL3L370->SetMaximum(11269.46); 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,4536.457); h_SL3L471->SetBinContent(3,962.2787); h_SL3L471->SetBinContent(4,3947.306); h_SL3L471->SetBinContent(5,6480.652); h_SL3L471->SetBinContent(6,7717.868); h_SL3L471->SetBinContent(7,7717.868); h_SL3L471->SetBinContent(8,7757.145); h_SL3L471->SetBinContent(9,8032.081); h_SL3L471->SetBinContent(10,8562.316); h_SL3L471->SetBinContent(11,7776.783); h_SL3L471->SetBinContent(12,7167.994); h_SL3L471->SetBinContent(13,8365.933); h_SL3L471->SetBinContent(14,8090.996); h_SL3L471->SetBinContent(15,8012.443); h_SL3L471->SetBinContent(16,7187.632); h_SL3L471->SetBinContent(17,7089.441); h_SL3L471->SetBinContent(18,8385.571); h_SL3L471->SetBinContent(19,8778.338); h_SL3L471->SetBinContent(20,7167.994); h_SL3L471->SetBinContent(21,7030.526); h_SL3L471->SetBinContent(22,8464.125); h_SL3L471->SetBinContent(23,8326.656); h_SL3L471->SetBinContent(24,7541.123); h_SL3L471->SetBinContent(25,8032.081); h_SL3L471->SetBinContent(26,8640.869); h_SL3L471->SetBinContent(27,9249.658); h_SL3L471->SetBinContent(28,8307.018); h_SL3L471->SetBinContent(29,7560.761); h_SL3L471->SetBinContent(30,8974.722); h_SL3L471->SetBinContent(31,8621.231); h_SL3L471->SetBinContent(32,7364.377); h_SL3L471->SetBinContent(33,8837.253); h_SL3L471->SetBinContent(34,9347.85); h_SL3L471->SetBinContent(35,8601.593); h_SL3L471->SetBinContent(36,8169.549); h_SL3L471->SetBinContent(37,7855.336); h_SL3L471->SetBinContent(38,8856.892); h_SL3L471->SetBinContent(39,9131.828); h_SL3L471->SetBinContent(40,7953.528); h_SL3L471->SetBinContent(41,8699.784); h_SL3L471->SetBinContent(42,9190.743); h_SL3L471->SetBinContent(43,9072.913); h_SL3L471->SetBinContent(44,8208.826); h_SL3L471->SetBinContent(45,6578.844); h_SL3L471->SetBinContent(46,6343.184); h_SL3L471->SetBinContent(47,8012.443); h_SL3L471->SetBinContent(48,8110.634); h_SL3L471->SetBinContent(49,7167.994); h_SL3L471->SetBinContent(50,6775.228); h_SL3L471->SetBinContent(51,2199.494); h_SL3L471->SetBinContent(52,6303.907); h_SL3L471->SetBinContent(53,6814.504); h_SL3L471->SetBinContent(54,7541.123); h_SL3L471->SetBinContent(55,6598.482); h_SL3L471->SetBinContent(56,7600.038); h_SL3L471->SetBinContent(57,6186.077); h_SL3L471->SetBinContent(58,5891.502); h_SL3L471->SetBinContent(59,5695.119); h_SL3L471->SetMaximum(11269.46); 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 7356"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }