void RatesPerCell_Removing_noisy_cells_run_6641_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:53:06 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12311.76,67.5,110805.8); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6641",60,0,60); h_SL2L164->SetBinContent(1,8423.442); h_SL2L164->SetBinContent(2,10387.72); h_SL2L164->SetBinContent(3,12557.94); h_SL2L164->SetBinContent(4,12950); h_SL2L164->SetBinContent(5,12704.47); h_SL2L164->SetBinContent(6,11864.9); h_SL2L164->SetBinContent(7,10839.19); h_SL2L164->SetBinContent(8,10415.45); h_SL2L164->SetBinContent(9,12391.61); h_SL2L164->SetBinContent(10,12225.28); h_SL2L164->SetBinContent(11,12399.53); h_SL2L164->SetBinContent(12,12431.21); h_SL2L164->SetBinContent(13,12082.71); h_SL2L164->SetBinContent(14,12328.24); h_SL2L164->SetBinContent(15,12534.18); h_SL2L164->SetBinContent(16,11726.29); h_SL2L164->SetBinContent(17,11975.78); h_SL2L164->SetBinContent(18,11670.84); h_SL2L164->SetBinContent(19,11381.75); h_SL2L164->SetBinContent(20,11084.73); h_SL2L164->SetBinContent(21,9872.892); h_SL2L164->SetBinContent(22,9678.84); h_SL2L164->SetBinContent(23,9381.821); h_SL2L164->SetBinContent(24,9346.179); h_SL2L164->SetBinContent(25,14094.51); h_SL2L164->SetBinContent(26,31808.69); h_SL2L164->SetBinContent(27,46342.79); h_SL2L164->SetBinContent(28,53613.8); h_SL2L164->SetBinContent(29,57791.86); h_SL2L164->SetBinContent(30,55681.05); h_SL2L164->SetBinContent(31,53732.61); h_SL2L164->SetBinContent(32,53700.93); h_SL2L164->SetBinContent(33,51958.42); h_SL2L164->SetBinContent(34,31606.72); h_SL2L164->SetBinContent(35,7.920491); h_SL2L164->SetBinContent(36,7663.075); h_SL2L164->SetBinContent(37,8506.607); h_SL2L164->SetBinContent(38,7528.426); h_SL2L164->SetBinContent(39,7841.286); h_SL2L164->SetBinContent(40,74476.38); h_SL2L164->SetBinContent(41,56857.24); h_SL2L164->SetBinContent(42,12779.71); h_SL2L164->SetBinContent(43,12443.09); h_SL2L164->SetBinContent(44,12561.9); h_SL2L164->SetBinContent(45,4879.022); h_SL2L164->SetBinContent(46,4981.989); h_SL2L164->SetBinContent(47,4835.459); h_SL2L164->SetBinContent(48,4910.704); h_SL2L164->SetBinContent(49,4736.454); h_SL2L164->SetBinContent(50,4886.943); h_SL2L164->SetBinContent(51,4942.386); h_SL2L164->SetBinContent(52,5425.536); h_SL2L164->SetBinContent(53,5520.582); h_SL2L164->SetBinContent(54,5813.64); h_SL2L164->SetBinContent(55,5758.197); h_SL2L164->SetBinContent(56,5239.405); h_SL2L164->SetBinContent(57,11365.9); h_SL2L164->SetMaximum(98494.05); 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,7191.806); h_SL2L265->SetBinContent(2,10233.27); h_SL2L265->SetBinContent(3,11615.4); h_SL2L265->SetBinContent(4,12720.31); h_SL2L265->SetBinContent(5,12051.03); h_SL2L265->SetBinContent(6,11896.58); h_SL2L265->SetBinContent(7,11294.62); h_SL2L265->SetBinContent(8,9932.295); h_SL2L265->SetBinContent(9,11080.77); h_SL2L265->SetBinContent(10,12035.19); h_SL2L265->SetBinContent(11,11944.1); h_SL2L265->SetBinContent(12,11433.23); h_SL2L265->SetBinContent(13,12070.83); h_SL2L265->SetBinContent(14,11603.52); h_SL2L265->SetBinContent(15,12035.19); h_SL2L265->SetBinContent(16,11587.68); h_SL2L265->SetBinContent(17,11690.64); h_SL2L265->SetBinContent(18,11140.17); h_SL2L265->SetBinContent(19,11421.35); h_SL2L265->SetBinContent(20,10799.59); h_SL2L265->SetBinContent(21,10447.13); h_SL2L265->SetBinContent(22,9354.1); h_SL2L265->SetBinContent(23,9338.259); h_SL2L265->SetBinContent(24,9290.735); h_SL2L265->SetBinContent(25,10110.51); h_SL2L265->SetBinContent(26,22779.33); h_SL2L265->SetBinContent(27,39265.83); h_SL2L265->SetBinContent(28,51047.56); h_SL2L265->SetBinContent(29,55479.08); h_SL2L265->SetBinContent(30,56385.97); h_SL2L265->SetBinContent(31,54192); h_SL2L265->SetBinContent(32,52841.55); h_SL2L265->SetBinContent(33,53835.57); h_SL2L265->SetBinContent(34,44885.42); h_SL2L265->SetBinContent(35,18324.05); h_SL2L265->SetBinContent(36,8637.295); h_SL2L265->SetBinContent(37,7120.521); h_SL2L265->SetBinContent(38,6276.989); h_SL2L265->SetBinContent(39,6498.763); h_SL2L265->SetBinContent(40,7722.479); h_SL2L265->SetBinContent(41,6831.423); h_SL2L265->SetBinContent(42,7084.879); h_SL2L265->SetBinContent(43,6233.426); h_SL2L265->SetBinContent(44,6629.451); h_SL2L265->SetBinContent(45,4922.585); h_SL2L265->SetBinContent(46,4617.646); h_SL2L265->SetBinContent(47,4451.316); h_SL2L265->SetBinContent(48,4578.043); h_SL2L265->SetBinContent(49,4502.799); h_SL2L265->SetBinContent(50,4546.362); h_SL2L265->SetBinContent(51,4383.992); h_SL2L265->SetBinContent(52,5203.762); h_SL2L265->SetBinContent(53,5168.12); h_SL2L265->SetBinContent(54,5591.867); h_SL2L265->SetBinContent(55,5869.083); h_SL2L265->SetBinContent(56,5180.001); h_SL2L265->SetBinContent(57,5096.836); h_SL2L265->SetMaximum(85647.83); 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,8316.516); h_SL2L366->SetBinContent(2,9857.051); h_SL2L366->SetBinContent(3,12205.48); h_SL2L366->SetBinContent(4,11690.64); h_SL2L366->SetBinContent(5,11797.57); h_SL2L366->SetBinContent(6,10779.79); h_SL2L366->SetBinContent(7,10082.79); h_SL2L366->SetBinContent(8,10344.16); h_SL2L366->SetBinContent(9,11136.21); h_SL2L366->SetBinContent(10,11286.7); h_SL2L366->SetBinContent(11,11128.29); h_SL2L366->SetBinContent(12,11559.96); h_SL2L366->SetBinContent(13,11623.32); h_SL2L366->SetBinContent(14,12142.11); h_SL2L366->SetBinContent(15,12003.5); h_SL2L366->SetBinContent(16,11088.69); h_SL2L366->SetBinContent(17,10894.63); h_SL2L366->SetBinContent(18,11175.81); h_SL2L366->SetBinContent(19,10589.7); h_SL2L366->SetBinContent(20,10102.59); h_SL2L366->SetBinContent(21,9389.742); h_SL2L366->SetBinContent(22,8783.824); h_SL2L366->SetBinContent(23,9148.167); h_SL2L366->SetBinContent(24,8870.949); h_SL2L366->SetBinContent(25,13452.95); h_SL2L366->SetBinContent(26,31380.98); h_SL2L366->SetBinContent(27,45701.23); h_SL2L366->SetBinContent(28,53178.18); h_SL2L366->SetBinContent(29,56912.69); h_SL2L366->SetBinContent(30,55079.09); h_SL2L366->SetBinContent(31,53554.4); h_SL2L366->SetBinContent(32,53336.59); h_SL2L366->SetBinContent(33,51467.35); h_SL2L366->SetBinContent(34,31567.12); h_SL2L366->SetBinContent(35,11045.12); h_SL2L366->SetBinContent(36,7508.625); h_SL2L366->SetBinContent(37,6368.075); h_SL2L366->SetBinContent(38,6114.619); h_SL2L366->SetBinContent(39,5595.827); h_SL2L366->SetBinContent(40,5853.243); h_SL2L366->SetBinContent(41,5841.362); h_SL2L366->SetBinContent(42,5195.842); h_SL2L366->SetBinContent(43,4954.267); h_SL2L366->SetBinContent(44,4966.147); h_SL2L366->SetBinContent(45,4534.481); h_SL2L366->SetBinContent(46,4241.423); h_SL2L366->SetBinContent(47,4510.719); h_SL2L366->SetBinContent(48,4273.105); h_SL2L366->SetBinContent(49,4558.242); h_SL2L366->SetBinContent(50,4514.68); h_SL2L366->SetBinContent(51,4387.952); h_SL2L366->SetBinContent(52,4886.943); h_SL2L366->SetBinContent(53,5223.563); h_SL2L366->SetBinContent(54,5374.053); h_SL2L366->SetBinContent(55,5726.515); h_SL2L366->SetBinContent(56,4882.982); h_SL2L366->SetBinContent(57,4827.539); h_SL2L366->SetMaximum(85647.83); 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,9152.127); h_SL2L467->SetBinContent(3,10332.28); h_SL2L467->SetBinContent(4,11714.41); h_SL2L467->SetBinContent(5,11532.23); h_SL2L467->SetBinContent(6,10898.6); h_SL2L467->SetBinContent(7,10197.63); h_SL2L467->SetBinContent(8,9401.622); h_SL2L467->SetBinContent(9,10506.53); h_SL2L467->SetBinContent(10,10704.54); h_SL2L467->SetBinContent(11,10799.59); h_SL2L467->SetBinContent(12,11148.09); h_SL2L467->SetBinContent(13,10989.68); h_SL2L467->SetBinContent(14,11453.03); h_SL2L467->SetBinContent(15,11544.12); h_SL2L467->SetBinContent(16,10763.95); h_SL2L467->SetBinContent(17,10961.96); h_SL2L467->SetBinContent(18,10419.41); h_SL2L467->SetBinContent(19,10641.18); h_SL2L467->SetBinContent(20,10039.22); h_SL2L467->SetBinContent(21,9579.834); h_SL2L467->SetBinContent(22,8819.467); h_SL2L467->SetBinContent(23,8617.494); h_SL2L467->SetBinContent(24,8439.283); h_SL2L467->SetBinContent(25,9472.907); h_SL2L467->SetBinContent(26,22070.45); h_SL2L467->SetBinContent(27,39325.24); h_SL2L467->SetBinContent(28,50406); h_SL2L467->SetBinContent(29,55213.74); h_SL2L467->SetBinContent(30,56294.89); h_SL2L467->SetBinContent(31,53768.25); h_SL2L467->SetBinContent(32,52695.02); h_SL2L467->SetBinContent(33,53475.19); h_SL2L467->SetBinContent(34,44386.43); h_SL2L467->SetBinContent(35,18003.28); h_SL2L467->SetBinContent(36,8573.932); h_SL2L467->SetBinContent(37,6859.145); h_SL2L467->SetBinContent(38,6197.784); h_SL2L467->SetBinContent(39,5441.377); h_SL2L467->SetBinContent(40,5358.212); h_SL2L467->SetBinContent(41,4985.949); h_SL2L467->SetBinContent(42,5702.753); h_SL2L467->SetBinContent(43,4506.759); h_SL2L467->SetBinContent(44,4875.062); h_SL2L467->SetBinContent(45,4518.64); h_SL2L467->SetBinContent(46,4257.264); h_SL2L467->SetBinContent(47,4459.236); h_SL2L467->SetBinContent(48,4166.178); h_SL2L467->SetBinContent(49,4150.337); h_SL2L467->SetBinContent(50,4570.123); h_SL2L467->SetBinContent(51,3888.961); h_SL2L467->SetBinContent(52,4566.163); h_SL2L467->SetBinContent(53,4970.108); h_SL2L467->SetBinContent(54,5080.995); h_SL2L467->SetBinContent(55,5389.894); h_SL2L467->SetBinContent(56,4847.34); h_SL2L467->SetBinContent(57,4399.833); h_SL2L467->SetMaximum(85647.83); 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 6641"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }