void RatesPerCell_Removing_noisy_cells_run_6792_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:16:55 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11926.65,67.5,107339.9); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6792",60,0,60); h_SL1L160->SetBinContent(1,5129.443); h_SL1L160->SetBinContent(2,5016.917); h_SL1L160->SetBinContent(3,5125.98); h_SL1L160->SetBinContent(4,4935.552); h_SL1L160->SetBinContent(5,4984.025); h_SL1L160->SetBinContent(6,5077.508); h_SL1L160->SetBinContent(7,5203.883); h_SL1L160->SetBinContent(8,4890.542); h_SL1L160->SetBinContent(9,4945.939); h_SL1L160->SetBinContent(10,4436.977); h_SL1L160->SetBinContent(11,4374.655); h_SL1L160->SetBinContent(12,4733.006); h_SL1L160->SetBinContent(13,5008.261); h_SL1L160->SetBinContent(14,5188.302); h_SL1L160->SetBinContent(15,4881.886); h_SL1L160->SetBinContent(16,4535.653); h_SL1L160->SetBinContent(17,4873.23); h_SL1L160->SetBinContent(18,5357.957); h_SL1L160->SetBinContent(19,5399.504); h_SL1L160->SetBinContent(20,5394.311); h_SL1L160->SetBinContent(21,5962.133); h_SL1L160->SetBinContent(22,5882.5); h_SL1L160->SetBinContent(23,6133.519); h_SL1L160->SetBinContent(24,6230.464); h_SL1L160->SetBinContent(25,6389.731); h_SL1L160->SetBinContent(26,6246.044); h_SL1L160->SetBinContent(27,6145.637); h_SL1L160->SetBinContent(28,6803.479); h_SL1L160->SetBinContent(29,7099.509); h_SL1L160->SetBinContent(30,7534.031); h_SL1L160->SetBinContent(31,8188.412); h_SL1L160->SetBinContent(32,11391.07); h_SL1L160->SetBinContent(33,35963.23); h_SL1L160->SetBinContent(34,52736.49); h_SL1L160->SetBinContent(35,57408.9); h_SL1L160->SetBinContent(36,59572.86); h_SL1L160->SetBinContent(37,63855.76); h_SL1L160->SetBinContent(38,59460.34); h_SL1L160->SetBinContent(39,39167.61); h_SL1L160->SetBinContent(40,11512.25); h_SL1L160->SetBinContent(41,8221.304); h_SL1L160->SetBinContent(42,7092.584); h_SL1L160->SetBinContent(43,6645.943); h_SL1L160->SetBinContent(44,6465.902); h_SL1L160->SetBinContent(45,5960.402); h_SL1L160->SetBinContent(46,5598.588); h_SL1L160->SetBinContent(47,5657.448); h_SL1L160->SetBinContent(48,5409.892); h_SL1L160->SetBinContent(49,5214.27); h_SL1L160->SetBinContent(50,4964.982); h_SL1L160->SetBinContent(51,4831.682); h_SL1L160->SetBinContent(52,4587.588); h_SL1L160->SetBinContent(53,4580.664); h_SL1L160->SetBinContent(54,4464.675); h_SL1L160->SetBinContent(55,4469.869); h_SL1L160->SetBinContent(56,4312.333); h_SL1L160->SetBinContent(57,4549.502); h_SL1L160->SetBinContent(58,4438.708); h_SL1L160->SetBinContent(59,4386.773); h_SL1L160->SetMaximum(95413.2); 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,5087.895); h_SL1L261->SetBinContent(2,4999.605); h_SL1L261->SetBinContent(3,4911.316); h_SL1L261->SetBinContent(4,5027.304); h_SL1L261->SetBinContent(5,4971.907); h_SL1L261->SetBinContent(6,5261.011); h_SL1L261->SetBinContent(7,4992.681); h_SL1L261->SetBinContent(8,5120.787); h_SL1L261->SetBinContent(9,5006.53); h_SL1L261->SetBinContent(10,4670.684); h_SL1L261->SetBinContent(11,4580.664); h_SL1L261->SetBinContent(12,4610.093); h_SL1L261->SetBinContent(13,4890.542); h_SL1L261->SetBinContent(14,5241.968); h_SL1L261->SetBinContent(15,5042.884); h_SL1L261->SetBinContent(16,4985.756); h_SL1L261->SetBinContent(17,5125.98); h_SL1L261->SetBinContent(18,5444.515); h_SL1L261->SetBinContent(19,5735.351); h_SL1L261->SetBinContent(20,5711.114); h_SL1L261->SetBinContent(21,6145.637); h_SL1L261->SetBinContent(22,6114.476); h_SL1L261->SetBinContent(23,6741.158); h_SL1L261->SetBinContent(24,6708.266); h_SL1L261->SetBinContent(25,6907.35); h_SL1L261->SetBinContent(26,6495.332); h_SL1L261->SetBinContent(27,6663.255); h_SL1L261->SetBinContent(28,7161.831); h_SL1L261->SetBinContent(29,7418.043); h_SL1L261->SetBinContent(30,8235.153); h_SL1L261->SetBinContent(31,8512.14); h_SL1L261->SetBinContent(32,10866.52); h_SL1L261->SetBinContent(33,23268.59); h_SL1L261->SetBinContent(34,55629.27); h_SL1L261->SetBinContent(35,62432.75); h_SL1L261->SetBinContent(36,67681.64); h_SL1L261->SetBinContent(37,70989.9); h_SL1L261->SetBinContent(38,70448.04); h_SL1L261->SetBinContent(39,59335.69); h_SL1L261->SetBinContent(40,22847.92); h_SL1L261->SetBinContent(41,11365.1); h_SL1L261->SetBinContent(42,8209.186); h_SL1L261->SetBinContent(43,7514.988); h_SL1L261->SetBinContent(44,7115.089); h_SL1L261->SetBinContent(45,6729.04); h_SL1L261->SetBinContent(46,6834.641); h_SL1L261->SetBinContent(47,6455.515); h_SL1L261->SetBinContent(48,6161.217); h_SL1L261->SetBinContent(49,12893.72); h_SL1L261->SetBinContent(50,5885.962); h_SL1L261->SetBinContent(51,5759.587); h_SL1L261->SetBinContent(52,5385.655); h_SL1L261->SetBinContent(53,5361.419); h_SL1L261->SetBinContent(54,5049.809); h_SL1L261->SetBinContent(55,5203.883); h_SL1L261->SetBinContent(56,6876.188); h_SL1L261->SetBinContent(57,4675.877); h_SL1L261->SetBinContent(58,4767.629); h_SL1L261->SetBinContent(59,4651.641); h_SL1L261->SetMaximum(82968.26); 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,4923.434); h_SL1L362->SetBinContent(2,4693.189); h_SL1L362->SetBinContent(3,4752.049); h_SL1L362->SetBinContent(4,4686.265); h_SL1L362->SetBinContent(5,4925.165); h_SL1L362->SetBinContent(6,4925.165); h_SL1L362->SetBinContent(7,4987.487); h_SL1L362->SetBinContent(8,5013.455); h_SL1L362->SetBinContent(9,4513.148); h_SL1L362->SetBinContent(10,4180.764); h_SL1L362->SetBinContent(11,4414.472); h_SL1L362->SetBinContent(12,4793.597); h_SL1L362->SetBinContent(13,4778.016); h_SL1L362->SetBinContent(14,4783.209); h_SL1L362->SetBinContent(15,4916.509); h_SL1L362->SetBinContent(16,4682.802); h_SL1L362->SetBinContent(17,5065.39); h_SL1L362->SetBinContent(18,5295.635); h_SL1L362->SetBinContent(19,5484.332); h_SL1L362->SetBinContent(20,5648.792); h_SL1L362->SetBinContent(21,5924.048); h_SL1L362->SetBinContent(22,6112.745); h_SL1L362->SetBinContent(23,6296.248); h_SL1L362->SetBinContent(24,6758.469); h_SL1L362->SetBinContent(25,6587.084); h_SL1L362->SetBinContent(26,6020.993); h_SL1L362->SetBinContent(27,6678.835); h_SL1L362->SetBinContent(28,7310.711); h_SL1L362->SetBinContent(29,7653.482); h_SL1L362->SetBinContent(30,8217.842); h_SL1L362->SetBinContent(31,9034.951); h_SL1L362->SetBinContent(32,12931.8); h_SL1L362->SetBinContent(33,41655.3); h_SL1L362->SetBinContent(34,60322.45); h_SL1L362->SetBinContent(35,65131.63); h_SL1L362->SetBinContent(36,69392.03); h_SL1L362->SetBinContent(37,72146.31); h_SL1L362->SetBinContent(38,65545.38); h_SL1L362->SetBinContent(39,43339.72); h_SL1L362->SetBinContent(40,12971.62); h_SL1L362->SetBinContent(41,8879.146); h_SL1L362->SetBinContent(42,7734.847); h_SL1L362->SetBinContent(43,6914.274); h_SL1L362->SetBinContent(44,6969.671); h_SL1L362->SetBinContent(45,6332.603); h_SL1L362->SetBinContent(46,6439.935); h_SL1L362->SetBinContent(47,6005.413); h_SL1L362->SetBinContent(48,5709.383); h_SL1L362->SetBinContent(49,5615.9); h_SL1L362->SetBinContent(50,5560.503); h_SL1L362->SetBinContent(51,5074.045); h_SL1L362->SetBinContent(52,5200.42); h_SL1L362->SetBinContent(53,6441.666); h_SL1L362->SetBinContent(54,4977.1); h_SL1L362->SetBinContent(55,5034.229); h_SL1L362->SetBinContent(56,6986.983); h_SL1L362->SetBinContent(57,4750.317); h_SL1L362->SetBinContent(58,4499.299); h_SL1L362->SetBinContent(59,4523.535); h_SL1L362->SetMaximum(82968.26); 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,3166.301); h_SL1L463->SetBinContent(3,3126.485); h_SL1L463->SetBinContent(4,3067.625); h_SL1L463->SetBinContent(5,2962.024); h_SL1L463->SetBinContent(6,3185.344); h_SL1L463->SetBinContent(7,3249.397); h_SL1L463->SetBinContent(8,3140.334); h_SL1L463->SetBinContent(9,3142.065); h_SL1L463->SetBinContent(10,2801.025); h_SL1L463->SetBinContent(11,2870.272); h_SL1L463->SetBinContent(12,2859.885); h_SL1L463->SetBinContent(13,3211.312); h_SL1L463->SetBinContent(14,3419.052); h_SL1L463->SetBinContent(15,3309.988); h_SL1L463->SetBinContent(16,3124.753); h_SL1L463->SetBinContent(17,3157.646); h_SL1L463->SetBinContent(18,3065.894); h_SL1L463->SetBinContent(19,3100.517); h_SL1L463->SetBinContent(20,3194); h_SL1L463->SetBinContent(21,3145.527); h_SL1L463->SetBinContent(22,3483.104); h_SL1L463->SetBinContent(23,3335.956); h_SL1L463->SetBinContent(24,3341.149); h_SL1L463->SetBinContent(25,3180.151); h_SL1L463->SetBinContent(26,3427.707); h_SL1L463->SetBinContent(27,3311.719); h_SL1L463->SetBinContent(28,3406.933); h_SL1L463->SetBinContent(29,3552.351); h_SL1L463->SetBinContent(30,3801.639); h_SL1L463->SetBinContent(31,4168.646); h_SL1L463->SetBinContent(32,4563.352); h_SL1L463->SetBinContent(33,8453.28); h_SL1L463->SetBinContent(34,26315.44); h_SL1L463->SetBinContent(35,35345.2); h_SL1L463->SetBinContent(36,33781.96); h_SL1L463->SetBinContent(37,29237.65); h_SL1L463->SetBinContent(38,32999.47); h_SL1L463->SetBinContent(39,33868.52); h_SL1L463->SetBinContent(40,10167.13); h_SL1L463->SetBinContent(41,5653.986); h_SL1L463->SetBinContent(42,4056.12); h_SL1L463->SetBinContent(43,4024.959); h_SL1L463->SetBinContent(44,4042.271); h_SL1L463->SetBinContent(45,3180.151); h_SL1L463->SetBinContent(46,3535.04); h_SL1L463->SetBinContent(47,3020.884); h_SL1L463->SetBinContent(48,2837.38); h_SL1L463->SetBinContent(49,2572.512); h_SL1L463->SetBinContent(50,2645.22); h_SL1L463->SetBinContent(51,2454.792); h_SL1L463->SetBinContent(52,2449.599); h_SL1L463->SetBinContent(53,2328.417); h_SL1L463->SetBinContent(54,2350.922); h_SL1L463->SetBinContent(55,1.731165); h_SL1L463->SetBinContent(56,2395.933); h_SL1L463->SetBinContent(57,2266.095); h_SL1L463->SetBinContent(58,2593.286); h_SL1L463->SetBinContent(59,2601.941); h_SL1L463->SetMaximum(82968.26); 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 6792"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }