void RatesPerCell_Removing_noisy_cells_run_5682_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 14:46:29 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1598.5,67.5,14386.5); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 5682",60,0,60); h_SL2L164->SetBinContent(1,4392.345); h_SL2L164->SetBinContent(2,5109.331); h_SL2L164->SetBinContent(3,6523.924); h_SL2L164->SetBinContent(4,7622.01); h_SL2L164->SetBinContent(5,7886.843); h_SL2L164->SetBinContent(6,8649.044); h_SL2L164->SetBinContent(7,8720.097); h_SL2L164->SetBinContent(8,8752.393); h_SL2L164->SetBinContent(9,8720.097); h_SL2L164->SetBinContent(10,8636.125); h_SL2L164->SetBinContent(11,8552.153); h_SL2L164->SetBinContent(12,8907.417); h_SL2L164->SetBinContent(13,9055.981); h_SL2L164->SetBinContent(14,8810.527); h_SL2L164->SetBinContent(15,8862.201); h_SL2L164->SetBinContent(16,8739.475); h_SL2L164->SetBinContent(17,8526.316); h_SL2L164->SetBinContent(18,8681.34); h_SL2L164->SetBinContent(19,9249.762); h_SL2L164->SetBinContent(20,8804.067); h_SL2L164->SetBinContent(21,8881.579); h_SL2L164->SetBinContent(22,8842.823); h_SL2L164->SetBinContent(23,8900.957); h_SL2L164->SetBinContent(24,8255.024); h_SL2L164->SetBinContent(25,9075.359); h_SL2L164->SetBinContent(26,8972.01); h_SL2L164->SetBinContent(27,9269.14); h_SL2L164->SetBinContent(28,9211.006); h_SL2L164->SetBinContent(29,9669.618); h_SL2L164->SetBinContent(30,9133.493); h_SL2L164->SetBinContent(31,8733.015); h_SL2L164->SetBinContent(32,8603.828); h_SL2L164->SetBinContent(33,9062.44); h_SL2L164->SetBinContent(34,9094.737); h_SL2L164->SetBinContent(35,32.29665); h_SL2L164->SetBinContent(36,9223.924); h_SL2L164->SetBinContent(37,8965.551); h_SL2L164->SetBinContent(38,8965.551); h_SL2L164->SetBinContent(39,8875.12); h_SL2L164->SetBinContent(40,8668.422); h_SL2L164->SetBinContent(41,8610.288); h_SL2L164->SetBinContent(42,8552.153); h_SL2L164->SetBinContent(43,8804.067); h_SL2L164->SetBinContent(44,8816.986); h_SL2L164->SetBinContent(45,9088.278); h_SL2L164->SetBinContent(46,8855.742); h_SL2L164->SetBinContent(47,8597.369); h_SL2L164->SetBinContent(48,8720.097); h_SL2L164->SetBinContent(49,8506.938); h_SL2L164->SetBinContent(50,8810.527); h_SL2L164->SetBinContent(51,9075.359); h_SL2L164->SetBinContent(52,8468.183); h_SL2L164->SetBinContent(53,8487.561); h_SL2L164->SetBinContent(54,7764.115); h_SL2L164->SetBinContent(55,6343.062); h_SL2L164->SetBinContent(56,4508.613); h_SL2L164->SetBinContent(57,2163.876); h_SL2L164->SetMaximum(12788); 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,2402.871); h_SL2L265->SetBinContent(2,4631.34); h_SL2L265->SetBinContent(3,6149.283); h_SL2L265->SetBinContent(4,7712.441); h_SL2L265->SetBinContent(5,7770.575); h_SL2L265->SetBinContent(6,8410.049); h_SL2L265->SetBinContent(7,8610.288); h_SL2L265->SetBinContent(8,8674.881); h_SL2L265->SetBinContent(9,9043.062); h_SL2L265->SetBinContent(10,8519.857); h_SL2L265->SetBinContent(11,9004.307); h_SL2L265->SetBinContent(12,8552.153); h_SL2L265->SetBinContent(13,8965.551); h_SL2L265->SetBinContent(14,9030.145); h_SL2L265->SetBinContent(15,8758.853); h_SL2L265->SetBinContent(16,9172.249); h_SL2L265->SetBinContent(17,8565.072); h_SL2L265->SetBinContent(18,8816.986); h_SL2L265->SetBinContent(19,8868.661); h_SL2L265->SetBinContent(20,9127.034); h_SL2L265->SetBinContent(21,8797.608); h_SL2L265->SetBinContent(22,8674.881); h_SL2L265->SetBinContent(23,8552.153); h_SL2L265->SetBinContent(24,8293.78); h_SL2L265->SetBinContent(25,8745.934); h_SL2L265->SetBinContent(26,8842.823); h_SL2L265->SetBinContent(27,9236.843); h_SL2L265->SetBinContent(28,9030.145); h_SL2L265->SetBinContent(29,9398.326); h_SL2L265->SetBinContent(30,9204.546); h_SL2L265->SetBinContent(31,8694.259); h_SL2L265->SetBinContent(32,8674.881); h_SL2L265->SetBinContent(33,8991.388); h_SL2L265->SetBinContent(34,8952.632); h_SL2L265->SetBinContent(35,7925.599); h_SL2L265->SetBinContent(36,7796.412); h_SL2L265->SetBinContent(37,9030.145); h_SL2L265->SetBinContent(38,9256.221); h_SL2L265->SetBinContent(39,8816.986); h_SL2L265->SetBinContent(40,8842.823); h_SL2L265->SetBinContent(41,8978.47); h_SL2L265->SetBinContent(42,8816.986); h_SL2L265->SetBinContent(43,8649.044); h_SL2L265->SetBinContent(44,9036.604); h_SL2L265->SetBinContent(45,8997.848); h_SL2L265->SetBinContent(46,8804.067); h_SL2L265->SetBinContent(47,8668.422); h_SL2L265->SetBinContent(48,8603.828); h_SL2L265->SetBinContent(49,8422.967); h_SL2L265->SetBinContent(50,8481.101); h_SL2L265->SetBinContent(51,8875.12); h_SL2L265->SetBinContent(52,8913.876); h_SL2L265->SetBinContent(53,9010.767); h_SL2L265->SetBinContent(54,8500.479); h_SL2L265->SetBinContent(55,7673.685); h_SL2L265->SetBinContent(56,5923.206); h_SL2L265->SetBinContent(57,3720.574); h_SL2L265->SetMaximum(11120.06); 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,3042.345); h_SL2L366->SetBinContent(2,5593.78); h_SL2L366->SetBinContent(3,7305.503); h_SL2L366->SetBinContent(4,8196.891); h_SL2L366->SetBinContent(5,8565.072); h_SL2L366->SetBinContent(6,8558.613); h_SL2L366->SetBinContent(7,8539.235); h_SL2L366->SetBinContent(8,9023.685); h_SL2L366->SetBinContent(9,8293.78); h_SL2L366->SetBinContent(10,8926.795); h_SL2L366->SetBinContent(11,8939.714); h_SL2L366->SetBinContent(12,8481.101); h_SL2L366->SetBinContent(13,8745.934); h_SL2L366->SetBinContent(14,9101.196); h_SL2L366->SetBinContent(15,8590.909); h_SL2L366->SetBinContent(16,8752.393); h_SL2L366->SetBinContent(17,8745.934); h_SL2L366->SetBinContent(18,8862.201); h_SL2L366->SetBinContent(19,8959.092); h_SL2L366->SetBinContent(20,8933.254); h_SL2L366->SetBinContent(21,9172.249); h_SL2L366->SetBinContent(22,8745.934); h_SL2L366->SetBinContent(23,8300.24); h_SL2L366->SetBinContent(24,8280.861); h_SL2L366->SetBinContent(25,8965.551); h_SL2L366->SetBinContent(26,9004.307); h_SL2L366->SetBinContent(27,9346.651); h_SL2L366->SetBinContent(28,9146.412); h_SL2L366->SetBinContent(29,9333.732); h_SL2L366->SetBinContent(30,9501.675); h_SL2L366->SetBinContent(31,8590.909); h_SL2L366->SetBinContent(32,9275.599); h_SL2L366->SetBinContent(33,8500.479); h_SL2L366->SetBinContent(34,8422.967); h_SL2L366->SetBinContent(35,7783.493); h_SL2L366->SetBinContent(36,8074.163); h_SL2L366->SetBinContent(37,8984.929); h_SL2L366->SetBinContent(38,9075.359); h_SL2L366->SetBinContent(39,8868.661); h_SL2L366->SetBinContent(40,8804.067); h_SL2L366->SetBinContent(41,8726.556); h_SL2L366->SetBinContent(42,9075.359); h_SL2L366->SetBinContent(43,8674.881); h_SL2L366->SetBinContent(44,8836.364); h_SL2L366->SetBinContent(45,8681.34); h_SL2L366->SetBinContent(46,8733.015); h_SL2L366->SetBinContent(47,8649.044); h_SL2L366->SetBinContent(48,8410.049); h_SL2L366->SetBinContent(49,8429.427); h_SL2L366->SetBinContent(50,8506.938); h_SL2L366->SetBinContent(51,9327.273); h_SL2L366->SetBinContent(52,8978.47); h_SL2L366->SetBinContent(53,8855.742); h_SL2L366->SetBinContent(54,8804.067); h_SL2L366->SetBinContent(55,7234.45); h_SL2L366->SetBinContent(56,4721.771); h_SL2L366->SetBinContent(57,2997.129); h_SL2L366->SetMaximum(11120.06); 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,3843.302); h_SL2L467->SetBinContent(3,6930.862); h_SL2L467->SetBinContent(4,8112.919); h_SL2L467->SetBinContent(5,8752.393); h_SL2L467->SetBinContent(6,8313.158); h_SL2L467->SetBinContent(7,8745.934); h_SL2L467->SetBinContent(8,8900.957); h_SL2L467->SetBinContent(9,8435.886); h_SL2L467->SetBinContent(10,8694.259); h_SL2L467->SetBinContent(11,9172.249); h_SL2L467->SetBinContent(12,9036.604); h_SL2L467->SetBinContent(13,8584.45); h_SL2L467->SetBinContent(14,8972.01); h_SL2L467->SetBinContent(15,9159.331); h_SL2L467->SetBinContent(16,8952.632); h_SL2L467->SetBinContent(17,8875.12); h_SL2L467->SetBinContent(18,8946.173); h_SL2L467->SetBinContent(19,8997.848); h_SL2L467->SetBinContent(20,9204.546); h_SL2L467->SetBinContent(21,9010.767); h_SL2L467->SetBinContent(22,9088.278); h_SL2L467->SetBinContent(23,8661.962); h_SL2L467->SetBinContent(24,8422.967); h_SL2L467->SetBinContent(25,8894.498); h_SL2L467->SetBinContent(26,8855.742); h_SL2L467->SetBinContent(27,9353.11); h_SL2L467->SetBinContent(28,9294.977); h_SL2L467->SetBinContent(29,9437.082); h_SL2L467->SetBinContent(30,9462.919); h_SL2L467->SetBinContent(31,8649.044); h_SL2L467->SetBinContent(32,8939.714); h_SL2L467->SetBinContent(33,8616.747); h_SL2L467->SetBinContent(34,8403.589); h_SL2L467->SetBinContent(35,8332.536); h_SL2L467->SetBinContent(36,8571.531); h_SL2L467->SetBinContent(37,8371.292); h_SL2L467->SetBinContent(38,9256.221); h_SL2L467->SetBinContent(39,8991.388); h_SL2L467->SetBinContent(40,8959.092); h_SL2L467->SetBinContent(41,8681.34); h_SL2L467->SetBinContent(42,8435.886); h_SL2L467->SetBinContent(43,9101.196); h_SL2L467->SetBinContent(44,8636.125); h_SL2L467->SetBinContent(45,8842.823); h_SL2L467->SetBinContent(46,8713.637); h_SL2L467->SetBinContent(47,9023.685); h_SL2L467->SetBinContent(48,8487.561); h_SL2L467->SetBinContent(49,8687.8); h_SL2L467->SetBinContent(50,8481.101); h_SL2L467->SetBinContent(51,9185.168); h_SL2L467->SetBinContent(52,8972.01); h_SL2L467->SetBinContent(53,9301.436); h_SL2L467->SetBinContent(54,8584.45); h_SL2L467->SetBinContent(55,8112.919); h_SL2L467->SetBinContent(56,6110.527); h_SL2L467->SetBinContent(57,2977.751); h_SL2L467->SetMaximum(11120.06); 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 5682"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }