void RatesPerCell_Removing_noisy_cells_run_5861_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:28:41 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-5853.644,67.5,52682.79); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 5861",60,0,60); h_SL2L164->SetBinContent(1,4401.998); h_SL2L164->SetBinContent(2,35410.12); h_SL2L164->SetBinContent(3,6581.19); h_SL2L164->SetBinContent(4,7705.255); h_SL2L164->SetBinContent(5,8124.493); h_SL2L164->SetBinContent(6,8448.065); h_SL2L164->SetBinContent(7,8542.323); h_SL2L164->SetBinContent(8,8678.787); h_SL2L164->SetBinContent(9,8653.464); h_SL2L164->SetBinContent(10,8684.414); h_SL2L164->SetBinContent(11,8978.443); h_SL2L164->SetBinContent(12,9022.056); h_SL2L164->SetBinContent(13,9273.88); h_SL2L164->SetBinContent(14,8625.327); h_SL2L164->SetBinContent(15,8664.719); h_SL2L164->SetBinContent(16,8629.548); h_SL2L164->SetBinContent(17,8960.154); h_SL2L164->SetBinContent(18,9038.938); h_SL2L164->SetBinContent(19,9497.567); h_SL2L164->SetBinContent(20,9055.819); h_SL2L164->SetBinContent(21,9131.789); h_SL2L164->SetBinContent(22,9162.739); h_SL2L164->SetBinContent(23,9100.839); h_SL2L164->SetBinContent(24,8975.63); h_SL2L164->SetBinContent(25,9112.093); h_SL2L164->SetBinContent(26,9045.972); h_SL2L164->SetBinContent(27,9085.363); h_SL2L164->SetBinContent(28,9376.579); h_SL2L164->SetBinContent(29,9158.519); h_SL2L164->SetBinContent(30,8933.425); h_SL2L164->SetBinContent(31,8858.862); h_SL2L164->SetBinContent(32,8837.76); h_SL2L164->SetBinContent(33,8649.243); h_SL2L164->SetBinContent(34,8743.502); h_SL2L164->SetBinContent(35,1.406839); h_SL2L164->SetBinContent(36,10192.54); h_SL2L164->SetBinContent(37,9095.211); h_SL2L164->SetBinContent(38,9069.888); h_SL2L164->SetBinContent(39,8899.66); h_SL2L164->SetBinContent(40,8426.963); h_SL2L164->SetBinContent(41,8706.924); h_SL2L164->SetBinContent(42,8844.794); h_SL2L164->SetBinContent(43,9186.655); h_SL2L164->SetBinContent(44,8894.033); h_SL2L164->SetBinContent(45,8794.147); h_SL2L164->SetBinContent(46,8877.151); h_SL2L164->SetBinContent(47,8773.045); h_SL2L164->SetBinContent(48,8777.266); h_SL2L164->SetBinContent(49,8473.389); h_SL2L164->SetBinContent(50,8775.858); h_SL2L164->SetBinContent(51,8768.824); h_SL2L164->SetBinContent(52,8450.879); h_SL2L164->SetBinContent(53,8155.443); h_SL2L164->SetBinContent(54,7606.776); h_SL2L164->SetBinContent(55,6084.577); h_SL2L164->SetBinContent(56,4742.453); h_SL2L164->SetBinContent(57,2042.73); h_SL2L164->SetMaximum(46829.15); 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,2177.786); h_SL2L265->SetBinContent(2,4829.677); h_SL2L265->SetBinContent(3,6176.021); h_SL2L265->SetBinContent(4,7490.008); h_SL2L265->SetBinContent(5,8003.504); h_SL2L265->SetBinContent(6,8342.553); h_SL2L265->SetBinContent(7,8722.398); h_SL2L265->SetBinContent(8,8735.061); h_SL2L265->SetBinContent(9,8549.357); h_SL2L265->SetBinContent(10,8452.286); h_SL2L265->SetBinContent(11,8805.402); h_SL2L265->SetBinContent(12,9000.953); h_SL2L265->SetBinContent(13,9064.261); h_SL2L265->SetBinContent(14,8922.17); h_SL2L265->SetBinContent(15,8657.685); h_SL2L265->SetBinContent(16,8803.995); h_SL2L265->SetBinContent(17,8564.833); h_SL2L265->SetBinContent(18,9075.516); h_SL2L265->SetBinContent(19,9214.792); h_SL2L265->SetBinContent(20,9179.621); h_SL2L265->SetBinContent(21,9164.146); h_SL2L265->SetBinContent(22,9090.99); h_SL2L265->SetBinContent(23,8850.421); h_SL2L265->SetBinContent(24,9140.229); h_SL2L265->SetBinContent(25,8971.409); h_SL2L265->SetBinContent(26,9024.869); h_SL2L265->SetBinContent(27,8801.182); h_SL2L265->SetBinContent(28,9113.5); h_SL2L265->SetBinContent(29,9226.047); h_SL2L265->SetBinContent(30,8891.22); h_SL2L265->SetBinContent(31,8720.992); h_SL2L265->SetBinContent(32,8729.434); h_SL2L265->SetBinContent(33,8532.476); h_SL2L265->SetBinContent(34,8687.228); h_SL2L265->SetBinContent(35,7588.487); h_SL2L265->SetBinContent(36,7533.621); h_SL2L265->SetBinContent(37,9003.767); h_SL2L265->SetBinContent(38,8972.816); h_SL2L265->SetBinContent(39,9022.056); h_SL2L265->SetBinContent(40,8646.43); h_SL2L265->SetBinContent(41,8708.33); h_SL2L265->SetBinContent(42,8712.551); h_SL2L265->SetBinContent(43,8870.117); h_SL2L265->SetBinContent(44,8663.312); h_SL2L265->SetBinContent(45,8732.247); h_SL2L265->SetBinContent(46,8778.673); h_SL2L265->SetBinContent(47,8694.262); h_SL2L265->SetBinContent(48,8704.11); h_SL2L265->SetBinContent(49,8455.1); h_SL2L265->SetBinContent(50,8398.826); h_SL2L265->SetBinContent(51,8951.714); h_SL2L265->SetBinContent(52,8487.457); h_SL2L265->SetBinContent(53,8570.46); h_SL2L265->SetBinContent(54,8137.154); h_SL2L265->SetBinContent(55,7378.868); h_SL2L265->SetBinContent(56,5703.323); h_SL2L265->SetBinContent(57,3811.125); h_SL2L265->SetMaximum(40721.64); 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,2975.464); h_SL2L366->SetBinContent(2,5519.027); h_SL2L366->SetBinContent(3,7370.427); h_SL2L366->SetBinContent(4,7913.467); h_SL2L366->SetBinContent(5,8379.13); h_SL2L366->SetBinContent(6,8495.897); h_SL2L366->SetBinContent(7,8811.029); h_SL2L366->SetBinContent(8,8522.628); h_SL2L366->SetBinContent(9,8479.016); h_SL2L366->SetBinContent(10,8629.548); h_SL2L366->SetBinContent(11,8991.105); h_SL2L366->SetBinContent(12,8967.188); h_SL2L366->SetBinContent(13,8932.018); h_SL2L366->SetBinContent(14,8698.482); h_SL2L366->SetBinContent(15,8795.555); h_SL2L366->SetBinContent(16,8622.514); h_SL2L366->SetBinContent(17,8836.353); h_SL2L366->SetBinContent(18,9155.705); h_SL2L366->SetBinContent(19,9074.108); h_SL2L366->SetBinContent(20,9200.724); h_SL2L366->SetBinContent(21,9089.584); h_SL2L366->SetBinContent(22,9150.078); h_SL2L366->SetBinContent(23,8847.607); h_SL2L366->SetBinContent(24,8886.999); h_SL2L366->SetBinContent(25,9088.177); h_SL2L366->SetBinContent(26,8967.188); h_SL2L366->SetBinContent(27,8961.562); h_SL2L366->SetBinContent(28,9130.382); h_SL2L366->SetBinContent(29,9164.146); h_SL2L366->SetBinContent(30,8829.318); h_SL2L366->SetBinContent(31,8728.026); h_SL2L366->SetBinContent(32,8667.532); h_SL2L366->SetBinContent(33,8459.32); h_SL2L366->SetBinContent(34,8162.477); h_SL2L366->SetBinContent(35,7653.202); h_SL2L366->SetBinContent(36,8076.66); h_SL2L366->SetBinContent(37,8851.828); h_SL2L366->SetBinContent(38,8958.748); h_SL2L366->SetBinContent(39,8870.117); h_SL2L366->SetBinContent(40,8673.159); h_SL2L366->SetBinContent(41,8594.377); h_SL2L366->SetBinContent(42,8926.391); h_SL2L366->SetBinContent(43,8739.281); h_SL2L366->SetBinContent(44,8771.639); h_SL2L366->SetBinContent(45,8713.958); h_SL2L366->SetBinContent(46,8677.38); h_SL2L366->SetBinContent(47,8833.539); h_SL2L366->SetBinContent(48,8671.753); h_SL2L366->SetBinContent(49,8255.328); h_SL2L366->SetBinContent(50,8712.551); h_SL2L366->SetBinContent(51,8713.958); h_SL2L366->SetBinContent(52,8539.51); h_SL2L366->SetBinContent(53,8552.172); h_SL2L366->SetBinContent(54,7879.703); h_SL2L366->SetBinContent(55,7018.717); h_SL2L366->SetBinContent(56,4580.667); h_SL2L366->SetBinContent(57,2959.988); h_SL2L366->SetMaximum(40721.64); 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,4178.311); h_SL2L467->SetBinContent(3,6955.41); h_SL2L467->SetBinContent(4,7878.296); h_SL2L467->SetBinContent(5,8412.895); h_SL2L467->SetBinContent(6,8576.088); h_SL2L467->SetBinContent(7,8771.639); h_SL2L467->SetBinContent(8,8744.908); h_SL2L467->SetBinContent(9,8570.46); h_SL2L467->SetBinContent(10,8542.323); h_SL2L467->SetBinContent(11,8926.391); h_SL2L467->SetBinContent(12,9209.165); h_SL2L467->SetBinContent(13,8934.832); h_SL2L467->SetBinContent(14,8986.885); h_SL2L467->SetBinContent(15,8754.756); h_SL2L467->SetBinContent(16,8811.029); h_SL2L467->SetBinContent(17,8733.653); h_SL2L467->SetBinContent(18,9065.668); h_SL2L467->SetBinContent(19,9092.397); h_SL2L467->SetBinContent(20,9127.568); h_SL2L467->SetBinContent(21,9154.299); h_SL2L467->SetBinContent(22,9043.158); h_SL2L467->SetBinContent(23,8958.748); h_SL2L467->SetBinContent(24,8822.284); h_SL2L467->SetBinContent(25,9181.028); h_SL2L467->SetBinContent(26,9043.158); h_SL2L467->SetBinContent(27,9159.926); h_SL2L467->SetBinContent(28,8894.033); h_SL2L467->SetBinContent(29,9223.233); h_SL2L467->SetBinContent(30,9276.693); h_SL2L467->SetBinContent(31,8612.665); h_SL2L467->SetBinContent(32,8709.737); h_SL2L467->SetBinContent(33,8851.828); h_SL2L467->SetBinContent(34,8225.785); h_SL2L467->SetBinContent(35,8131.527); h_SL2L467->SetBinContent(36,8182.173); h_SL2L467->SetBinContent(37,8394.605); h_SL2L467->SetBinContent(38,8775.858); h_SL2L467->SetBinContent(39,9095.211); h_SL2L467->SetBinContent(40,9013.614); h_SL2L467->SetBinContent(41,8757.57); h_SL2L467->SetBinContent(42,8736.468); h_SL2L467->SetBinContent(43,9031.903); h_SL2L467->SetBinContent(44,8697.076); h_SL2L467->SetBinContent(45,8905.288); h_SL2L467->SetBinContent(46,8729.434); h_SL2L467->SetBinContent(47,8850.421); h_SL2L467->SetBinContent(48,8687.228); h_SL2L467->SetBinContent(49,8713.958); h_SL2L467->SetBinContent(50,8517.001); h_SL2L467->SetBinContent(51,8629.548); h_SL2L467->SetBinContent(52,8605.631); h_SL2L467->SetBinContent(53,8660.498); h_SL2L467->SetBinContent(54,8542.323); h_SL2L467->SetBinContent(55,7827.649); h_SL2L467->SetBinContent(56,6253.397); h_SL2L467->SetBinContent(57,2972.65); h_SL2L467->SetMaximum(40721.64); 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.3744221,0.9362587,0.6255779,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL2, run 5861"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }