void RatesPerCell_Removing_noisy_cells_run_7056_SL2() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:08:02 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-3684.888,67.5,33163.99); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7056",60,0,60); h_SL2L164->SetBinContent(1,215.3734); h_SL2L164->SetBinContent(2,188.4517); h_SL2L164->SetBinContent(3,242.295); h_SL2L164->SetBinContent(4,188.4517); h_SL2L164->SetBinContent(5,161.53); h_SL2L164->SetBinContent(6,188.4517); h_SL2L164->SetBinContent(7,269.2167); h_SL2L164->SetBinContent(8,242.295); h_SL2L164->SetBinContent(9,242.295); h_SL2L164->SetBinContent(10,349.9817); h_SL2L164->SetBinContent(11,296.1384); h_SL2L164->SetBinContent(12,376.9034); h_SL2L164->SetBinContent(13,403.825); h_SL2L164->SetBinContent(14,538.4333); h_SL2L164->SetBinContent(15,699.9634); h_SL2L164->SetBinContent(16,511.5117); h_SL2L164->SetBinContent(17,619.1984); h_SL2L164->SetBinContent(18,834.5717); h_SL2L164->SetBinContent(19,996.1017); h_SL2L164->SetBinContent(20,1292.24); h_SL2L164->SetBinContent(21,1049.945); h_SL2L164->SetBinContent(22,1615.3); h_SL2L164->SetBinContent(23,1992.203); h_SL2L164->SetBinContent(24,1911.438); h_SL2L164->SetBinContent(25,3338.287); h_SL2L164->SetBinContent(26,3580.582); h_SL2L164->SetBinContent(27,5115.117); h_SL2L164->SetBinContent(28,5545.864); h_SL2L164->SetBinContent(29,8211.109); h_SL2L164->SetBinContent(30,8480.326); h_SL2L164->SetBinContent(31,8830.308); h_SL2L164->SetBinContent(32,8857.229); h_SL2L164->SetBinContent(33,10230.23); h_SL2L164->SetBinContent(34,11118.65); h_SL2L164->SetBinContent(36,12949.32); h_SL2L164->SetBinContent(37,15129.98); h_SL2L164->SetBinContent(38,16395.3); h_SL2L164->SetBinContent(39,15076.13); h_SL2L164->SetBinContent(40,13433.91); h_SL2L164->SetBinContent(41,15964.55); h_SL2L164->SetBinContent(42,18360.58); h_SL2L164->SetBinContent(43,19006.7); h_SL2L164->SetBinContent(44,19222.07); h_SL2L164->SetBinContent(45,20864.29); h_SL2L164->SetBinContent(46,20891.21); h_SL2L164->SetBinContent(47,21698.87); h_SL2L164->SetBinContent(48,21348.88); h_SL2L164->SetBinContent(49,21564.26); h_SL2L164->SetBinContent(50,21106.59); h_SL2L164->SetBinContent(51,21806.55); h_SL2L164->SetBinContent(52,20622); h_SL2L164->SetBinContent(53,19033.62); h_SL2L164->SetBinContent(54,16852.96); h_SL2L164->SetBinContent(55,14645.39); h_SL2L164->SetBinContent(56,11145.57); h_SL2L164->SetBinContent(57,5465.099); h_SL2L164->SetMaximum(29479.1); 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,188.4517); h_SL2L265->SetBinContent(2,188.4517); h_SL2L265->SetBinContent(3,188.4517); h_SL2L265->SetBinContent(4,269.2167); h_SL2L265->SetBinContent(5,161.53); h_SL2L265->SetBinContent(6,296.1384); h_SL2L265->SetBinContent(7,323.06); h_SL2L265->SetBinContent(8,242.295); h_SL2L265->SetBinContent(9,349.9817); h_SL2L265->SetBinContent(10,349.9817); h_SL2L265->SetBinContent(11,376.9034); h_SL2L265->SetBinContent(12,269.2167); h_SL2L265->SetBinContent(13,457.6684); h_SL2L265->SetBinContent(14,484.59); h_SL2L265->SetBinContent(15,619.1984); h_SL2L265->SetBinContent(16,430.7467); h_SL2L265->SetBinContent(17,726.8851); h_SL2L265->SetBinContent(18,780.7284); h_SL2L265->SetBinContent(19,942.2584); h_SL2L265->SetBinContent(20,861.4934); h_SL2L265->SetBinContent(21,1319.162); h_SL2L265->SetBinContent(22,1292.24); h_SL2L265->SetBinContent(23,1749.908); h_SL2L265->SetBinContent(24,1992.203); h_SL2L265->SetBinContent(25,2530.637); h_SL2L265->SetBinContent(26,3526.739); h_SL2L265->SetBinContent(27,4334.389); h_SL2L265->SetBinContent(28,5088.195); h_SL2L265->SetBinContent(29,6003.532); h_SL2L265->SetBinContent(30,8238.03); h_SL2L265->SetBinContent(31,9072.603); h_SL2L265->SetBinContent(32,8695.699); h_SL2L265->SetBinContent(33,8964.916); h_SL2L265->SetBinContent(34,10984.04); h_SL2L265->SetBinContent(35,9341.819); h_SL2L265->SetBinContent(36,10122.55); h_SL2L265->SetBinContent(37,13837.74); h_SL2L265->SetBinContent(38,15937.63); h_SL2L265->SetBinContent(39,15129.98); h_SL2L265->SetBinContent(40,14887.68); h_SL2L265->SetBinContent(41,14699.23); h_SL2L265->SetBinContent(42,16745.28); h_SL2L265->SetBinContent(43,18172.13); h_SL2L265->SetBinContent(44,19195.15); h_SL2L265->SetBinContent(45,19922.04); h_SL2L265->SetBinContent(46,20622); h_SL2L265->SetBinContent(47,20002.8); h_SL2L265->SetBinContent(48,20783.53); h_SL2L265->SetBinContent(49,21833.47); h_SL2L265->SetBinContent(50,20595.08); h_SL2L265->SetBinContent(51,20029.72); h_SL2L265->SetBinContent(52,20622); h_SL2L265->SetBinContent(53,20245.1); h_SL2L265->SetBinContent(54,18172.13); h_SL2L265->SetBinContent(55,16691.44); h_SL2L265->SetBinContent(56,13703.13); h_SL2L265->SetBinContent(57,9099.524); h_SL2L265->SetMaximum(25634.81); 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,107.6867); h_SL2L366->SetBinContent(2,188.4517); h_SL2L366->SetBinContent(3,296.1384); h_SL2L366->SetBinContent(4,269.2167); h_SL2L366->SetBinContent(5,242.295); h_SL2L366->SetBinContent(6,215.3734); h_SL2L366->SetBinContent(7,188.4517); h_SL2L366->SetBinContent(8,323.06); h_SL2L366->SetBinContent(9,349.9817); h_SL2L366->SetBinContent(10,269.2167); h_SL2L366->SetBinContent(11,457.6684); h_SL2L366->SetBinContent(12,323.06); h_SL2L366->SetBinContent(13,269.2167); h_SL2L366->SetBinContent(14,619.1984); h_SL2L366->SetBinContent(15,457.6684); h_SL2L366->SetBinContent(16,538.4333); h_SL2L366->SetBinContent(17,673.0417); h_SL2L366->SetBinContent(18,1103.788); h_SL2L366->SetBinContent(19,1211.475); h_SL2L366->SetBinContent(20,1157.632); h_SL2L366->SetBinContent(21,1507.614); h_SL2L366->SetBinContent(22,1265.318); h_SL2L366->SetBinContent(23,1965.282); h_SL2L366->SetBinContent(24,1776.83); h_SL2L366->SetBinContent(25,3257.522); h_SL2L366->SetBinContent(26,4711.292); h_SL2L366->SetBinContent(27,5061.274); h_SL2L366->SetBinContent(28,5976.61); h_SL2L366->SetBinContent(29,7672.676); h_SL2L366->SetBinContent(30,8372.639); h_SL2L366->SetBinContent(31,9207.211); h_SL2L366->SetBinContent(32,9287.976); h_SL2L366->SetBinContent(33,10068.7); h_SL2L366->SetBinContent(34,9907.174); h_SL2L366->SetBinContent(35,10418.69); h_SL2L366->SetBinContent(36,11064.81); h_SL2L366->SetBinContent(37,15291.51); h_SL2L366->SetBinContent(38,15479.96); h_SL2L366->SetBinContent(39,15156.9); h_SL2L366->SetBinContent(40,14995.37); h_SL2L366->SetBinContent(41,16018.39); h_SL2L366->SetBinContent(42,17176.03); h_SL2L366->SetBinContent(43,19033.62); h_SL2L366->SetBinContent(44,18818.25); h_SL2L366->SetBinContent(45,19356.68); h_SL2L366->SetBinContent(46,20783.53); h_SL2L366->SetBinContent(47,19491.29); h_SL2L366->SetBinContent(48,21375.8); h_SL2L366->SetBinContent(49,21402.73); h_SL2L366->SetBinContent(50,20514.31); h_SL2L366->SetBinContent(51,20541.23); h_SL2L366->SetBinContent(52,20568.15); h_SL2L366->SetBinContent(53,19464.37); h_SL2L366->SetBinContent(54,18037.52); h_SL2L366->SetBinContent(55,16045.31); h_SL2L366->SetBinContent(56,10795.59); h_SL2L366->SetBinContent(57,7349.616); h_SL2L366->SetMaximum(25634.81); 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,107.6867); h_SL2L467->SetBinContent(3,296.1384); h_SL2L467->SetBinContent(4,242.295); h_SL2L467->SetBinContent(5,242.295); h_SL2L467->SetBinContent(6,161.53); h_SL2L467->SetBinContent(7,215.3734); h_SL2L467->SetBinContent(8,269.2167); h_SL2L467->SetBinContent(9,269.2167); h_SL2L467->SetBinContent(10,376.9034); h_SL2L467->SetBinContent(11,403.825); h_SL2L467->SetBinContent(12,484.59); h_SL2L467->SetBinContent(13,457.6684); h_SL2L467->SetBinContent(14,430.7467); h_SL2L467->SetBinContent(15,619.1984); h_SL2L467->SetBinContent(16,646.1201); h_SL2L467->SetBinContent(17,592.2767); h_SL2L467->SetBinContent(18,861.4934); h_SL2L467->SetBinContent(19,1184.553); h_SL2L467->SetBinContent(20,942.2584); h_SL2L467->SetBinContent(21,1722.987); h_SL2L467->SetBinContent(22,1884.517); h_SL2L467->SetBinContent(23,1642.222); h_SL2L467->SetBinContent(24,1992.203); h_SL2L467->SetBinContent(25,2342.185); h_SL2L467->SetBinContent(26,3795.955); h_SL2L467->SetBinContent(27,5034.352); h_SL2L467->SetBinContent(28,5868.924); h_SL2L467->SetBinContent(29,6380.436); h_SL2L467->SetBinContent(30,9099.524); h_SL2L467->SetBinContent(31,8399.561); h_SL2L467->SetBinContent(32,9341.819); h_SL2L467->SetBinContent(33,10122.55); h_SL2L467->SetBinContent(34,10230.23); h_SL2L467->SetBinContent(35,10687.9); h_SL2L467->SetBinContent(36,12060.91); h_SL2L467->SetBinContent(37,13083.93); h_SL2L467->SetBinContent(38,14833.84); h_SL2L467->SetBinContent(39,15426.12); h_SL2L467->SetBinContent(40,15695.33); h_SL2L467->SetBinContent(41,15076.13); h_SL2L467->SetBinContent(42,16826.04); h_SL2L467->SetBinContent(43,17714.46); h_SL2L467->SetBinContent(44,19195.15); h_SL2L467->SetBinContent(45,19545.13); h_SL2L467->SetBinContent(46,20514.31); h_SL2L467->SetBinContent(47,21752.71); h_SL2L467->SetBinContent(48,21510.41); h_SL2L467->SetBinContent(49,22291.14); h_SL2L467->SetBinContent(50,19383.6); h_SL2L467->SetBinContent(51,21671.94); h_SL2L467->SetBinContent(52,21321.96); h_SL2L467->SetBinContent(53,19652.82); h_SL2L467->SetBinContent(54,20298.94); h_SL2L467->SetBinContent(55,17660.62); h_SL2L467->SetBinContent(56,14430.01); h_SL2L467->SetBinContent(57,6891.947); h_SL2L467->SetMaximum(25634.81); 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 7056"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }