void RatesPerCell_Removing_noisy_cells_run_6796_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:16:11 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12014.48,67.5,108130.3); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6796",60,0,60); h_SL3L168->SetBinContent(1,2736.516); h_SL3L168->SetBinContent(2,1757.583); h_SL3L168->SetBinContent(4,3020.59); h_SL3L168->SetBinContent(5,2930.667); h_SL3L168->SetBinContent(6,3400.718); h_SL3L168->SetBinContent(7,3253.572); h_SL3L168->SetBinContent(8,3233.135); h_SL3L168->SetBinContent(9,3088.032); h_SL3L168->SetBinContent(10,3114.6); h_SL3L168->SetBinContent(11,2924.536); h_SL3L168->SetBinContent(12,2938.842); h_SL3L168->SetBinContent(13,2900.012); h_SL3L168->SetBinContent(14,3331.232); h_SL3L168->SetBinContent(15,3314.883); h_SL3L168->SetBinContent(16,3243.353); h_SL3L168->SetBinContent(17,3286.271); h_SL3L168->SetBinContent(18,3443.636); h_SL3L168->SetBinContent(19,3619.394); h_SL3L168->SetBinContent(20,3793.109); h_SL3L168->SetBinContent(21,3885.075); h_SL3L168->SetBinContent(22,4005.654); h_SL3L168->SetBinContent(23,4273.378); h_SL3L168->SetBinContent(24,4306.078); h_SL3L168->SetBinContent(25,4453.224); h_SL3L168->SetBinContent(26,4584.021); h_SL3L168->SetBinContent(27,4596.283); h_SL3L168->SetBinContent(28,4845.615); h_SL3L168->SetBinContent(29,5019.33); h_SL3L168->SetBinContent(30,5413.764); h_SL3L168->SetBinContent(31,6261.9); h_SL3L168->SetBinContent(32,7265.357); h_SL3L168->SetBinContent(33,11798.29); h_SL3L168->SetBinContent(34,41344.07); h_SL3L168->SetBinContent(35,60266.7); h_SL3L168->SetBinContent(36,64235.56); h_SL3L168->SetBinContent(37,70505.64); h_SL3L168->SetBinContent(38,72678.09); h_SL3L168->SetBinContent(39,65582.36); h_SL3L168->SetBinContent(40,42402.71); h_SL3L168->SetBinContent(41,11636.83); h_SL3L168->SetBinContent(42,7197.915); h_SL3L168->SetBinContent(43,5832.723); h_SL3L168->SetBinContent(44,5233.918); h_SL3L168->SetBinContent(45,5133.777); h_SL3L168->SetBinContent(46,4708.687); h_SL3L168->SetBinContent(47,4500.229); h_SL3L168->SetBinContent(48,4563.584); h_SL3L168->SetBinContent(49,4269.291); h_SL3L168->SetBinContent(50,3946.386); h_SL3L168->SetBinContent(51,3840.114); h_SL3L168->SetBinContent(52,3715.448); h_SL3L168->SetBinContent(53,3688.88); h_SL3L168->SetBinContent(54,3594.87); h_SL3L168->SetBinContent(55,3619.394); h_SL3L168->SetBinContent(56,3400.718); h_SL3L168->SetBinContent(57,3417.068); h_SL3L168->SetBinContent(58,2812.133); h_SL3L168->SetBinContent(59,2481.053); h_SL3L168->SetMaximum(96115.85); 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,2511.708); h_SL3L269->SetBinContent(2,1935.385); h_SL3L269->SetBinContent(4,2538.277); h_SL3L269->SetBinContent(5,2810.089); h_SL3L269->SetBinContent(6,3106.426); h_SL3L269->SetBinContent(7,3141.168); h_SL3L269->SetBinContent(8,3016.503); h_SL3L269->SetBinContent(9,2979.716); h_SL3L269->SetBinContent(10,2881.618); h_SL3L269->SetBinContent(11,2740.603); h_SL3L269->SetBinContent(12,2867.312); h_SL3L269->SetBinContent(13,2850.963); h_SL3L269->SetBinContent(14,3032.852); h_SL3L269->SetBinContent(15,3386.412); h_SL3L269->SetBinContent(16,3419.112); h_SL3L269->SetBinContent(17,3300.577); h_SL3L269->SetBinContent(18,3198.392); h_SL3L269->SetBinContent(19,3318.97); h_SL3L269->SetBinContent(20,3429.33); h_SL3L269->SetBinContent(21,3568.302); h_SL3L269->SetBinContent(22,3836.027); h_SL3L269->SetBinContent(23,3944.343); h_SL3L269->SetBinContent(24,4212.067); h_SL3L269->SetBinContent(25,3997.479); h_SL3L269->SetBinContent(26,4332.646); h_SL3L269->SetBinContent(27,4404.175); h_SL3L269->SetBinContent(28,4669.856); h_SL3L269->SetBinContent(29,4745.474); h_SL3L269->SetBinContent(30,4972.324); h_SL3L269->SetBinContent(31,5591.566); h_SL3L269->SetBinContent(32,6378.391); h_SL3L269->SetBinContent(33,9262.053); h_SL3L269->SetBinContent(34,21542.65); h_SL3L269->SetBinContent(35,54104.94); h_SL3L269->SetBinContent(36,62706.88); h_SL3L269->SetBinContent(37,66085.12); h_SL3L269->SetBinContent(38,72328.62); h_SL3L269->SetBinContent(39,69933.4); h_SL3L269->SetBinContent(40,57759.07); h_SL3L269->SetBinContent(41,21667.32); h_SL3L269->SetBinContent(42,9321.32); h_SL3L269->SetBinContent(43,5920.602); h_SL3L269->SetBinContent(44,5401.501); h_SL3L269->SetBinContent(45,5021.373); h_SL3L269->SetBinContent(46,4673.944); h_SL3L269->SetBinContent(47,4471.618); h_SL3L269->SetBinContent(48,4355.126); h_SL3L269->SetBinContent(49,5534.342); h_SL3L269->SetBinContent(50,3864.638); h_SL3L269->SetBinContent(51,3858.507); h_SL3L269->SetBinContent(52,3940.255); h_SL3L269->SetBinContent(53,5869.509); h_SL3L269->SetBinContent(54,3627.569); h_SL3L269->SetBinContent(55,3574.433); h_SL3L269->SetBinContent(56,3676.618); h_SL3L269->SetBinContent(57,3206.567); h_SL3L269->SetBinContent(58,2924.536); h_SL3L269->SetBinContent(59,2583.238); h_SL3L269->SetMaximum(83579.81); 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,2211.284); h_SL3L370->SetBinContent(2,1890.423); h_SL3L370->SetBinContent(3,2143.842); h_SL3L370->SetBinContent(4,2842.788); h_SL3L370->SetBinContent(5,2961.323); h_SL3L370->SetBinContent(6,2994.022); h_SL3L370->SetBinContent(7,2953.148); h_SL3L370->SetBinContent(8,2975.629); h_SL3L370->SetBinContent(9,2714.035); h_SL3L370->SetBinContent(10,2662.942); h_SL3L370->SetBinContent(11,2654.768); h_SL3L370->SetBinContent(12,2806.001); h_SL3L370->SetBinContent(13,2769.215); h_SL3L370->SetBinContent(14,2934.755); h_SL3L370->SetBinContent(15,2983.803); h_SL3L370->SetBinContent(16,2912.274); h_SL3L370->SetBinContent(17,2985.847); h_SL3L370->SetBinContent(18,3096.207); h_SL3L370->SetBinContent(19,3290.358); h_SL3L370->SetBinContent(20,3394.587); h_SL3L370->SetBinContent(21,3466.117); h_SL3L370->SetBinContent(22,3739.973); h_SL3L370->SetBinContent(23,3887.119); h_SL3L370->SetBinContent(24,3913.687); h_SL3L370->SetBinContent(25,4017.916); h_SL3L370->SetBinContent(26,4246.811); h_SL3L370->SetBinContent(27,4122.145); h_SL3L370->SetBinContent(28,4449.137); h_SL3L370->SetBinContent(29,4688.25); h_SL3L370->SetBinContent(30,5137.864); h_SL3L370->SetBinContent(31,5763.237); h_SL3L370->SetBinContent(32,7095.729); h_SL3L370->SetBinContent(33,11046.2); h_SL3L370->SetBinContent(34,40510.24); h_SL3L370->SetBinContent(35,59212.15); h_SL3L370->SetBinContent(36,63757.34); h_SL3L370->SetBinContent(37,69471.52); h_SL3L370->SetBinContent(38,71829.95); h_SL3L370->SetBinContent(39,65081.66); h_SL3L370->SetBinContent(40,41656.76); h_SL3L370->SetBinContent(41,11264.88); h_SL3L370->SetBinContent(42,7073.249); h_SL3L370->SetBinContent(43,5456.682); h_SL3L370->SetBinContent(44,4898.751); h_SL3L370->SetBinContent(45,286.1181); h_SL3L370->SetBinContent(46,4451.181); h_SL3L370->SetBinContent(47,4160.975); h_SL3L370->SetBinContent(48,4019.96); h_SL3L370->SetBinContent(49,3889.163); h_SL3L370->SetBinContent(50,3699.099); h_SL3L370->SetBinContent(51,3453.854); h_SL3L370->SetBinContent(52,3492.685); h_SL3L370->SetBinContent(53,3543.777); h_SL3L370->SetBinContent(54,3355.757); h_SL3L370->SetBinContent(55,3280.14); h_SL3L370->SetBinContent(56,3102.338); h_SL3L370->SetBinContent(57,3100.294); h_SL3L370->SetBinContent(58,2664.986); h_SL3L370->SetBinContent(59,2329.819); h_SL3L370->SetMaximum(83579.81); 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,1784.151); h_SL3L471->SetBinContent(3,1849.549); h_SL3L471->SetBinContent(4,2476.966); h_SL3L471->SetBinContent(5,2595.5); h_SL3L471->SetBinContent(6,2664.986); h_SL3L471->SetBinContent(7,2934.755); h_SL3L471->SetBinContent(8,2620.025); h_SL3L471->SetBinContent(9,2789.652); h_SL3L471->SetBinContent(10,2699.729); h_SL3L471->SetBinContent(11,2568.932); h_SL3L471->SetBinContent(12,2564.845); h_SL3L471->SetBinContent(13,2771.259); h_SL3L471->SetBinContent(14,2861.181); h_SL3L471->SetBinContent(15,2803.958); h_SL3L471->SetBinContent(16,2883.662); h_SL3L471->SetBinContent(17,2763.084); h_SL3L471->SetBinContent(18,2912.274); h_SL3L471->SetBinContent(19,2961.323); h_SL3L471->SetBinContent(20,3286.271); h_SL3L471->SetBinContent(21,3345.538); h_SL3L471->SetBinContent(22,3466.117); h_SL3L471->SetBinContent(23,3762.453); h_SL3L471->SetBinContent(24,3793.109); h_SL3L471->SetBinContent(25,3913.687); h_SL3L471->SetBinContent(26,4242.723); h_SL3L471->SetBinContent(27,4171.194); h_SL3L471->SetBinContent(28,3979.086); h_SL3L471->SetBinContent(29,4377.607); h_SL3L471->SetBinContent(30,4767.954); h_SL3L471->SetBinContent(31,5182.826); h_SL3L471->SetBinContent(32,6024.831); h_SL3L471->SetBinContent(33,8700.035); h_SL3L471->SetBinContent(34,21319.89); h_SL3L471->SetBinContent(35,54378.79); h_SL3L471->SetBinContent(36,62457.54); h_SL3L471->SetBinContent(37,65592.58); h_SL3L471->SetBinContent(38,72340.88); h_SL3L471->SetBinContent(39,69823.04); h_SL3L471->SetBinContent(40,57558.79); h_SL3L471->SetBinContent(41,21426.16); h_SL3L471->SetBinContent(42,9118.993); h_SL3L471->SetBinContent(43,5834.766); h_SL3L471->SetBinContent(44,5045.897); h_SL3L471->SetBinContent(45,4628.982); h_SL3L471->SetBinContent(46,4475.705); h_SL3L471->SetBinContent(47,4165.062); h_SL3L471->SetBinContent(48,3989.304); h_SL3L471->SetBinContent(49,3850.333); h_SL3L471->SetBinContent(50,3748.147); h_SL3L471->SetBinContent(51,3633.7); h_SL3L471->SetBinContent(52,3361.888); h_SL3L471->SetBinContent(53,3462.029); h_SL3L471->SetBinContent(54,3182.042); h_SL3L471->SetBinContent(55,3167.736); h_SL3L471->SetBinContent(56,3055.333); h_SL3L471->SetBinContent(57,2904.099); h_SL3L471->SetBinContent(58,2806.001); h_SL3L471->SetBinContent(59,2489.228); h_SL3L471->SetMaximum(83579.81); 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 6796"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }