void RatesPerCell_Removing_noisy_cells_run_6977_SL1() { //=========Macro generated from canvas: c/c //========= (Sat Jan 12 13:13:40 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1980.731,67.5,17826.58); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6977",60,0,60); h_SL1L160->SetBinContent(1,2721.287); h_SL1L160->SetBinContent(2,3278.401); h_SL1L160->SetBinContent(3,4222.638); h_SL1L160->SetBinContent(4,4738.325); h_SL1L160->SetBinContent(5,5454.002); h_SL1L160->SetBinContent(6,5819.698); h_SL1L160->SetBinContent(7,5695.418); h_SL1L160->SetBinContent(8,6066.828); h_SL1L160->SetBinContent(9,6098.254); h_SL1L160->SetBinContent(10,6205.392); h_SL1L160->SetBinContent(11,5882.551); h_SL1L160->SetBinContent(12,6268.246); h_SL1L160->SetBinContent(13,6519.661); h_SL1L160->SetBinContent(14,10718.01); h_SL1L160->SetBinContent(15,9353.8); h_SL1L160->SetBinContent(16,6079.684); h_SL1L160->SetBinContent(17,6393.954); h_SL1L160->SetBinContent(18,6592.515); h_SL1L160->SetBinContent(19,6266.817); h_SL1L160->SetBinContent(20,6445.379); h_SL1L160->SetBinContent(21,6622.513); h_SL1L160->SetBinContent(22,6521.09); h_SL1L160->SetBinContent(23,6502.519); h_SL1L160->SetBinContent(24,6561.087); h_SL1L160->SetBinContent(25,6711.08); h_SL1L160->SetBinContent(26,6912.498); h_SL1L160->SetBinContent(27,6502.519); h_SL1L160->SetBinContent(28,6888.213); h_SL1L160->SetBinContent(29,7249.623); h_SL1L160->SetBinContent(30,7316.763); h_SL1L160->SetBinContent(31,6961.067); h_SL1L160->SetBinContent(32,7279.622); h_SL1L160->SetBinContent(33,7571.035); h_SL1L160->SetBinContent(34,7779.596); h_SL1L160->SetBinContent(35,7179.627); h_SL1L160->SetBinContent(36,7322.477); h_SL1L160->SetBinContent(37,7639.603); h_SL1L160->SetBinContent(38,7455.327); h_SL1L160->SetBinContent(39,7036.777); h_SL1L160->SetBinContent(41,7355.332); h_SL1L160->SetBinContent(42,7416.757); h_SL1L160->SetBinContent(43,7132.486); h_SL1L160->SetBinContent(44,7332.476); h_SL1L160->SetBinContent(45,7596.748); h_SL1L160->SetBinContent(46,7975.3); h_SL1L160->SetBinContent(47,5841.125); h_SL1L160->SetBinContent(48,5698.275); h_SL1L160->SetBinContent(49,5778.271); h_SL1L160->SetBinContent(50,5798.27); h_SL1L160->SetBinContent(51,5305.438); h_SL1L160->SetBinContent(52,5346.865); h_SL1L160->SetBinContent(53,5711.132); h_SL1L160->SetBinContent(54,5328.294); h_SL1L160->SetBinContent(55,4435.484); h_SL1L160->SetBinContent(56,4041.219); h_SL1L160->SetMaximum(15845.85); 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,2488.442); h_SL1L261->SetBinContent(2,2992.702); h_SL1L261->SetBinContent(3,3869.799); h_SL1L261->SetBinContent(4,4612.618); h_SL1L261->SetBinContent(5,5449.717); h_SL1L261->SetBinContent(6,5921.121); h_SL1L261->SetBinContent(7,5911.122); h_SL1L261->SetBinContent(8,5916.835); h_SL1L261->SetBinContent(9,6282.531); h_SL1L261->SetBinContent(10,6438.237); h_SL1L261->SetBinContent(11,6078.255); h_SL1L261->SetBinContent(12,6256.818); h_SL1L261->SetBinContent(13,6661.083); h_SL1L261->SetBinContent(14,6608.228); h_SL1L261->SetBinContent(15,6186.821); h_SL1L261->SetBinContent(16,6186.821); h_SL1L261->SetBinContent(17,6451.093); h_SL1L261->SetBinContent(18,6831.074); h_SL1L261->SetBinContent(19,6345.385); h_SL1L261->SetBinContent(20,6559.659); h_SL1L261->SetBinContent(21,6801.075); h_SL1L261->SetBinContent(22,6768.22); h_SL1L261->SetBinContent(23,6546.803); h_SL1L261->SetBinContent(24,6718.222); h_SL1L261->SetBinContent(25,7041.062); h_SL1L261->SetBinContent(26,7175.341); h_SL1L261->SetBinContent(27,6672.51); h_SL1L261->SetBinContent(28,7442.47); h_SL1L261->SetBinContent(29,7448.185); h_SL1L261->SetBinContent(30,7542.465); h_SL1L261->SetBinContent(31,7275.336); h_SL1L261->SetBinContent(32,7283.907); h_SL1L261->SetBinContent(33,7819.594); h_SL1L261->SetBinContent(34,7892.447); h_SL1L261->SetBinContent(35,7323.905); h_SL1L261->SetBinContent(36,7349.618); h_SL1L261->SetBinContent(37,7689.601); h_SL1L261->SetBinContent(38,7808.166); h_SL1L261->SetBinContent(39,7186.77); h_SL1L261->SetBinContent(40,7349.618); h_SL1L261->SetBinContent(41,7551.036); h_SL1L261->SetBinContent(42,7631.032); h_SL1L261->SetBinContent(43,7251.052); h_SL1L261->SetBinContent(44,7338.19); h_SL1L261->SetBinContent(45,7779.596); h_SL1L261->SetBinContent(46,8379.564); h_SL1L261->SetBinContent(47,6995.351); h_SL1L261->SetBinContent(48,5862.552); h_SL1L261->SetBinContent(49,6001.117); h_SL1L261->SetBinContent(50,6049.686); h_SL1L261->SetBinContent(51,5563.997); h_SL1L261->SetBinContent(52,5579.71); h_SL1L261->SetBinContent(53,5778.271); h_SL1L261->SetBinContent(54,5848.268); h_SL1L261->SetBinContent(55,4982.598); h_SL1L261->SetBinContent(56,4472.625); h_SL1L261->SetMaximum(13779.57); 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,2828.425); h_SL1L362->SetBinContent(2,3266.973); h_SL1L362->SetBinContent(3,4359.773); h_SL1L362->SetBinContent(4,5145.447); h_SL1L362->SetBinContent(5,5822.555); h_SL1L362->SetBinContent(6,6113.968); h_SL1L362->SetBinContent(7,5881.123); h_SL1L362->SetBinContent(8,6311.101); h_SL1L362->SetBinContent(9,6393.954); h_SL1L362->SetBinContent(10,6359.669); h_SL1L362->SetBinContent(11,6073.97); h_SL1L362->SetBinContent(12,6686.795); h_SL1L362->SetBinContent(13,6832.502); h_SL1L362->SetBinContent(14,6372.526); h_SL1L362->SetBinContent(15,6268.246); h_SL1L362->SetBinContent(16,6468.235); h_SL1L362->SetBinContent(17,6792.504); h_SL1L362->SetBinContent(18,6533.946); h_SL1L362->SetBinContent(19,6521.09); h_SL1L362->SetBinContent(20,6769.648); h_SL1L362->SetBinContent(21,6929.64); h_SL1L362->SetBinContent(22,6692.509); h_SL1L362->SetBinContent(23,6668.225); h_SL1L362->SetBinContent(24,6858.215); h_SL1L362->SetBinContent(25,7119.63); h_SL1L362->SetBinContent(26,7038.206); h_SL1L362->SetBinContent(27,6718.222); h_SL1L362->SetBinContent(28,7311.049); h_SL1L362->SetBinContent(29,7649.603); h_SL1L362->SetBinContent(30,7418.186); h_SL1L362->SetBinContent(31,7236.767); h_SL1L362->SetBinContent(32,7699.6); h_SL1L362->SetBinContent(33,7863.877); h_SL1L362->SetBinContent(34,7782.453); h_SL1L362->SetBinContent(35,7198.197); h_SL1L362->SetBinContent(36,7688.172); h_SL1L362->SetBinContent(37,7873.876); h_SL1L362->SetBinContent(38,7541.037); h_SL1L362->SetBinContent(39,7249.623); h_SL1L362->SetBinContent(40,7621.033); h_SL1L362->SetBinContent(41,7802.452); h_SL1L362->SetBinContent(42,7448.185); h_SL1L362->SetBinContent(43,7449.613); h_SL1L362->SetBinContent(44,7653.888); h_SL1L362->SetBinContent(45,7985.299); h_SL1L362->SetBinContent(46,8039.582); h_SL1L362->SetBinContent(47,6195.393); h_SL1L362->SetBinContent(48,5948.262); h_SL1L362->SetBinContent(49,6038.258); h_SL1L362->SetBinContent(50,5859.695); h_SL1L362->SetBinContent(51,5601.138); h_SL1L362->SetBinContent(52,5819.698); h_SL1L362->SetBinContent(53,5921.121); h_SL1L362->SetBinContent(54,5424.004); h_SL1L362->SetBinContent(55,4779.751); h_SL1L362->SetBinContent(56,4425.484); h_SL1L362->SetMaximum(13779.57); 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,2942.704); h_SL1L463->SetBinContent(3,3798.374); h_SL1L463->SetBinContent(4,4688.328); h_SL1L463->SetBinContent(5,5609.708); h_SL1L463->SetBinContent(6,5952.548); h_SL1L463->SetBinContent(7,5871.124); h_SL1L463->SetBinContent(8,6093.969); h_SL1L463->SetBinContent(9,6575.373); h_SL1L463->SetBinContent(10,6419.667); h_SL1L463->SetBinContent(11,5875.409); h_SL1L463->SetBinContent(12,6412.524); h_SL1L463->SetBinContent(13,6833.931); h_SL1L463->SetBinContent(14,6532.518); h_SL1L463->SetBinContent(15,11982.23); h_SL1L463->SetBinContent(16,6912.498); h_SL1L463->SetBinContent(17,6615.371); h_SL1L463->SetBinContent(18,6675.367); h_SL1L463->SetBinContent(19,6346.813); h_SL1L463->SetBinContent(20,6763.934); h_SL1L463->SetBinContent(21,6948.21); h_SL1L463->SetBinContent(22,6856.787); h_SL1L463->SetBinContent(23,6552.517); h_SL1L463->SetBinContent(24,6882.5); h_SL1L463->SetBinContent(25,7038.206); h_SL1L463->SetBinContent(26,7028.206); h_SL1L463->SetBinContent(27,6751.078); h_SL1L463->SetBinContent(28,6986.78); h_SL1L463->SetBinContent(29,7555.322); h_SL1L463->SetBinContent(30,7511.038); h_SL1L463->SetBinContent(31,7208.197); h_SL1L463->SetBinContent(32,7521.038); h_SL1L463->SetBinContent(33,7888.162); h_SL1L463->SetBinContent(34,7799.595); h_SL1L463->SetBinContent(35,7356.761); h_SL1L463->SetBinContent(36,7421.043); h_SL1L463->SetBinContent(37,4.285491); h_SL1L463->SetBinContent(39,1.428497); h_SL1L463->SetBinContent(41,7719.599); h_SL1L463->SetBinContent(42,7599.605); h_SL1L463->SetBinContent(43,7122.487); h_SL1L463->SetBinContent(44,7491.039); h_SL1L463->SetBinContent(45,7831.021); h_SL1L463->SetBinContent(46,8103.865); h_SL1L463->SetBinContent(47,7031.063); h_SL1L463->SetBinContent(48,5906.836); h_SL1L463->SetBinContent(49,6119.682); h_SL1L463->SetBinContent(50,5852.553); h_SL1L463->SetBinContent(51,5601.138); h_SL1L463->SetBinContent(52,5713.989); h_SL1L463->SetBinContent(53,5982.546); h_SL1L463->SetBinContent(54,5762.558); h_SL1L463->SetBinContent(55,35.71243); h_SL1L463->SetBinContent(56,4739.754); h_SL1L463->SetMaximum(13779.57); 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 6977"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }