void RatesPerCell_Removing_noisy_cells_run_6186_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:30:43 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1618.481,67.5,14566.33); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6186",60,0,60); h_SL2L164->SetBinContent(1,4135.445); h_SL2L164->SetBinContent(2,5003.938); h_SL2L164->SetBinContent(3,6761.124); h_SL2L164->SetBinContent(4,8013.371); h_SL2L164->SetBinContent(5,7745.754); h_SL2L164->SetBinContent(6,8412.272); h_SL2L164->SetBinContent(7,8558.704); h_SL2L164->SetBinContent(8,8437.52); h_SL2L164->SetBinContent(9,8998.001); h_SL2L164->SetBinContent(10,9114.137); h_SL2L164->SetBinContent(11,9321.161); h_SL2L164->SetBinContent(12,9093.939); h_SL2L164->SetBinContent(13,9144.433); h_SL2L164->SetBinContent(14,8735.433); h_SL2L164->SetBinContent(15,8548.605); h_SL2L164->SetBinContent(16,8775.828); h_SL2L164->SetBinContent(17,9003.05); h_SL2L164->SetBinContent(18,9275.717); h_SL2L164->SetBinContent(19,9472.643); h_SL2L164->SetBinContent(20,9184.828); h_SL2L164->SetBinContent(21,9139.384); h_SL2L164->SetBinContent(22,9114.137); h_SL2L164->SetBinContent(23,8871.767); h_SL2L164->SetBinContent(24,9144.433); h_SL2L164->SetBinContent(25,9164.631); h_SL2L164->SetBinContent(26,9073.741); h_SL2L164->SetBinContent(27,9735.211); h_SL2L164->SetBinContent(28,9417.1); h_SL2L164->SetBinContent(29,8982.853); h_SL2L164->SetBinContent(30,9189.877); h_SL2L164->SetBinContent(31,8912.161); h_SL2L164->SetBinContent(32,8240.594); h_SL2L164->SetBinContent(33,8876.815); h_SL2L164->SetBinContent(34,9331.26); h_SL2L164->SetBinContent(35,5.049383); h_SL2L164->SetBinContent(36,9401.951); h_SL2L164->SetBinContent(37,9129.285); h_SL2L164->SetBinContent(38,9275.717); h_SL2L164->SetBinContent(39,8891.964); h_SL2L164->SetBinContent(40,8286.038); h_SL2L164->SetBinContent(41,8684.939); h_SL2L164->SetBinContent(42,8937.408); h_SL2L164->SetBinContent(43,9033.347); h_SL2L164->SetBinContent(44,8801.075); h_SL2L164->SetBinContent(45,9316.112); h_SL2L164->SetBinContent(46,8821.272); h_SL2L164->SetBinContent(47,8831.371); h_SL2L164->SetBinContent(48,9043.445); h_SL2L164->SetBinContent(49,8735.433); h_SL2L164->SetBinContent(50,9098.988); h_SL2L164->SetBinContent(51,8841.47); h_SL2L164->SetBinContent(52,9013.149); h_SL2L164->SetBinContent(53,8467.815); h_SL2L164->SetBinContent(54,7538.729); h_SL2L164->SetBinContent(55,5988.568); h_SL2L164->SetBinContent(56,4660.581); h_SL2L164->SetBinContent(57,1989.457); h_SL2L164->SetMaximum(12947.85); 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,2135.889); h_SL2L265->SetBinContent(2,4599.988); h_SL2L265->SetBinContent(3,5953.223); h_SL2L265->SetBinContent(4,7871.988); h_SL2L265->SetBinContent(5,8008.322); h_SL2L265->SetBinContent(6,8225.445); h_SL2L265->SetBinContent(7,8427.421); h_SL2L265->SetBinContent(8,8558.704); h_SL2L265->SetBinContent(9,8341.581); h_SL2L265->SetBinContent(10,8957.605); h_SL2L265->SetBinContent(11,9083.84); h_SL2L265->SetBinContent(12,9235.322); h_SL2L265->SetBinContent(13,8972.754); h_SL2L265->SetBinContent(14,9225.223); h_SL2L265->SetBinContent(15,8568.804); h_SL2L265->SetBinContent(16,8755.631); h_SL2L265->SetBinContent(17,8725.334); h_SL2L265->SetBinContent(18,9427.198); h_SL2L265->SetBinContent(19,9639.272); h_SL2L265->SetBinContent(20,9220.174); h_SL2L265->SetBinContent(21,9013.149); h_SL2L265->SetBinContent(22,9169.68); h_SL2L265->SetBinContent(23,8664.741); h_SL2L265->SetBinContent(24,8952.557); h_SL2L265->SetBinContent(25,8942.458); h_SL2L265->SetBinContent(26,9245.421); h_SL2L265->SetBinContent(27,9306.013); h_SL2L265->SetBinContent(28,9391.853); h_SL2L265->SetBinContent(29,9210.075); h_SL2L265->SetBinContent(30,9008.1); h_SL2L265->SetBinContent(31,9038.396); h_SL2L265->SetBinContent(32,8407.223); h_SL2L265->SetBinContent(33,8387.025); h_SL2L265->SetBinContent(34,8962.655); h_SL2L265->SetBinContent(35,8220.396); h_SL2L265->SetBinContent(36,7301.408); h_SL2L265->SetBinContent(37,8796.025); h_SL2L265->SetBinContent(38,9098.988); h_SL2L265->SetBinContent(39,9260.568); h_SL2L265->SetBinContent(40,8765.729); h_SL2L265->SetBinContent(41,8679.89); h_SL2L265->SetBinContent(42,8891.964); h_SL2L265->SetBinContent(43,9073.741); h_SL2L265->SetBinContent(44,8750.581); h_SL2L265->SetBinContent(45,8998.001); h_SL2L265->SetBinContent(46,9139.384); h_SL2L265->SetBinContent(47,8523.358); h_SL2L265->SetBinContent(48,8679.89); h_SL2L265->SetBinContent(49,8775.828); h_SL2L265->SetBinContent(50,8836.421); h_SL2L265->SetBinContent(51,8796.025); h_SL2L265->SetBinContent(52,8796.025); h_SL2L265->SetBinContent(53,8917.211); h_SL2L265->SetBinContent(54,7983.075); h_SL2L265->SetBinContent(55,7326.655); h_SL2L265->SetBinContent(56,5574.519); h_SL2L265->SetBinContent(57,3559.815); h_SL2L265->SetMaximum(11259.37); 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,2751.914); h_SL2L366->SetBinContent(2,5170.568); h_SL2L366->SetBinContent(3,7154.976); h_SL2L366->SetBinContent(4,8018.42); h_SL2L366->SetBinContent(5,8553.655); h_SL2L366->SetBinContent(6,8397.124); h_SL2L366->SetBinContent(7,8664.741); h_SL2L366->SetBinContent(8,8558.704); h_SL2L366->SetBinContent(9,8624.347); h_SL2L366->SetBinContent(10,9129.285); h_SL2L366->SetBinContent(11,8902.062); h_SL2L366->SetBinContent(12,9331.26); h_SL2L366->SetBinContent(13,8649.594); h_SL2L366->SetBinContent(14,8750.581); h_SL2L366->SetBinContent(15,8664.741); h_SL2L366->SetBinContent(16,8740.482); h_SL2L366->SetBinContent(17,9018.198); h_SL2L366->SetBinContent(18,9295.914); h_SL2L366->SetBinContent(19,9543.334); h_SL2L366->SetBinContent(20,8932.358); h_SL2L366->SetBinContent(21,9104.038); h_SL2L366->SetBinContent(22,8871.767); h_SL2L366->SetBinContent(23,8730.384); h_SL2L366->SetBinContent(24,8932.358); h_SL2L366->SetBinContent(25,8871.767); h_SL2L366->SetBinContent(26,9513.038); h_SL2L366->SetBinContent(27,9290.865); h_SL2L366->SetBinContent(28,9240.371); h_SL2L366->SetBinContent(29,9230.272); h_SL2L366->SetBinContent(30,8902.062); h_SL2L366->SetBinContent(31,8891.964); h_SL2L366->SetBinContent(32,7937.63); h_SL2L366->SetBinContent(33,8715.235); h_SL2L366->SetBinContent(34,8987.902); h_SL2L366->SetBinContent(35,7993.173); h_SL2L366->SetBinContent(36,7796.248); h_SL2L366->SetBinContent(37,8609.198); h_SL2L366->SetBinContent(38,9245.421); h_SL2L366->SetBinContent(39,9129.285); h_SL2L366->SetBinContent(40,8785.927); h_SL2L366->SetBinContent(41,8644.544); h_SL2L366->SetBinContent(42,9109.087); h_SL2L366->SetBinContent(43,8876.815); h_SL2L366->SetBinContent(44,8594.05); h_SL2L366->SetBinContent(45,8957.605); h_SL2L366->SetBinContent(46,8927.31); h_SL2L366->SetBinContent(47,8750.581); h_SL2L366->SetBinContent(48,8331.482); h_SL2L366->SetBinContent(49,8917.211); h_SL2L366->SetBinContent(50,8775.828); h_SL2L366->SetBinContent(51,8589.001); h_SL2L366->SetBinContent(52,8816.223); h_SL2L366->SetBinContent(53,8654.643); h_SL2L366->SetBinContent(54,7826.544); h_SL2L366->SetBinContent(55,7094.383); h_SL2L366->SetBinContent(56,4488.902); h_SL2L366->SetBinContent(57,2893.297); h_SL2L366->SetMaximum(11259.37); 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,3660.803); h_SL2L467->SetBinContent(3,6700.531); h_SL2L467->SetBinContent(4,7806.346); h_SL2L467->SetBinContent(5,8594.05); h_SL2L467->SetBinContent(6,8624.347); h_SL2L467->SetBinContent(7,8553.655); h_SL2L467->SetBinContent(8,8669.791); h_SL2L467->SetBinContent(9,8811.174); h_SL2L467->SetBinContent(10,8922.26); h_SL2L467->SetBinContent(11,9114.137); h_SL2L467->SetBinContent(12,9215.124); h_SL2L467->SetBinContent(13,9033.347); h_SL2L467->SetBinContent(14,8442.568); h_SL2L467->SetBinContent(15,8962.655); h_SL2L467->SetBinContent(16,8558.704); h_SL2L467->SetBinContent(17,8801.075); h_SL2L467->SetBinContent(18,9790.754); h_SL2L467->SetBinContent(19,9709.964); h_SL2L467->SetBinContent(20,9169.68); h_SL2L467->SetBinContent(21,9396.902); h_SL2L467->SetBinContent(22,8831.371); h_SL2L467->SetBinContent(23,9401.951); h_SL2L467->SetBinContent(24,8952.557); h_SL2L467->SetBinContent(25,8927.31); h_SL2L467->SetBinContent(26,9351.458); h_SL2L467->SetBinContent(27,9381.754); h_SL2L467->SetBinContent(28,8982.853); h_SL2L467->SetBinContent(29,9366.605); h_SL2L467->SetBinContent(30,9295.914); h_SL2L467->SetBinContent(31,8962.655); h_SL2L467->SetBinContent(32,8326.433); h_SL2L467->SetBinContent(33,8286.038); h_SL2L467->SetBinContent(34,8846.52); h_SL2L467->SetBinContent(35,8876.815); h_SL2L467->SetBinContent(36,8195.148); h_SL2L467->SetBinContent(37,7967.927); h_SL2L467->SetBinContent(38,8947.507); h_SL2L467->SetBinContent(39,9265.618); h_SL2L467->SetBinContent(40,8902.062); h_SL2L467->SetBinContent(41,8871.767); h_SL2L467->SetBinContent(42,8977.804); h_SL2L467->SetBinContent(43,9240.371); h_SL2L467->SetBinContent(44,8725.334); h_SL2L467->SetBinContent(45,8730.384); h_SL2L467->SetBinContent(46,8876.815); h_SL2L467->SetBinContent(47,8932.358); h_SL2L467->SetBinContent(48,8412.272); h_SL2L467->SetBinContent(49,8846.52); h_SL2L467->SetBinContent(50,8902.062); h_SL2L467->SetBinContent(51,8745.531); h_SL2L467->SetBinContent(52,8780.877); h_SL2L467->SetBinContent(53,8972.754); h_SL2L467->SetBinContent(54,8472.865); h_SL2L467->SetBinContent(55,7952.778); h_SL2L467->SetBinContent(56,6230.939); h_SL2L467->SetBinContent(57,2847.852); h_SL2L467->SetMaximum(11259.37); 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 6186"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }