void RatesPerCell_Removing_noisy_cells_run_5708_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 14:54:12 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-20962.2,67.5,188659.8); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 5708",60,0,60); h_SL1L160->SetBinContent(1,3113.672); h_SL1L160->SetBinContent(2,17204.43); h_SL1L160->SetBinContent(3,99564.69); h_SL1L160->SetBinContent(4,5674.849); h_SL1L160->SetBinContent(5,9803.568); h_SL1L160->SetBinContent(6,6424.357); h_SL1L160->SetBinContent(7,6445.771); h_SL1L160->SetBinContent(8,6852.647); h_SL1L160->SetBinContent(9,6737.009); h_SL1L160->SetBinContent(10,6938.306); h_SL1L160->SetBinContent(11,6621.371); h_SL1L160->SetBinContent(12,68547.89); h_SL1L160->SetBinContent(13,7156.733); h_SL1L160->SetBinContent(14,7096.773); h_SL1L160->SetBinContent(15,6531.43); h_SL1L160->SetBinContent(16,12784.47); h_SL1L160->SetBinContent(17,7105.339); h_SL1L160->SetBinContent(18,7203.846); h_SL1L160->SetBinContent(19,6677.048); h_SL1L160->SetBinContent(20,6968.286); h_SL1L160->SetBinContent(21,7101.056); h_SL1L160->SetBinContent(22,7490.8); h_SL1L160->SetBinContent(23,7349.464); h_SL1L160->SetBinContent(24,7148.168); h_SL1L160->SetBinContent(25,7460.82); h_SL1L160->SetBinContent(26,7392.293); h_SL1L160->SetBinContent(27,7263.806); h_SL1L160->SetBinContent(28,6989.7); h_SL1L160->SetBinContent(29,7486.517); h_SL1L160->SetBinContent(30,29813.3); h_SL1L160->SetBinContent(31,7597.873); h_SL1L160->SetBinContent(32,7752.057); h_SL1L160->SetBinContent(33,8004.749); h_SL1L160->SetBinContent(34,8120.387); h_SL1L160->SetBinContent(35,7503.649); h_SL1L160->SetBinContent(36,7567.893); h_SL1L160->SetBinContent(37,8158.933); h_SL1L160->SetBinContent(38,7606.438); h_SL1L160->SetBinContent(39,65901.05); h_SL1L160->SetBinContent(40,7225.26); h_SL1L160->SetBinContent(41,7182.431); h_SL1L160->SetBinContent(42,7340.898); h_SL1L160->SetBinContent(43,126804); h_SL1L160->SetBinContent(44,7019.681); h_SL1L160->SetBinContent(45,7679.248); h_SL1L160->SetBinContent(46,8094.69); h_SL1L160->SetBinContent(47,6090.291); h_SL1L160->SetBinContent(48,5987.5); h_SL1L160->SetBinContent(49,6013.198); h_SL1L160->SetBinContent(50,5807.619); h_SL1L160->SetBinContent(51,5233.709); h_SL1L160->SetBinContent(52,5340.782); h_SL1L160->SetBinContent(53,5473.552); h_SL1L160->SetBinContent(54,26464.07); h_SL1L160->SetBinContent(55,4394.26); h_SL1L160->SetBinContent(56,4210.095); h_SL1L160->SetBinContent(57,4158.7); h_SL1L160->SetBinContent(58,3464.87); h_SL1L160->SetBinContent(59,42529.24); h_SL1L160->SetMaximum(167697.6); 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,8034.729); h_SL1L261->SetBinContent(2,3370.646); h_SL1L261->SetBinContent(3,4415.675); h_SL1L261->SetBinContent(4,5178.032); h_SL1L261->SetBinContent(5,6244.475); h_SL1L261->SetBinContent(6,6557.127); h_SL1L261->SetBinContent(7,6874.062); h_SL1L261->SetBinContent(8,6946.871); h_SL1L261->SetBinContent(9,7289.504); h_SL1L261->SetBinContent(10,6788.404); h_SL1L261->SetBinContent(11,7122.47); h_SL1L261->SetBinContent(12,7238.109); h_SL1L261->SetBinContent(13,7323.767); h_SL1L261->SetBinContent(14,7430.839); h_SL1L261->SetBinContent(15,6929.74); h_SL1L261->SetBinContent(16,6921.174); h_SL1L261->SetBinContent(17,7225.26); h_SL1L261->SetBinContent(18,7542.195); h_SL1L261->SetBinContent(19,7323.767); h_SL1L261->SetBinContent(20,7109.622); h_SL1L261->SetBinContent(21,7340.898); h_SL1L261->SetBinContent(22,7674.965); h_SL1L261->SetBinContent(23,7400.859); h_SL1L261->SetBinContent(24,7375.162); h_SL1L261->SetBinContent(25,7670.682); h_SL1L261->SetBinContent(26,7803.452); h_SL1L261->SetBinContent(27,7268.089); h_SL1L261->SetBinContent(28,7884.828); h_SL1L261->SetBinContent(29,7400.859); h_SL1L261->SetBinContent(30,8013.314); h_SL1L261->SetBinContent(31,7747.774); h_SL1L261->SetBinContent(32,8137.519); h_SL1L261->SetBinContent(33,8017.598); h_SL1L261->SetBinContent(34,8240.309); h_SL1L261->SetBinContent(35,7880.544); h_SL1L261->SetBinContent(36,7717.794); h_SL1L261->SetBinContent(37,7824.867); h_SL1L261->SetBinContent(38,8253.157); h_SL1L261->SetBinContent(39,7315.201); h_SL1L261->SetBinContent(40,7525.063); h_SL1L261->SetBinContent(41,7679.248); h_SL1L261->SetBinContent(42,7435.123); h_SL1L261->SetBinContent(43,7250.958); h_SL1L261->SetBinContent(44,7233.826); h_SL1L261->SetBinContent(45,7670.682); h_SL1L261->SetBinContent(46,8017.598); h_SL1L261->SetBinContent(47,7139.602); h_SL1L261->SetBinContent(48,6047.461); h_SL1L261->SetBinContent(49,6158.817); h_SL1L261->SetBinContent(50,6295.87); h_SL1L261->SetBinContent(51,5602.039); h_SL1L261->SetBinContent(52,5589.19); h_SL1L261->SetBinContent(53,5542.079); h_SL1L261->SetBinContent(54,5803.336); h_SL1L261->SetBinContent(55,4869.663); h_SL1L261->SetBinContent(56,4698.346); h_SL1L261->SetBinContent(57,4492.767); h_SL1L261->SetBinContent(58,4120.154); h_SL1L261->SetBinContent(59,3207.896); h_SL1L261->SetMaximum(145824.6); 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,3199.33); h_SL1L362->SetBinContent(2,3935.989); h_SL1L362->SetBinContent(3,4822.551); h_SL1L362->SetBinContent(4,6188.797); h_SL1L362->SetBinContent(5,6565.693); h_SL1L362->SetBinContent(6,6779.838); h_SL1L362->SetBinContent(7,6861.213); h_SL1L362->SetBinContent(8,7649.268); h_SL1L362->SetBinContent(9,7182.431); h_SL1L362->SetBinContent(10,6895.477); h_SL1L362->SetBinContent(11,7216.694); h_SL1L362->SetBinContent(12,7619.287); h_SL1L362->SetBinContent(13,7430.839); h_SL1L362->SetBinContent(14,7195.28); h_SL1L362->SetBinContent(15,6869.779); h_SL1L362->SetBinContent(16,7439.405); h_SL1L362->SetBinContent(17,7315.201); h_SL1L362->SetBinContent(19,6964.003); h_SL1L362->SetBinContent(20,7452.254); h_SL1L362->SetBinContent(21,7627.853); h_SL1L362->SetBinContent(22,7649.268); h_SL1L362->SetBinContent(23,7328.05); h_SL1L362->SetBinContent(24,7636.419); h_SL1L362->SetBinContent(25,7953.354); h_SL1L362->SetBinContent(26,7679.248); h_SL1L362->SetBinContent(27,7405.142); h_SL1L362->SetBinContent(28,7653.551); h_SL1L362->SetBinContent(29,7812.018); h_SL1L362->SetBinContent(30,7944.788); h_SL1L362->SetBinContent(31,7769.189); h_SL1L362->SetBinContent(32,8338.815); h_SL1L362->SetBinContent(33,8270.289); h_SL1L362->SetBinContent(34,8034.729); h_SL1L362->SetBinContent(35,7657.833); h_SL1L362->SetBinContent(36,7837.715); h_SL1L362->SetBinContent(37,8137.519); h_SL1L362->SetBinContent(38,7940.505); h_SL1L362->SetBinContent(39,7225.26); h_SL1L362->SetBinContent(40,7692.097); h_SL1L362->SetBinContent(41,8060.426); h_SL1L362->SetBinContent(42,13264.16); h_SL1L362->SetBinContent(43,7092.49); h_SL1L362->SetBinContent(44,7854.847); h_SL1L362->SetBinContent(45,7812.018); h_SL1L362->SetBinContent(46,7760.623); h_SL1L362->SetBinContent(47,6351.547); h_SL1L362->SetBinContent(48,6240.192); h_SL1L362->SetBinContent(49,6278.738); h_SL1L362->SetBinContent(50,5627.737); h_SL1L362->SetBinContent(51,5400.743); h_SL1L362->SetBinContent(52,5794.77); h_SL1L362->SetBinContent(53,5726.244); h_SL1L362->SetBinContent(54,5537.796); h_SL1L362->SetBinContent(55,4929.623); h_SL1L362->SetBinContent(56,4732.609); h_SL1L362->SetBinContent(57,4604.123); h_SL1L362->SetBinContent(58,3687.581); h_SL1L362->SetBinContent(59,2813.868); h_SL1L362->SetMaximum(145824.6); 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,3203.613); h_SL1L463->SetBinContent(3,3918.858); h_SL1L463->SetBinContent(4,4595.557); h_SL1L463->SetBinContent(5,5503.532); h_SL1L463->SetBinContent(6,5614.888); h_SL1L463->SetBinContent(7,5850.448); h_SL1L463->SetBinContent(8,5829.033); h_SL1L463->SetBinContent(9,6355.831); h_SL1L463->SetBinContent(10,5974.652); h_SL1L463->SetBinContent(11,6004.632); h_SL1L463->SetBinContent(12,6629.937); h_SL1L463->SetBinContent(13,6454.337); h_SL1L463->SetBinContent(14,6325.85); h_SL1L463->SetBinContent(15,6175.948); h_SL1L463->SetBinContent(16,6008.915); h_SL1L463->SetBinContent(17,6128.836); h_SL1L463->SetBinContent(18,6514.298); h_SL1L463->SetBinContent(19,6193.08); h_SL1L463->SetBinContent(20,6133.12); h_SL1L463->SetBinContent(21,6364.396); h_SL1L463->SetBinContent(22,6818.384); h_SL1L463->SetBinContent(23,6248.758); h_SL1L463->SetBinContent(24,6574.259); h_SL1L463->SetBinContent(25,6612.805); h_SL1L463->SetBinContent(26,6629.937); h_SL1L463->SetBinContent(27,6544.278); h_SL1L463->SetBinContent(28,6737.009); h_SL1L463->SetBinContent(29,6672.766); h_SL1L463->SetBinContent(30,6587.107); h_SL1L463->SetBinContent(31,6642.785); h_SL1L463->SetBinContent(32,6638.502); h_SL1L463->SetBinContent(33,7015.398); h_SL1L463->SetBinContent(34,7233.826); h_SL1L463->SetBinContent(35,6895.477); h_SL1L463->SetBinContent(36,7062.51); h_SL1L463->SetBinContent(37,6946.871); h_SL1L463->SetBinContent(38,6951.154); h_SL1L463->SetBinContent(39,6527.146); h_SL1L463->SetBinContent(40,6274.455); h_SL1L463->SetBinContent(41,6724.16); h_SL1L463->SetBinContent(42,6518.581); h_SL1L463->SetBinContent(43,6240.192); h_SL1L463->SetBinContent(44,6522.864); h_SL1L463->SetBinContent(45,6891.193); h_SL1L463->SetBinContent(46,7092.49); h_SL1L463->SetBinContent(47,6000.35); h_SL1L463->SetBinContent(48,5610.605); h_SL1L463->SetBinContent(49,5165.183); h_SL1L463->SetBinContent(50,5109.505); h_SL1L463->SetBinContent(51,4801.136); h_SL1L463->SetBinContent(52,4813.985); h_SL1L463->SetBinContent(53,5267.973); h_SL1L463->SetBinContent(54,5165.183); h_SL1L463->SetBinContent(55,205.5794); h_SL1L463->SetBinContent(56,4531.313); h_SL1L463->SetBinContent(57,4030.213); h_SL1L463->SetBinContent(58,3507.699); h_SL1L463->SetBinContent(59,2646.835); h_SL1L463->SetMaximum(145824.6); 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 5708"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }