void RatesPerCell_Removing_noisy_cells_run_7057_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:12:10 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-2197.65,67.5,19778.85); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7057",60,0,60); h_SL1L160->SetBinContent(1,2881.719); h_SL1L160->SetBinContent(2,3425.44); h_SL1L160->SetBinContent(3,4159.462); h_SL1L160->SetBinContent(4,3887.602); h_SL1L160->SetBinContent(5,4866.299); h_SL1L160->SetBinContent(6,5410.02); h_SL1L160->SetBinContent(7,5083.788); h_SL1L160->SetBinContent(8,4376.951); h_SL1L160->SetBinContent(9,4975.043); h_SL1L160->SetBinContent(10,5518.764); h_SL1L160->SetBinContent(11,5736.252); h_SL1L160->SetBinContent(12,5274.09); h_SL1L160->SetBinContent(13,9651.04); h_SL1L160->SetBinContent(14,10955.97); h_SL1L160->SetBinContent(15,10276.32); h_SL1L160->SetBinContent(16,5301.276); h_SL1L160->SetBinContent(17,5491.578); h_SL1L160->SetBinContent(18,5518.764); h_SL1L160->SetBinContent(19,5709.066); h_SL1L160->SetBinContent(20,6687.763); h_SL1L160->SetBinContent(21,6633.391); h_SL1L160->SetBinContent(22,6361.531); h_SL1L160->SetBinContent(23,5545.95); h_SL1L160->SetBinContent(24,5627.508); h_SL1L160->SetBinContent(25,6687.763); h_SL1L160->SetBinContent(26,6334.345); h_SL1L160->SetBinContent(27,5899.368); h_SL1L160->SetBinContent(28,6008.112); h_SL1L160->SetBinContent(29,6307.159); h_SL1L160->SetBinContent(30,5980.926); h_SL1L160->SetBinContent(31,5328.462); h_SL1L160->SetBinContent(32,6116.856); h_SL1L160->SetBinContent(49,5165.346); h_SL1L160->SetBinContent(50,5763.438); h_SL1L160->SetBinContent(51,5355.648); h_SL1L160->SetBinContent(52,5600.322); h_SL1L160->SetBinContent(53,5002.229); h_SL1L160->SetBinContent(54,4811.927); h_SL1L160->SetBinContent(55,4322.579); h_SL1L160->SetBinContent(56,3697.3); h_SL1L160->SetMaximum(17581.2); 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,299.0463); h_SL1L261->SetBinContent(2,489.3485); h_SL1L261->SetBinContent(3,1304.929); h_SL1L261->SetBinContent(4,353.4184); h_SL1L261->SetBinContent(5,271.8603); h_SL1L261->SetBinContent(6,163.1162); h_SL1L261->SetBinContent(7,326.2324); h_SL1L261->SetBinContent(8,163.1162); h_SL1L261->SetBinContent(9,4050.719); h_SL1L261->SetBinContent(10,244.6743); h_SL1L261->SetBinContent(11,271.8603); h_SL1L261->SetBinContent(12,271.8603); h_SL1L261->SetBinContent(13,244.6743); h_SL1L261->SetBinContent(14,1087.441); h_SL1L261->SetBinContent(15,1359.302); h_SL1L261->SetBinContent(16,516.5345); h_SL1L261->SetBinContent(17,299.0463); h_SL1L261->SetBinContent(18,271.8603); h_SL1L261->SetBinContent(19,163.1162); h_SL1L261->SetBinContent(20,353.4184); h_SL1L261->SetBinContent(21,271.8603); h_SL1L261->SetBinContent(22,353.4184); h_SL1L261->SetBinContent(23,407.7904); h_SL1L261->SetBinContent(24,81.55809); h_SL1L261->SetBinContent(25,244.6743); h_SL1L261->SetBinContent(26,407.7904); h_SL1L261->SetBinContent(27,271.8603); h_SL1L261->SetBinContent(28,299.0463); h_SL1L261->SetBinContent(29,217.4882); h_SL1L261->SetBinContent(30,353.4184); h_SL1L261->SetBinContent(31,299.0463); h_SL1L261->SetBinContent(32,462.1625); h_SL1L261->SetBinContent(49,326.2324); h_SL1L261->SetBinContent(50,380.6044); h_SL1L261->SetBinContent(51,299.0463); h_SL1L261->SetBinContent(52,244.6743); h_SL1L261->SetBinContent(53,244.6743); h_SL1L261->SetBinContent(54,434.9765); h_SL1L261->SetBinContent(55,217.4882); h_SL1L261->SetBinContent(56,434.9765); h_SL1L261->SetMaximum(15288.06); 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,3180.765); h_SL1L362->SetBinContent(2,3833.23); h_SL1L362->SetBinContent(3,4567.253); h_SL1L362->SetBinContent(4,5138.16); h_SL1L362->SetBinContent(5,5056.602); h_SL1L362->SetBinContent(6,5926.554); h_SL1L362->SetBinContent(7,5736.252); h_SL1L362->SetBinContent(8,5681.88); h_SL1L362->SetBinContent(9,6144.042); h_SL1L362->SetBinContent(10,5926.554); h_SL1L362->SetBinContent(11,7041.182); h_SL1L362->SetBinContent(12,6714.949); h_SL1L362->SetBinContent(13,6470.275); h_SL1L362->SetBinContent(14,8427.669); h_SL1L362->SetBinContent(15,8617.972); h_SL1L362->SetBinContent(16,6524.647); h_SL1L362->SetBinContent(17,6986.81); h_SL1L362->SetBinContent(18,6579.019); h_SL1L362->SetBinContent(19,6334.345); h_SL1L362->SetBinContent(20,7666.46); h_SL1L362->SetBinContent(21,6959.624); h_SL1L362->SetBinContent(22,7367.414); h_SL1L362->SetBinContent(23,6932.438); h_SL1L362->SetBinContent(24,7557.716); h_SL1L362->SetBinContent(25,6714.949); h_SL1L362->SetBinContent(26,7258.67); h_SL1L362->SetBinContent(27,6524.647); h_SL1L362->SetBinContent(28,7177.112); h_SL1L362->SetBinContent(29,7448.972); h_SL1L362->SetBinContent(30,6633.391); h_SL1L362->SetBinContent(31,6252.787); h_SL1L362->SetBinContent(32,8101.437); h_SL1L362->SetBinContent(49,6171.229); h_SL1L362->SetBinContent(50,5899.368); h_SL1L362->SetBinContent(51,5872.182); h_SL1L362->SetBinContent(52,6415.903); h_SL1L362->SetBinContent(53,5763.438); h_SL1L362->SetBinContent(54,5274.09); h_SL1L362->SetBinContent(55,4975.043); h_SL1L362->SetBinContent(56,4159.462); h_SL1L362->SetMaximum(15288.06); 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,3289.51); h_SL1L463->SetBinContent(3,4050.719); h_SL1L463->SetBinContent(4,4621.625); h_SL1L463->SetBinContent(5,4594.439); h_SL1L463->SetBinContent(6,5274.09); h_SL1L463->SetBinContent(7,4675.997); h_SL1L463->SetBinContent(8,5573.136); h_SL1L463->SetBinContent(9,5790.625); h_SL1L463->SetBinContent(10,5328.462); h_SL1L463->SetBinContent(11,5736.252); h_SL1L463->SetBinContent(12,6470.275); h_SL1L463->SetBinContent(13,6307.159); h_SL1L463->SetBinContent(14,13293.97); h_SL1L463->SetBinContent(15,11363.76); h_SL1L463->SetBinContent(16,9460.738); h_SL1L463->SetBinContent(17,6116.856); h_SL1L463->SetBinContent(18,5844.996); h_SL1L463->SetBinContent(19,5980.926); h_SL1L463->SetBinContent(20,7530.53); h_SL1L463->SetBinContent(21,6687.763); h_SL1L463->SetBinContent(22,6905.251); h_SL1L463->SetBinContent(23,6388.717); h_SL1L463->SetBinContent(24,7639.274); h_SL1L463->SetBinContent(25,6932.438); h_SL1L463->SetBinContent(26,6687.763); h_SL1L463->SetBinContent(27,6089.67); h_SL1L463->SetBinContent(28,5681.88); h_SL1L463->SetBinContent(29,6633.391); h_SL1L463->SetBinContent(30,6470.275); h_SL1L463->SetBinContent(31,5709.066); h_SL1L463->SetBinContent(32,6008.112); h_SL1L463->SetBinContent(49,5844.996); h_SL1L463->SetBinContent(50,6035.298); h_SL1L463->SetBinContent(51,4322.579); h_SL1L463->SetBinContent(52,5545.95); h_SL1L463->SetBinContent(53,5953.74); h_SL1L463->SetBinContent(54,5328.462); h_SL1L463->SetBinContent(55,27.18603); h_SL1L463->SetBinContent(56,5165.346); h_SL1L463->SetMaximum(15288.06); 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 7057"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }