void RatesPerCell_Removing_noisy_cells_run_6794_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:14:23 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12090.53,67.5,108814.7); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6794",60,0,60); h_SL3L168->SetBinContent(1,2580.878); h_SL3L168->SetBinContent(2,1826.857); h_SL3L168->SetBinContent(4,2973.07); h_SL3L168->SetBinContent(5,3086.932); h_SL3L168->SetBinContent(6,3367.792); h_SL3L168->SetBinContent(7,3114.765); h_SL3L168->SetBinContent(8,3021.145); h_SL3L168->SetBinContent(9,3117.295); h_SL3L168->SetBinContent(10,2899.692); h_SL3L168->SetBinContent(11,2709.922); h_SL3L168->SetBinContent(12,2937.646); h_SL3L168->SetBinContent(13,3061.629); h_SL3L168->SetBinContent(14,3221.037); h_SL3L168->SetBinContent(15,3226.097); h_SL3L168->SetBinContent(16,3327.308); h_SL3L168->SetBinContent(17,3221.037); h_SL3L168->SetBinContent(18,3294.415); h_SL3L168->SetBinContent(19,3481.655); h_SL3L168->SetBinContent(20,3648.653); h_SL3L168->SetBinContent(21,3716.97); h_SL3L168->SetBinContent(22,4172.419); h_SL3L168->SetBinContent(23,4223.024); h_SL3L168->SetBinContent(24,4185.07); h_SL3L168->SetBinContent(25,4521.597); h_SL3L168->SetBinContent(26,4551.96); h_SL3L168->SetBinContent(27,4377.371); h_SL3L168->SetBinContent(28,4678.473); h_SL3L168->SetBinContent(29,5098.499); h_SL3L168->SetBinContent(30,5761.43); h_SL3L168->SetBinContent(31,6085.305); h_SL3L168->SetBinContent(32,7299.835); h_SL3L168->SetBinContent(33,11515.27); h_SL3L168->SetBinContent(34,41205.48); h_SL3L168->SetBinContent(35,60230.6); h_SL3L168->SetBinContent(36,64906.54); h_SL3L168->SetBinContent(37,68924.62); h_SL3L168->SetBinContent(38,73137.52); h_SL3L168->SetBinContent(39,65835.16); h_SL3L168->SetBinContent(40,42528.82); h_SL3L168->SetBinContent(41,11565.87); h_SL3L168->SetBinContent(42,7218.867); h_SL3L168->SetBinContent(43,5541.296); h_SL3L168->SetBinContent(44,5328.753); h_SL3L168->SetBinContent(45,4784.745); h_SL3L168->SetBinContent(46,4645.58); h_SL3L168->SetBinContent(47,4407.734); h_SL3L168->SetBinContent(48,4445.688); h_SL3L168->SetBinContent(49,4139.525); h_SL3L168->SetBinContent(50,3909.271); h_SL3L168->SetBinContent(51,3681.546); h_SL3L168->SetBinContent(52,3759.985); h_SL3L168->SetBinContent(53,3570.214); h_SL3L168->SetBinContent(54,3466.473); h_SL3L168->SetBinContent(55,3398.156); h_SL3L168->SetBinContent(56,3266.582); h_SL3L168->SetBinContent(57,3357.671); h_SL3L168->SetBinContent(58,2634.013); h_SL3L168->SetBinContent(59,2310.139); h_SL3L168->SetMaximum(96724.2); 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,2413.88); h_SL3L269->SetBinContent(2,1831.917); h_SL3L269->SetBinContent(4,2717.512); h_SL3L269->SetBinContent(5,2952.828); h_SL3L269->SetBinContent(6,3180.552); h_SL3L269->SetBinContent(7,3124.886); h_SL3L269->SetBinContent(8,3155.25); h_SL3L269->SetBinContent(9,2993.312); h_SL3L269->SetBinContent(10,2859.208); h_SL3L269->SetBinContent(11,2664.377); h_SL3L269->SetBinContent(12,2750.406); h_SL3L269->SetBinContent(13,2841.496); h_SL3L269->SetBinContent(14,3046.448); h_SL3L269->SetBinContent(15,3248.87); h_SL3L269->SetBinContent(16,3129.947); h_SL3L269->SetBinContent(17,3145.128); h_SL3L269->SetBinContent(18,3152.719); h_SL3L269->SetBinContent(19,3221.037); h_SL3L269->SetBinContent(20,3446.231); h_SL3L269->SetBinContent(21,3668.895); h_SL3L269->SetBinContent(22,3676.486); h_SL3L269->SetBinContent(23,3787.818); h_SL3L269->SetBinContent(24,3992.77); h_SL3L269->SetBinContent(25,4063.617); h_SL3L269->SetBinContent(26,4217.964); h_SL3L269->SetBinContent(27,4458.34); h_SL3L269->SetBinContent(28,4524.127); h_SL3L269->SetBinContent(29,4804.987); h_SL3L269->SetBinContent(30,5189.588); h_SL3L269->SetBinContent(31,5594.432); h_SL3L269->SetBinContent(32,6204.228); h_SL3L269->SetBinContent(33,8800.287); h_SL3L269->SetBinContent(34,21633.83); h_SL3L269->SetBinContent(35,53811.3); h_SL3L269->SetBinContent(36,62244.7); h_SL3L269->SetBinContent(37,65728.88); h_SL3L269->SetBinContent(38,71452.36); h_SL3L269->SetBinContent(39,69974.68); h_SL3L269->SetBinContent(40,58074.81); h_SL3L269->SetBinContent(41,21821.07); h_SL3L269->SetBinContent(42,9227.903); h_SL3L269->SetBinContent(43,5890.474); h_SL3L269->SetBinContent(44,5260.436); h_SL3L269->SetBinContent(45,4754.381); h_SL3L269->SetBinContent(46,4486.173); h_SL3L269->SetBinContent(47,4483.643); h_SL3L269->SetBinContent(48,4180.01); h_SL3L269->SetBinContent(49,5650.098); h_SL3L269->SetBinContent(50,3694.198); h_SL3L269->SetBinContent(51,3843.484); h_SL3L269->SetBinContent(52,4033.254); h_SL3L269->SetBinContent(53,5943.609); h_SL3L269->SetBinContent(54,3218.506); h_SL3L269->SetBinContent(55,3332.369); h_SL3L269->SetBinContent(56,3415.867); h_SL3L269->SetBinContent(57,3241.279); h_SL3L269->SetBinContent(58,2894.631); h_SL3L269->SetBinContent(59,2456.894); h_SL3L269->SetMaximum(84108.14); 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,2337.971); h_SL3L370->SetBinContent(2,1829.387); h_SL3L370->SetBinContent(3,2120.368); h_SL3L370->SetBinContent(4,2603.65); h_SL3L370->SetBinContent(5,2851.617); h_SL3L370->SetBinContent(6,3036.327); h_SL3L370->SetBinContent(7,2874.389); h_SL3L370->SetBinContent(8,2917.404); h_SL3L370->SetBinContent(9,2725.103); h_SL3L370->SetBinContent(10,2517.621); h_SL3L370->SetBinContent(11,2626.423); h_SL3L370->SetBinContent(12,2669.437); h_SL3L370->SetBinContent(13,2851.617); h_SL3L370->SetBinContent(14,3051.508); h_SL3L370->SetBinContent(15,3026.206); h_SL3L370->SetBinContent(16,2844.026); h_SL3L370->SetBinContent(17,2955.358); h_SL3L370->SetBinContent(18,3011.024); h_SL3L370->SetBinContent(19,3238.749); h_SL3L370->SetBinContent(20,3342.49); h_SL3L370->SetBinContent(21,3446.231); h_SL3L370->SetBinContent(22,3679.016); h_SL3L370->SetBinContent(23,3871.317); h_SL3L370->SetBinContent(24,3749.864); h_SL3L370->SetBinContent(25,4182.54); h_SL3L370->SetBinContent(26,4035.784); h_SL3L370->SetBinContent(27,3972.527); h_SL3L370->SetBinContent(28,4521.597); h_SL3L370->SetBinContent(29,4592.444); h_SL3L370->SetBinContent(30,5169.346); h_SL3L370->SetBinContent(31,5591.902); h_SL3L370->SetBinContent(32,6981.021); h_SL3L370->SetBinContent(33,11031.99); h_SL3L370->SetBinContent(34,40534.96); h_SL3L370->SetBinContent(35,59198.25); h_SL3L370->SetBinContent(36,64198.07); h_SL3L370->SetBinContent(37,68114.93); h_SL3L370->SetBinContent(38,71905.27); h_SL3L370->SetBinContent(39,65774.43); h_SL3L370->SetBinContent(40,42268.2); h_SL3L370->SetBinContent(41,11219.23); h_SL3L370->SetBinContent(42,6912.704); h_SL3L370->SetBinContent(43,5240.194); h_SL3L370->SetBinContent(44,4842.941); h_SL3L370->SetBinContent(45,318.8143); h_SL3L370->SetBinContent(46,4240.736); h_SL3L370->SetBinContent(47,4018.072); h_SL3L370->SetBinContent(48,4088.92); h_SL3L370->SetBinContent(49,3719.5); h_SL3L370->SetBinContent(50,3598.047); h_SL3L370->SetBinContent(51,3575.275); h_SL3L370->SetBinContent(52,3603.108); h_SL3L370->SetBinContent(53,3337.429); h_SL3L370->SetBinContent(54,3175.492); h_SL3L370->SetBinContent(55,3132.477); h_SL3L370->SetBinContent(56,3147.659); h_SL3L370->SetBinContent(57,2942.707); h_SL3L370->SetBinContent(58,2350.623); h_SL3L370->SetBinContent(59,2284.836); h_SL3L370->SetMaximum(84108.14); 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,1657.328); h_SL3L471->SetBinContent(3,2064.702); h_SL3L471->SetBinContent(4,2360.744); h_SL3L471->SetBinContent(5,2555.575); h_SL3L471->SetBinContent(6,3005.963); h_SL3L471->SetBinContent(7,2889.571); h_SL3L471->SetBinContent(8,2879.45); h_SL3L471->SetBinContent(9,2760.527); h_SL3L471->SetBinContent(10,2677.028); h_SL3L471->SetBinContent(11,2656.786); h_SL3L471->SetBinContent(12,2492.318); h_SL3L471->SetBinContent(13,2669.437); h_SL3L471->SetBinContent(14,2884.51); h_SL3L471->SetBinContent(15,2876.919); h_SL3L471->SetBinContent(16,2831.375); h_SL3L471->SetBinContent(17,2694.74); h_SL3L471->SetBinContent(18,2871.859); h_SL3L471->SetBinContent(19,3167.901); h_SL3L471->SetBinContent(20,3041.387); h_SL3L471->SetBinContent(21,3281.763); h_SL3L471->SetBinContent(22,3274.172); h_SL3L471->SetBinContent(23,3636.001); h_SL3L471->SetBinContent(24,3679.016); h_SL3L471->SetBinContent(25,3747.333); h_SL3L471->SetBinContent(26,3972.527); h_SL3L471->SetBinContent(27,4068.678); h_SL3L471->SetBinContent(28,4144.586); h_SL3L471->SetBinContent(29,4331.826); h_SL3L471->SetBinContent(30,4779.684); h_SL3L471->SetBinContent(31,5146.574); h_SL3L471->SetBinContent(32,5655.159); h_SL3L471->SetBinContent(33,8780.045); h_SL3L471->SetBinContent(34,21390.92); h_SL3L471->SetBinContent(35,54304.7); h_SL3L471->SetBinContent(36,62133.37); h_SL3L471->SetBinContent(37,65554.3); h_SL3L471->SetBinContent(38,71298.01); h_SL3L471->SetBinContent(39,69881.06); h_SL3L471->SetBinContent(40,57733.22); h_SL3L471->SetBinContent(41,21578.16); h_SL3L471->SetBinContent(42,8992.588); h_SL3L471->SetBinContent(43,5693.113); h_SL3L471->SetBinContent(44,4997.288); h_SL3L471->SetBinContent(45,4516.536); h_SL3L471->SetBinContent(46,4415.325); h_SL3L471->SetBinContent(47,4177.479); h_SL3L471->SetBinContent(48,3757.454); h_SL3L471->SetBinContent(49,3876.377); h_SL3L471->SetBinContent(50,3433.579); h_SL3L471->SetBinContent(51,3481.655); h_SL3L471->SetBinContent(52,3150.189); h_SL3L471->SetBinContent(53,3395.625); h_SL3L471->SetBinContent(54,3180.552); h_SL3L471->SetBinContent(55,3026.206); h_SL3L471->SetBinContent(56,3089.462); h_SL3L471->SetBinContent(57,2988.251); h_SL3L471->SetBinContent(58,2813.663); h_SL3L471->SetBinContent(59,2439.182); h_SL3L471->SetMaximum(84108.14); 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 6794"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }