void RatesPerCell_Removing_noisy_cells_run_7521_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:14:55 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-2159.556,67.5,19436.01); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7521",60,0,60); h_SL1L160->SetBinContent(1,3971.428); h_SL1L160->SetBinContent(2,4835.714); h_SL1L160->SetBinContent(3,5892.857); h_SL1L160->SetBinContent(4,6514.286); h_SL1L160->SetBinContent(5,6835.714); h_SL1L160->SetBinContent(6,7171.429); h_SL1L160->SetBinContent(7,7078.571); h_SL1L160->SetBinContent(8,7707.143); h_SL1L160->SetBinContent(9,7507.143); h_SL1L160->SetBinContent(10,7557.143); h_SL1L160->SetBinContent(11,7150); h_SL1L160->SetBinContent(12,7135.714); h_SL1L160->SetBinContent(13,7571.429); h_SL1L160->SetBinContent(14,13064.29); h_SL1L160->SetBinContent(15,11978.57); h_SL1L160->SetBinContent(16,7728.571); h_SL1L160->SetBinContent(17,7778.571); h_SL1L160->SetBinContent(18,7650); h_SL1L160->SetBinContent(19,7450); h_SL1L160->SetBinContent(20,7521.429); h_SL1L160->SetBinContent(21,7521.429); h_SL1L160->SetBinContent(22,7550); h_SL1L160->SetBinContent(23,7742.857); h_SL1L160->SetBinContent(24,7928.571); h_SL1L160->SetBinContent(25,7521.429); h_SL1L160->SetBinContent(26,7657.143); h_SL1L160->SetBinContent(27,7278.571); h_SL1L160->SetBinContent(28,7971.429); h_SL1L160->SetBinContent(29,8071.429); h_SL1L160->SetBinContent(30,7750); h_SL1L160->SetBinContent(31,7907.143); h_SL1L160->SetBinContent(32,7935.714); h_SL1L160->SetBinContent(33,8764.285); h_SL1L160->SetBinContent(34,8864.285); h_SL1L160->SetBinContent(35,7821.429); h_SL1L160->SetBinContent(36,8142.857); h_SL1L160->SetBinContent(37,7842.857); h_SL1L160->SetBinContent(38,8492.857); h_SL1L160->SetBinContent(39,8328.571); h_SL1L160->SetBinContent(41,8228.571); h_SL1L160->SetBinContent(42,8614.285); h_SL1L160->SetBinContent(43,7464.286); h_SL1L160->SetBinContent(44,7107.143); h_SL1L160->SetBinContent(45,8592.857); h_SL1L160->SetBinContent(46,9435.714); h_SL1L160->SetBinContent(47,7478.571); h_SL1L160->SetBinContent(48,7014.286); h_SL1L160->SetBinContent(49,6264.286); h_SL1L160->SetBinContent(50,7092.857); h_SL1L160->SetBinContent(51,7500); h_SL1L160->SetBinContent(52,7057.143); h_SL1L160->SetBinContent(53,7142.857); h_SL1L160->SetBinContent(54,6914.286); h_SL1L160->SetBinContent(55,6235.714); h_SL1L160->SetBinContent(56,6435.714); h_SL1L160->SetMaximum(17276.45); 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,3935.714); h_SL1L261->SetBinContent(2,4314.286); h_SL1L261->SetBinContent(3,5278.571); h_SL1L261->SetBinContent(4,6792.857); h_SL1L261->SetBinContent(5,6750); h_SL1L261->SetBinContent(6,7485.714); h_SL1L261->SetBinContent(7,7285.714); h_SL1L261->SetBinContent(8,7571.429); h_SL1L261->SetBinContent(9,8492.857); h_SL1L261->SetBinContent(10,7492.857); h_SL1L261->SetBinContent(11,7964.286); h_SL1L261->SetBinContent(12,7242.857); h_SL1L261->SetBinContent(13,7792.857); h_SL1L261->SetBinContent(14,7957.143); h_SL1L261->SetBinContent(15,7835.714); h_SL1L261->SetBinContent(16,7957.143); h_SL1L261->SetBinContent(17,8078.571); h_SL1L261->SetBinContent(18,8242.857); h_SL1L261->SetBinContent(19,7714.286); h_SL1L261->SetBinContent(20,7600); h_SL1L261->SetBinContent(21,7900); h_SL1L261->SetBinContent(22,7985.714); h_SL1L261->SetBinContent(23,8164.286); h_SL1L261->SetBinContent(24,8085.714); h_SL1L261->SetBinContent(25,8485.714); h_SL1L261->SetBinContent(26,7692.857); h_SL1L261->SetBinContent(27,8107.143); h_SL1L261->SetBinContent(28,7892.857); h_SL1L261->SetBinContent(29,8650); h_SL1L261->SetBinContent(30,8685.714); h_SL1L261->SetBinContent(31,7900); h_SL1L261->SetBinContent(32,8435.714); h_SL1L261->SetBinContent(33,8614.285); h_SL1L261->SetBinContent(34,9071.429); h_SL1L261->SetBinContent(35,8785.714); h_SL1L261->SetBinContent(36,7507.143); h_SL1L261->SetBinContent(37,7992.857); h_SL1L261->SetBinContent(38,8742.857); h_SL1L261->SetBinContent(39,8300); h_SL1L261->SetBinContent(40,8792.857); h_SL1L261->SetBinContent(41,8400); h_SL1L261->SetBinContent(42,8878.571); h_SL1L261->SetBinContent(43,8278.571); h_SL1L261->SetBinContent(44,7592.857); h_SL1L261->SetBinContent(45,8571.429); h_SL1L261->SetBinContent(46,9507.143); h_SL1L261->SetBinContent(47,8935.714); h_SL1L261->SetBinContent(48,7550); h_SL1L261->SetBinContent(49,7528.571); h_SL1L261->SetBinContent(50,6507.143); h_SL1L261->SetBinContent(51,7821.429); h_SL1L261->SetBinContent(52,7707.143); h_SL1L261->SetBinContent(53,7885.714); h_SL1L261->SetBinContent(54,7914.286); h_SL1L261->SetBinContent(55,6892.857); h_SL1L261->SetBinContent(56,7028.571); h_SL1L261->SetMaximum(15023.93); 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,4064.286); h_SL1L362->SetBinContent(2,4771.429); h_SL1L362->SetBinContent(3,5821.429); h_SL1L362->SetBinContent(4,7114.286); h_SL1L362->SetBinContent(5,7114.286); h_SL1L362->SetBinContent(6,7378.571); h_SL1L362->SetBinContent(7,7707.143); h_SL1L362->SetBinContent(8,8085.714); h_SL1L362->SetBinContent(9,8085.714); h_SL1L362->SetBinContent(10,7692.857); h_SL1L362->SetBinContent(11,7635.714); h_SL1L362->SetBinContent(12,7842.857); h_SL1L362->SetBinContent(13,7678.571); h_SL1L362->SetBinContent(14,7764.286); h_SL1L362->SetBinContent(15,7871.429); h_SL1L362->SetBinContent(16,8200); h_SL1L362->SetBinContent(17,8407.143); h_SL1L362->SetBinContent(18,7771.429); h_SL1L362->SetBinContent(19,8007.143); h_SL1L362->SetBinContent(20,7885.714); h_SL1L362->SetBinContent(21,8221.429); h_SL1L362->SetBinContent(22,8071.429); h_SL1L362->SetBinContent(23,8171.429); h_SL1L362->SetBinContent(24,8428.571); h_SL1L362->SetBinContent(25,8385.714); h_SL1L362->SetBinContent(26,7942.857); h_SL1L362->SetBinContent(27,7685.714); h_SL1L362->SetBinContent(28,8400); h_SL1L362->SetBinContent(29,8385.714); h_SL1L362->SetBinContent(30,8200); h_SL1L362->SetBinContent(31,8464.285); h_SL1L362->SetBinContent(32,8378.571); h_SL1L362->SetBinContent(33,9057.143); h_SL1L362->SetBinContent(34,8814.285); h_SL1L362->SetBinContent(35,8121.429); h_SL1L362->SetBinContent(36,8478.571); h_SL1L362->SetBinContent(37,8207.143); h_SL1L362->SetBinContent(38,8692.857); h_SL1L362->SetBinContent(39,8435.714); h_SL1L362->SetBinContent(40,8585.714); h_SL1L362->SetBinContent(41,8707.143); h_SL1L362->SetBinContent(42,8635.714); h_SL1L362->SetBinContent(43,8314.285); h_SL1L362->SetBinContent(44,7371.429); h_SL1L362->SetBinContent(45,9142.857); h_SL1L362->SetBinContent(46,9900); h_SL1L362->SetBinContent(47,7700); h_SL1L362->SetBinContent(48,7642.857); h_SL1L362->SetBinContent(49,7021.429); h_SL1L362->SetBinContent(50,7214.286); h_SL1L362->SetBinContent(51,7928.571); h_SL1L362->SetBinContent(52,7728.571); h_SL1L362->SetBinContent(53,7550); h_SL1L362->SetBinContent(54,7592.857); h_SL1L362->SetBinContent(55,6800); h_SL1L362->SetBinContent(56,6900); h_SL1L362->SetMaximum(15023.93); 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,2407.143); h_SL1L463->SetBinContent(3,2614.286); h_SL1L463->SetBinContent(4,3200); h_SL1L463->SetBinContent(5,3228.571); h_SL1L463->SetBinContent(6,3621.428); h_SL1L463->SetBinContent(7,3835.714); h_SL1L463->SetBinContent(8,3792.857); h_SL1L463->SetBinContent(9,4442.857); h_SL1L463->SetBinContent(10,4014.286); h_SL1L463->SetBinContent(11,3928.571); h_SL1L463->SetBinContent(12,4450); h_SL1L463->SetBinContent(13,4421.429); h_SL1L463->SetBinContent(14,4828.571); h_SL1L463->SetBinContent(15,11771.43); h_SL1L463->SetBinContent(16,6828.571); h_SL1L463->SetBinContent(17,4457.143); h_SL1L463->SetBinContent(18,3914.286); h_SL1L463->SetBinContent(19,4064.286); h_SL1L463->SetBinContent(20,3871.428); h_SL1L463->SetBinContent(21,3757.143); h_SL1L463->SetBinContent(22,4128.571); h_SL1L463->SetBinContent(23,4028.571); h_SL1L463->SetBinContent(24,3842.857); h_SL1L463->SetBinContent(25,3828.571); h_SL1L463->SetBinContent(26,3707.143); h_SL1L463->SetBinContent(27,3864.286); h_SL1L463->SetBinContent(28,3314.286); h_SL1L463->SetBinContent(29,3421.428); h_SL1L463->SetBinContent(30,3492.857); h_SL1L463->SetBinContent(31,3792.857); h_SL1L463->SetBinContent(32,3550); h_SL1L463->SetBinContent(33,3557.143); h_SL1L463->SetBinContent(34,4364.286); h_SL1L463->SetBinContent(35,4085.714); h_SL1L463->SetBinContent(36,3678.571); h_SL1L463->SetBinContent(37,14.28571); h_SL1L463->SetBinContent(41,3521.428); h_SL1L463->SetBinContent(42,3507.143); h_SL1L463->SetBinContent(43,3735.714); h_SL1L463->SetBinContent(44,3571.428); h_SL1L463->SetBinContent(45,3528.571); h_SL1L463->SetBinContent(46,4164.286); h_SL1L463->SetBinContent(47,3292.857); h_SL1L463->SetBinContent(48,2914.286); h_SL1L463->SetBinContent(49,2971.428); h_SL1L463->SetBinContent(50,2557.143); h_SL1L463->SetBinContent(51,3050); h_SL1L463->SetBinContent(52,3121.428); h_SL1L463->SetBinContent(53,3242.857); h_SL1L463->SetBinContent(54,2928.571); h_SL1L463->SetBinContent(55,7.142857); h_SL1L463->SetBinContent(56,2857.143); h_SL1L463->SetMaximum(15023.93); 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.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("SL1, run 7521"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }