void RatesPerCell_Removing_noisy_cells_run_6186_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:30:42 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1331.269,67.5,11981.42); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6186",60,0,60); h_SL1L160->SetBinContent(1,3499.222); h_SL1L160->SetBinContent(2,3721.396); h_SL1L160->SetBinContent(3,4322.272); h_SL1L160->SetBinContent(4,5210.963); h_SL1L160->SetBinContent(5,5337.198); h_SL1L160->SetBinContent(6,5933.025); h_SL1L160->SetBinContent(7,5640.161); h_SL1L160->SetBinContent(8,6220.84); h_SL1L160->SetBinContent(9,6422.815); h_SL1L160->SetBinContent(10,6523.803); h_SL1L160->SetBinContent(11,5953.223); h_SL1L160->SetBinContent(12,6276.383); h_SL1L160->SetBinContent(13,6816.667); h_SL1L160->SetBinContent(14,6523.803); h_SL1L160->SetBinContent(15,5756.297); h_SL1L160->SetBinContent(16,6018.865); h_SL1L160->SetBinContent(17,6554.099); h_SL1L160->SetBinContent(18,6685.383); h_SL1L160->SetBinContent(19,6301.63); h_SL1L160->SetBinContent(20,6145.099); h_SL1L160->SetBinContent(21,6796.47); h_SL1L160->SetBinContent(22,6907.556); h_SL1L160->SetBinContent(23,6200.643); h_SL1L160->SetBinContent(24,6321.828); h_SL1L160->SetBinContent(25,6907.556); h_SL1L160->SetBinContent(26,6745.976); h_SL1L160->SetBinContent(27,6276.383); h_SL1L160->SetBinContent(28,6432.914); h_SL1L160->SetBinContent(29,6554.099); h_SL1L160->SetBinContent(30,7180.223); h_SL1L160->SetBinContent(31,6271.334); h_SL1L160->SetBinContent(32,6639.939); h_SL1L160->SetBinContent(33,7048.939); h_SL1L160->SetBinContent(34,7271.112); h_SL1L160->SetBinContent(35,6437.963); h_SL1L160->SetBinContent(36,6336.976); h_SL1L160->SetBinContent(37,6857.062); h_SL1L160->SetBinContent(38,6468.26); h_SL1L160->SetBinContent(39,6377.371); h_SL1L160->SetBinContent(40,6119.853); h_SL1L160->SetBinContent(41,6695.482); h_SL1L160->SetBinContent(42,6680.334); h_SL1L160->SetBinContent(43,6175.396); h_SL1L160->SetBinContent(44,6402.618); h_SL1L160->SetBinContent(45,6569.248); h_SL1L160->SetBinContent(46,6549.05); h_SL1L160->SetBinContent(47,5216.013); h_SL1L160->SetBinContent(48,5306.902); h_SL1L160->SetBinContent(49,5397.791); h_SL1L160->SetBinContent(50,5120.075); h_SL1L160->SetBinContent(51,4847.408); h_SL1L160->SetBinContent(52,4711.075); h_SL1L160->SetBinContent(53,4968.593); h_SL1L160->SetBinContent(54,4635.334); h_SL1L160->SetBinContent(55,3938.519); h_SL1L160->SetBinContent(56,3736.543); h_SL1L160->SetBinContent(57,3605.26); h_SL1L160->SetBinContent(58,3453.778); h_SL1L160->SetBinContent(59,2484.297); h_SL1L160->SetMaximum(10650.15); 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,3489.124); h_SL1L261->SetBinContent(2,3847.63); h_SL1L261->SetBinContent(3,4312.173); h_SL1L261->SetBinContent(4,5296.803); h_SL1L261->SetBinContent(5,5619.963); h_SL1L261->SetBinContent(6,6483.408); h_SL1L261->SetBinContent(7,6018.865); h_SL1L261->SetBinContent(8,6483.408); h_SL1L261->SetBinContent(9,7018.643); h_SL1L261->SetBinContent(10,7124.68); h_SL1L261->SetBinContent(11,6675.285); h_SL1L261->SetBinContent(12,6453.112); h_SL1L261->SetBinContent(13,6927.754); h_SL1L261->SetBinContent(14,7508.433); h_SL1L261->SetBinContent(15,6362.223); h_SL1L261->SetBinContent(16,6493.507); h_SL1L261->SetBinContent(17,7220.618); h_SL1L261->SetBinContent(18,7528.63); h_SL1L261->SetBinContent(19,6857.062); h_SL1L261->SetBinContent(20,6710.63); h_SL1L261->SetBinContent(21,7387.248); h_SL1L261->SetBinContent(22,7614.47); h_SL1L261->SetBinContent(23,7038.84); h_SL1L261->SetBinContent(24,6690.433); h_SL1L261->SetBinContent(25,7533.68); h_SL1L261->SetBinContent(26,7801.297); h_SL1L261->SetBinContent(27,6937.853); h_SL1L261->SetBinContent(28,7452.89); h_SL1L261->SetBinContent(29,7311.507); h_SL1L261->SetBinContent(30,7664.964); h_SL1L261->SetBinContent(31,7457.939); h_SL1L261->SetBinContent(32,7493.285); h_SL1L261->SetBinContent(33,7609.42); h_SL1L261->SetBinContent(34,8003.272); h_SL1L261->SetBinContent(35,7402.396); h_SL1L261->SetBinContent(36,6958.05); h_SL1L261->SetBinContent(37,7367.05); h_SL1L261->SetBinContent(38,7468.038); h_SL1L261->SetBinContent(39,7003.495); h_SL1L261->SetBinContent(40,7109.531); h_SL1L261->SetBinContent(41,7599.322); h_SL1L261->SetBinContent(42,7614.47); h_SL1L261->SetBinContent(43,7079.235); h_SL1L261->SetBinContent(44,7043.89); h_SL1L261->SetBinContent(45,7089.334); h_SL1L261->SetBinContent(46,7569.025); h_SL1L261->SetBinContent(47,6352.124); h_SL1L261->SetBinContent(48,5882.531); h_SL1L261->SetBinContent(49,5968.371); h_SL1L261->SetBinContent(50,5715.902); h_SL1L261->SetBinContent(51,5362.445); h_SL1L261->SetBinContent(52,5402.84); h_SL1L261->SetBinContent(53,5524.025); h_SL1L261->SetBinContent(54,5619.963); h_SL1L261->SetBinContent(55,4892.852); h_SL1L261->SetBinContent(56,4342.47); h_SL1L261->SetBinContent(57,4463.655); h_SL1L261->SetBinContent(58,3943.568); h_SL1L261->SetBinContent(59,3216.457); h_SL1L261->SetMaximum(9261.831); 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,3640.605); h_SL1L362->SetBinContent(2,3842.581); h_SL1L362->SetBinContent(3,4796.914); h_SL1L362->SetBinContent(4,5569.47); h_SL1L362->SetBinContent(5,6347.075); h_SL1L362->SetBinContent(6,6291.531); h_SL1L362->SetBinContent(7,6256.186); h_SL1L362->SetBinContent(8,6761.124); h_SL1L362->SetBinContent(9,7119.63); h_SL1L362->SetBinContent(10,6730.828); h_SL1L362->SetBinContent(11,6195.593); h_SL1L362->SetBinContent(12,7013.593); h_SL1L362->SetBinContent(13,7225.667); h_SL1L362->SetBinContent(14,7008.544); h_SL1L362->SetBinContent(15,6210.741); h_SL1L362->SetBinContent(16,6811.618); h_SL1L362->SetBinContent(17,7493.285); h_SL1L362->SetBinContent(18,7144.877); h_SL1L362->SetBinContent(19,6821.717); h_SL1L362->SetBinContent(20,7160.025); h_SL1L362->SetBinContent(21,7690.21); h_SL1L362->SetBinContent(22,7175.173); h_SL1L362->SetBinContent(23,6816.667); h_SL1L362->SetBinContent(24,7346.853); h_SL1L362->SetBinContent(25,7821.495); h_SL1L362->SetBinContent(26,7129.729); h_SL1L362->SetBinContent(27,7119.63); h_SL1L362->SetBinContent(28,7139.828); h_SL1L362->SetBinContent(29,7634.667); h_SL1L362->SetBinContent(30,7887.137); h_SL1L362->SetBinContent(31,7079.235); h_SL1L362->SetBinContent(32,7579.124); h_SL1L362->SetBinContent(33,7993.173); h_SL1L362->SetBinContent(34,7664.964); h_SL1L362->SetBinContent(35,7053.988); h_SL1L362->SetBinContent(36,7407.445); h_SL1L362->SetBinContent(37,7664.964); h_SL1L362->SetBinContent(38,7367.05); h_SL1L362->SetBinContent(39,6937.853); h_SL1L362->SetBinContent(40,7412.495); h_SL1L362->SetBinContent(41,7675.062); h_SL1L362->SetBinContent(42,7407.445); h_SL1L362->SetBinContent(43,7139.828); h_SL1L362->SetBinContent(44,7180.223); h_SL1L362->SetBinContent(45,7468.038); h_SL1L362->SetBinContent(46,7200.42); h_SL1L362->SetBinContent(47,5741.148); h_SL1L362->SetBinContent(48,6185.494); h_SL1L362->SetBinContent(49,6049.161); h_SL1L362->SetBinContent(50,5417.988); h_SL1L362->SetBinContent(51,5377.593); h_SL1L362->SetBinContent(52,5594.716); h_SL1L362->SetBinContent(53,5736.099); h_SL1L362->SetBinContent(54,5271.556); h_SL1L362->SetBinContent(55,4918.099); h_SL1L362->SetBinContent(56,4776.716); h_SL1L362->SetBinContent(57,4337.42); h_SL1L362->SetBinContent(58,3645.655); h_SL1L362->SetBinContent(59,2706.469); h_SL1L362->SetMaximum(9261.831); 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,3776.939); h_SL1L463->SetBinContent(3,4317.223); h_SL1L463->SetBinContent(4,5125.124); h_SL1L463->SetBinContent(5,5862.334); h_SL1L463->SetBinContent(6,6538.951); h_SL1L463->SetBinContent(7,6155.198); h_SL1L463->SetBinContent(8,6685.383); h_SL1L463->SetBinContent(9,7286.26); h_SL1L463->SetBinContent(10,6958.05); h_SL1L463->SetBinContent(11,6205.692); h_SL1L463->SetBinContent(12,6609.643); h_SL1L463->SetBinContent(13,7291.309); h_SL1L463->SetBinContent(14,7296.359); h_SL1L463->SetBinContent(15,6498.556); h_SL1L463->SetBinContent(16,6705.581); h_SL1L463->SetBinContent(17,7316.556); h_SL1L463->SetBinContent(18,7427.643); h_SL1L463->SetBinContent(19,6533.902); h_SL1L463->SetBinContent(20,6963.1); h_SL1L463->SetBinContent(21,7457.939); h_SL1L463->SetBinContent(22,7639.717); h_SL1L463->SetBinContent(23,6831.815); h_SL1L463->SetBinContent(24,7109.531); h_SL1L463->SetBinContent(25,7644.766); h_SL1L463->SetBinContent(26,7457.939); h_SL1L463->SetBinContent(27,7008.544); h_SL1L463->SetBinContent(28,7301.408); h_SL1L463->SetBinContent(29,7624.568); h_SL1L463->SetBinContent(30,7654.865); h_SL1L463->SetBinContent(31,7210.519); h_SL1L463->SetBinContent(32,7750.803); h_SL1L463->SetBinContent(33,7786.149); h_SL1L463->SetBinContent(34,8053.766); h_SL1L463->SetBinContent(35,7089.334); h_SL1L463->SetBinContent(36,7367.05); h_SL1L463->SetBinContent(37,7518.532); h_SL1L463->SetBinContent(38,7457.939); h_SL1L463->SetBinContent(39,6821.717); h_SL1L463->SetBinContent(40,7356.951); h_SL1L463->SetBinContent(41,7750.803); h_SL1L463->SetBinContent(42,7599.322); h_SL1L463->SetBinContent(43,6897.458); h_SL1L463->SetBinContent(44,7367.05); h_SL1L463->SetBinContent(45,7382.198); h_SL1L463->SetBinContent(46,7553.877); h_SL1L463->SetBinContent(47,6261.235); h_SL1L463->SetBinContent(48,5938.075); h_SL1L463->SetBinContent(49,6215.791); h_SL1L463->SetBinContent(50,5524.025); h_SL1L463->SetBinContent(51,5135.223); h_SL1L463->SetBinContent(52,5549.272); h_SL1L463->SetBinContent(53,5948.173); h_SL1L463->SetBinContent(54,5625.013); h_SL1L463->SetBinContent(56,4978.692); h_SL1L463->SetBinContent(57,4554.543); h_SL1L463->SetBinContent(58,4190.988); h_SL1L463->SetBinContent(59,3226.556); h_SL1L463->SetMaximum(9261.831); 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 6186"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }