void RatesPerCell_Removing_noisy_cells_run_7296_SL3() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:32:46 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1466.106,67.5,13194.96); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 7296",60,0,60); h_SL3L168->SetBinContent(1,2155.276); h_SL3L168->SetBinContent(2,3541.106); h_SL3L168->SetBinContent(4,6449.281); h_SL3L168->SetBinContent(5,6490.648); h_SL3L168->SetBinContent(6,7644.817); h_SL3L168->SetBinContent(7,7773.059); h_SL3L168->SetBinContent(8,7218.727); h_SL3L168->SetBinContent(9,6949.834); h_SL3L168->SetBinContent(10,7632.407); h_SL3L168->SetBinContent(11,7868.205); h_SL3L168->SetBinContent(12,7574.492); h_SL3L168->SetBinContent(13,6982.929); h_SL3L168->SetBinContent(14,7752.375); h_SL3L168->SetBinContent(15,7686.186); h_SL3L168->SetBinContent(16,7516.577); h_SL3L168->SetBinContent(17,6767.814); h_SL3L168->SetBinContent(18,7471.072); h_SL3L168->SetBinContent(19,7839.248); h_SL3L168->SetBinContent(20,7479.345); h_SL3L168->SetBinContent(21,7169.085); h_SL3L168->SetBinContent(22,8050.225); h_SL3L168->SetBinContent(23,7930.257); h_SL3L168->SetBinContent(24,7520.713); h_SL3L168->SetBinContent(25,7065.665); h_SL3L168->SetBinContent(26,8298.433); h_SL3L168->SetBinContent(27,8319.117); h_SL3L168->SetBinContent(28,7706.87); h_SL3L168->SetBinContent(29,7164.948); h_SL3L168->SetBinContent(30,8356.348); h_SL3L168->SetBinContent(31,8252.928); h_SL3L168->SetBinContent(32,7984.036); h_SL3L168->SetBinContent(33,7413.156); h_SL3L168->SetBinContent(34,8360.485); h_SL3L168->SetBinContent(35,8319.117); h_SL3L168->SetBinContent(36,8017.13); h_SL3L168->SetBinContent(37,7599.312); h_SL3L168->SetBinContent(38,8554.915); h_SL3L168->SetBinContent(39,8141.234); h_SL3L168->SetBinContent(40,8211.56); h_SL3L168->SetBinContent(41,8215.696); h_SL3L168->SetBinContent(42,8703.84); h_SL3L168->SetBinContent(43,8277.749); h_SL3L168->SetBinContent(44,6904.329); h_SL3L168->SetBinContent(45,2349.706); h_SL3L168->SetBinContent(46,7413.156); h_SL3L168->SetBinContent(47,7760.648); h_SL3L168->SetBinContent(48,7479.345); h_SL3L168->SetBinContent(49,6486.512); h_SL3L168->SetBinContent(50,3528.696); h_SL3L168->SetBinContent(51,4910.389); h_SL3L168->SetBinContent(52,6258.987); h_SL3L168->SetBinContent(53,6155.567); h_SL3L168->SetBinContent(54,7011.886); h_SL3L168->SetBinContent(55,7016.023); h_SL3L168->SetBinContent(56,6486.512); h_SL3L168->SetBinContent(57,6747.13); h_SL3L168->SetBinContent(58,6672.668); h_SL3L168->SetBinContent(59,4558.76); h_SL3L168->SetMaximum(11728.85); h_SL3L168->SetEntries(60); h_SL3L168->SetDirectory(0); h_SL3L168->SetStats(0); h_SL3L168->SetLineWidth(2); h_SL3L168->GetXaxis()->SetTitle("Cell"); h_SL3L168->GetXaxis()->SetLabelFont(42); h_SL3L168->GetXaxis()->SetLabelSize(0.035); h_SL3L168->GetXaxis()->SetTitleSize(0.035); h_SL3L168->GetXaxis()->SetTitleFont(42); h_SL3L168->GetYaxis()->SetTitle("Hz"); h_SL3L168->GetYaxis()->SetLabelFont(42); h_SL3L168->GetYaxis()->SetLabelSize(0.035); h_SL3L168->GetYaxis()->SetTitleSize(0.035); h_SL3L168->GetYaxis()->SetTitleOffset(1.45); h_SL3L168->GetYaxis()->SetTitleFont(42); h_SL3L168->GetZaxis()->SetLabelFont(42); h_SL3L168->GetZaxis()->SetLabelSize(0.035); h_SL3L168->GetZaxis()->SetTitleSize(0.035); h_SL3L168->GetZaxis()->SetTitleFont(42); h_SL3L168->Draw(""); TH1D *h_SL3L269 = new TH1D("h_SL3L269","",60,0,60); h_SL3L269->SetBinContent(1,430.2278); h_SL3L269->SetBinContent(2,5071.724); h_SL3L269->SetBinContent(4,3508.011); h_SL3L269->SetBinContent(5,6035.6); h_SL3L269->SetBinContent(6,7781.332); h_SL3L269->SetBinContent(7,7413.156); h_SL3L269->SetBinContent(8,7326.283); h_SL3L269->SetBinContent(9,6759.541); h_SL3L269->SetBinContent(10,7648.954); h_SL3L269->SetBinContent(11,7574.492); h_SL3L269->SetBinContent(12,7711.006); h_SL3L269->SetBinContent(13,6962.245); h_SL3L269->SetBinContent(14,7628.271); h_SL3L269->SetBinContent(15,7731.69); h_SL3L269->SetBinContent(16,7533.124); h_SL3L269->SetBinContent(17,6987.065); h_SL3L269->SetBinContent(18,7326.283); h_SL3L269->SetBinContent(19,7586.902); h_SL3L269->SetBinContent(20,7586.902); h_SL3L269->SetBinContent(21,7073.938); h_SL3L269->SetBinContent(22,7988.172); h_SL3L269->SetBinContent(23,7723.417); h_SL3L269->SetBinContent(24,7773.059); h_SL3L269->SetBinContent(25,6978.792); h_SL3L269->SetBinContent(26,7830.974); h_SL3L269->SetBinContent(27,8228.107); h_SL3L269->SetBinContent(28,8000.583); h_SL3L269->SetBinContent(29,7090.485); h_SL3L269->SetBinContent(30,8314.98); h_SL3L269->SetBinContent(31,8314.98); h_SL3L269->SetBinContent(32,7909.573); h_SL3L269->SetBinContent(33,7533.124); h_SL3L269->SetBinContent(34,8207.423); h_SL3L269->SetBinContent(35,8319.117); h_SL3L269->SetBinContent(36,8207.423); h_SL3L269->SetBinContent(37,7363.515); h_SL3L269->SetBinContent(38,8554.915); h_SL3L269->SetBinContent(39,8252.928); h_SL3L269->SetBinContent(40,8149.508); h_SL3L269->SetBinContent(41,7735.827); h_SL3L269->SetBinContent(42,8869.312); h_SL3L269->SetBinContent(43,8530.094); h_SL3L269->SetBinContent(44,7921.983); h_SL3L269->SetBinContent(45,4062.344); h_SL3L269->SetBinContent(46,4562.897); h_SL3L269->SetBinContent(47,7930.257); h_SL3L269->SetBinContent(48,7591.039); h_SL3L269->SetBinContent(49,6726.447); h_SL3L269->SetBinContent(50,6635.437); h_SL3L269->SetBinContent(51,1733.322); h_SL3L269->SetBinContent(52,6871.235); h_SL3L269->SetBinContent(53,5841.17); h_SL3L269->SetBinContent(54,7053.254); h_SL3L269->SetBinContent(55,7107.033); h_SL3L269->SetBinContent(56,6742.994); h_SL3L269->SetBinContent(57,6693.352); h_SL3L269->SetBinContent(58,6627.163); h_SL3L269->SetBinContent(59,5882.538); h_SL3L269->SetMaximum(10199.71); h_SL3L269->SetEntries(60); h_SL3L269->SetDirectory(0); h_SL3L269->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL3L269->SetLineColor(ci); h_SL3L269->SetLineWidth(2); h_SL3L269->GetXaxis()->SetTitle("Cell"); h_SL3L269->GetXaxis()->SetLabelFont(42); h_SL3L269->GetXaxis()->SetLabelSize(0.035); h_SL3L269->GetXaxis()->SetTitleSize(0.035); h_SL3L269->GetXaxis()->SetTitleFont(42); h_SL3L269->GetYaxis()->SetTitle("Hz"); h_SL3L269->GetYaxis()->SetLabelFont(42); h_SL3L269->GetYaxis()->SetLabelSize(0.035); h_SL3L269->GetYaxis()->SetTitleSize(0.035); h_SL3L269->GetYaxis()->SetTitleOffset(1.45); h_SL3L269->GetYaxis()->SetTitleFont(42); h_SL3L269->GetZaxis()->SetLabelFont(42); h_SL3L269->GetZaxis()->SetLabelSize(0.035); h_SL3L269->GetZaxis()->SetTitleSize(0.035); h_SL3L269->GetZaxis()->SetTitleFont(42); h_SL3L269->Draw("same"); TH1D *h_SL3L370 = new TH1D("h_SL3L370","",60,0,60); h_SL3L370->SetBinContent(1,2523.452); h_SL3L370->SetBinContent(2,3234.982); h_SL3L370->SetBinContent(3,1121.074); h_SL3L370->SetBinContent(4,5655.014); h_SL3L370->SetBinContent(5,6834.003); h_SL3L370->SetBinContent(6,7454.524); h_SL3L370->SetBinContent(7,7429.704); h_SL3L370->SetBinContent(8,6862.961); h_SL3L370->SetBinContent(9,7471.072); h_SL3L370->SetBinContent(10,7388.335); h_SL3L370->SetBinContent(11,7603.449); h_SL3L370->SetBinContent(12,7409.02); h_SL3L370->SetBinContent(13,7636.544); h_SL3L370->SetBinContent(14,7371.788); h_SL3L370->SetBinContent(15,7508.303); h_SL3L370->SetBinContent(16,7280.779); h_SL3L370->SetBinContent(17,7367.651); h_SL3L370->SetBinContent(18,7276.642); h_SL3L370->SetBinContent(19,7595.176); h_SL3L370->SetBinContent(20,7036.707); h_SL3L370->SetBinContent(21,8012.993); h_SL3L370->SetBinContent(22,7760.648); h_SL3L370->SetBinContent(23,7516.577); h_SL3L370->SetBinContent(24,7206.316); h_SL3L370->SetBinContent(25,7859.932); h_SL3L370->SetBinContent(26,7901.299); h_SL3L370->SetBinContent(27,7975.762); h_SL3L370->SetBinContent(28,7578.628); h_SL3L370->SetBinContent(29,7971.625); h_SL3L370->SetBinContent(30,8095.729); h_SL3L370->SetBinContent(31,7917.847); h_SL3L370->SetBinContent(32,7694.459); h_SL3L370->SetBinContent(33,8178.465); h_SL3L370->SetBinContent(34,7963.352); h_SL3L370->SetBinContent(35,7996.446); h_SL3L370->SetBinContent(36,7735.827); h_SL3L370->SetBinContent(37,8190.876); h_SL3L370->SetBinContent(38,8418.4); h_SL3L370->SetBinContent(39,7839.248); h_SL3L370->SetBinContent(40,7884.752); h_SL3L370->SetBinContent(41,8641.788); h_SL3L370->SetBinContent(42,8554.915); h_SL3L370->SetBinContent(43,8178.465); h_SL3L370->SetBinContent(44,7591.039); h_SL3L370->SetBinContent(45,124.1042); h_SL3L370->SetBinContent(46,7855.794); h_SL3L370->SetBinContent(47,7702.733); h_SL3L370->SetBinContent(48,6809.183); h_SL3L370->SetBinContent(49,7553.808); h_SL3L370->SetBinContent(50,3383.907); h_SL3L370->SetBinContent(51,4351.92); h_SL3L370->SetBinContent(52,6081.105); h_SL3L370->SetBinContent(53,6858.824); h_SL3L370->SetBinContent(54,7135.99); h_SL3L370->SetBinContent(55,6982.929); h_SL3L370->SetBinContent(56,6536.153); h_SL3L370->SetBinContent(57,6722.31); h_SL3L370->SetBinContent(58,6407.913); h_SL3L370->SetBinContent(59,4554.624); h_SL3L370->SetMaximum(10199.71); h_SL3L370->SetEntries(60); h_SL3L370->SetDirectory(0); h_SL3L370->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L370->SetLineColor(ci); h_SL3L370->SetLineWidth(2); h_SL3L370->GetXaxis()->SetTitle("Cell"); h_SL3L370->GetXaxis()->SetLabelFont(42); h_SL3L370->GetXaxis()->SetLabelSize(0.035); h_SL3L370->GetXaxis()->SetTitleSize(0.035); h_SL3L370->GetXaxis()->SetTitleFont(42); h_SL3L370->GetYaxis()->SetTitle("Hz"); h_SL3L370->GetYaxis()->SetLabelFont(42); h_SL3L370->GetYaxis()->SetLabelSize(0.035); h_SL3L370->GetYaxis()->SetTitleSize(0.035); h_SL3L370->GetYaxis()->SetTitleOffset(1.45); h_SL3L370->GetYaxis()->SetTitleFont(42); h_SL3L370->GetZaxis()->SetLabelFont(42); h_SL3L370->GetZaxis()->SetLabelSize(0.035); h_SL3L370->GetZaxis()->SetTitleSize(0.035); h_SL3L370->GetZaxis()->SetTitleFont(42); h_SL3L370->Draw("same"); TH1D *h_SL3L471 = new TH1D("h_SL3L471","",60,0,60); h_SL3L471->SetBinContent(2,4724.232); h_SL3L471->SetBinContent(3,1116.938); h_SL3L471->SetBinContent(4,3288.761); h_SL3L471->SetBinContent(5,6296.219); h_SL3L471->SetBinContent(6,7591.039); h_SL3L471->SetBinContent(7,7338.694); h_SL3L471->SetBinContent(8,7144.264); h_SL3L471->SetBinContent(9,7446.251); h_SL3L471->SetBinContent(10,7615.86); h_SL3L471->SetBinContent(11,7309.736); h_SL3L471->SetBinContent(12,7549.671); h_SL3L471->SetBinContent(13,7624.133); h_SL3L471->SetBinContent(14,7686.186); h_SL3L471->SetBinContent(15,7528.987); h_SL3L471->SetBinContent(16,7413.156); h_SL3L471->SetBinContent(17,7582.766); h_SL3L471->SetBinContent(18,7686.186); h_SL3L471->SetBinContent(19,7313.873); h_SL3L471->SetBinContent(20,7202.179); h_SL3L471->SetBinContent(21,7785.469); h_SL3L471->SetBinContent(22,8041.951); h_SL3L471->SetBinContent(23,7384.199); h_SL3L471->SetBinContent(24,7661.365); h_SL3L471->SetBinContent(25,7545.534); h_SL3L471->SetBinContent(26,8054.361); h_SL3L471->SetBinContent(27,8017.13); h_SL3L471->SetBinContent(28,7777.195); h_SL3L471->SetBinContent(29,7636.544); h_SL3L471->SetBinContent(30,8364.622); h_SL3L471->SetBinContent(31,8017.13); h_SL3L471->SetBinContent(32,7665.501); h_SL3L471->SetBinContent(33,8000.583); h_SL3L471->SetBinContent(34,8207.423); h_SL3L471->SetBinContent(35,8029.541); h_SL3L471->SetBinContent(36,7727.554); h_SL3L471->SetBinContent(37,8079.182); h_SL3L471->SetBinContent(38,8385.306); h_SL3L471->SetBinContent(39,7934.394); h_SL3L471->SetBinContent(40,7847.521); h_SL3L471->SetBinContent(41,8343.938); h_SL3L471->SetBinContent(42,8823.808); h_SL3L471->SetBinContent(43,8542.505); h_SL3L471->SetBinContent(44,7657.228); h_SL3L471->SetBinContent(45,4782.148); h_SL3L471->SetBinContent(46,4476.024); h_SL3L471->SetBinContent(47,7599.312); h_SL3L471->SetBinContent(48,7355.241); h_SL3L471->SetBinContent(49,7094.622); h_SL3L471->SetBinContent(50,6680.942); h_SL3L471->SetBinContent(51,1675.406); h_SL3L471->SetBinContent(52,6234.167); h_SL3L471->SetBinContent(53,6329.313); h_SL3L471->SetBinContent(54,7214.59); h_SL3L471->SetBinContent(55,6982.929); h_SL3L471->SetBinContent(56,6656.121); h_SL3L471->SetBinContent(57,6536.153); h_SL3L471->SetBinContent(58,6527.88); h_SL3L471->SetBinContent(59,5328.206); h_SL3L471->SetMaximum(10199.71); h_SL3L471->SetEntries(60); h_SL3L471->SetDirectory(0); h_SL3L471->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L471->SetLineColor(ci); h_SL3L471->SetLineWidth(2); h_SL3L471->GetXaxis()->SetTitle("Cell"); h_SL3L471->GetXaxis()->SetLabelFont(42); h_SL3L471->GetXaxis()->SetLabelSize(0.035); h_SL3L471->GetXaxis()->SetTitleSize(0.035); h_SL3L471->GetXaxis()->SetTitleFont(42); h_SL3L471->GetYaxis()->SetTitle("Hz"); h_SL3L471->GetYaxis()->SetLabelFont(42); h_SL3L471->GetYaxis()->SetLabelSize(0.035); h_SL3L471->GetYaxis()->SetTitleSize(0.035); h_SL3L471->GetYaxis()->SetTitleOffset(1.45); h_SL3L471->GetYaxis()->SetTitleFont(42); h_SL3L471->GetZaxis()->SetLabelFont(42); h_SL3L471->GetZaxis()->SetLabelSize(0.035); h_SL3L471->GetZaxis()->SetTitleSize(0.035); h_SL3L471->GetZaxis()->SetTitleFont(42); h_SL3L471->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_SL3L1","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_SL3L2","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_SL3L3","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_SL3L4","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("SL3, run 7296"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }