void RatesPerCell_Removing_noisy_cells_run_7297_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:12:34 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-2012.069,67.5,18108.62); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7297",60,0,60); h_SL1L160->SetBinContent(1,3091.345); h_SL1L160->SetBinContent(2,3672.624); h_SL1L160->SetBinContent(3,4694.265); h_SL1L160->SetBinContent(4,4597.386); h_SL1L160->SetBinContent(5,5390.038); h_SL1L160->SetBinContent(6,5971.317); h_SL1L160->SetBinContent(7,5671.87); h_SL1L160->SetBinContent(8,5900.859); h_SL1L160->SetBinContent(9,6570.21); h_SL1L160->SetBinContent(10,6341.221); h_SL1L160->SetBinContent(11,6297.185); h_SL1L160->SetBinContent(12,6499.752); h_SL1L160->SetBinContent(13,6711.126); h_SL1L160->SetBinContent(14,12171.62); h_SL1L160->SetBinContent(15,11880.98); h_SL1L160->SetBinContent(16,6702.319); h_SL1L160->SetBinContent(17,6896.078); h_SL1L160->SetBinContent(18,7221.947); h_SL1L160->SetBinContent(19,6147.462); h_SL1L160->SetBinContent(20,6173.884); h_SL1L160->SetBinContent(21,6913.693); h_SL1L160->SetBinContent(22,7186.718); h_SL1L160->SetBinContent(23,6297.185); h_SL1L160->SetBinContent(24,6869.657); h_SL1L160->SetBinContent(25,6755.162); h_SL1L160->SetBinContent(26,6825.62); h_SL1L160->SetBinContent(27,6446.908); h_SL1L160->SetBinContent(28,6640.668); h_SL1L160->SetBinContent(29,6904.886); h_SL1L160->SetBinContent(30,7177.91); h_SL1L160->SetBinContent(31,6702.319); h_SL1L160->SetBinContent(32,6587.824); h_SL1L160->SetBinContent(33,7327.634); h_SL1L160->SetBinContent(34,6728.74); h_SL1L160->SetBinContent(35,6534.981); h_SL1L160->SetBinContent(36,6711.126); h_SL1L160->SetBinContent(37,7503.779); h_SL1L160->SetBinContent(38,7415.706); h_SL1L160->SetBinContent(39,6323.607); h_SL1L160->SetBinContent(41,6570.21); h_SL1L160->SetBinContent(42,6446.908); h_SL1L160->SetBinContent(43,5856.823); h_SL1L160->SetBinContent(44,5830.401); h_SL1L160->SetBinContent(45,5398.845); h_SL1L160->SetBinContent(46,6579.017); h_SL1L160->SetBinContent(47,4500.506); h_SL1L160->SetBinContent(48,4474.084); h_SL1L160->SetBinContent(49,4764.723); h_SL1L160->SetBinContent(50,5178.664); h_SL1L160->SetBinContent(51,5064.17); h_SL1L160->SetBinContent(52,5469.303); h_SL1L160->SetBinContent(53,5310.773); h_SL1L160->SetBinContent(54,4914.447); h_SL1L160->SetBinContent(55,4086.565); h_SL1L160->SetBinContent(56,3839.962); h_SL1L160->SetMaximum(16096.55); 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,2844.742); h_SL1L261->SetBinContent(2,3426.021); h_SL1L261->SetBinContent(3,4236.288); h_SL1L261->SetBinContent(4,4905.639); h_SL1L261->SetBinContent(5,5196.279); h_SL1L261->SetBinContent(6,5944.895); h_SL1L261->SetBinContent(7,5980.124); h_SL1L261->SetBinContent(8,6332.414); h_SL1L261->SetBinContent(9,6455.716); h_SL1L261->SetBinContent(10,6719.933); h_SL1L261->SetBinContent(11,6455.716); h_SL1L261->SetBinContent(12,6323.607); h_SL1L261->SetBinContent(13,7160.296); h_SL1L261->SetBinContent(14,7045.802); h_SL1L261->SetBinContent(15,6808.006); h_SL1L261->SetBinContent(16,6702.319); h_SL1L261->SetBinContent(17,6887.271); h_SL1L261->SetBinContent(18,7530.2); h_SL1L261->SetBinContent(19,6350.029); h_SL1L261->SetBinContent(20,6147.462); h_SL1L261->SetBinContent(21,7213.139); h_SL1L261->SetBinContent(22,7142.681); h_SL1L261->SetBinContent(23,6675.897); h_SL1L261->SetBinContent(24,6922.5); h_SL1L261->SetBinContent(25,7045.802); h_SL1L261->SetBinContent(26,7133.874); h_SL1L261->SetBinContent(27,6896.078); h_SL1L261->SetBinContent(28,6702.319); h_SL1L261->SetBinContent(29,6781.584); h_SL1L261->SetBinContent(30,7142.681); h_SL1L261->SetBinContent(31,6852.042); h_SL1L261->SetBinContent(32,7265.983); h_SL1L261->SetBinContent(33,7486.164); h_SL1L261->SetBinContent(34,7169.103); h_SL1L261->SetBinContent(35,6843.235); h_SL1L261->SetBinContent(36,6992.958); h_SL1L261->SetBinContent(37,7230.754); h_SL1L261->SetBinContent(38,7776.803); h_SL1L261->SetBinContent(39,6675.897); h_SL1L261->SetBinContent(40,6543.788); h_SL1L261->SetBinContent(41,7116.26); h_SL1L261->SetBinContent(42,6438.101); h_SL1L261->SetBinContent(43,6253.149); h_SL1L261->SetBinContent(44,6103.426); h_SL1L261->SetBinContent(45,5883.244); h_SL1L261->SetBinContent(46,6446.908); h_SL1L261->SetBinContent(47,5301.966); h_SL1L261->SetBinContent(48,4703.073); h_SL1L261->SetBinContent(49,4799.952); h_SL1L261->SetBinContent(50,5169.857); h_SL1L261->SetBinContent(51,4949.676); h_SL1L261->SetBinContent(52,5398.845); h_SL1L261->SetBinContent(53,5566.183); h_SL1L261->SetBinContent(54,5354.809); h_SL1L261->SetBinContent(55,4623.807); h_SL1L261->SetBinContent(56,3954.456); h_SL1L261->SetMaximum(13997.37); 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,3179.418); h_SL1L362->SetBinContent(2,3655.01); h_SL1L362->SetBinContent(3,4782.338); h_SL1L362->SetBinContent(4,5072.977); h_SL1L362->SetBinContent(5,5548.569); h_SL1L362->SetBinContent(6,6191.498); h_SL1L362->SetBinContent(7,6200.305); h_SL1L362->SetBinContent(8,6526.174); h_SL1L362->SetBinContent(9,6922.5); h_SL1L362->SetBinContent(10,6482.137); h_SL1L362->SetBinContent(11,6579.017); h_SL1L362->SetBinContent(12,6825.62); h_SL1L362->SetBinContent(13,7415.706); h_SL1L362->SetBinContent(14,6402.872); h_SL1L362->SetBinContent(15,6746.355); h_SL1L362->SetBinContent(16,7195.525); h_SL1L362->SetBinContent(17,7248.368); h_SL1L362->SetBinContent(18,7089.838); h_SL1L362->SetBinContent(19,6517.366); h_SL1L362->SetBinContent(20,6667.09); h_SL1L362->SetBinContent(21,7248.368); h_SL1L362->SetBinContent(22,6799.199); h_SL1L362->SetBinContent(23,6834.428); h_SL1L362->SetBinContent(24,7142.681); h_SL1L362->SetBinContent(25,7283.597); h_SL1L362->SetBinContent(26,6913.693); h_SL1L362->SetBinContent(27,6755.162); h_SL1L362->SetBinContent(28,7125.067); h_SL1L362->SetBinContent(29,7450.935); h_SL1L362->SetBinContent(30,6913.693); h_SL1L362->SetBinContent(31,7019.38); h_SL1L362->SetBinContent(32,7671.116); h_SL1L362->SetBinContent(33,7345.248); h_SL1L362->SetBinContent(34,6816.813); h_SL1L362->SetBinContent(35,6746.355); h_SL1L362->SetBinContent(36,7283.597); h_SL1L362->SetBinContent(37,7697.538); h_SL1L362->SetBinContent(38,7160.296); h_SL1L362->SetBinContent(39,6711.126); h_SL1L362->SetBinContent(40,7010.573); h_SL1L362->SetBinContent(41,7301.212); h_SL1L362->SetBinContent(42,6147.462); h_SL1L362->SetBinContent(43,6077.004); h_SL1L362->SetBinContent(44,6279.571); h_SL1L362->SetBinContent(45,6024.16); h_SL1L362->SetBinContent(46,6147.462); h_SL1L362->SetBinContent(47,4932.061); h_SL1L362->SetBinContent(48,4817.567); h_SL1L362->SetBinContent(49,5169.857); h_SL1L362->SetBinContent(50,4896.832); h_SL1L362->SetBinContent(51,5011.326); h_SL1L362->SetBinContent(52,5636.641); h_SL1L362->SetBinContent(53,5812.786); h_SL1L362->SetBinContent(54,5046.555); h_SL1L362->SetBinContent(55,4544.542); h_SL1L362->SetBinContent(56,4112.987); h_SL1L362->SetMaximum(13997.37); 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,1620.534); h_SL1L463->SetBinContent(3,1937.595); h_SL1L463->SetBinContent(4,2210.62); h_SL1L463->SetBinContent(5,2615.754); h_SL1L463->SetBinContent(6,2598.139); h_SL1L463->SetBinContent(7,2686.212); h_SL1L463->SetBinContent(8,2888.779); h_SL1L463->SetBinContent(9,3249.876); h_SL1L463->SetBinContent(10,2994.466); h_SL1L463->SetBinContent(11,2941.622); h_SL1L463->SetBinContent(12,3258.683); h_SL1L463->SetBinContent(13,3549.323); h_SL1L463->SetBinContent(14,3910.42); h_SL1L463->SetBinContent(15,9820.086); h_SL1L463->SetBinContent(16,6191.498); h_SL1L463->SetBinContent(17,3329.141); h_SL1L463->SetBinContent(18,3241.069); h_SL1L463->SetBinContent(19,2994.466); h_SL1L463->SetBinContent(20,2827.128); h_SL1L463->SetBinContent(21,3241.069); h_SL1L463->SetBinContent(22,3373.177); h_SL1L463->SetBinContent(23,3205.84); h_SL1L463->SetBinContent(24,3117.767); h_SL1L463->SetBinContent(25,3020.887); h_SL1L463->SetBinContent(26,3064.924); h_SL1L463->SetBinContent(27,3285.105); h_SL1L463->SetBinContent(28,3188.225); h_SL1L463->SetBinContent(29,3020.887); h_SL1L463->SetBinContent(30,3091.345); h_SL1L463->SetBinContent(31,3003.273); h_SL1L463->SetBinContent(32,2968.044); h_SL1L463->SetBinContent(33,3064.924); h_SL1L463->SetBinContent(34,3082.538); h_SL1L463->SetBinContent(35,2897.586); h_SL1L463->SetBinContent(36,3108.96); h_SL1L463->SetBinContent(40,8.807252); h_SL1L463->SetBinContent(41,3038.502); h_SL1L463->SetBinContent(42,2765.477); h_SL1L463->SetBinContent(43,2818.321); h_SL1L463->SetBinContent(44,2879.971); h_SL1L463->SetBinContent(45,2448.416); h_SL1L463->SetBinContent(46,2571.718); h_SL1L463->SetBinContent(47,2228.235); h_SL1L463->SetBinContent(48,2025.668); h_SL1L463->SetBinContent(49,2078.511); h_SL1L463->SetBinContent(50,2034.475); h_SL1L463->SetBinContent(51,2096.126); h_SL1L463->SetBinContent(52,2289.885); h_SL1L463->SetBinContent(53,2659.79); h_SL1L463->SetBinContent(54,2439.609); h_SL1L463->SetBinContent(56,2210.62); h_SL1L463->SetMaximum(13997.37); 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 7297"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }