void RatesPerCell_Removing_noisy_cells_run_7356_SL1() { //=========Macro generated from canvas: c/c //========= (Thu Dec 27 12:28:54 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-2006.175,67.5,18055.58); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7356",60,0,60); h_SL1L160->SetBinContent(1,3554.54); h_SL1L160->SetBinContent(2,3868.753); h_SL1L160->SetBinContent(3,4988.138); h_SL1L160->SetBinContent(4,5420.182); h_SL1L160->SetBinContent(5,6461.014); h_SL1L160->SetBinContent(6,6048.609); h_SL1L160->SetBinContent(7,6519.929); h_SL1L160->SetBinContent(8,6441.375); h_SL1L160->SetBinContent(9,7167.994); h_SL1L160->SetBinContent(10,7521.484); h_SL1L160->SetBinContent(11,5950.417); h_SL1L160->SetBinContent(12,6480.652); h_SL1L160->SetBinContent(13,7207.271); h_SL1L160->SetBinContent(14,11841.92); h_SL1L160->SetBinContent(15,9740.616); h_SL1L160->SetBinContent(16,5989.694); h_SL1L160->SetBinContent(17,6637.759); h_SL1L160->SetBinContent(18,6696.674); h_SL1L160->SetBinContent(19,6598.482); h_SL1L160->SetBinContent(20,6421.737); h_SL1L160->SetBinContent(21,7305.462); h_SL1L160->SetBinContent(22,6618.121); h_SL1L160->SetBinContent(23,6971.611); h_SL1L160->SetBinContent(24,7187.632); h_SL1L160->SetBinContent(25,7521.484); h_SL1L160->SetBinContent(26,8307.018); h_SL1L160->SetBinContent(27,6755.589); h_SL1L160->SetBinContent(28,7089.441); h_SL1L160->SetBinContent(29,7207.271); h_SL1L160->SetBinContent(30,7639.314); h_SL1L160->SetBinContent(31,7050.164); h_SL1L160->SetBinContent(32,7600.038); h_SL1L160->SetBinContent(33,7737.506); h_SL1L160->SetBinContent(34,8012.443); h_SL1L160->SetBinContent(35,7285.824); h_SL1L160->SetBinContent(36,7658.953); h_SL1L160->SetBinContent(37,8032.081); h_SL1L160->SetBinContent(38,7344.739); h_SL1L160->SetBinContent(39,6598.482); h_SL1L160->SetBinContent(41,6912.696); h_SL1L160->SetBinContent(42,7167.994); h_SL1L160->SetBinContent(43,5714.757); h_SL1L160->SetBinContent(44,6264.63); h_SL1L160->SetBinContent(45,6755.589); h_SL1L160->SetBinContent(46,6578.844); h_SL1L160->SetBinContent(47,4850.67); h_SL1L160->SetBinContent(48,4831.032); h_SL1L160->SetBinContent(49,5243.437); h_SL1L160->SetBinContent(50,4831.032); h_SL1L160->SetBinContent(51,4575.733); h_SL1L160->SetBinContent(52,5302.352); h_SL1L160->SetBinContent(53,5675.48); h_SL1L160->SetBinContent(54,5027.415); h_SL1L160->SetBinContent(55,4320.435); h_SL1L160->SetBinContent(56,3947.306); h_SL1L160->SetMaximum(16049.4); 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,2533.346); h_SL1L261->SetBinContent(2,4182.966); h_SL1L261->SetBinContent(3,4516.818); h_SL1L261->SetBinContent(4,5754.034); h_SL1L261->SetBinContent(5,5911.14); h_SL1L261->SetBinContent(6,6382.46); h_SL1L261->SetBinContent(7,6951.972); h_SL1L261->SetBinContent(8,6539.567); h_SL1L261->SetBinContent(9,7462.569); h_SL1L261->SetBinContent(10,7658.953); h_SL1L261->SetBinContent(11,6834.142); h_SL1L261->SetBinContent(12,6578.844); h_SL1L261->SetBinContent(13,7148.356); h_SL1L261->SetBinContent(14,7698.229); h_SL1L261->SetBinContent(15,7717.868); h_SL1L261->SetBinContent(16,6264.63); h_SL1L261->SetBinContent(17,7069.802); h_SL1L261->SetBinContent(18,7305.462); h_SL1L261->SetBinContent(19,6107.524); h_SL1L261->SetBinContent(20,6716.312); h_SL1L261->SetBinContent(21,6912.696); h_SL1L261->SetBinContent(22,7442.931); h_SL1L261->SetBinContent(23,6775.228); h_SL1L261->SetBinContent(24,6637.759); h_SL1L261->SetBinContent(25,7639.314); h_SL1L261->SetBinContent(26,8542.678); h_SL1L261->SetBinContent(27,7089.441); h_SL1L261->SetBinContent(28,7226.909); h_SL1L261->SetBinContent(29,7560.761); h_SL1L261->SetBinContent(30,7285.824); h_SL1L261->SetBinContent(31,7619.676); h_SL1L261->SetBinContent(32,7482.208); h_SL1L261->SetBinContent(33,8169.549); h_SL1L261->SetBinContent(34,7796.421); h_SL1L261->SetBinContent(35,7600.038); h_SL1L261->SetBinContent(36,7364.377); h_SL1L261->SetBinContent(37,8208.826); h_SL1L261->SetBinContent(38,7482.208); h_SL1L261->SetBinContent(39,7658.953); h_SL1L261->SetBinContent(40,7462.569); h_SL1L261->SetBinContent(41,7167.994); h_SL1L261->SetBinContent(42,7501.846); h_SL1L261->SetBinContent(43,6932.334); h_SL1L261->SetBinContent(44,6205.715); h_SL1L261->SetBinContent(45,6912.696); h_SL1L261->SetBinContent(46,6480.652); h_SL1L261->SetBinContent(47,6598.482); h_SL1L261->SetBinContent(48,4870.308); h_SL1L261->SetBinContent(49,5125.607); h_SL1L261->SetBinContent(50,5380.905); h_SL1L261->SetBinContent(51,4320.435); h_SL1L261->SetBinContent(52,5125.607); h_SL1L261->SetBinContent(53,6028.97); h_SL1L261->SetBinContent(54,5321.99); h_SL1L261->SetBinContent(55,4732.84); h_SL1L261->SetBinContent(56,4752.479); h_SL1L261->SetMaximum(13956.97); 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,3161.773); h_SL1L362->SetBinContent(2,3829.476); h_SL1L362->SetBinContent(3,5302.352); h_SL1L362->SetBinContent(4,6048.609); h_SL1L362->SetBinContent(5,6677.036); h_SL1L362->SetBinContent(6,6186.077); h_SL1L362->SetBinContent(7,6814.504); h_SL1L362->SetBinContent(8,7089.441); h_SL1L362->SetBinContent(9,7639.314); h_SL1L362->SetBinContent(10,7776.783); h_SL1L362->SetBinContent(11,7050.164); h_SL1L362->SetBinContent(12,6559.206); h_SL1L362->SetBinContent(13,7600.038); h_SL1L362->SetBinContent(14,7246.547); h_SL1L362->SetBinContent(15,7246.547); h_SL1L362->SetBinContent(16,6146.8); h_SL1L362->SetBinContent(17,7246.547); h_SL1L362->SetBinContent(18,7128.717); h_SL1L362->SetBinContent(19,6068.247); h_SL1L362->SetBinContent(20,6716.312); h_SL1L362->SetBinContent(21,7521.484); h_SL1L362->SetBinContent(22,6932.334); h_SL1L362->SetBinContent(23,6755.589); h_SL1L362->SetBinContent(24,7364.377); h_SL1L362->SetBinContent(25,8012.443); h_SL1L362->SetBinContent(26,8032.081); h_SL1L362->SetBinContent(27,6755.589); h_SL1L362->SetBinContent(28,7835.698); h_SL1L362->SetBinContent(29,8071.358); h_SL1L362->SetBinContent(30,7325.101); h_SL1L362->SetBinContent(31,7344.739); h_SL1L362->SetBinContent(32,7796.421); h_SL1L362->SetBinContent(33,8071.358); h_SL1L362->SetBinContent(34,7835.698); h_SL1L362->SetBinContent(35,7344.739); h_SL1L362->SetBinContent(36,8307.018); h_SL1L362->SetBinContent(37,7816.059); h_SL1L362->SetBinContent(38,7442.931); h_SL1L362->SetBinContent(39,6834.142); h_SL1L362->SetBinContent(40,7423.292); h_SL1L362->SetBinContent(41,7737.506); h_SL1L362->SetBinContent(42,7501.846); h_SL1L362->SetBinContent(43,5871.864); h_SL1L362->SetBinContent(44,6362.822); h_SL1L362->SetBinContent(45,7128.717); h_SL1L362->SetBinContent(46,7050.164); h_SL1L362->SetBinContent(47,5223.798); h_SL1L362->SetBinContent(48,5027.415); h_SL1L362->SetBinContent(49,5616.565); h_SL1L362->SetBinContent(50,4870.308); h_SL1L362->SetBinContent(51,4418.626); h_SL1L362->SetBinContent(52,5596.927); h_SL1L362->SetBinContent(53,5911.14); h_SL1L362->SetBinContent(54,5420.182); h_SL1L362->SetBinContent(55,4595.372); h_SL1L362->SetBinContent(56,4438.265); h_SL1L362->SetMaximum(13956.97); 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,3456.348); h_SL1L463->SetBinContent(3,3574.178); h_SL1L463->SetBinContent(4,4673.925); h_SL1L463->SetBinContent(5,5263.075); h_SL1L463->SetBinContent(6,5361.267); h_SL1L463->SetBinContent(7,5655.842); h_SL1L463->SetBinContent(8,5793.31); h_SL1L463->SetBinContent(9,6362.822); h_SL1L463->SetBinContent(10,6127.162); h_SL1L463->SetBinContent(11,5734.396); h_SL1L463->SetBinContent(12,5793.31); h_SL1L463->SetBinContent(13,6480.652); h_SL1L463->SetBinContent(14,6480.652); h_SL1L463->SetBinContent(15,12136.49); h_SL1L463->SetBinContent(16,7069.802); h_SL1L463->SetBinContent(17,5773.672); h_SL1L463->SetBinContent(18,6578.844); h_SL1L463->SetBinContent(19,5105.968); h_SL1L463->SetBinContent(20,5655.842); h_SL1L463->SetBinContent(21,5439.82); h_SL1L463->SetBinContent(22,5871.864); h_SL1L463->SetBinContent(23,5577.289); h_SL1L463->SetBinContent(24,5675.48); h_SL1L463->SetBinContent(25,6146.8); h_SL1L463->SetBinContent(26,6500.291); h_SL1L463->SetBinContent(27,5636.204); h_SL1L463->SetBinContent(28,6028.97); h_SL1L463->SetBinContent(29,6323.545); h_SL1L463->SetBinContent(30,5871.864); h_SL1L463->SetBinContent(31,5714.757); h_SL1L463->SetBinContent(32,5636.204); h_SL1L463->SetBinContent(33,6500.291); h_SL1L463->SetBinContent(34,6696.674); h_SL1L463->SetBinContent(35,6343.184); h_SL1L463->SetBinContent(36,6461.014); h_SL1L463->SetBinContent(41,6461.014); h_SL1L463->SetBinContent(42,5970.055); h_SL1L463->SetBinContent(43,5400.543); h_SL1L463->SetBinContent(44,4673.925); h_SL1L463->SetBinContent(45,5302.352); h_SL1L463->SetBinContent(46,5321.99); h_SL1L463->SetBinContent(47,4850.67); h_SL1L463->SetBinContent(48,3849.115); h_SL1L463->SetBinContent(49,4438.265); h_SL1L463->SetBinContent(50,4615.01); h_SL1L463->SetBinContent(51,3652.731); h_SL1L463->SetBinContent(52,3966.945); h_SL1L463->SetBinContent(53,4948.862); h_SL1L463->SetBinContent(54,4418.626); h_SL1L463->SetBinContent(56,3908.03); h_SL1L463->SetMaximum(13956.97); 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 7356"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }