void RatesPerCell_Removing_noisy_cells_run_7057_SL2() { //=========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,-3550.338,67.5,31953.04); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7057",60,0,60); h_SL2L164->SetBinContent(1,163.1162); h_SL2L164->SetBinContent(2,54.37206); h_SL2L164->SetBinContent(3,244.6743); h_SL2L164->SetBinContent(4,271.8603); h_SL2L164->SetBinContent(5,271.8603); h_SL2L164->SetBinContent(6,163.1162); h_SL2L164->SetBinContent(7,271.8603); h_SL2L164->SetBinContent(8,326.2324); h_SL2L164->SetBinContent(9,299.0463); h_SL2L164->SetBinContent(10,353.4184); h_SL2L164->SetBinContent(11,353.4184); h_SL2L164->SetBinContent(12,326.2324); h_SL2L164->SetBinContent(13,353.4184); h_SL2L164->SetBinContent(14,380.6044); h_SL2L164->SetBinContent(15,407.7904); h_SL2L164->SetBinContent(16,598.0927); h_SL2L164->SetBinContent(17,543.7206); h_SL2L164->SetBinContent(18,679.6508); h_SL2L164->SetBinContent(19,1060.255); h_SL2L164->SetBinContent(20,761.2088); h_SL2L164->SetBinContent(21,1549.604); h_SL2L164->SetBinContent(22,2038.952); h_SL2L164->SetBinContent(23,2038.952); h_SL2L164->SetBinContent(24,2365.185); h_SL2L164->SetBinContent(25,3452.626); h_SL2L164->SetBinContent(26,4295.393); h_SL2L164->SetBinContent(27,5654.694); h_SL2L164->SetBinContent(28,5654.694); h_SL2L164->SetBinContent(29,6361.531); h_SL2L164->SetBinContent(30,8509.228); h_SL2L164->SetBinContent(31,8781.088); h_SL2L164->SetBinContent(32,9216.064); h_SL2L164->SetBinContent(33,9868.528); h_SL2L164->SetBinContent(34,11418.13); h_SL2L164->SetBinContent(35,27.18603); h_SL2L164->SetBinContent(36,11744.36); h_SL2L164->SetBinContent(37,15033.87); h_SL2L164->SetBinContent(38,15876.64); h_SL2L164->SetBinContent(39,16964.08); h_SL2L164->SetBinContent(40,14680.46); h_SL2L164->SetBinContent(41,15985.39); h_SL2L164->SetBinContent(42,18160.27); h_SL2L164->SetBinContent(43,18839.92); h_SL2L164->SetBinContent(44,19927.36); h_SL2L164->SetBinContent(45,18486.5); h_SL2L164->SetBinContent(46,19084.59); h_SL2L164->SetBinContent(47,18649.62); h_SL2L164->SetBinContent(48,19818.62); h_SL2L164->SetBinContent(49,19791.43); h_SL2L164->SetBinContent(50,21476.96); h_SL2L164->SetBinContent(51,19709.87); h_SL2L164->SetBinContent(52,20742.94); h_SL2L164->SetBinContent(53,19900.17); h_SL2L164->SetBinContent(54,17045.64); h_SL2L164->SetBinContent(55,13293.97); h_SL2L164->SetBinContent(56,10765.67); h_SL2L164->SetBinContent(57,4648.811); h_SL2L164->SetMaximum(28402.7); h_SL2L164->SetEntries(60); h_SL2L164->SetDirectory(0); h_SL2L164->SetStats(0); h_SL2L164->SetLineWidth(2); h_SL2L164->GetXaxis()->SetTitle("Cell"); h_SL2L164->GetXaxis()->SetLabelFont(42); h_SL2L164->GetXaxis()->SetLabelSize(0.035); h_SL2L164->GetXaxis()->SetTitleSize(0.035); h_SL2L164->GetXaxis()->SetTitleFont(42); h_SL2L164->GetYaxis()->SetTitle("Hz"); h_SL2L164->GetYaxis()->SetLabelFont(42); h_SL2L164->GetYaxis()->SetLabelSize(0.035); h_SL2L164->GetYaxis()->SetTitleSize(0.035); h_SL2L164->GetYaxis()->SetTitleOffset(1.45); h_SL2L164->GetYaxis()->SetTitleFont(42); h_SL2L164->GetZaxis()->SetLabelFont(42); h_SL2L164->GetZaxis()->SetLabelSize(0.035); h_SL2L164->GetZaxis()->SetTitleSize(0.035); h_SL2L164->GetZaxis()->SetTitleFont(42); h_SL2L164->Draw(""); TH1D *h_SL2L265 = new TH1D("h_SL2L265","",60,0,60); h_SL2L265->SetBinContent(1,244.6743); h_SL2L265->SetBinContent(2,108.7441); h_SL2L265->SetBinContent(3,217.4882); h_SL2L265->SetBinContent(4,244.6743); h_SL2L265->SetBinContent(5,271.8603); h_SL2L265->SetBinContent(6,163.1162); h_SL2L265->SetBinContent(7,244.6743); h_SL2L265->SetBinContent(8,217.4882); h_SL2L265->SetBinContent(9,217.4882); h_SL2L265->SetBinContent(10,244.6743); h_SL2L265->SetBinContent(11,326.2324); h_SL2L265->SetBinContent(12,434.9765); h_SL2L265->SetBinContent(13,407.7904); h_SL2L265->SetBinContent(14,570.9066); h_SL2L265->SetBinContent(15,516.5345); h_SL2L265->SetBinContent(16,434.9765); h_SL2L265->SetBinContent(17,761.2088); h_SL2L265->SetBinContent(18,706.8368); h_SL2L265->SetBinContent(19,897.139); h_SL2L265->SetBinContent(20,1168.999); h_SL2L265->SetBinContent(21,1168.999); h_SL2L265->SetBinContent(22,1685.534); h_SL2L265->SetBinContent(23,2066.138); h_SL2L265->SetBinContent(24,1957.394); h_SL2L265->SetBinContent(25,2691.417); h_SL2L265->SetBinContent(26,4540.067); h_SL2L265->SetBinContent(27,4784.741); h_SL2L265->SetBinContent(28,5165.346); h_SL2L265->SetBinContent(29,6687.763); h_SL2L265->SetBinContent(30,7448.972); h_SL2L265->SetBinContent(31,8346.111); h_SL2L265->SetBinContent(32,8917.018); h_SL2L265->SetBinContent(33,9678.227); h_SL2L265->SetBinContent(34,10656.92); h_SL2L265->SetBinContent(35,10004.46); h_SL2L265->SetBinContent(36,9569.482); h_SL2L265->SetBinContent(37,13810.5); h_SL2L265->SetBinContent(38,15958.2); h_SL2L265->SetBinContent(39,15958.2); h_SL2L265->SetBinContent(40,16094.13); h_SL2L265->SetBinContent(41,16936.9); h_SL2L265->SetBinContent(42,17072.83); h_SL2L265->SetBinContent(43,18459.31); h_SL2L265->SetBinContent(44,19519.57); h_SL2L265->SetBinContent(45,19492.38); h_SL2L265->SetBinContent(46,19111.78); h_SL2L265->SetBinContent(47,19927.36); h_SL2L265->SetBinContent(48,19764.24); h_SL2L265->SetBinContent(49,18133.08); h_SL2L265->SetBinContent(50,21259.47); h_SL2L265->SetBinContent(51,20226.41); h_SL2L265->SetBinContent(52,20443.89); h_SL2L265->SetBinContent(53,20280.78); h_SL2L265->SetBinContent(54,18595.24); h_SL2L265->SetBinContent(55,15876.64); h_SL2L265->SetBinContent(56,12777.43); h_SL2L265->SetBinContent(57,9406.366); h_SL2L265->SetMaximum(24698.51); h_SL2L265->SetEntries(60); h_SL2L265->SetDirectory(0); h_SL2L265->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL2L265->SetLineColor(ci); h_SL2L265->SetLineWidth(2); h_SL2L265->GetXaxis()->SetTitle("Cell"); h_SL2L265->GetXaxis()->SetLabelFont(42); h_SL2L265->GetXaxis()->SetLabelSize(0.035); h_SL2L265->GetXaxis()->SetTitleSize(0.035); h_SL2L265->GetXaxis()->SetTitleFont(42); h_SL2L265->GetYaxis()->SetTitle("Hz"); h_SL2L265->GetYaxis()->SetLabelFont(42); h_SL2L265->GetYaxis()->SetLabelSize(0.035); h_SL2L265->GetYaxis()->SetTitleSize(0.035); h_SL2L265->GetYaxis()->SetTitleOffset(1.45); h_SL2L265->GetYaxis()->SetTitleFont(42); h_SL2L265->GetZaxis()->SetLabelFont(42); h_SL2L265->GetZaxis()->SetLabelSize(0.035); h_SL2L265->GetZaxis()->SetTitleSize(0.035); h_SL2L265->GetZaxis()->SetTitleFont(42); h_SL2L265->Draw("same"); TH1D *h_SL2L366 = new TH1D("h_SL2L366","",60,0,60); h_SL2L366->SetBinContent(1,163.1162); h_SL2L366->SetBinContent(2,163.1162); h_SL2L366->SetBinContent(3,190.3022); h_SL2L366->SetBinContent(4,81.55809); h_SL2L366->SetBinContent(5,135.9301); h_SL2L366->SetBinContent(6,190.3022); h_SL2L366->SetBinContent(7,299.0463); h_SL2L366->SetBinContent(8,299.0463); h_SL2L366->SetBinContent(9,353.4184); h_SL2L366->SetBinContent(10,380.6044); h_SL2L366->SetBinContent(11,299.0463); h_SL2L366->SetBinContent(12,326.2324); h_SL2L366->SetBinContent(13,625.2787); h_SL2L366->SetBinContent(14,543.7206); h_SL2L366->SetBinContent(15,462.1625); h_SL2L366->SetBinContent(16,380.6044); h_SL2L366->SetBinContent(17,570.9066); h_SL2L366->SetBinContent(18,1005.883); h_SL2L366->SetBinContent(19,1087.441); h_SL2L366->SetBinContent(20,897.139); h_SL2L366->SetBinContent(21,1522.418); h_SL2L366->SetBinContent(22,2066.138); h_SL2L366->SetBinContent(23,1685.534); h_SL2L366->SetBinContent(24,2120.51); h_SL2L366->SetBinContent(25,3751.672); h_SL2L366->SetBinContent(26,4920.671); h_SL2L366->SetBinContent(27,4893.485); h_SL2L366->SetBinContent(28,6660.577); h_SL2L366->SetBinContent(29,7340.228); h_SL2L366->SetBinContent(30,7177.112); h_SL2L366->SetBinContent(31,9025.762); h_SL2L366->SetBinContent(32,9134.506); h_SL2L366->SetBinContent(33,10167.58); h_SL2L366->SetBinContent(34,9950.087); h_SL2L366->SetBinContent(35,11309.39); h_SL2L366->SetBinContent(36,11390.95); h_SL2L366->SetBinContent(37,13864.88); h_SL2L366->SetBinContent(38,15903.83); h_SL2L366->SetBinContent(39,15767.9); h_SL2L366->SetBinContent(40,16556.29); h_SL2L366->SetBinContent(41,17915.59); h_SL2L366->SetBinContent(42,17018.46); h_SL2L366->SetBinContent(43,18649.62); h_SL2L366->SetBinContent(44,18622.43); h_SL2L366->SetBinContent(45,19057.41); h_SL2L366->SetBinContent(46,19438.01); h_SL2L366->SetBinContent(47,20307.96); h_SL2L366->SetBinContent(48,18758.36); h_SL2L366->SetBinContent(49,19274.89); h_SL2L366->SetBinContent(50,20579.82); h_SL2L366->SetBinContent(51,20742.94); h_SL2L366->SetBinContent(52,20498.27); h_SL2L366->SetBinContent(53,19465.2); h_SL2L366->SetBinContent(54,18568.06); h_SL2L366->SetBinContent(55,15496.04); h_SL2L366->SetBinContent(56,10656.92); h_SL2L366->SetBinContent(57,7965.507); h_SL2L366->SetMaximum(24698.51); h_SL2L366->SetEntries(60); h_SL2L366->SetDirectory(0); h_SL2L366->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L366->SetLineColor(ci); h_SL2L366->SetLineWidth(2); h_SL2L366->GetXaxis()->SetTitle("Cell"); h_SL2L366->GetXaxis()->SetLabelFont(42); h_SL2L366->GetXaxis()->SetLabelSize(0.035); h_SL2L366->GetXaxis()->SetTitleSize(0.035); h_SL2L366->GetXaxis()->SetTitleFont(42); h_SL2L366->GetYaxis()->SetTitle("Hz"); h_SL2L366->GetYaxis()->SetLabelFont(42); h_SL2L366->GetYaxis()->SetLabelSize(0.035); h_SL2L366->GetYaxis()->SetTitleSize(0.035); h_SL2L366->GetYaxis()->SetTitleOffset(1.45); h_SL2L366->GetYaxis()->SetTitleFont(42); h_SL2L366->GetZaxis()->SetLabelFont(42); h_SL2L366->GetZaxis()->SetLabelSize(0.035); h_SL2L366->GetZaxis()->SetTitleSize(0.035); h_SL2L366->GetZaxis()->SetTitleFont(42); h_SL2L366->Draw("same"); TH1D *h_SL2L467 = new TH1D("h_SL2L467","",60,0,60); h_SL2L467->SetBinContent(2,163.1162); h_SL2L467->SetBinContent(3,163.1162); h_SL2L467->SetBinContent(4,54.37206); h_SL2L467->SetBinContent(5,163.1162); h_SL2L467->SetBinContent(6,217.4882); h_SL2L467->SetBinContent(7,135.9301); h_SL2L467->SetBinContent(8,108.7441); h_SL2L467->SetBinContent(9,244.6743); h_SL2L467->SetBinContent(10,244.6743); h_SL2L467->SetBinContent(11,271.8603); h_SL2L467->SetBinContent(12,299.0463); h_SL2L467->SetBinContent(13,462.1625); h_SL2L467->SetBinContent(14,489.3485); h_SL2L467->SetBinContent(15,271.8603); h_SL2L467->SetBinContent(16,516.5345); h_SL2L467->SetBinContent(17,570.9066); h_SL2L467->SetBinContent(18,869.9529); h_SL2L467->SetBinContent(19,1005.883); h_SL2L467->SetBinContent(20,1033.069); h_SL2L467->SetBinContent(21,1576.79); h_SL2L467->SetBinContent(22,1930.208); h_SL2L467->SetBinContent(23,1767.092); h_SL2L467->SetBinContent(24,2093.324); h_SL2L467->SetBinContent(25,3017.649); h_SL2L467->SetBinContent(26,3697.3); h_SL2L467->SetBinContent(27,5246.904); h_SL2L467->SetBinContent(28,5763.438); h_SL2L467->SetBinContent(29,5980.926); h_SL2L467->SetBinContent(30,7313.042); h_SL2L467->SetBinContent(31,8590.785); h_SL2L467->SetBinContent(32,8563.6); h_SL2L467->SetBinContent(33,10167.58); h_SL2L467->SetBinContent(34,9651.04); h_SL2L467->SetBinContent(35,10113.2); h_SL2L467->SetBinContent(36,12478.39); h_SL2L467->SetBinContent(37,12913.36); h_SL2L467->SetBinContent(38,14354.22); h_SL2L467->SetBinContent(39,15767.9); h_SL2L467->SetBinContent(40,16828.15); h_SL2L467->SetBinContent(41,17399.06); h_SL2L467->SetBinContent(42,17643.73); h_SL2L467->SetBinContent(43,17589.36); h_SL2L467->SetBinContent(44,18513.69); h_SL2L467->SetBinContent(45,17997.15); h_SL2L467->SetBinContent(46,19247.71); h_SL2L467->SetBinContent(47,20688.57); h_SL2L467->SetBinContent(48,19383.64); h_SL2L467->SetBinContent(49,20144.85); h_SL2L467->SetBinContent(50,20579.82); h_SL2L467->SetBinContent(51,20824.5); h_SL2L467->SetBinContent(52,20770.13); h_SL2L467->SetBinContent(53,20498.27); h_SL2L467->SetBinContent(54,20280.78); h_SL2L467->SetBinContent(55,17127.2); h_SL2L467->SetBinContent(56,14544.53); h_SL2L467->SetBinContent(57,6415.903); h_SL2L467->SetMaximum(24698.51); h_SL2L467->SetEntries(60); h_SL2L467->SetDirectory(0); h_SL2L467->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L467->SetLineColor(ci); h_SL2L467->SetLineWidth(2); h_SL2L467->GetXaxis()->SetTitle("Cell"); h_SL2L467->GetXaxis()->SetLabelFont(42); h_SL2L467->GetXaxis()->SetLabelSize(0.035); h_SL2L467->GetXaxis()->SetTitleSize(0.035); h_SL2L467->GetXaxis()->SetTitleFont(42); h_SL2L467->GetYaxis()->SetTitle("Hz"); h_SL2L467->GetYaxis()->SetLabelFont(42); h_SL2L467->GetYaxis()->SetLabelSize(0.035); h_SL2L467->GetYaxis()->SetTitleSize(0.035); h_SL2L467->GetYaxis()->SetTitleOffset(1.45); h_SL2L467->GetYaxis()->SetTitleFont(42); h_SL2L467->GetZaxis()->SetLabelFont(42); h_SL2L467->GetZaxis()->SetLabelSize(0.035); h_SL2L467->GetZaxis()->SetTitleSize(0.035); h_SL2L467->GetZaxis()->SetTitleFont(42); h_SL2L467->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_SL2L1","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_SL2L2","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_SL2L3","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_SL2L4","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("SL2, run 7057"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }