void RatesPerCell_Removing_noisy_cells_run_6803_SL3() { //=========Macro generated from canvas: c/c //========= (Mon Jan 14 19:53:23 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11696.22,67.5,105266); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6803",60,0,60); h_SL3L168->SetBinContent(1,2435.252); h_SL3L168->SetBinContent(2,1869.288); h_SL3L168->SetBinContent(4,3111.909); h_SL3L168->SetBinContent(5,3122.621); h_SL3L168->SetBinContent(6,3195.822); h_SL3L168->SetBinContent(7,3060.133); h_SL3L168->SetBinContent(8,3258.31); h_SL3L168->SetBinContent(9,2867.312); h_SL3L168->SetBinContent(10,2844.103); h_SL3L168->SetBinContent(11,2904.805); h_SL3L168->SetBinContent(12,2870.883); h_SL3L168->SetBinContent(13,3003.001); h_SL3L168->SetBinContent(14,3177.968); h_SL3L168->SetBinContent(15,3169.041); h_SL3L168->SetBinContent(16,3077.987); h_SL3L168->SetBinContent(17,3031.567); h_SL3L168->SetBinContent(18,3276.163); h_SL3L168->SetBinContent(19,3486.838); h_SL3L168->SetBinContent(20,3606.458); h_SL3L168->SetBinContent(21,3776.068); h_SL3L168->SetBinContent(22,3884.976); h_SL3L168->SetBinContent(23,4063.514); h_SL3L168->SetBinContent(24,4099.221); h_SL3L168->SetBinContent(25,4254.549); h_SL3L168->SetBinContent(26,4268.832); h_SL3L168->SetBinContent(27,4461.652); h_SL3L168->SetBinContent(28,4581.272); h_SL3L168->SetBinContent(29,4904.425); h_SL3L168->SetBinContent(30,5511.453); h_SL3L168->SetBinContent(31,6004.216); h_SL3L168->SetBinContent(32,7268.262); h_SL3L168->SetBinContent(33,11458.54); h_SL3L168->SetBinContent(34,40360.19); h_SL3L168->SetBinContent(35,58578.16); h_SL3L168->SetBinContent(36,62830.92); h_SL3L168->SetBinContent(37,67840.69); h_SL3L168->SetBinContent(38,70752.63); h_SL3L168->SetBinContent(39,64021.77); h_SL3L168->SetBinContent(40,41588.53); h_SL3L168->SetBinContent(41,11124.67); h_SL3L168->SetBinContent(42,7064.729); h_SL3L168->SetBinContent(43,5711.415); h_SL3L168->SetBinContent(44,5127.597); h_SL3L168->SetBinContent(45,5093.675); h_SL3L168->SetBinContent(46,4784.805); h_SL3L168->SetBinContent(47,4325.964); h_SL3L168->SetBinContent(48,4154.568); h_SL3L168->SetBinContent(49,4009.953); h_SL3L168->SetBinContent(50,3836.771); h_SL3L168->SetBinContent(51,3751.073); h_SL3L168->SetBinContent(52,3590.389); h_SL3L168->SetBinContent(53,3485.052); h_SL3L168->SetBinContent(54,3427.92); h_SL3L168->SetBinContent(55,3435.062); h_SL3L168->SetBinContent(56,3336.866); h_SL3L168->SetBinContent(57,3165.47); h_SL3L168->SetBinContent(58,2601.292); h_SL3L168->SetBinContent(59,2294.207); h_SL3L168->SetMaximum(93569.75); 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,2520.95); h_SL3L269->SetBinContent(2,1896.068); h_SL3L269->SetBinContent(4,2369.193); h_SL3L269->SetBinContent(5,2794.112); h_SL3L269->SetBinContent(6,3167.255); h_SL3L269->SetBinContent(7,3113.694); h_SL3L269->SetBinContent(8,2944.083); h_SL3L269->SetBinContent(9,2999.43); h_SL3L269->SetBinContent(10,2758.405); h_SL3L269->SetBinContent(11,2610.219); h_SL3L269->SetBinContent(12,2749.478); h_SL3L269->SetBinContent(13,2822.678); h_SL3L269->SetBinContent(14,2910.161); h_SL3L269->SetBinContent(15,3095.841); h_SL3L269->SetBinContent(16,2935.157); h_SL3L269->SetBinContent(17,3113.694); h_SL3L269->SetBinContent(18,3170.826); h_SL3L269->SetBinContent(19,3258.31); h_SL3L269->SetBinContent(20,3436.847); h_SL3L269->SetBinContent(21,3533.257); h_SL3L269->SetBinContent(22,3495.764); h_SL3L269->SetBinContent(23,3617.17); h_SL3L269->SetBinContent(24,3981.386); h_SL3L269->SetBinContent(25,4090.294); h_SL3L269->SetBinContent(26,4224.198); h_SL3L269->SetBinContent(27,4277.759); h_SL3L269->SetBinContent(28,4340.247); h_SL3L269->SetBinContent(29,4604.482); h_SL3L269->SetBinContent(30,4991.909); h_SL3L269->SetBinContent(31,5491.814); h_SL3L269->SetBinContent(32,6084.559); h_SL3L269->SetBinContent(33,9176.828); h_SL3L269->SetBinContent(34,21112.06); h_SL3L269->SetBinContent(35,52531.09); h_SL3L269->SetBinContent(36,60931.28); h_SL3L269->SetBinContent(37,65450.07); h_SL3L269->SetBinContent(38,70156.31); h_SL3L269->SetBinContent(39,68199.55); h_SL3L269->SetBinContent(40,56414.28); h_SL3L269->SetBinContent(41,21215.61); h_SL3L269->SetBinContent(42,9103.628); h_SL3L269->SetBinContent(43,5991.719); h_SL3L269->SetBinContent(44,5145.451); h_SL3L269->SetBinContent(45,4868.718); h_SL3L269->SetBinContent(46,4524.141); h_SL3L269->SetBinContent(47,4591.985); h_SL3L269->SetBinContent(48,4076.011); h_SL3L269->SetBinContent(49,4056.372); h_SL3L269->SetBinContent(50,3681.444); h_SL3L269->SetBinContent(51,3690.37); h_SL3L269->SetBinContent(52,3656.448); h_SL3L269->SetBinContent(53,3558.253); h_SL3L269->SetBinContent(54,3201.177); h_SL3L269->SetBinContent(55,3156.543); h_SL3L269->SetBinContent(56,3294.017); h_SL3L269->SetBinContent(57,3261.88); h_SL3L269->SetBinContent(58,2779.829); h_SL3L269->SetBinContent(59,2497.74); h_SL3L269->SetMaximum(81365.53); 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,2162.089); h_SL3L370->SetBinContent(2,1772.877); h_SL3L370->SetBinContent(3,1992.479); h_SL3L370->SetBinContent(4,2870.883); h_SL3L370->SetBinContent(5,2799.468); h_SL3L370->SetBinContent(6,3088.699); h_SL3L370->SetBinContent(7,3026.211); h_SL3L370->SetBinContent(8,2917.303); h_SL3L370->SetBinContent(9,2670.921); h_SL3L370->SetBinContent(10,2669.136); h_SL3L370->SetBinContent(11,2638.784); h_SL3L370->SetBinContent(12,2620.931); h_SL3L370->SetBinContent(13,2885.166); h_SL3L370->SetBinContent(14,2853.03); h_SL3L370->SetBinContent(15,2901.235); h_SL3L370->SetBinContent(16,2888.737); h_SL3L370->SetBinContent(17,2881.595); h_SL3L370->SetBinContent(18,3040.494); h_SL3L370->SetBinContent(19,3261.88); h_SL3L370->SetBinContent(20,3119.05); h_SL3L370->SetBinContent(21,3536.828); h_SL3L370->SetBinContent(22,3631.453); h_SL3L370->SetBinContent(23,3670.731); h_SL3L370->SetBinContent(24,3851.054); h_SL3L370->SetBinContent(25,4138.5); h_SL3L370->SetBinContent(26,4175.992); h_SL3L370->SetBinContent(27,3999.24); h_SL3L370->SetBinContent(28,4275.974); h_SL3L370->SetBinContent(29,4549.136); h_SL3L370->SetBinContent(30,5184.729); h_SL3L370->SetBinContent(31,5582.868); h_SL3L370->SetBinContent(32,7039.734); h_SL3L370->SetBinContent(33,11287.14); h_SL3L370->SetBinContent(34,39885.28); h_SL3L370->SetBinContent(35,58267.5); h_SL3L370->SetBinContent(36,62786.29); h_SL3L370->SetBinContent(37,67380.05); h_SL3L370->SetBinContent(38,70206.3); h_SL3L370->SetBinContent(39,63850.37); h_SL3L370->SetBinContent(40,41301.08); h_SL3L370->SetBinContent(41,10856.87); h_SL3L370->SetBinContent(42,6977.246); h_SL3L370->SetBinContent(43,5422.184); h_SL3L370->SetBinContent(44,4706.249); h_SL3L370->SetBinContent(45,199.962); h_SL3L370->SetBinContent(46,4472.365); h_SL3L370->SetBinContent(47,4059.943); h_SL3L370->SetBinContent(48,3877.835); h_SL3L370->SetBinContent(49,3801.064); h_SL3L370->SetBinContent(50,3606.458); h_SL3L370->SetBinContent(51,3456.486); h_SL3L370->SetBinContent(52,3508.262); h_SL3L370->SetBinContent(53,3410.066); h_SL3L370->SetBinContent(54,3220.817); h_SL3L370->SetBinContent(55,3333.295); h_SL3L370->SetBinContent(56,3022.64); h_SL3L370->SetBinContent(57,2883.381); h_SL3L370->SetBinContent(58,2420.969); h_SL3L370->SetBinContent(59,2222.792); h_SL3L370->SetMaximum(81365.53); 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,1762.165); h_SL3L471->SetBinContent(3,1862.146); h_SL3L471->SetBinContent(4,2317.417); h_SL3L471->SetBinContent(5,2558.443); h_SL3L471->SetBinContent(6,2854.815); h_SL3L471->SetBinContent(7,2740.551); h_SL3L471->SetBinContent(8,2781.615); h_SL3L471->SetBinContent(9,2629.858); h_SL3L471->SetBinContent(10,2558.443); h_SL3L471->SetBinContent(11,2494.169); h_SL3L471->SetBinContent(12,2354.91); h_SL3L471->SetBinContent(13,2640.57); h_SL3L471->SetBinContent(14,2692.346); h_SL3L471->SetBinContent(15,2890.522); h_SL3L471->SetBinContent(16,2894.093); h_SL3L471->SetBinContent(17,2863.742); h_SL3L471->SetBinContent(18,2794.112); h_SL3L471->SetBinContent(19,3135.119); h_SL3L471->SetBinContent(20,3145.831); h_SL3L471->SetBinContent(21,3376.144); h_SL3L471->SetBinContent(22,3247.597); h_SL3L471->SetBinContent(23,3592.175); h_SL3L471->SetBinContent(24,3633.238); h_SL3L471->SetBinContent(25,3849.269); h_SL3L471->SetBinContent(26,3909.971); h_SL3L471->SetBinContent(27,3842.127); h_SL3L471->SetBinContent(28,4013.523); h_SL3L471->SetBinContent(29,4302.754); h_SL3L471->SetBinContent(30,4693.751); h_SL3L471->SetBinContent(31,5068.68); h_SL3L471->SetBinContent(32,5907.806); h_SL3L471->SetBinContent(33,8775.119); h_SL3L471->SetBinContent(34,21140.63); h_SL3L471->SetBinContent(35,52643.57); h_SL3L471->SetBinContent(36,60677.76); h_SL3L471->SetBinContent(37,65096.56); h_SL3L471->SetBinContent(38,69604.63); h_SL3L471->SetBinContent(39,67826.4); h_SL3L471->SetBinContent(40,56396.43); h_SL3L471->SetBinContent(41,21004.94); h_SL3L471->SetBinContent(42,8898.31); h_SL3L471->SetBinContent(43,5602.507); h_SL3L471->SetBinContent(44,4886.572); h_SL3L471->SetBinContent(45,4561.633); h_SL3L471->SetBinContent(46,4199.202); h_SL3L471->SetBinContent(47,4134.929); h_SL3L471->SetBinContent(48,3727.863); h_SL3L471->SetBinContent(49,3663.59); h_SL3L471->SetBinContent(50,3467.198); h_SL3L471->SetBinContent(51,3379.715); h_SL3L471->SetBinContent(52,3379.715); h_SL3L471->SetBinContent(53,3424.349); h_SL3L471->SetBinContent(54,3076.201); h_SL3L471->SetBinContent(55,3065.489); h_SL3L471->SetBinContent(56,3001.216); h_SL3L471->SetBinContent(57,2917.303); h_SL3L471->SetBinContent(58,2740.551); h_SL3L471->SetBinContent(59,2294.207); h_SL3L471->SetMaximum(81365.53); 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 6803"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }