void RatesPerCell_Removing_noisy_cells_run_6787_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:13:30 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12167.86,67.5,109510.8); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6787",60,0,60); h_SL3L168->SetBinContent(1,2719.711); h_SL3L168->SetBinContent(2,1819.683); h_SL3L168->SetBinContent(4,2932.801); h_SL3L168->SetBinContent(5,3109.442); h_SL3L168->SetBinContent(6,3342.16); h_SL3L168->SetBinContent(7,3193.557); h_SL3L168->SetBinContent(8,3258.045); h_SL3L168->SetBinContent(9,3058.973); h_SL3L168->SetBinContent(10,2893.548); h_SL3L168->SetBinContent(11,3072.993); h_SL3L168->SetBinContent(12,3092.619); h_SL3L168->SetBinContent(13,3075.796); h_SL3L168->SetBinContent(14,3277.672); h_SL3L168->SetBinContent(15,3154.303); h_SL3L168->SetBinContent(16,3443.098); h_SL3L168->SetBinContent(17,3437.49); h_SL3L168->SetBinContent(18,3552.447); h_SL3L168->SetBinContent(19,3546.839); h_SL3L168->SetBinContent(20,3465.528); h_SL3L168->SetBinContent(21,3866.475); h_SL3L168->SetBinContent(22,4082.37); h_SL3L168->SetBinContent(23,4233.776); h_SL3L168->SetBinContent(24,4267.422); h_SL3L168->SetBinContent(25,4542.197); h_SL3L168->SetBinContent(26,4556.216); h_SL3L168->SetBinContent(27,4702.015); h_SL3L168->SetBinContent(28,4839.403); h_SL3L168->SetBinContent(29,5108.57); h_SL3L168->SetBinContent(30,5756.253); h_SL3L168->SetBinContent(31,5930.091); h_SL3L168->SetBinContent(32,7303.965); h_SL3L168->SetBinContent(33,11548.96); h_SL3L168->SetBinContent(34,41275.11); h_SL3L168->SetBinContent(35,60484.12); h_SL3L168->SetBinContent(36,64482.38); h_SL3L168->SetBinContent(37,70547.05); h_SL3L168->SetBinContent(38,73606.02); h_SL3L168->SetBinContent(39,65194.55); h_SL3L168->SetBinContent(40,42320.94); h_SL3L168->SetBinContent(41,11445.21); h_SL3L168->SetBinContent(42,7292.75); h_SL3L168->SetBinContent(43,5736.627); h_SL3L168->SetBinContent(44,5321.661); h_SL3L168->SetBinContent(45,4808.561); h_SL3L168->SetBinContent(46,4915.106); h_SL3L168->SetBinContent(47,4373.968); h_SL3L168->SetBinContent(48,4138.446); h_SL3L168->SetBinContent(49,19988.47); h_SL3L168->SetBinContent(50,3936.571); h_SL3L168->SetBinContent(51,3765.538); h_SL3L168->SetBinContent(52,3597.308); h_SL3L168->SetBinContent(53,3490.763); h_SL3L168->SetBinContent(54,3409.452); h_SL3L168->SetBinContent(55,3445.901); h_SL3L168->SetBinContent(56,3218.792); h_SL3L168->SetBinContent(57,3204.772); h_SL3L168->SetBinContent(58,2632.792); h_SL3L168->SetBinContent(59,2461.759); h_SL3L168->SetMaximum(97342.9); h_SL3L168->SetEntries(60); h_SL3L168->SetDirectory(0); h_SL3L168->SetStats(0); h_SL3L168->SetLineWidth(2); h_SL3L168->GetXaxis()->SetTitle("Cell"); h_SL3L168->GetXaxis()->SetLabelFont(42); h_SL3L168->GetXaxis()->SetLabelSize(0.035); h_SL3L168->GetXaxis()->SetTitleSize(0.035); h_SL3L168->GetXaxis()->SetTitleFont(42); h_SL3L168->GetYaxis()->SetTitle("Hz"); h_SL3L168->GetYaxis()->SetLabelFont(42); h_SL3L168->GetYaxis()->SetLabelSize(0.035); h_SL3L168->GetYaxis()->SetTitleSize(0.035); h_SL3L168->GetYaxis()->SetTitleOffset(1.45); h_SL3L168->GetYaxis()->SetTitleFont(42); h_SL3L168->GetZaxis()->SetLabelFont(42); h_SL3L168->GetZaxis()->SetLabelSize(0.035); h_SL3L168->GetZaxis()->SetTitleSize(0.035); h_SL3L168->GetZaxis()->SetTitleFont(42); h_SL3L168->Draw(""); TH1D *h_SL3L269 = new TH1D("h_SL3L269","",60,0,60); h_SL3L269->SetBinContent(1,2587.931); h_SL3L269->SetBinContent(2,1940.247); h_SL3L269->SetBinContent(4,2439.328); h_SL3L269->SetBinContent(5,2994.486); h_SL3L269->SetBinContent(6,3011.308); h_SL3L269->SetBinContent(7,3140.284); h_SL3L269->SetBinContent(8,3143.088); h_SL3L269->SetBinContent(9,2896.352); h_SL3L269->SetBinContent(10,2803.825); h_SL3L269->SetBinContent(11,2815.041); h_SL3L269->SetBinContent(12,2812.237); h_SL3L269->SetBinContent(13,2997.289); h_SL3L269->SetBinContent(14,2865.51); h_SL3L269->SetBinContent(15,3081.404); h_SL3L269->SetBinContent(16,3103.835); h_SL3L269->SetBinContent(17,3000.093); h_SL3L269->SetBinContent(18,3134.677); h_SL3L269->SetBinContent(19,3429.078); h_SL3L269->SetBinContent(20,3552.447); h_SL3L269->SetBinContent(21,3471.136); h_SL3L269->SetBinContent(22,3855.26); h_SL3L269->SetBinContent(23,3734.695); h_SL3L269->SetBinContent(24,3956.198); h_SL3L269->SetBinContent(25,4107.604); h_SL3L269->SetBinContent(26,4194.523); h_SL3L269->SetBinContent(27,4365.556); h_SL3L269->SetBinContent(28,4441.259); h_SL3L269->SetBinContent(29,4716.034); h_SL3L269->SetBinContent(30,5083.335); h_SL3L269->SetBinContent(31,5649.708); h_SL3L269->SetBinContent(32,6022.617); h_SL3L269->SetBinContent(33,9025.514); h_SL3L269->SetBinContent(34,21101.59); h_SL3L269->SetBinContent(35,54368.98); h_SL3L269->SetBinContent(36,62295.39); h_SL3L269->SetBinContent(37,66649.73); h_SL3L269->SetBinContent(38,71850.83); h_SL3L269->SetBinContent(39,70087.23); h_SL3L269->SetBinContent(40,57778.43); h_SL3L269->SetBinContent(41,21690.39); h_SL3L269->SetBinContent(42,9289.073); h_SL3L269->SetBinContent(43,5994.579); h_SL3L269->SetBinContent(44,5464.656); h_SL3L269->SetBinContent(45,4685.192); h_SL3L269->SetBinContent(46,4755.288); h_SL3L269->SetBinContent(47,4197.327); h_SL3L269->SetBinContent(48,4273.03); h_SL3L269->SetBinContent(49,5111.374); h_SL3L269->SetBinContent(50,3824.418); h_SL3L269->SetBinContent(51,3695.442); h_SL3L269->SetBinContent(52,3796.38); h_SL3L269->SetBinContent(53,5259.977); h_SL3L269->SetBinContent(54,3493.566); h_SL3L269->SetBinContent(55,3330.945); h_SL3L269->SetBinContent(56,3389.825); h_SL3L269->SetBinContent(57,3126.265); h_SL3L269->SetBinContent(58,2778.591); h_SL3L269->SetBinContent(59,2512.228); h_SL3L269->SetMaximum(84646.93); h_SL3L269->SetEntries(60); h_SL3L269->SetDirectory(0); h_SL3L269->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL3L269->SetLineColor(ci); h_SL3L269->SetLineWidth(2); h_SL3L269->GetXaxis()->SetTitle("Cell"); h_SL3L269->GetXaxis()->SetLabelFont(42); h_SL3L269->GetXaxis()->SetLabelSize(0.035); h_SL3L269->GetXaxis()->SetTitleSize(0.035); h_SL3L269->GetXaxis()->SetTitleFont(42); h_SL3L269->GetYaxis()->SetTitle("Hz"); h_SL3L269->GetYaxis()->SetLabelFont(42); h_SL3L269->GetYaxis()->SetLabelSize(0.035); h_SL3L269->GetYaxis()->SetTitleSize(0.035); h_SL3L269->GetYaxis()->SetTitleOffset(1.45); h_SL3L269->GetYaxis()->SetTitleFont(42); h_SL3L269->GetZaxis()->SetLabelFont(42); h_SL3L269->GetZaxis()->SetLabelSize(0.035); h_SL3L269->GetZaxis()->SetTitleSize(0.035); h_SL3L269->GetZaxis()->SetTitleFont(42); h_SL3L269->Draw("same"); TH1D *h_SL3L370 = new TH1D("h_SL3L370","",60,0,60); h_SL3L370->SetBinContent(1,2273.902); h_SL3L370->SetBinContent(2,1713.137); h_SL3L370->SetBinContent(3,2027.166); h_SL3L370->SetBinContent(4,2714.103); h_SL3L370->SetBinContent(5,2742.141); h_SL3L370->SetBinContent(6,2907.567); h_SL3L370->SetBinContent(7,2924.39); h_SL3L370->SetBinContent(8,2944.017); h_SL3L370->SetBinContent(9,2775.787); h_SL3L370->SetBinContent(10,2529.051); h_SL3L370->SetBinContent(11,2686.065); h_SL3L370->SetBinContent(12,2843.079); h_SL3L370->SetBinContent(13,2812.237); h_SL3L370->SetBinContent(14,2932.801); h_SL3L370->SetBinContent(15,2901.959); h_SL3L370->SetBinContent(16,3033.739); h_SL3L370->SetBinContent(17,2840.275); h_SL3L370->SetBinContent(18,3028.131); h_SL3L370->SetBinContent(19,3162.715); h_SL3L370->SetBinContent(20,3398.236); h_SL3L370->SetBinContent(21,3459.92); h_SL3L370->SetBinContent(22,3723.48); h_SL3L370->SetBinContent(23,3888.906); h_SL3L370->SetBinContent(24,3684.227); h_SL3L370->SetBinContent(25,3936.571); h_SL3L370->SetBinContent(26,3908.532); h_SL3L370->SetBinContent(27,4138.446); h_SL3L370->SetBinContent(28,4402.006); h_SL3L370->SetBinContent(29,4575.843); h_SL3L370->SetBinContent(30,5153.431); h_SL3L370->SetBinContent(31,5618.866); h_SL3L370->SetBinContent(32,6967.506); h_SL3L370->SetBinContent(33,11215.3); h_SL3L370->SetBinContent(34,40585.37); h_SL3L370->SetBinContent(35,59393.43); h_SL3L370->SetBinContent(36,63826.28); h_SL3L370->SetBinContent(37,69490.01); h_SL3L370->SetBinContent(38,72265.8); h_SL3L370->SetBinContent(39,64359.01); h_SL3L370->SetBinContent(40,41875.13); h_SL3L370->SetBinContent(41,11139.6); h_SL3L370->SetBinContent(42,6824.511); h_SL3L370->SetBinContent(43,5574.005); h_SL3L370->SetBinContent(44,5058.101); h_SL3L370->SetBinContent(45,350.4782); h_SL3L370->SetBinContent(46,4331.91); h_SL3L370->SetBinContent(47,4015.078); h_SL3L370->SetBinContent(48,3838.437); h_SL3L370->SetBinContent(49,3776.753); h_SL3L370->SetBinContent(50,3919.748); h_SL3L370->SetBinContent(51,3524.408); h_SL3L370->SetBinContent(52,3549.643); h_SL3L370->SetBinContent(53,3392.629); h_SL3L370->SetBinContent(54,3403.844); h_SL3L370->SetBinContent(55,3255.241); h_SL3L370->SetBinContent(56,3187.949); h_SL3L370->SetBinContent(57,3058.973); h_SL3L370->SetBinContent(58,2601.95); h_SL3L370->SetBinContent(59,2287.921); h_SL3L370->SetMaximum(84646.93); h_SL3L370->SetEntries(60); h_SL3L370->SetDirectory(0); h_SL3L370->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L370->SetLineColor(ci); h_SL3L370->SetLineWidth(2); h_SL3L370->GetXaxis()->SetTitle("Cell"); h_SL3L370->GetXaxis()->SetLabelFont(42); h_SL3L370->GetXaxis()->SetLabelSize(0.035); h_SL3L370->GetXaxis()->SetTitleSize(0.035); h_SL3L370->GetXaxis()->SetTitleFont(42); h_SL3L370->GetYaxis()->SetTitle("Hz"); h_SL3L370->GetYaxis()->SetLabelFont(42); h_SL3L370->GetYaxis()->SetLabelSize(0.035); h_SL3L370->GetYaxis()->SetTitleSize(0.035); h_SL3L370->GetYaxis()->SetTitleOffset(1.45); h_SL3L370->GetYaxis()->SetTitleFont(42); h_SL3L370->GetZaxis()->SetLabelFont(42); h_SL3L370->GetZaxis()->SetLabelSize(0.035); h_SL3L370->GetZaxis()->SetTitleSize(0.035); h_SL3L370->GetZaxis()->SetTitleFont(42); h_SL3L370->Draw("same"); TH1D *h_SL3L471 = new TH1D("h_SL3L471","",60,0,60); h_SL3L471->SetBinContent(2,1721.549); h_SL3L471->SetBinContent(3,1962.678); h_SL3L471->SetBinContent(4,2329.979); h_SL3L471->SetBinContent(5,2691.672); h_SL3L471->SetBinContent(6,2733.73); h_SL3L471->SetBinContent(7,3053.366); h_SL3L471->SetBinContent(8,2728.122); h_SL3L471->SetBinContent(9,2705.691); h_SL3L471->SetBinContent(10,2559.893); h_SL3L471->SetBinContent(11,2543.07); h_SL3L471->SetBinContent(12,2484.189); h_SL3L471->SetBinContent(13,2789.806); h_SL3L471->SetBinContent(14,2904.763); h_SL3L471->SetBinContent(15,2747.749); h_SL3L471->SetBinContent(16,2887.94); h_SL3L471->SetBinContent(17,2812.237); h_SL3L471->SetBinContent(18,2840.275); h_SL3L471->SetBinContent(19,2980.466); h_SL3L471->SetBinContent(20,3137.481); h_SL3L471->SetBinContent(21,3308.514); h_SL3L471->SetBinContent(22,3580.485); h_SL3L471->SetBinContent(23,3681.423); h_SL3L471->SetBinContent(24,3558.054); h_SL3L471->SetBinContent(25,3692.638); h_SL3L471->SetBinContent(26,3830.025); h_SL3L471->SetBinContent(27,4230.973); h_SL3L471->SetBinContent(28,4127.231); h_SL3L471->SetBinContent(29,4376.771); h_SL3L471->SetBinContent(30,4774.915); h_SL3L471->SetBinContent(31,5540.359); h_SL3L471->SetBinContent(32,6022.617); h_SL3L471->SetBinContent(33,8938.596); h_SL3L471->SetBinContent(34,20952.99); h_SL3L471->SetBinContent(35,54820.39); h_SL3L471->SetBinContent(36,61787.9); h_SL3L471->SetBinContent(37,66680.58); h_SL3L471->SetBinContent(38,71822.79); h_SL3L471->SetBinContent(39,69728.34); h_SL3L471->SetBinContent(40,57287.76); h_SL3L471->SetBinContent(41,21533.38); h_SL3L471->SetBinContent(42,9047.944); h_SL3L471->SetBinContent(43,5635.689); h_SL3L471->SetBinContent(44,5086.139); h_SL3L471->SetBinContent(45,4542.197); h_SL3L471->SetBinContent(46,4306.676); h_SL3L471->SetBinContent(47,4144.054); h_SL3L471->SetBinContent(48,3902.925); h_SL3L471->SetBinContent(49,3863.671); h_SL3L471->SetBinContent(50,3675.815); h_SL3L471->SetBinContent(51,3356.179); h_SL3L471->SetBinContent(52,3443.098); h_SL3L471->SetBinContent(53,3207.576); h_SL3L471->SetBinContent(54,3159.911); h_SL3L471->SetBinContent(55,3075.796); h_SL3L471->SetBinContent(56,2983.27); h_SL3L471->SetBinContent(57,3019.72); h_SL3L471->SetBinContent(58,2792.61); h_SL3L471->SetBinContent(59,2405.682); h_SL3L471->SetMaximum(84646.93); h_SL3L471->SetEntries(60); h_SL3L471->SetDirectory(0); h_SL3L471->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L471->SetLineColor(ci); h_SL3L471->SetLineWidth(2); h_SL3L471->GetXaxis()->SetTitle("Cell"); h_SL3L471->GetXaxis()->SetLabelFont(42); h_SL3L471->GetXaxis()->SetLabelSize(0.035); h_SL3L471->GetXaxis()->SetTitleSize(0.035); h_SL3L471->GetXaxis()->SetTitleFont(42); h_SL3L471->GetYaxis()->SetTitle("Hz"); h_SL3L471->GetYaxis()->SetLabelFont(42); h_SL3L471->GetYaxis()->SetLabelSize(0.035); h_SL3L471->GetYaxis()->SetTitleSize(0.035); h_SL3L471->GetYaxis()->SetTitleOffset(1.45); h_SL3L471->GetYaxis()->SetTitleFont(42); h_SL3L471->GetZaxis()->SetLabelFont(42); h_SL3L471->GetZaxis()->SetLabelSize(0.035); h_SL3L471->GetZaxis()->SetTitleSize(0.035); h_SL3L471->GetZaxis()->SetTitleFont(42); h_SL3L471->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_SL3L1","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_SL3L2","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_SL3L3","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_SL3L4","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("SL3, run 6787"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }