void RatesPerCell_Removing_noisy_cells_run_7059_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:12:05 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-2331.194,67.5,20980.74); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7059",60,0,60); h_SL1L160->SetBinContent(1,3598.638); h_SL1L160->SetBinContent(2,3276.808); h_SL1L160->SetBinContent(3,3949.724); h_SL1L160->SetBinContent(4,4768.926); h_SL1L160->SetBinContent(5,4593.383); h_SL1L160->SetBinContent(6,4417.84); h_SL1L160->SetBinContent(7,5061.499); h_SL1L160->SetBinContent(8,4973.727); h_SL1L160->SetBinContent(9,6524.359); h_SL1L160->SetBinContent(10,6231.787); h_SL1L160->SetBinContent(11,5558.871); h_SL1L160->SetBinContent(12,5851.443); h_SL1L160->SetBinContent(13,10474.08); h_SL1L160->SetBinContent(14,11878.43); h_SL1L160->SetBinContent(15,11439.57); h_SL1L160->SetBinContent(16,6348.816); h_SL1L160->SetBinContent(17,6846.189); h_SL1L160->SetBinContent(18,6933.96); h_SL1L160->SetBinContent(19,5792.929); h_SL1L160->SetBinContent(20,6026.987); h_SL1L160->SetBinContent(21,6787.674); h_SL1L160->SetBinContent(22,6524.359); h_SL1L160->SetBinContent(23,5909.958); h_SL1L160->SetBinContent(24,5558.871); h_SL1L160->SetBinContent(25,6348.816); h_SL1L160->SetBinContent(26,5851.443); h_SL1L160->SetBinContent(27,6378.073); h_SL1L160->SetBinContent(28,5324.813); h_SL1L160->SetBinContent(29,6816.932); h_SL1L160->SetBinContent(30,6465.845); h_SL1L160->SetBinContent(31,6378.073); h_SL1L160->SetBinContent(32,6085.501); h_SL1L160->SetBinContent(49,5880.701); h_SL1L160->SetBinContent(50,5441.842); h_SL1L160->SetBinContent(51,4388.583); h_SL1L160->SetBinContent(52,5354.071); h_SL1L160->SetBinContent(53,5705.157); h_SL1L160->SetBinContent(54,6085.501); h_SL1L160->SetBinContent(55,4885.955); h_SL1L160->SetBinContent(56,4242.296); h_SL1L160->SetMaximum(18649.55); 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,1111.774); h_SL1L261->SetBinContent(2,1141.031); h_SL1L261->SetBinContent(3,1433.604); h_SL1L261->SetBinContent(4,1287.318); h_SL1L261->SetBinContent(5,234.0577); h_SL1L261->SetBinContent(6,409.601); h_SL1L261->SetBinContent(7,468.1155); h_SL1L261->SetBinContent(8,468.1155); h_SL1L261->SetBinContent(9,4827.441); h_SL1L261->SetBinContent(10,555.8871); h_SL1L261->SetBinContent(11,438.8583); h_SL1L261->SetBinContent(12,204.8005); h_SL1L261->SetBinContent(13,146.2861); h_SL1L261->SetBinContent(14,1228.803); h_SL1L261->SetBinContent(15,1579.89); h_SL1L261->SetBinContent(16,819.2021); h_SL1L261->SetBinContent(17,848.4593); h_SL1L261->SetBinContent(18,438.8583); h_SL1L261->SetBinContent(19,234.0577); h_SL1L261->SetBinContent(20,175.5433); h_SL1L261->SetBinContent(21,175.5433); h_SL1L261->SetBinContent(22,146.2861); h_SL1L261->SetBinContent(23,292.5722); h_SL1L261->SetBinContent(24,438.8583); h_SL1L261->SetBinContent(25,526.6299); h_SL1L261->SetBinContent(26,526.6299); h_SL1L261->SetBinContent(27,117.0289); h_SL1L261->SetBinContent(28,58.51443); h_SL1L261->SetBinContent(29,175.5433); h_SL1L261->SetBinContent(30,117.0289); h_SL1L261->SetBinContent(31,58.51443); h_SL1L261->SetBinContent(32,175.5433); h_SL1L261->SetBinContent(49,643.6588); h_SL1L261->SetBinContent(50,409.601); h_SL1L261->SetBinContent(51,438.8583); h_SL1L261->SetBinContent(52,117.0289); h_SL1L261->SetBinContent(53,234.0577); h_SL1L261->SetBinContent(54,234.0577); h_SL1L261->SetBinContent(55,292.5722); h_SL1L261->SetBinContent(56,438.8583); h_SL1L261->SetMaximum(16217.28); 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,3364.58); h_SL1L362->SetBinContent(2,3042.75); h_SL1L362->SetBinContent(3,4183.782); h_SL1L362->SetBinContent(4,4505.611); h_SL1L362->SetBinContent(5,5178.527); h_SL1L362->SetBinContent(6,4827.441); h_SL1L362->SetBinContent(7,5529.614); h_SL1L362->SetBinContent(8,5880.701); h_SL1L362->SetBinContent(9,7694.648); h_SL1L362->SetBinContent(10,6407.331); h_SL1L362->SetBinContent(11,6085.501); h_SL1L362->SetBinContent(12,7226.533); h_SL1L362->SetBinContent(13,7226.533); h_SL1L362->SetBinContent(14,7811.677); h_SL1L362->SetBinContent(15,9947.454); h_SL1L362->SetBinContent(16,7050.989); h_SL1L362->SetBinContent(17,7782.42); h_SL1L362->SetBinContent(18,7402.076); h_SL1L362->SetBinContent(19,6261.044); h_SL1L362->SetBinContent(20,6553.617); h_SL1L362->SetBinContent(21,7606.876); h_SL1L362->SetBinContent(22,7372.819); h_SL1L362->SetBinContent(23,6407.331); h_SL1L362->SetBinContent(24,7080.247); h_SL1L362->SetBinContent(25,7226.533); h_SL1L362->SetBinContent(26,5792.929); h_SL1L362->SetBinContent(27,6875.446); h_SL1L362->SetBinContent(28,7050.989); h_SL1L362->SetBinContent(29,7840.934); h_SL1L362->SetBinContent(30,7343.562); h_SL1L362->SetBinContent(31,7723.905); h_SL1L362->SetBinContent(32,7050.989); h_SL1L362->SetBinContent(49,6436.588); h_SL1L362->SetBinContent(50,5880.701); h_SL1L362->SetBinContent(51,5529.614); h_SL1L362->SetBinContent(52,5792.929); h_SL1L362->SetBinContent(53,6261.044); h_SL1L362->SetBinContent(54,7636.134); h_SL1L362->SetBinContent(55,5383.328); h_SL1L362->SetBinContent(56,4856.698); h_SL1L362->SetMaximum(16217.28); 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,3393.837); h_SL1L463->SetBinContent(3,3627.895); h_SL1L463->SetBinContent(4,3891.21); h_SL1L463->SetBinContent(5,5354.071); h_SL1L463->SetBinContent(6,4651.897); h_SL1L463->SetBinContent(7,4710.412); h_SL1L463->SetBinContent(8,5178.527); h_SL1L463->SetBinContent(9,6524.359); h_SL1L463->SetBinContent(10,6904.703); h_SL1L463->SetBinContent(11,6378.073); h_SL1L463->SetBinContent(12,6641.388); h_SL1L463->SetBinContent(13,7021.732); h_SL1L463->SetBinContent(14,14101.98); h_SL1L463->SetBinContent(15,11147); h_SL1L463->SetBinContent(16,10854.43); h_SL1L463->SetBinContent(17,7168.018); h_SL1L463->SetBinContent(18,7519.105); h_SL1L463->SetBinContent(19,5675.9); h_SL1L463->SetBinContent(20,6524.359); h_SL1L463->SetBinContent(21,6261.044); h_SL1L463->SetBinContent(22,7489.848); h_SL1L463->SetBinContent(23,5792.929); h_SL1L463->SetBinContent(24,6524.359); h_SL1L463->SetBinContent(25,6378.073); h_SL1L463->SetBinContent(26,6085.501); h_SL1L463->SetBinContent(27,5880.701); h_SL1L463->SetBinContent(28,6612.131); h_SL1L463->SetBinContent(29,7372.819); h_SL1L463->SetBinContent(30,6699.903); h_SL1L463->SetBinContent(31,7723.905); h_SL1L463->SetBinContent(32,6758.417); h_SL1L463->SetBinContent(49,5997.729); h_SL1L463->SetBinContent(50,5705.157); h_SL1L463->SetBinContent(51,4710.412); h_SL1L463->SetBinContent(52,5178.527); h_SL1L463->SetBinContent(53,5822.186); h_SL1L463->SetBinContent(54,6495.102); h_SL1L463->SetBinContent(55,29.25722); h_SL1L463->SetBinContent(56,5822.186); h_SL1L463->SetMaximum(16217.28); 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 7059"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }